The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: thearchitect on August 20, 2008, 02:16:46 PM

Title: BIOS interrupt 21h under Vista
Post by: thearchitect on August 20, 2008, 02:16:46 PM
Hi everybody,
i have a problem about running BIOS interrupt under Vista command prompt. The program just for printing a string on screen is compiling without problem but when i run the executable i get exception and program halts.

I am using Visual Studio Express 2008 C++.

Any help is welcome, thank you...
Title: Re: BIOS interrupt 21h under Vista
Post by: thearchitect on August 20, 2008, 02:29:05 PM
thats ok,
i got the answer at http://www.kipirvine.com/asm/gettingStarted/index.htm#16-bit
Title: Re: BIOS interrupt 21h under Vista
Post by: sinsi on August 23, 2008, 06:23:38 AM
Hasn't Vista lost DOS and win16 support? Or is it just the 64-bit version (and XP64)?
Title: Re: BIOS interrupt 21h under Vista
Post by: Neil on August 31, 2008, 08:02:35 AM
Hasn't Vista lost DOS and win16 support? Or is it just the 64-bit version (and XP64)?

Yes, I thought that. I've just tried a couple of my old DOS programs & they run without any problems (Vista 32-bit edition)
Title: Re: BIOS interrupt 21h under Vista
Post by: sinsi on August 31, 2008, 08:20:18 AM
Yeah, 64-bit windows can't run in V86 mode because of the processor being in long mode, so bye-bye DOS. Oh well, about time I guess (and there's always VirtualPC).