| Interrupt no:0x33 Functio :MOUSE | t no:0X33,function | MOUSE | ||||||||||
| input | output | service no | purpose | |||||||||
| ax | 1 | show mouse pointer | ||||||||||
| ax | 2 | hide mouse pointer | ||||||||||
| ax | 0 | intialize mouse pointer | ||||||||||
| ax | 0 | |||||||||||
| ax | 7 | x cordinate restriction | ||||||||||
| cx | x1 cordinate | |||||||||||
| dx | y1 cordinate | |||||||||||
| ax | 8 | y cordinate restriction | ||||||||||
| cx | x2 cordinate | |||||||||||
| dx | y2 cordinate | |||||||||||
| ax | 3 | get mouse position | ||||||||||
| bx | Button | |||||||||||
| cx | X position | |||||||||||
| dx | Y position | |||||||||||
| ax | 4 | set mouse position | ||||||||||
| cx | x cordinate | |||||||||||
| dx | y cordinate | |||||||||||
| ax | 5 | Get button press information | ||||||||||
| bx | b=0 left | |||||||||||
| b=1 right | ||||||||||||
| b=2 cent | ||||||||||||
| ax | button status | |||||||||||
| bx | button press counter | |||||||||||
| cx | x cordinate | |||||||||||
| dx | y cordinate | |||||||||||
| ax | 9 | |||||||||||
| bx | host spot from left | |||||||||||
| cx | hot spot from rigjt | |||||||||||
| es:ds | segment:offset of pointer | |||||||||||
| ax | 0XA | set text pointer type | ||||||||||
| bx | pointer type | |||||||||||
| 0-soft type | ||||||||||||
| cx | 1-hardware type | |||||||||||
| dx | starting line number | |||||||||||
| ending line number | ||||||||||||
| Interrupt No:0X10 | ||||||||||||
| ah | 2 | Positioning Cursor | ||||||||||
| dh | row no | |||||||||||
| dl | col no | |||||||||||
| bh | page no | |||||||||||
| ah | 6 | Clear screen/Scroll screen | ||||||||||
| al | 0 to clear | n line to scroll | ||||||||||
| ch | st row | |||||||||||
| cl | st col | |||||||||||
| dh | end row | |||||||||||
| dl | end col | |||||||||||
| bh | col | |||||||||||
| ah | 6 | Scroll window 1 line up | ||||||||||
| al | 1 | |||||||||||
| bh | color | |||||||||||
| ch | st row | |||||||||||
| cl | st col | |||||||||||
| dh | end row | |||||||||||
| dl | end row | |||||||||||
| ah | 8 | Read a char from screen | ||||||||||
| bh | page | |||||||||||
| ah | ||||||||||||
| ah | 9 | Write a char on screen | ||||||||||
| bh | page | |||||||||||
| ah | ||||||||||||
| ah | 0 | set video mode | ||||||||||
| al | 0x13 | switch to 320 by 200 and 256 color graphics mode | ||||||||||
| 0x12 | Switch to 640 by 480 and 16 color mode | |||||||||||
| 0x11 | Switch to 640 by 480 and 2 color mode | |||||||||||
| 0x3 | Switch to 25 by 80 and 16 color text mode | |||||||||||
| 0x2 | switch to 80 by 25 and color text mode | |||||||||||
| 0x1 | switch to 40 by 25 and 16 color text mode | |||||||||||
| ah | 3 | Get cursor position | ||||||||||
| bh | page number | |||||||||||
| ch | starting line for cursor | |||||||||||
| cl | ending line for cursor | |||||||||||
| dh | row position | |||||||||||
| dl | col position | |||||||||||
| ah | 5 | set to active page | ||||||||||
| bh | page number | |||||||||||
| Interrupt No: 0x21 | ||||||||||||
| ah | 1 | Echo input character on screen | ||||||||||
| al | data | |||||||||||
| ah | 2 | Character output | ||||||||||
| dl | character | |||||||||||
| ah | 5 | Printer output | ||||||||||
| dl | character | |||||||||||
| ah | 9 | display string | ||||||||||
| ds:dx | string | |||||||||||
| ah | 0XE | select disk | ||||||||||
| dl | drive no | |||||||||||
| ah | 0XF | open file | ||||||||||
| ds:dx | file control | |||||||||||
| ah | 0X10 | close file | ||||||||||
| ds:dx | file control | |||||||||||
| ah | 0X11 | find first file | ||||||||||
| ds:dx | file control | |||||||||||
| ah | 0X12 | find next file | ||||||||||
| ds:dx | file control | |||||||||||
| ah | 0X13 | delete file | ||||||||||
| ds:dx | file control | |||||||||||
| ah | 0X16 | create file | ||||||||||
| ds:dx | file control | |||||||||||
| ah | 0X17 | renaming file | ||||||||||
| ds:dx | special file control | |||||||||||
| ah | 0X19 | get current disk | ||||||||||
| al | drive number | |||||||||||
| ah | 0x23 | get file size | ||||||||||
| ds:dx | file control | |||||||||||
| ah | 0X25 | set interrupt | ||||||||||
| al | interrupt no | |||||||||||
| ds:dx | new function | |||||||||||
| ah | 0X35 | get interrupt vector | ||||||||||
| al | interrupt no | |||||||||||
| es:bx | ||||||||||||
| ah | 0X39 | create directory | ||||||||||
| ds:dx | directory name | |||||||||||
| ah | 0x3A | delete directory | ||||||||||
| ds:dx | directory name | |||||||||||
| 0X3B | set current directory | |||||||||||
| directory name | ||||||||||||
| Interrupt No.: 0X16 Function :Key Board | ||||||||||||
| ah | 0 | get the scan code | ||||||||||
| ah | ||||||||||||
| al | get ascii code | |||||||||||
Thursday, October 11, 2007
INTERRUPT TABLE
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment