summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-05-02 19:27:46 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-05-02 19:27:46 +0200
commit2a32ff9af2935aafdb14427e68f4c75fd9e218a1 (patch)
treee0c81afa94ea07bdf57998c51ac550b86d25503f
parentad4f01f31e764072b4522e778a1becfb1b8f8fa0 (diff)
downloadabaos-master.tar.gz
abaos-master.tar.bz2
tried to test on real Unisys, power-cycles, as in bochsHEADmaster
-rw-r--r--BUGS3
-rw-r--r--src/drivers/video/vga.c4
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++ ) );