From: John Hodge Date: Mon, 22 Jul 2013 12:35:12 +0000 (+0800) Subject: Notes - Updated TODO and added notes on structure of vbox graphics X-Git-Tag: rel0.15~333 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=273e90d27a564ac88cb70d4f1173f21d3201f22c;p=tpg%2Facess2.git Notes - Updated TODO and added notes on structure of vbox graphics --- diff --git a/Notes/VBox_VGA.txt b/Notes/VBox_VGA.txt new file mode 100644 index 00000000..3634fb83 --- /dev/null +++ b/Notes/VBox_VGA.txt @@ -0,0 +1,19 @@ +VirtualBox BochsGA->VGA Translation (From DevVGA.cpp) +- Assuming non 4bpp mode + +GR[0x06].3,2,0 = 0,1,1 Miscellaneous Graphics Register Mem Map = 64K@A0000, AlphaNum Disable) +CR[0x17].1,0 = 1,1 CRTC Mode Control Register MAP14,MAP13 +CR[0x13] = vbe_line_offset / 8 Offset Register (aka Pitch) +CR[0x01] = virtual_width / 8 - 1 End Horizontal Display Register +CR[0x12] = height Virtical Display End Register +CR[0x07].6,2 = height >> 8 Overflow Register [VDE9,VDE8] +CR[0x18] = 0xFF Line Compare Register +CR[0x07].4 = 1 Overflow Register [LC8] +CR[0x09].6 = 1 Maximum Scan Line Register [LC9] + +SR[4].3 = 1 Sequencer Memory Mode Chain 4 Enable +SR[2].3,2,1,0 = 1,1,1,1 Map Mask Register All planes enabled +SR[7].0 = 1 NON-VGA + +GR[0x05].6-5 = 2 Graphics Mode Register 256 color shift mode +CR[0x09].7,4-0 = 0,0 Maximum Scan Line Register [SD=0,MSL=0] diff --git a/TODO.txt b/TODO.txt index 493094f7..7269ce62 100644 --- a/TODO.txt +++ b/TODO.txt @@ -26,6 +26,9 @@ TODO: - Signals > Add return value to mutexs and semaphores, and add warn_unused_ret +- Restructure build system into: + "ARCH=armv7-tegra2", "EDITION=smp" + > While you're at it, clean up the build system filenames and ARCH=native/ARCH=host-* === Kernel Core === - Virtual PCI bus for system configuration