Re: C/C++ equivalent of dos,crt Pascal units
- From: "Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@xxxxxxxxxxxxxxx>
- Date: Fri, 1 Sep 2006 08:44:16 -0700
Dhruba Bandopadhyay wrote:
I am trying to port an old Pascal DOS game to DOS C/C++. I am
wondering if anyone is familar with the dos & crt Pascal units and
whether there are C/C++ equivalent libraries. Maybe dos.c & crt.c?
Below lists names of variables, functions, types & weird interrupt
procedures found in Pascal. Am wondering what can be done to get
around them for use in C/C++.
This is not primarily a Borland Pascal vs. C++ issue. Rather, it's a DOS,
writes directly to screen memory versus Windows issue. Windows does not
permit a program to directly write to screen memory, access I/O ports, issue
interrupts, etc.
You'll need to figure out what the code is doing, and then ask questions
about specific things that you don't know how to do under Windows because
there is no simple substitute or header file that will magically make this
code work outside of DOS.
-cd
.
- References:
- HELP: C/C++ equivalent of dos,crt Pascal units
- From: Dhruba Bandopadhyay
- HELP: C/C++ equivalent of dos,crt Pascal units
- Prev by Date: Re: std::exception's constructors
- Next by Date: Re: std::exception's constructors
- Previous by thread: HELP: C/C++ equivalent of dos,crt Pascal units
- Next by thread: Re: C/C++ equivalent of dos,crt Pascal units
- Index(es):
Relevant Pages
|