diff --git a/src/system/boot/platform/atari_m68k/Handle.cpp b/src/system/boot/platform/atari_m68k/Handle.cpp index 1fffe29c52..e7fdada96e 100644 --- a/src/system/boot/platform/atari_m68k/Handle.cpp +++ b/src/system/boot/platform/atari_m68k/Handle.cpp @@ -53,7 +53,7 @@ Handle::ReadAt(void *cookie, off_t pos, void *buffer, size_t bufferSize) for (i = 0; i < bufferSize; i++) { if (Bconstat(fHandle) == 0) return i; - Bconin(fHandle, string[i]); + string[i] = (char)Bconin(fHandle); } return bufferSize; diff --git a/src/system/boot/platform/atari_m68k/Jamfile b/src/system/boot/platform/atari_m68k/Jamfile index 4519f35f07..66d76fc5f6 100644 --- a/src/system/boot/platform/atari_m68k/Jamfile +++ b/src/system/boot/platform/atari_m68k/Jamfile @@ -52,3 +52,5 @@ SEARCH on [ FGristFiles text_menu.cpp ] # Tell the build system to where stage1.bin can be found, so it can be used # elsewhere. SEARCH on stage1.bin = $(SUBDIR) ; + +# cf pxe_ia32 Jamfile for stage1 diff --git a/src/system/boot/platform/atari_m68k/console.cpp b/src/system/boot/platform/atari_m68k/console.cpp index a90edd2dde..8919a0a53c 100644 --- a/src/system/boot/platform/atari_m68k/console.cpp +++ b/src/system/boot/platform/atari_m68k/console.cpp @@ -241,13 +241,10 @@ translate_color(int32 color) void console_set_color(int32 foreground, int32 background) { - // Note: Toggling the cursor doesn't seem to help. We still get cursor - // artifacts. - of_interpret("toggle-cursor" - " to foreground-color" - " to background-color" - " toggle-cursor", - 2, 0, translate_color(foreground), translate_color(background)); + char buff[] = "\033b \033c "; + buff[2] = (char)translate_color(foreground); + buff[5] = (char)translate_color(background); + stdin->WriteAt(NULL, 0LL, buff, 6); }