From 2a32ff9af2935aafdb14427e68f4c75fd9e218a1 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 2 May 2019 19:27:46 +0200 Subject: tried to test on real Unisys, power-cycles, as in bochs --- BUGS | 3 +++ src/drivers/video/vga.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/BUGS b/BUGS index 07eee74..bd51c2d 100644 --- a/BUGS +++ b/BUGS @@ -1,3 +1,6 @@ +- VGA power cycles in bochs and on unisys + (0) [0x0000fffffff0] f000:fff0 (unk. ctxt): jmpf 0xf000:e05b ; ea5be000f0 + this seems to be the BIOS entry point - PS/2 answers with ERROR if PS/2 mouse is not connected, read_ack should handle error cases correctly. We should also probe correctly for the mouse. (0xFE on all commands) diff --git a/src/drivers/video/vga.c b/src/drivers/video/vga.c index 3ce0e86..c4c226a 100644 --- a/src/drivers/video/vga.c +++ b/src/drivers/video/vga.c @@ -154,11 +154,11 @@ void vga_print_name( void *obj ) void vga_print_info( void *obj ) { - // TODO: print avaiable modes, colors, resolutions + // TODO: print available modes, colors, resolutions } static void write_registers( vga_t *vga, uint8_t *regs ) -{ +{ // misc port8_write( &vga->misc_port, *( regs++ ) ); -- cgit v1.2.3-54-g00ecf