I'm new to these forums and to sega programming in general. I've been trying to compile the files shown on this thread in SNASM64K without any luck.
I'm running it in DosBox under WinXP with this line:
Code: Select all
snasm68k.exe -emax 0 -p -o ae- hello.asm, hello.bin
Code: Select all
SNASM68K, version 2.1D, Dec 06 1995, 11:55:16, DOS4G PRO
(c) 1993-95 Cross Products Ltd. All Rights Reserved
DS.L 7,RTE ; bus,addr,illegal,divzero,CHK,TRAPV,priv
hello.asm(15) : Error 06017 : Expression must evaluate
DS.L 4,RTE ; unassigned/uninitialized
hello.asm(19) : Error 06024 : Expression must evaluate
DS.L 8,RTE ; unassigned
hello.asm(20) : Error 06024 : Expression must evaluate
DS.L 16,RTE ; TRAP instruction vectors
hello.asm(29) : Error 06024 : Expression must evaluate
DS.L 16,RTE ; unassigned
hello.asm(30) : Error 06024 : Expression must evaluate
.1 DBRA D1,.1
hello.asm(139) : Error 11019 : Label .1 already defined at hello.asm76
.1 MOVE.W (A2)+,(A5) ; C00000 write next word to video
hello.asm(149) : Error 11019 : Label .1 already defined at hello.asm76
.1 MOVEQ #0,D1 ; clear high byte of word
hello.asm(163) : Error 11019 : Label .1 already defined at hello.asm76
BMI.B .3 ; branch if high bit set
hello.asm(165) : Error 06054 : Branch offset (0xffffff78) out of range
BNE.B .2 ; store byte if not null
hello.asm(166) : Error 06054 : Branch offset (0xffffff64) out of range
.2 MOVE.W D1,(A5) ; C00000 store next word of name data
hello.asm(169) : Error 11019 : Label .2 already defined at hello.asm84
BRA.B .1
hello.asm(170) : Error 06054 : Branch offset (0xffffff54) out of range
.3 ADDI.L #$01000000,D5 ; offset VRAM address by $0100 to skip a line
hello.asm(172) : Error 11019 : Label .3 already defined at hello.asm93
13 errors encountered processing file 'hello.asm'
260 source statements in 397 lines processed in 0.1 seconds
Anyways, what other 64k compiler are there and is their a proper tut on how to use them with gen 64k .asm code?
Much obliged!