experchange > comp.programming

Tobias Guggenmoser (12-22-03, 10:20 PM)
I have a question concerning Windows XP and Borland Pascal 7.0.
It perfectly works with my Win2k SP4 PC, but a friend of mine has
WinXP Home Edition and cannot get it running in fullscreen mode. BP
and TP (both version 6 and 7) can be started in a DOS box, but they
don't react to keyboard or mouse any more when switched to fullscreen
(which is needed, e.g. for 13h video mode).
Does anyone know where the problem is? Win95 compatibility mode
doesn't help.

Greetings
Tobias G.
Jack Klein (12-23-03, 02:43 AM)
On 22 Dec 2003 12:20:35 -0800, guggi (Tobias
Guggenmoser) wrote in comp.programming:

> I have a question concerning Windows XP and Borland Pascal 7.0.
> It perfectly works with my Win2k SP4 PC, but a friend of mine has
> WinXP Home Edition and cannot get it running in fullscreen mode. BP
> and TP (both version 6 and 7) can be started in a DOS box, but they
> don't react to keyboard or mouse any more when switched to fullscreen
> (which is needed, e.g. for 13h video mode).
> Does anyone know where the problem is? Win95 compatibility mode
> doesn't help.
> Greetings
> Tobias G.


I can't help you, but I can suggest a much better place to ask so
you've get a better chance at a useful answer. Borland has a large
number of newsgroups that specifically support their products, all the
way back to the very earliest ones.

Usenet access on their server nntp://newsgroups.borland.com. There's
also a browser interface somewhere on .
gswork (12-23-03, 10:59 AM)
guggi (Tobias Guggenmoser) wrote in message news:dddd
> I have a question concerning Windows XP and Borland Pascal 7.0.
> It perfectly works with my Win2k SP4 PC, but a friend of mine has
> WinXP Home Edition and cannot get it running in fullscreen mode. BP
> and TP (both version 6 and 7) can be started in a DOS box, but they
> don't react to keyboard or mouse any more when switched to fullscreen
> (which is needed, e.g. for 13h video mode).
> Does anyone know where the problem is? Win95 compatibility mode
> doesn't help.
> Greetings
> Tobias G.


BP suite of apps are 1992 vintage (IIRC) and i think they were written
to be efficient on DOS (&win16) systems, so there may well be some DOS
specifics going on that cause XP to trip up.

In addition to the borland newsgroups comp.lang.pascal.borland may
help out

Not so sure about XP but is there a 'DOS compatibility mode'? Can he
get it working when not in fullscreen? IMO, BP looks fine when you
choose suitable font sizes.

The other thing to consider is to move away from BP and on to
Freepascal which is available for Win32 and is very close to BP in
terms of compatibility.

If that's not for you, considerer using the command line compiler
(assuming that still works) and forego the IDE (but choose another
free one, sourceedit perhaps)
Tobias Guggenmoser (12-25-03, 03:24 PM)
gswork (gswork) wrote in message news:4711
[..]
> If that's not for you, considerer using the command line compiler
> (assuming that still works) and forego the IDE (but choose another
> free one, sourceedit perhaps)


He can get it working in a dos window, but a programme compiled with
BP doesn't run in fullscreen either, which prevents him from using
graphic modes. By the way we found out that the same problem occurs
using Turbo C++ (guess it's about the environment these Borland
compilers create around the machine code; perhaps that could be made
clear by trying pure machine code with TASM).
He now found a way around the problem by using VMWare to emulate a
Windows 98 PC. On this emulated PC BP and TC run, but the programmes
tend to run quite slowly.
gswork (12-26-03, 05:34 PM)
guggi (Tobias Guggenmoser) wrote in message news:0f6a
> gswork (gswork) wrote in message news:4711


> He can get it working in a dos window, but a programme compiled with
> BP doesn't run in fullscreen either, which prevents him from using
> graphic modes. By the way we found out that the same problem occurs
> using Turbo C++ (guess it's about the environment these Borland
> compilers create around the machine code; perhaps that could be made
> clear by trying pure machine code with TASM).
> He now found a way around the problem by using VMWare to emulate a
> Windows 98 PC. On this emulated PC BP and TC run, but the programmes
> tend to run quite slowly.


Graphics modes accessed via dos/bios calls are particularly unlikely
to succeed with XP, which takes the precaution of disallowing direct
hardware access.

Doing it in TASM (If using the same techniques) is likely to encounter
the same problems.

VMWare would do usiong Win98 because Win9x allows DOS full access to
hardware, but i do think that you/he might find use in freepascal in
it's win32 form for results you can port to DOS32,Win32,Linux and
elsewhere.
Similar Threads