Thread View: comp.lang.pascal.borland
8 messages
8 total messages
Started by Peter
Tue, 19 Mar 2002 08:41
TP for DOS-program not running on XP
Author: Peter
Date: Tue, 19 Mar 2002 08:41
Date: Tue, 19 Mar 2002 08:41
10 lines
1227 bytes
1227 bytes
Hi, A program I wrote in TurboPascal 7 for DOS does not properly run on an Windows XP-home-edtion machine. The screen freezes, but the taskmanager says the program is active. This happens now and then. The program is nothing fancy. Mainly standard input/output. I runs on a FAT-partition of the harddisk. Peter
Re: TP for DOS-program not running on XP
Author: jims
Date: Wed, 20 Mar 2002 04:44
Date: Wed, 20 Mar 2002 04:44
24 lines
2098 bytes
2098 bytes
In <539bd0de.0203190041.693c09bb@posting.google.com>, peterhva@hotmail.com (Peter) writes:
>Hi,
>
>A program I wrote in TurboPascal 7 for DOS does not properly run on an
>Windows XP-home-edtion machine.
>The screen freezes, but the taskmanager says the program is active.
>This happens now and then.
>The program is nothing fancy. Mainly standard input/output.
>I runs on a FAT-partition of the harddisk.
>
>Peter
Is the TP7 in full-screen or a window?
Has focus been changed between windows?
Under OS/2 Warp 4, A full screen TP7 IDE can lose its connection to the
keyboard if focus is switched between windows, or a DOS program is started
while a full screen TP7 is running a program in the background. Mouse still
works to close down via file menu, but this can be extremely frustrating!
It is possible XP suffers a similar reaction when the 'BIOS' routines get
relocated by the Operating system. (TP7 saves the IRQ vectors at startup
but the O/S later shifts the routines elsewhere. Result is a 'pointer to nowhere'
error when TP7 requires the routine.)
Re: TP for DOS-program not running on XP
Author: Peter
Date: Thu, 11 Apr 2002 20:16
Date: Thu, 11 Apr 2002 20:16
36 lines
2160 bytes
2160 bytes
jims@vcn.bc.ca wrote in message news:<a7942f$5uf$1@luna.vcn.bc.ca>...
> In <539bd0de.0203190041.693c09bb@posting.google.com>, peterhva@hotmail.com (Peter) writes:
> >Hi,
> >A turbopascal7 for dos-program on a
> >Windows XP-home-edition machine.
> >The screen freezes, but the taskmanager says the program is active.
> >This happens now and then.
>
> Is the TP7 in full-screen or a window?
It runs in full-screen mode.
Is it better to run it in a window?
I also use a routine to get input from the keyboard:
FUNCTION RDENKEFN : word;
{From ts@uwasa.fi}
VAR regs : registers;
keyboard : byte absolute $40:$96;
BEGIN
rdenkefn := 0;
IF ((keyboard SHR 4) AND 1) = 0 THEN exit;
FillChar (regs, SizeOf(regs), 0);
regs.ah := $10;
Intr ($16, regs);
rdenkefn := regs.ax;
END; (* rdenkefn *)
And I use the {$I-} en {$I+} (the include file directive)
Could one of these two be a problem?
I also tried to run the program from a Windows 3.11-machine in a
little TCP/IP-network. On the 3.11-machine it works fine, but when I
start it from the XP-machine (shared drive) on the 3.11-machine the
program freezes again.
Peter
Re: TP for DOS-program not running on XP
Author: Jan Philips
Date: Thu, 11 Apr 2002 21:09
Date: Thu, 11 Apr 2002 21:09
11 lines
1680 bytes
1680 bytes
On 11 Apr 2002 13:16:47 -0700, PeterHva@hotmail.com (Peter) wrote: >> Is the TP7 in full-screen or a window? >It runs in full-screen mode. >Is it better to run it in a window? When I run it (or any DOS program) in a window on XP, the keyboard response is so bad that it is virtually unusable. It works normally at full screen. I haven't been able to find any way to nake it work correctly in an XP window.
Re: TP for DOS-program not running on XP
Author: Peter
Date: Mon, 15 Apr 2002 20:31
Date: Mon, 15 Apr 2002 20:31
19 lines
1867 bytes
1867 bytes
Jan Philips <jud.mccranie@mindspring.com> wrote in message news:<7glhbu85sdkenoilo4k5rtfc78mu9dkge2@4ax.com>... > On 13 Apr 2002 15:21:43 -0700, peterhva@hotmail.com (Peter) wrote: > > >The program still freezes, but I can stop it via the hotkey-function. > >Sometimes I get a screen full of colors. > >Is the videocard the problem? > >It is a NVIDIA GeForce2 MX 200 (HP), > >the pc is a hp paviljon 7925. > > I don't know. I've got a Pavilion 7935, but I don't have that type of > problem (different video, though). Hi Jan, I replaced the video-card with an older one. No program-freezing so far. Could you tell me what video-card you are using? Thanks, Peter
Re: TP for DOS-program not running on XP
Author: Jan Philips
Date: Tue, 16 Apr 2002 06:14
Date: Tue, 16 Apr 2002 06:14
7 lines
1683 bytes
1683 bytes
On 15 Apr 2002 13:31:52 -0700, peterhva@hotmail.com (Peter) wrote: >I replaced the video-card with an older one. No program-freezing so far. >Could you tell me what video-card you are using? The video is built-in on an HP 7935. It shows up as Savage S3, I think.
Re: TP for DOS-program not running on XP
Author: Marco van de Voort
Date: Tue, 16 Apr 2002 07:15
Date: Tue, 16 Apr 2002 07:15
13 lines
1843 bytes
1843 bytes
In article <98gnbu83rvc0d0dpdteeftfrr54sqiegt2@4ax.com>, Jan Philips wrote: > On 15 Apr 2002 13:31:52 -0700, peterhva@hotmail.com (Peter) wrote: > >>I replaced the video-card with an older one. No program-freezing so far. >>Could you tell me what video-card you are using? > > The video is built-in on an HP 7935. It shows up as Savage S3, I > think. There is a s3vbe (from Dietmar <something>) I had good experience with. If you use VESA functionality, some S3 VESA implementations have clear-screen function broken. Look for s3fix.
Re: TP for DOS-program not running on XP
Author: Robert Riebisch
Date: Tue, 16 Apr 2002 14:37
Date: Tue, 16 Apr 2002 14:37
10 lines
1749 bytes
1749 bytes
> There is a s3vbe (from Dietmar <something>) I had good experience with.
^^^^^^^^^^^
... Meschede.
Robert Riebisch
--
BTTR Software
http://www.bttr-software.de/
ICQ: 112.321.692
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads