I'm trying to change to mode 12h in VC++
this code doesn't work:
__asm
{
mov ax, 12
int 10h
}
How can i fix this ?
I know this isn't a vc++ forum but help me if you can
How to change screen mode in VC++
RE:How to change screen mode in VC++
>On 2002-05-07 01:19:39, keyboard_ninja wrote:
>I'm trying to change to mode 12h in VC++
It's impossible to do this from VC++. Visual C++ outputs 32-bit
code for Windows.
>this code doesn't work:
>
>__asm
>{
>mov ax, 12
>int 10h
>}
>How can i fix this ?
>I know this isn't a vc++ forum but help me if you can
Read any text on protected mode and you will understand why you
cannot call BIOS interrupts from a protected-mode OS such as
Windows.
>I'm trying to change to mode 12h in VC++
It's impossible to do this from VC++. Visual C++ outputs 32-bit
code for Windows.
>this code doesn't work:
>
>__asm
>{
>mov ax, 12
>int 10h
>}
>How can i fix this ?
>I know this isn't a vc++ forum but help me if you can
Read any text on protected mode and you will understand why you
cannot call BIOS interrupts from a protected-mode OS such as
Windows.
RE:How to change screen mode in VC++
>On 2002-05-07 08:20:15, Anonymous wrote:
>>On 2002-05-07 01:19:39, keyboard_ninja wrote:
>>I'm trying to change to mode 12h in VC++
>
>It's impossible to do this from VC++. Visual C++ outputs 32-bit
>code for Windows.
Take a look at DirectX then. http://www.gamedev.net has a lot
of info about that.
>
>>this code doesn't work:
>>
>>__asm
>>{
>>mov ax, 12
>>int 10h
>>}
>>How can i fix this ?
>>I know this isn't a vc++ forum but help me if you can
>
>Read any text on protected mode and you will understand why you
>cannot call BIOS interrupts from a protected-mode OS such as
>Windows.
Well, why not write it directly here? BIOS code is
real mode code.
>>On 2002-05-07 01:19:39, keyboard_ninja wrote:
>>I'm trying to change to mode 12h in VC++
>
>It's impossible to do this from VC++. Visual C++ outputs 32-bit
>code for Windows.
Take a look at DirectX then. http://www.gamedev.net has a lot
of info about that.
>
>>this code doesn't work:
>>
>>__asm
>>{
>>mov ax, 12
>>int 10h
>>}
>>How can i fix this ?
>>I know this isn't a vc++ forum but help me if you can
>
>Read any text on protected mode and you will understand why you
>cannot call BIOS interrupts from a protected-mode OS such as
>Windows.
Well, why not write it directly here? BIOS code is
real mode code.