Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

drkpriest

assembly question

This topic is 5217 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

is it possible to access bios interrupts from 32-bit windows console applications? i want to call a video interrupt in my c++ code. if possible, how? and how would i access the vRAM?

Share this post


Link to post
Share on other sites
Advertisement
Maybe you could have a look at Windows'' Dos emulator?
It *might* enable you to do it pretty much as if you where in DOS...

For a more elaborate answer try to ask in an assembly forum, they''ll be able to give you better answers.

Salsa cooked it, your eyes eat it!
[Hugo Ferreira][Positronic Dreams][Colibri 3D Engine][Entropy HL2 MOD][My DevDiary]
[Yann L.][Enginuity] [Penny Arcade] [MSDN][VS RoadMap][Humus][BSPs][UGP][NeHe]
"our stupidity allways comes back to bite us in the ass... in a white-shark sort of way..." - Prozak

Share this post


Link to post
Share on other sites
Or you could hope that assembly programmers like myself peruse the beginners forum because it makes them feel like big men. (Sorry, sorry, I have... mental issues )

Under windows you don''t need interupts really. Aside from the simple fact that interupts don''t work very well in protected mode.

Video memory is available in windows via DirectX. (DirectDraw or DirectX Graphics as it is now called) Its better than through the bios because it''s at least as fast and nowadays people usually have accelerated graphics memory you can use (relativly) easily via DirectX.

Share this post


Link to post
Share on other sites
You could take a 16Bit C++ Compiler. This would run on all Windows platforms and you can access the interrupts

scio me nihil scire
Ceterum censeo, carthaginem delendam esse

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!