Umm.. is anyone out there? Not to be rude but I'd kind of like an answer. Unfortunately I don't have a way of checking wether my current rpogram will run under DOS. I did however try compiling it in Linux with gcc... but I can't figure out what the keyword for using assembly is??? in MSVC++ 6.0 it's just
Code:
_asm insert asm stuff here
but what is it in gcc??
anyway that all leads to the fact that I haven't yet found out if it works. Here's the code I have right now...
Code:
#include <iostream>
using namespace std;
void SetMCGA()
{
_asm mov ax,0013h
_asm int 10h
}
void SetText()
{
_asm mov ax,0003h
_asm int 10h
}
int main()
{
SetMCGA();
SetText();
return 0;
}
Any help would be appreciated..