Author: wmb Date: 2009-11-17 05:46:29 +0100 (Tue, 17 Nov 2009) New Revision: 1485
Modified: dev/geode/display/gxvga.fth dev/via/unichrome/vgamodes.fth dev/video/common/graphics.fth Log: OLPC trac 9472 - Init VGA RMR register to 0xff to fix goofy colors in text mode.
Modified: dev/geode/display/gxvga.fth =================================================================== --- dev/geode/display/gxvga.fth 2009-11-15 23:35:19 UTC (rev 1484) +++ dev/geode/display/gxvga.fth 2009-11-17 04:46:29 UTC (rev 1485) @@ -607,6 +607,7 @@ : (set-colors) ( adr index #indices -- ) swap windex! 3 * bounds ?do i c@ plt! loop + h# ff rmr! ;
fload ${BP}/dev/video/controlr/vga.fth
Modified: dev/via/unichrome/vgamodes.fth =================================================================== --- dev/via/unichrome/vgamodes.fth 2009-11-15 23:35:19 UTC (rev 1484) +++ dev/via/unichrome/vgamodes.fth 2009-11-17 04:46:29 UTC (rev 1485) @@ -39,6 +39,7 @@ : (set-colors) ( adr index #indices -- ) swap windex! 3 * bounds ?do i c@ plt! loop + h# ff rmr! ;
\ fload ${BP}/dev/video/controlr/vga.fth
Modified: dev/video/common/graphics.fth =================================================================== --- dev/video/common/graphics.fth 2009-11-15 23:35:19 UTC (rev 1484) +++ dev/video/common/graphics.fth 2009-11-17 04:46:29 UTC (rev 1485) @@ -70,6 +70,7 @@ else ?do i c@ plt! loop then + h# ff rmr! ;
: set-colors ( adr index #indices -- )
openfirmware@openfirmware.info