🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.misc
5 messages
5 total messages Started by Martin Lepley Thu, 15 Nov 2001 14:24
Turbo Pascal V7 (DOS) to work in WindowsNT Protected Environment?????
#2777
Author: Martin Lepley
Date: Thu, 15 Nov 2001 14:24
17 lines
1449 bytes
Does anyone know how I can get my old Turbo Pascal Version 7 programmes to
work in WindowsNT.

These programmes access ports and the serial bus so NT does not allow them
to happen, as direct memory access not allowed in NT.

Is there a 'fix' out there? Preferably free!

Please Email me martin.lepley@baesystems.com




Thanks ~ Martin


Re: Turbo Pascal V7 (DOS) to work in WindowsNT Protected Environment?????
#2779
Author: Rufus V. Smith
Date: Thu, 15 Nov 2001 20:51
45 lines
2386 bytes

Rufus


"Martin Lepley" <Martin.lepley@gecm.com> wrote in message news:3bf3cd54$1@pull.gecm.com...
> Does anyone know how I can get my old Turbo Pascal Version 7 programmes to
> work in WindowsNT.
>
> These programmes access ports and the serial bus so NT does not allow them
> to happen, as direct memory access not allowed in NT.
>
> Is there a 'fix' out there? Preferably free!
>


Unfortunately your quickest and cheapest fix is to not use Windows NT (or 2000 or XP),
as they explicitly do not allow direct hardware access/control.

I've not heard of any shell that would allow an unmodified hardware accessing program
to run in an NT environment (by, say, trapping I/O calls and virtualizing them).  If there
were such a beast, it probably wouldn't be cheap, either.

If you must run under NT, you have a lot of reprogramming to do, both in your
Pascal program and in the form of custom drivers.

Why isn't comp.lang.pascal.borland in your newsgroup distribution list?

nor was there a copy at borland.public.turbopascal (available at their server
newsgroups.borland.com)

> Please Email me martin.lepley@baesystems.com
>

QHAH - Question Here, Answer Here.  Basic Newsgroup Etiquette.

Rufus







Re: Turbo Pascal V7 (DOS) to work in WindowsNT Protected Environment?????
#2780
Author: Mark A. Odell
Date: Thu, 15 Nov 2001 21:20
37 lines
2273 bytes
"Rufus V. Smith" <nospam@nospam> wrote in
news:3bf42ae3$1$16275$4c41069e@reader1.ash.ops.us.uu.net: 

> 
> 
> Rufus
> 
> 
> "Martin Lepley" <Martin.lepley@gecm.com> wrote in message
> news:3bf3cd54$1@pull.gecm.com... 
>> Does anyone know how I can get my old Turbo Pascal Version 7
>> programmes to work in WindowsNT.
>>
>> These programmes access ports and the serial bus so NT does not allow
>> them to happen, as direct memory access not allowed in NT.
>>
>> Is there a 'fix' out there? Preferably free!
>>
> 
> 
> Unfortunately your quickest and cheapest fix is to not use Windows NT
> (or 2000 or XP), as they explicitly do not allow direct hardware
> access/control. 
> 
> I've not heard of any shell that would allow an unmodified hardware
> accessing program to run in an NT environment (by, say, trapping I/O
> calls and virtualizing them).  If there were such a beast, it probably
> wouldn't be cheap, either. 

VMware (www.vmware.com) can. You load it up, then install DOS inside of it. 
There you go.

-- 
- Mark A. Odell
- Embedded Firmware Design, Inc.
- http://www.embeddedfw.com
Re: Turbo Pascal V7 (DOS) to work in WindowsNT Protected Environment?????
#2781
Author: Shelby Cain
Date: Thu, 15 Nov 2001 21:27
32 lines
1849 bytes
I believe NT should emulate most (if not all) UART behavior so that dos
based programs....

However, in moving forward you might want to consider switching from Turbo
Pascal to Delphi and gain the ability to create native Win32
applications....

Regards,

Shelby Cain

"Martin Lepley" <Martin.lepley@gecm.com> wrote in message
news:3bf3cd54$1@pull.gecm.com...
> Does anyone know how I can get my old Turbo Pascal Version 7 programmes to
> work in WindowsNT.
>
> These programmes access ports and the serial bus so NT does not allow them
> to happen, as direct memory access not allowed in NT.
>
> Is there a 'fix' out there? Preferably free!
>
> Please Email me martin.lepley@baesystems.com
>
>
>
>
> Thanks ~ Martin
>
>


Re: Turbo Pascal V7 (DOS) to work in WindowsNT Protected Environment?????
#2782
Author: Serve Laurijssen
Date: Fri, 16 Nov 2001 10:46
13 lines
1559 bytes
"Rufus V. Smith" <nospam@nospam> wrote in message
news:3bf42ae3$1$16275$4c41069e@reader1.ash.ops.us.uu.net...
> Unfortunately your quickest and cheapest fix is to not use Windows NT (or
2000 or XP),
> as they explicitly do not allow direct hardware access/control.

Search the net for the "giveio" driver. It runs as a service and allows you
to read and write directly to ports again. Installing is a bit weird, but it
works very well, you can even reprogram the 8254 timer then


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