|
-
Jan 2nd, 2001, 09:23 PM
#1
Thread Starter
Member
I tried running this code I got from MSDN.....
it's in assembler..
Code:
__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.
-
Jan 2nd, 2001, 09:41 PM
#2
Addicted Member
I really dont think i can help but.....
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
-
Jan 2nd, 2001, 10:22 PM
#3
Addicted Member
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 !
If you can't pronounce my name, call me GURU 
-
Jan 3rd, 2001, 06:24 AM
#4
Thread Starter
Member
Ahhhhh, thanks!
I thought the 10th interupt was dos?
-
Jan 3rd, 2001, 06:44 AM
#5
Monday Morning Lunatic
Er...it is.
The most common DOS interrupt is the famous INT 21h.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 3rd, 2001, 04:12 PM
#6
Frenzied Member
Err, yeah... famous.... *Clueless*
Harry.
"From one thing, know ten thousand things."
-
Jan 3rd, 2001, 04:14 PM
#7
Monday Morning Lunatic
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|