A82: Assembling for Ash3.0 -file included
[Prev][Next][Index][Thread]
A82: Assembling for Ash3.0 -file included
I made this little proggie (sort of a copy of turbo but what the hell)
and tried forever to assemble it with Tasm and prgm82 but had no luck.
So I would appreciate if someone would assemble/compile it for me and
send me the .82p file (uu encoded). And make sure to tell me how you did
it step by step so I can start programming some games and
assemble/compile them myself. Please tell me how you did it, that is why
I am sending this email. Thank You. The file is attached.
.ORG START_ADDR
.DB "Speed Doubler v2.0",0
ROM_CALL(CLEARLCD)
LD HL,$0000
LD (CURSOR_POS),HL
LD HL,STRING_TITLE
SET 3,(IY+05)
ROM_CALL(D_ZT_STR)
LD HL,$0101
LD (CURSOR_POS),HL
LD HL,STRING_AUTHOR
RES 3,(IY+05)
ROM_CALL(D_ZT_STR)
LD HL,$0002
LD (CURSOR_POS),HL
LD HL,STRING_MENU
ROM_CALL(D_ZT_STR)
WAIT:
CALL GET_KEY
CP 55
RET Z
CP 15
RET Z
CP 34
JUMP_Z(NORMAL)
CP 26
JUMP_Z(MEDIUM)
CP 18
JUMP_Z(FAST)
CP 35
JUMP_Z(HYPER)
CP 27
JUMP_Z(RESET)
CP 19
JUMP_Z(QUIT)
JUMP_(WAIT)
NORMAL:
LD A,%00000110
JUMP_(SET_SPEED)
MEDIUM:
LD A,%00000100
JUMP_(SET_SPEED)
FAST:
LD A,%00000010
JUMP_(SET_SPEED)
HYPER:
LD A,%00000000
JUMP_(SET_SPEED)
RESET:
ROM_CALL($0684-$1A)
QUIT:
RET
SET_SPEED:
OUT (4),A
RET
STRING_TITLE:
.DB "Speed Doubler2.0",0
STRING_AUTHOR:
.DB "By Ilya Winham",0
STRING_MENU:
.DB "1: Normal ",0
.DB "2: Medium ",0
.DB "3: Fast ",0
.DB "4: Hyper ",0
.DB "5: Reset Calc ",0
.DB "6: Quit ",0
.END