squall_lion_heart
February 11th, 2005, 05:07 PM
mov ax, 3
int 10
10x for the help:)
int 10
10x for the help:)
|
Click to See Complete Forum and Search --> : forgive me for the lo level, but what does this code is doing? squall_lion_heart February 11th, 2005, 05:07 PM mov ax, 3 int 10 10x for the help:) NigelQ February 11th, 2005, 10:08 PM The mov ax, 3 moves 0 into the AH register, and 3 into AL. The INT 10 calls the specified interrupt (0x10 in this case). INTerrupt 16 (0x10) is the video services interrupt. When this interrupt is called with AH=0 and AL=3 (as in your case), this changes the video mode to: 80 chars wide by 25 lines high, 16 color text (essentially color console text mode). Sorry for giving you it spelled out, but I wasn't sure what part you didn't understand. Hope this helps, - Nigel squall_lion_heart February 12th, 2005, 05:06 AM yeh, you really helped me, 10x:) codeguru.com
Copyright WebMediaBrands Inc., All Rights Reserved. |