Dec 152017
Conversion utility, converts C to Turbo Pascal. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
CHANGES | 507 | 265 | deflated |
CTOP.EXE | 215376 | 87787 | deflated |
CTOPUNIT.PAS | 20410 | 2860 | deflated |
README | 5110 | 1799 | deflated |
SIEVE.C | 609 | 344 | deflated |
TOWERS.C | 4537 | 1728 | deflated |
Download File C2PAS.ZIP Here
Contents of the README file
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Type 'CTOP' to get the following help:
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
CtoP filename {options}
/a Skipped #if text output as-is
/c Allow comments to nest
/d #define 1
/d= #define
/f Create default declarations for undeclared identifiers
/h Heap allocated to symbol table (default 32000 words)
/i Include directories
/j Treat plain char as unsigned
/k Identifiers significant to characters
/l Make size of plain int 4 bytes
/m Size of symbol table (default 4500 entries)
/n Output labels as Standard Pascal (numeric) labels
/o Whitespace not treated as significant between operators
/p Push macro redefinitions
/q Run in quiet mode
/r Round reals when converting to integer
/s Use ANSI C preprocessor features
/t Provide standard typedefs
/v Specify source C compiler vendor
/_ Underscore not considered significant in target compiler
/7 Disable 8087 Turbo Pascal floating point types
/Iinclude directories should be separated by ;
/Tprovides (amongst others) FILE, size_t, ptrdiff_t
/Vvendor name may be one of:
ANSIBORLANDKNOWSOFTLATTICE
MICROSOFTMIXPOWERPROSPERO
TURBOUNIXZORLANDZORTECH
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Distributing and using CtoP:
The purpose of creating and distributing a Turbo Pascal version of
CtoP was to gain publicity for Knowledge Software and the services we
have to offer.
If you find this version of CtoP useful and want a copy of the manual
and latest release of the software please register.
You may give copies of the contents of this disc to whom ever you
like provided the Knowledge Software Ltd copyright notices are not
removed. You may charge your customer as much or little as you like
for providing a copy of this software.
If you would like a copy of CtoP that targetted to another Pascal
compiler and handled a different dialect of C as input please contact
us.
Also if you are looking for any tools in the language translation
area please contact us.
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To become a registered user of CtoP and receive the latest version of the
software, the comprehensive manual and hotline support, please complete and
return the following form:
------------------------------------------------------------------------------
Name :______________________________________________________________________
Company:______________________________________________________________________
Address:______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Postcode:____________________Tel:_____________________________________
I enclose a cheque for #75.00 + #11.25 VAT (pounds sterling) made payable to:
Knowledge Software Ltd
32 Cove Road
Farnborough
Hants GU14 0EN
England
Signed :_____________________________Dated:___________________________________
------------------------------------------------------------------------------
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Products and prices:
CtoP
C to Turbo Pascal version . . . . . . . . . . . . . . . . . . . 75.00
Other versions . . . . . . . . . . . . . . . . . . . . . . . . p.o.a.
KnowSoft C compiler
port to new machine . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Unix hosted p-System
runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . 950.00
port to new machine . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Port-a-kit p-System
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Poptyser
p-System p-code optimiser, analyser and editor . . . . . . . . 525.00
POP-NCG
p-System p-code optimising native code generator . . . . . . . 850.00
(available for 680x0 and 80x86 machines)
NB: Prices exclude VAT
Borland/Turbo C
The Turbo C header files contain the lines:
#if __STDC__
#define _Cdecl
#else
#define _Cdeclcdecl
#endif
CtoP will process function declarations that contain the cdecl
keyword. However, if your code has used the _Cdecl macro you
will either have to include the Turbo C headers, add the above
lines into your source or use the CtoP directive /D_Cdecl=cdecl
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Type 'CTOP' to get the following help:
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
CtoP filename {options}
/a Skipped #if text output as-is
/c Allow comments to nest
/d
/d
/f Create default declarations for undeclared identifiers
/h
/i
/j Treat plain char as unsigned
/k
/l Make size of plain int 4 bytes
/m
/n Output labels as Standard Pascal (numeric) labels
/o Whitespace not treated as significant between operators
/p Push macro redefinitions
/q Run in quiet mode
/r Round reals when converting to integer
/s Use ANSI C preprocessor features
/t Provide standard typedefs
/v
/_ Underscore not considered significant in target compiler
/7 Disable 8087 Turbo Pascal floating point types
/Iinclude directories should be separated by ;
/Tprovides (amongst others) FILE, size_t, ptrdiff_t
/Vvendor name may be one of:
ANSIBORLANDKNOWSOFTLATTICE
MICROSOFTMIXPOWERPROSPERO
TURBOUNIXZORLANDZORTECH
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Distributing and using CtoP:
The purpose of creating and distributing a Turbo Pascal version of
CtoP was to gain publicity for Knowledge Software and the services we
have to offer.
If you find this version of CtoP useful and want a copy of the manual
and latest release of the software please register.
You may give copies of the contents of this disc to whom ever you
like provided the Knowledge Software Ltd copyright notices are not
removed. You may charge your customer as much or little as you like
for providing a copy of this software.
If you would like a copy of CtoP that targetted to another Pascal
compiler and handled a different dialect of C as input please contact
us.
Also if you are looking for any tools in the language translation
area please contact us.
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To become a registered user of CtoP and receive the latest version of the
software, the comprehensive manual and hotline support, please complete and
return the following form:
------------------------------------------------------------------------------
Name :______________________________________________________________________
Company:______________________________________________________________________
Address:______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
Postcode:____________________Tel:_____________________________________
I enclose a cheque for #75.00 + #11.25 VAT (pounds sterling) made payable to:
Knowledge Software Ltd
32 Cove Road
Farnborough
Hants GU14 0EN
England
Signed :_____________________________Dated:___________________________________
------------------------------------------------------------------------------
CtoP Version 1.2b Copyright (c) 1989 Knowledge Software Ltd
~~~~ ~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Products and prices:
CtoP
C to Turbo Pascal version . . . . . . . . . . . . . . . . . . . 75.00
Other versions . . . . . . . . . . . . . . . . . . . . . . . . p.o.a.
KnowSoft C compiler
port to new machine . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Unix hosted p-System
runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . 950.00
port to new machine . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Port-a-kit p-System
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p.o.a.
Poptyser
p-System p-code optimiser, analyser and editor . . . . . . . . 525.00
POP-NCG
p-System p-code optimising native code generator . . . . . . . 850.00
(available for 680x0 and 80x86 machines)
NB: Prices exclude VAT
Borland/Turbo C
The Turbo C header files contain the lines:
#if __STDC__
#define _Cdecl
#else
#define _Cdeclcdecl
#endif
CtoP will process function declarations that contain the cdecl
keyword. However, if your code has used the _Cdecl macro you
will either have to include the Turbo C headers, add the above
lines into your source or use the CtoP directive /D_Cdecl=cdecl
December 15, 2017
Add comments