Board index » off-topic » Re: HELP: beginner to pascal

Re: HELP: beginner to pascal


2006-08-31 07:06:17 PM
off-topic5
members.lycos.co.uk/dhrubabandopadhyay/LITE_SRC.ZIP
Excellent! It fully compiles and runs.
ml /c liteasm.asm
tpc /b lite2 /$N+
Though it looks frozen when the game starts. Am not sure whether that's
a game logic thing, or whether the liteasm.asm file was compiled with
masm 32-bit.
 
 

Re:Re: HELP: beginner to pascal

Does the assembly file have to be compiled with a 16-bit assembler if
wanting to use with 16-bit pascal?
"Dhruba Bandopadhyay" < XXXX@XXXXX.COM >wrote in message
Quote
members.lycos.co.uk/dhrubabandopadhyay/LITE_SRC.ZIP

Excellent! It fully compiles and runs.

ml /c liteasm.asm
tpc /b lite2 /$N+

Though it looks frozen when the game starts. Am not sure whether that's a
game logic thing, or whether the liteasm.asm file was compiled with masm
32-bit.

 

Re:Re: HELP: beginner to pascal

Does the assembly file have to be compiled with a 16-bit assembler if
wanting to use with 16-bit pascal?
 

{smallsort}

Re:Re: HELP: beginner to pascal

In article < XXXX@XXXXX.COM >,
" XXXX@XXXXX.COM " < XXXX@XXXXX.COM >
wrote:
Quote
Does the assembly file have to be compiled with a 16-bit assembler if
wanting to use with 16-bit pascal?
It has to be compiled for 16 bit real mode. I don't know whether 32 bit
masm's still support that.
Jonas
 

Re:Re: HELP: beginner to pascal

On Thu, 31 Aug 2006 09:15:39 +0100, "Dhruba Bandopadhyay"
< XXXX@XXXXX.COM >wrote:
Quote
Turbo Pascal 7, 16-bit.

members.lycos.co.uk/dhrubabandopadhyay/LITE_SRC.ZIP
Two simple fixes and it compiled:
1: One module uses some 8087 types. You need to enable it for
compiling for the numeric coprocessor. {$N+} at the top of that unit.
TP7 dates from when numeric coprocessors weren't in every machine.
2: You need to assemble the .asm file in there.