I think its IN 31 but I haven't a clue about the up/down/left/right/fire bits.
This is the routine I use for Sinclair (I think it will make sense), how would you adapt it for Kempston?
Code: Select all
Sinclair
ld a,239
ld (js1+1),a
ld (downx+4),a
ld (upx+4),a
ld (leftx+4),a
ld (js2+1),a
ld a,2
ld (stickup+1),a
ld a,4
ld (stickdown+1),a
ld a,16
ld (stickleft+1),a
ld a,8
ld (stickright+1),a
ld a,$01
ld (js3+1),a
ret