Advertisement

Accessing mode 13h?

Started by June 07, 2000 05:43 PM
15 comments, last by OreoBoy03 24 years, 6 months ago
The int86 function is located in the dos.h header file. Since windows compilers don''t ship with dos support, I don''t think you''ll be able to use that function at all. I know msvc 4.0 and up don''t come with that header(and the required libs).
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
hrmm.. isnt there a windows specific prototype? intx86() or __int86() or something like that? seriously, i remember using mode 13h in msvc and it wasnt a huge deal to set up..


--
Float like a butterfly, bite like a crocodile.

--Float like a butterfly, bite like a crocodile.
Advertisement
Hope this link comes out right
Check this out

Basically, it says that int86 is supported under win 3.1. If you managed to use int86 under MSVC, tell me. I''m interested to know even though I don''t use MSVC.



========================================================
If something sounds stupid but works, it's not stupid
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
You certainly can''t use a console app to access mode 13h.... if you wanna use MSVC to access mode 13h you gotta find VC 1... ithen you can use it to access the mode 13h but higher version of the MSVC compilers wont help you at all since they wouldnt allow you to go into that mode...
actually the reason he was getting the blue screen of death using the assembler code isn''t because it is/isn''t supported, it is because you cannot use the (int) instruction because applications have an i/o privelage level of 3. which causes an exception because the task would have to i/o privelage of 0 to to use the (int) instruction.
To the vast majority of mankind, nothing is more agreeable than to escape the need for mental exertion... To most people, nothing is more troublesome than the effort of thinking.
Mode 13h can now also be accessed through DirectDraw.
___________________________Freeware development:ruinedsoft.com
Advertisement
Alright guys, enough of the crap If you want to access mode 13h (256 color palette, 16m physical colors, 320 x 200) your going to need Microsoft Visual C++ For MS-DOS Version 1.00, Standard Edition or Professional Edition. Another thing, Mode 13h is nasty, if you are going to use it at least tweak it to it''s maximal resolution (360 x 400 I think).

This topic is closed to new replies.

Advertisement