inline assembler as alternative to int86()

This is a discussion on inline assembler as alternative to int86() within the C Programming forums, part of the General Programming Boards category; i have a book with some code samples using int86() to do graphics functions. on the graphics tutorials on this ...

  1. #1
    Counter-Strike Master
    Join Date
    Dec 2002
    Posts
    38

    Question inline assembler as alternative to int86()

    i have a book with some code samples using int86() to do graphics functions. on the graphics tutorials on this site, i saw the author using inline assembler. how would i go about converting the outdated interrupt code to inline assembler?

    note: im at school now so i cant post the code sample i wish to convert, but ill post it as soon as i get home
    You say "Impressive!", but I already know it
    I'm a hardcore player and I'm not afraid to show it

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,672
    Well unless you're still stuck with real DOS as your operating system, there are usually much better ways of doing graphics.
    State your OS and compiler for more information

  3. #3
    Counter-Strike Master
    Join Date
    Dec 2002
    Posts
    38
    operating system: xp home sp1
    compiler: msvc++ 6.0. i also have dev c++ and borland 5.5 but i rarely use them
    Last edited by Bigbio2002; 11-12-2004 at 01:49 PM.
    You say "Impressive!", but I already know it
    I'm a hardcore player and I'm not afraid to show it

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,672
    Well graphics are discussed quite frequently on this forum
    http://cboard.cprogramming.com/game-programming/

    In particular, this thread is worth a read
    Game Programming Links

    If this is your first foray into graphics, then I'd perhaps consider libsdl, which is a downloadable package in the latest dev-c++, so there isn't much you have to do to get up and running.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  2. Certain functions
    By Lurker in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2003, 12:26 AM
  3. Inline Assembler Macros?
    By Aidman in forum C++ Programming
    Replies: 14
    Last Post: 07-15-2003, 05:10 AM
  4. Inline Assembler
    By mikef in forum C Programming
    Replies: 4
    Last Post: 08-22-2002, 03:28 PM
  5. Watcom C++ inline assembler
    By r0x in forum C++ Programming
    Replies: 0
    Last Post: 06-03-2002, 11:21 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21