Lab 3

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 DocumentRight 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 DocumentRight 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
BIOS Interrupt 10H ± Option 6H – Scroll window up. This interrupt is also used to clear the screen when you set AL = 0. ± Registers used: ² AH = 6H ² AL = number of lines to scroll. ² BH = display attribute. ² CH = y coordinate of top left.
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/24/2012 for the course EE 3751 taught by Professor Desouza during the Spring '04 term at LSU.

Page1 / 17

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

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online