Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

JWasm v2.04c - EZEDIT 2.0 (Announce)

posted by Rugxulo Homepage, Usono, 19.11.2010, 16:56

> I guess the last of the three changes ( CircBuf requiring a "byte ptr"
> prefix ) is a bug in JWasm.

BTW, not sure this is a bug or not, but just FYI:

invadr11.zip (TASM source, which I'm testing here)
inv2fasm.zip (just mentioned for completeness; not strictly FASM, just includes sed script to convert from ArrowASM- / A86-friendly src)

> (original source, with no changes)
> INVADERS.ASM(2028) : Error A2074: Segment, group or segment register expected
> INVADERS.ASM(2029) : Error A2074: Segment, group or segment register expected



Comparing files INVADERS.ASM and INVADERS.NEW
***** INVADERS.ASM
;-------------------------------;
; 9k Space Invaders Version 1.1 ;
***** INVADERS.NEW
; http://ftp.lanet.lv/ftp/mirror/x2ftp/msdos/programming/gamesrc/invadr11.zip
; jwasm -Zm -bin -Fo inv.com invaders.asm
;-------------------------------;
; 9k Space Invaders Version 1.1 ;
*****

***** INVADERS.ASM
                        MOV     StoreAX,AX
                        MOV     AX,40:[01ch]
                        MOV     40:[01ah],AX
                        MOV     AX,StoreAX
***** INVADERS.NEW
                        MOV     StoreAX,AX

                        ;MOV     AX,[40:01ch]
                        ;MOV     [40:01ah],AX
                        push es
                        mov ax,40h
                        mov es,ax
                        push word ptr [es:01Ch]
                        pop word ptr [es:01Ah]
                        pop es

                        MOV     AX,StoreAX
*****


After that, it seems to work. ;-) (Both YASM -ptasm and WASM -zcm=tasm fail miserably here. Hmmm, seems WASM has problems with "dec/inc" instructions here. But neither has problems assembling my old 2004 cleanup above, thankfully.)

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 355 users online (0 registered, 355 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum