QB Screen 12 in Win7+

Windows specific questions.
Post Reply
CGAMan
Posts: 31
Joined: Nov 24, 2017 18:23

QB Screen 12 in Win7+

Post by CGAMan »

Windows 7 and above doesn't allow Screen 12. Will recompiling my QB prog using FreeBASIC allow it to run in Screen 12 on modern OSes?
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: QB Screen 12 in Win7+

Post by MrSwiss »

AFAIK, no problem with Screen 12 (however, I think that 11, is a problem: B&W).
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: QB Screen 12 in Win7+

Post by St_W »

CGAMan wrote:Windows 7 and above doesn't allow Screen 12. Will recompiling my QB prog using FreeBASIC allow it to run in Screen 12 on modern OSes?
Yes, because FreeBasic generates a 32-bit or 64-bit Windows executable using DirectX, OpenGL or GDI for graphics (depending on your system capabilities). However, note that FreeBasic is not fully compatible with QB. For example, if you use some 16-bit DOS specific code (like interrupt calls, peek/poke of memory, ...) you will need to change that in order to work on modern OSes. If you're looking for emulation have a look at QB64, which emulates some common DOS-specific properties and thus is often able to run QB code without changes. Or you can emulate a whole DOS environment using DOS-Box and run the old QBasic directly.
Post Reply