{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lab 3 - DOS and BIOS Interrupts DOS and BIOS interrupts are...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
DOS and BIOS Interrupts DOS and BIOS interrupts are used to perform some very useful functions, such as displaying data to the monitor, reading data from keyboard, etc. They are used by identifying the interrupt option type, which is the value stored in register AH and providing, whatever extra information that the specific option requires.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
BIOS Interrupt 10H Option 0H – Sets video mode. Registers used: AH = 0H AL = Video Mode. 3H - CGA Color text of 80X25 7H - Monochrome text of 80X25 Ex: MOV AH,0 MOV AL,7 INT 10H
Background image of page 2
BIOS Interrupt 10H Option 2H – Sets the cursor to a specific location. Registers used: AH = 2H BH = 0H selects Page 0. DH = Row position. DL = Column position.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
BIOS Interrupt 10H Ex: MOV AH,2 MOV BH,0 MOV DH,12 MOV DL,39 INT 10H
Background image of page 4