From 3adae629e98f9fd256349b291e89e6f63c5e469e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 12 May 2017 11:47:56 +0200 Subject: sorted out the character constant mess: we have a flat model (with GDT) starting from 0x8000, but the first 2k are stage 2 of the boot loader, so out kernel entry is 0x8400. We have to tell ld that and use 0x8400 instead of 0x8000, otherwise all string constants point to Nirvana! --- src/bochs.config | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/bochs.config') diff --git a/src/bochs.config b/src/bochs.config index 333b12a..653df69 100644 --- a/src/bochs.config +++ b/src/bochs.config @@ -4,7 +4,8 @@ config_interface: textconfig display_library: x memory: host=32, guest=32 romimage: file="/usr/share/bochs/BIOS-bochs-latest", address=0x0, options=none -vgaromimage: file="/usr/share/bochs/VGABIOS-lgpl-latest" +#vgaromimage: file="/usr/share/bochs/VGABIOS-lgpl-latest" +vgaromimage: file="/usr/share/bochs/VGABIOS-lgpl-latest-cirrus" boot: floppy floppy_bootsig_check: disabled=0 # no floppya -- cgit v1.2.3-54-g00ecf