rc> If it's the same spawn.asm that came with the other releases, then I
rc> already have it:
I have changed it slightly with 3.1, here is the diff...
112,123c112
< IFDEF PASCAL
< .model tpascal
< ;
< extrn prefixseg: word
< ;
< ptrsize = 1
< ELSE
< IFNDEF MODL
< .model small,c
< ELSE
< % .model MODL,c
< ENDIF
---
> .model large,c
128d116
< ENDIF
rc> It's bloody 45k in size! But I'll have a look. Are you assembling it
rc> correctly?
rc> ; Assemble with
rc> ;
rc> ; tasm /DPASCAL spawn,spawnp - Turbo Pascal (Tasm only), near
rc> ; tasm /DPASCAL /DFARCALL spawn,spawnp - Turbo Pascal (Tasm only), far
rc> ; ?asm spawn; - C, default model (small)
rc> ; ?asm /DMODL=large spawn - C, large model
I am using wasm, not tasm.
rc> I presume you'd use /DMODL=large spawn
I'm just going "wasm spawn.asm". I think I've already changed all
that crap to get around that model and pascal stuff.
rc> What sort of errors is the assembler giving you, are they
"global" or
rc> does it spit out line numbers. I can't help much unless I know where to
rc> start looking....
Below is the messages that I get. If you can tell me what exactly
is non-MASM conforming about the lines in error, maybe I can do
something about it.
rc> I don't have MASM so I can't test its "MASMablity" ...
which is a pity
rc> as I'll need it soon to play with the compiler I'm working on. Anyone got a
rc> copy of MASM they'd like to give me? ;-)
I've never seen a copy of MASM in my life. Probably because
they don't bundle it with Microsoft C. BFN. Paul.
spawn.asm(197): Error! E149: This instruction is not supported
spawn.asm(251): Error! E102: Operator is expected
spawn.asm(251): Error! E081: Offset cannot be smaller than WORD size
spawn.asm(259): Error! E102: Operator is expected
spawn.asm(259): Error! E081: Offset cannot be smaller than WORD size
spawn.asm(260): Error! E102: Operator is expected
spawn.asm(260): Error! E081: Offset cannot be smaller than WORD size
spawn.asm(261): Error! E102: Operator is expected
spawn.asm(261): Error! E081: Offset cannot be smaller than WORD size
spawn.asm(268): Error! E102: Operator is expected
spawn.asm(269): Error! E102: Operator is expected
spawn.asm(298): Error! E102: Operator is expected
spawn.asm(298): Error! E065: Invalid instruction operands
spawn.asm(299): Error! E102: Operator is expected
spawn.asm(299): Error! E065: Invalid instruction operands
spawn.asm(320): Error! E102: Operator is expected
spawn.asm(320): Error! E065: Invalid instruction operands
spawn.asm(328): Error! E102: Operator is expected
spawn.asm(328): Error! E065: Invalid instruction operands
spawn.asm(349): Error! E102: Operator is expected
@EOT:
---
* Origin: X (3:711/934.9)
|