PDA

Click to See Complete Forum and Search --> : Hmmm.... wierd....


Benjamin
Jan 2nd, 2001, 08:23 PM
I tried running this code I got from MSDN.....

it's in assembler..

__asm // __asm block
{
mov eax, 01h
int 10h
}



it doesn't say what it's supposed to do, all it did for me was give me the BSOD.....

I know I should ask this in the assembler forum, but more poeple come here then there.

Sophtware
Jan 2nd, 2001, 08:41 PM
Why were you using that code? what purpose?

One reason why it might have gave you the B.S.O.D. is because it didnt have a return to DOS like so

mov ax,4c00h


but then again i doubt that is the problem

it doenst look it does anything besides add a 01h value to the ex register..but then again i am not sure..hehe

G.Kumaraguru
Jan 2nd, 2001, 09:22 PM
INT 10 - Set Video Mode
AH = 00
AL = 01 40x25 16 color text (CGA,EGA,MCGA,VGA)

It seems that your VGA card does not support this mode..
Therefore BSOD !

Benjamin
Jan 3rd, 2001, 05:24 AM
Ahhhhh, thanks!

I thought the 10th interupt was dos?

parksie
Jan 3rd, 2001, 05:44 AM
Er...it is.

The most common DOS interrupt is the famous INT 21h.

HarryW
Jan 3rd, 2001, 03:12 PM
Err, yeah... famous.... *Clueless*

parksie
Jan 3rd, 2001, 03:14 PM
:p