source: branches/UltimatOS/IO.asm

Last change on this file was 32, checked in by chronos, 23 months ago
  • Added: Interrupt handling.
File size: 420 bytes
Line 
1 ; Input addresses
2 .const KeyRead 0
3 .const MouseGetPosX 1
4 .const MouseGetPosY 2
5 .const ScreenGetWidth 3
6 .const ScreenGetHeight 4
7 .const KeyReady 5
8
9 ; Output addresses
10 .const ScreenSetAddr 0
11 .const ScreenWriteData 1
12 .const CounterSetInterval 2
13 .const CounterSetState 3
14
15 ; Interrupt vectors
16 .const InterruptVectorCounter 2
17 .const InterruptVectorMouse 3
18 .const InterruptVectorKeyboard 4
19
Note: See TracBrowser for help on using the repository browser.