From: Alan Cox Date: Sat, 1 Nov 2014 15:45:18 +0000 (+0000) Subject: px4 init: Remember to set the video base ! X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=282bc5307e688bc99ef055fb7337ecc3aef19ae7;p=FUZIX.git px4 init: Remember to set the video base ! --- diff --git a/Kernel/platform-px4plus/init.c b/Kernel/platform-px4plus/init.c index b0c4623c..7f92d779 100644 --- a/Kernel/platform-px4plus/init.c +++ b/Kernel/platform-px4plus/init.c @@ -8,10 +8,13 @@ #include #include +__sfr __at 0x08 vadr; + void device_init(void) { int i; /* Add 4 swaps (128K) to use the entire RAM drive */ for (i = 0; i < MAX_SWAPS; i++) swapmap_add(i); + vadr = 0x58; /* Must match kernel.def */ }