A82: Definition help
[Prev][Next][Index][Thread]
A82: Definition help
This is a definition from mines82.asm by Wouter Demuynck:
#define TEXT_ZM(Xloc,Yloc,Addr) .db %00100001 \ .db Xloc,Yloc \ LD
(CURSOR_X),hl \ .db %00100001 \ .dw Addr \ ROM_CALL(D_ZM_STR)
Evidently this works, since he must have been able to compile a working
game with it.
This is my definition:
.define text(x,y,string) ld hl,(x*256)+y \ ld (GRAF_CURS),hl \ ld
hl,string \ call DISPLAY_STRING
.
.
.
DISPLAY_STRING:
ROM_CALL(D_ZM_STR)
ret
Mine does not work. Why? Anyone?
_____________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
Or call Juno at (800) 654-JUNO [654-5866]
Follow-Ups: