loontech
asked on
what replaces the graohic.h for the int86()?
I am trying to find the function int86().
It seems to be put to pasture. I would like to know what has replaced it for receiving BIOS interupts.
help please.
It seems to be put to pasture. I would like to know what has replaced it for receiving BIOS interupts.
help please.
BIOS.H
What compiler are you using ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
winXP
int 13h
msVC++6
int 13h
msVC++6
ASKER
I want to create text based intefaces like the old dos style BBS. I want to color text and change the color often. the header graphic.h used to be it,but now I can't find its replacement.
ASKER
I forgot that I also want to use int 80h, the video interupt
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
so what you are saying is I am going to have to write my own in assembly.
"i would recommend to use another compiler and build a dos-programm"
ofcourse, if you don't want to have problems caused by mr. gates, try linux or write your own os. but i never wanted you to write assembly. you can do it, but you could also try a c/c++-compiler for dos.
ofcourse, if you don't want to have problems caused by mr. gates, try linux or write your own os. but i never wanted you to write assembly. you can do it, but you could also try a c/c++-compiler for dos.
I suggest you to take from http://www.borland.com
their old TC 2.0 to create 16-bit DOS application.
VC++ from Ver 2.0 doesn't support this "option".
their old TC 2.0 to create 16-bit DOS application.
VC++ from Ver 2.0 doesn't support this "option".
Depends what you want to do. If you are writing device drivers etc and are going down to the ring 0 level, then you may be able to use the int instructions. Something as simple as
__asm {
int 13H
}
However, if you are just writing a normal application program, you won't be able to use the int86 functions.
Try VWIN32_DIOC_DOS_INT13 for int13.
INT80H isn't the video interrupt: it is the sound interrupt. The video interrupt in INT10H. You can completely screw up your video and Windows if you play with that. If it is just text I/O, have a look at character mode consoles.
__asm {
int 13H
}
However, if you are just writing a normal application program, you won't be able to use the int86 functions.
Try VWIN32_DIOC_DOS_INT13 for int13.
INT80H isn't the video interrupt: it is the sound interrupt. The video interrupt in INT10H. You can completely screw up your video and Windows if you play with that. If it is just text I/O, have a look at character mode consoles.
ASKER
yeah I realised that after I hit enter and couldn't undo what I typed, which made me feel like an A$$.
I am just looking for color text that changes like the old BBs's.
I am just looking for color text that changes like the old BBs's.
Website for character mode applications is
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/character_mode_applications.asp
That is the windows console equivalent of gotoxy, changing colours and positioning text all over the place.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/character_mode_applications.asp
That is the windows console equivalent of gotoxy, changing colours and positioning text all over the place.
@dimitry: this option is also available at borland c++ 5.01 for windows (that's what i usually use). and if you want to have an older compiler: i also have borland c++ 1.1 for dos. and i have to say: the description is better than this one of 5.01 in some points.
Nothing has happened on this question in more than 9 months. It's time for cleanup!
My recommendation, which I will post in the Cleanup topic area, is to
split points between cup and mirko_germany.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jmcg
EE Cleanup Volunteer
My recommendation, which I will post in the Cleanup topic area, is to
split points between cup and mirko_germany.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
jmcg
EE Cleanup Volunteer