Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 1.58 KB

memmap.md

File metadata and controls

26 lines (24 loc) · 1.58 KB

Memory layout

\ +0 +1 +2 +3
0x0000 display (18 KB)
0x4800 display mode bits per pixel columns rows
0x4804 visible display ptr (32bit address)
0x4808 active display ptr (32bit address)
0x4880 *audio (128 bytes)
0x4900 disk req (256 bytes)
0x4a00 disk resp (256 bytes)
0x4b00 disk open disk req new disk resp new
0x4b04 char queue key char key code key mods
0x4b08 mouse x mouse y mouse buttons
0x4b0c *player 1 *player 2 *player 3 *player 4
0x4b10 1/250 second second minute hour
0x4b14 weekday date month year
...
0x4bf8 active drive
0x4bfc cursor col cursor row text bg text fg
0x4c00 system font (1 KB)
...
0x5000 kernal

*not yet implemented