diff --git a/entry/boot.c b/entry/boot.c index 2c83c87..18ee183 100644 --- a/entry/boot.c +++ b/entry/boot.c @@ -36,6 +36,7 @@ void main(void) { get_io_type(); init(); + clearscreen(0xAA,0xBB); for(;;); } diff --git a/entry/start.s b/entry/start.s index cf5ad66..da501ff 100644 --- a/entry/start.s +++ b/entry/start.s @@ -1,4 +1,4 @@ .globl _start _start: li 1, 0xac -b main +b main diff --git a/loader/load.fth b/loader/load.fth index a32c5d5..89e949e 100644 --- a/loader/load.fth +++ b/loader/load.fth @@ -11,10 +11,11 @@ variable run -1 run ! -fba beige-vram = if ." Beige" cr 7000 0 do 0BE i beige-vram + c! loop then -fba mac99-vram = if ." mac99" cr 7000 0 do 05A i mac99-vram + c! loop then +fba beige-vram = if ." Beige" cr 100 0 do 0BE i beige-vram + c! loop then +fba mac99-vram = if ." mac99" cr 100 0 do 05A i mac99-vram + c! loop then fba beige-vram diff fba mac99-vram diff and if ." Hardware not supported." cr 0 run ! then +fba 100 dump run @ 0 = if 1 0 do 0 +loop then boot hd:,\boot\kernel.elf