Results 1 to 7 of 7

Thread: Hmmm.... wierd....

  1. #1

    Thread Starter
    Member Benjamin's Avatar
    Join Date
    Nov 2000
    Posts
    48

    Unhappy

    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.
    -Dennis
    [email protected]
    Ever stop to think, and forget to start again?


    The end justifies the means
    http://www.cfm-resources.com/d/dewrenn
    http://www.phpsquare.com

  2. #2
    Addicted Member
    Join Date
    May 2000
    Posts
    240

    Question 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



  3. #3
    Addicted Member
    Join Date
    Feb 2000
    Posts
    224
    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

  4. #4

    Thread Starter
    Member Benjamin's Avatar
    Join Date
    Nov 2000
    Posts
    48
    Ahhhhh, thanks!

    I thought the 10th interupt was dos?
    -Dennis
    [email protected]
    Ever stop to think, and forget to start again?


    The end justifies the means
    http://www.cfm-resources.com/d/dewrenn
    http://www.phpsquare.com

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  6. #6
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Err, yeah... famous.... *Clueless*
    Harry.

    "From one thing, know ten thousand things."

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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
  •  



Click Here to Expand Forum to Full Width