Re: A89: ReCompiling Phoenix89
[Prev][Next][Index][Thread]
Re: A89: ReCompiling Phoenix89
Robby Gutmann wrote:
> Also, I heard that you just had to change one key-check somewhere in the code
> to make the ln cheat button work. Does anybody know where that is? I don't
> remember where I saw it. Oh, BTW, i got my link stuff to work; thanx to some
> guy named Ken for help.
That line is in the code under the "Phoenix_Shop" label. It's quite a
ways
(~75 lines) after the start of the routine. The relevant section of
code is:
bsr Get_Key ; Wait for keypress
cmp.w #262,d0
bne.s no_cheating
move.w #-1000,d5
bsr Player_Damage
moveq #0,d5
st cheated-s(a5)
no_cheating:
The number that needs to be changed is the 262, which is the keyboard
code
that the keypress just read is compared with. The code should be listed
in
the back of the calculator's manual, but I don't know what it is. In my
copy of the Phoenix 89 source, it is on line 2722.
References: