Appendix D
ROM-BIOS SERVICES
These services can be invoked using int86() function.
PRINT SCREEN Interrupt : 0 × 5 Returns : Nothing Use : Sends contents of the screen to the printer |
INITIALIZE PRINTER Interrupt : 0 × 17 Input : AH = 0 × 01 DX = printer number (0 = LPT1, 1 = LPT2, 2 = LPT3) Use : Initializes the printer |
MEMORY SIZE Interrupt : 0 × 12 Input : Nothing Returns : AX (memory size) |
READ DISK CONTROLLER Interrupt : 0 × 13 Input : AH = 0 × 0 DL = drive 0 × 00−0 × 7f floppy disks 0 × 80−0 × FF Hard disks |
SET CURSOR SIZE Interrupt : 0 × 10 Input : AH = 0 × 01 CH = Starting Scan line CL = Ending Scan line Use : Changes the cursor size. |
SET CURSOR POSITION Interrupt : 0 × 10 Input : ... |
Get Programming in C, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.