Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

minor bug in WASM

0 views
Skip to first unread message

rug...@gmail.com

unread,
Jan 21, 2008, 11:39:04 AM1/21/08
to
GRDB won't currently assemble with WASM (mainly because it's written
using TASM), but I was intrigued by its MASM makefile, so I thought
I'd give WASM a shot. Here's my results of one file in particular,
INPUT.ASM:

DOS/4GW Protected Mode Run-time Version 1.97
Copyright (c) Rational Systems, Inc. 1990-1994
Open Watcom Assembler Version 1.7
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
input.asm(861): Error! E032: Syntax error
input.asm: 928 lines, 0 warnings, 1 errors

The offending line 861 contains this:

PRINT_MESSAGE <13,10,"->"> ; MONITOR prompt

If I change it to this, it assembles okay:

PRINT_MESSAGE <13,10,"--"> ; MONITOR prompt

DOS/4GW Protected Mode Run-time Version 1.97
Copyright (c) Rational Systems, Inc. 1990-1994
Open Watcom Assembler Version 1.7
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
input.asm: 928 lines, 0 warnings, 0 errors

Just FYI. :-)

http://ladsoft.tripod.com/grdb.htm

Michal Necasek

unread,
Jan 21, 2008, 12:52:04 PM1/21/08
to
rug...@gmail.com wrote:

> The offending line 861 contains this:
>
> PRINT_MESSAGE <13,10,"->"> ; MONITOR prompt
>
> If I change it to this, it assembles okay:
>
> PRINT_MESSAGE <13,10,"--"> ; MONITOR prompt
>

Not surprising. The preprocessor in wasm is so broken that it's
probably a waste of time even trying to fix it, it needs to be rewritten
from scratch. (Which is almost certainly never gonna happen, but that's
another problem.)


Michal

0 new messages