| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | spawn.asm |
Answering msg from Paul Edwards to rowan crowe,
on Wednesday June 28 1995 at 00:07
rc>> If it's the same spawn.asm that came with the other releases,
rc>> then I already have it:
PE> I have changed it slightly with 3.1, here is the diff...
PE> 112,123c112
PE> < IFDEF PASCAL
PE> < .model tpascal
PE> < ;
PE> < extrn prefixseg: word
PE> < ;
PE> < ptrsize = 1
PE> < ELSE
PE> < IFNDEF MODL
PE> < .model small,c
PE> < ELSE
PE> < % .model MODL,c
PE> < ENDIF
PE> -+-
>> .model large,c
PE> 128d116
PE> < ENDIF
I presume this is meant to be processed by a machine, but I managed to
work out what you meant. Delete all the "<" lines and add the
">" line, right?
rc>> It's bloody 45k in size! But I'll have a look. Are you
rc>> assembling it correctly?
rc>> ; Assemble with
rc>> ;
rc>> ; tasm /DPASCAL spawn,spawnp - Turbo Pascal (Tasm
rc>> only), near ; tasm /DPASCAL /DFARCALL spawn,spawnp - Turbo Pascal
rc>> (Tasm only), far ; ?asm spawn; - C,
rc>> default model (small) ; ?asm /DMODL=large spawn - C,
rc>> large model
PE> I am using wasm, not tasm.
That's why the "?asm" .. presumably for MASM compatible assemblers.
rc>> I presume you'd use /DMODL=large spawn
PE> I'm just going "wasm spawn.asm". I think I've already changed all
PE> that crap to get around that model and pascal stuff.
Does compiling with the switches change any error messages?
rc>> What sort of errors is the assembler giving you, are they
rc>> "global" or does it spit out line numbers. I can't help much
rc>> unless I know where to start looking....
PE> Below is the messages that I get. If you can tell me what exactly
PE> is non-MASM conforming about the lines in error, maybe I can do
PE> something about it.
I won't be able to tell you exactly, because I know fuck all about
MASM. I can try, though.
rc>> I don't have MASM so I can't test its "MASMablity" ... which
rc>> is a pity as I'll need it soon to play with the compiler I'm
rc>> working on. Anyone got a copy of MASM they'd like to give me? ;-)
PE> I've never seen a copy of MASM in my life. Probably because
PE> they don't bundle it with Microsoft C. BFN. Paul.
Costs about $100 or so from what I can work out. $US probably.
PE> spawn.asm(197): Error! E149: This instruction is not supported
mcbdesc struc
addr dw ? ; paragraph address of the MCB
msize dw ? ; size in paragraphs (excluding header)
swoffset dw ? ; swap offset (0 in all blocks except first)
swsize dw ? ; swap size (= msize + 1 except in first)
num_follow dw ? ; number of following MCBs
dw 3 dup(?) ; pad to paragraph (16 bytes)
mcbdesc ends
I think I got my diff slightly wrong; line 197 is the "msize"
line in my "modified" source, but I would guess that
"addr" is the problem line due to a reserved keyword. Change
globally to something else, like "addr1"
PE> spawn.asm(251): Error! E102: Operator is expected
PE> spawn.asm(251): Error! E081: Offset cannot be smaller than WORD size
expar db TYPE exec_block dup (?) ; exec-parameter-block
What the fuck is this? TYPE? Hmmm. I think this means reserve * Origin: Jelly-Bean software development. (3:635/727.1)SEEN-BY: 50/99 632/348 998 633/371 634/384 635/503 513 544 727 638/100 SEEN-BY: 640/230 690/718 711/401 410 430 807 808 809 934 713/888 800/1 SEEN-BY: 7877/2809 @PATH: 635/727 632/348 635/503 50/99 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.