Code: Select all
0200: A9 00 START: LDA #0
0202: 85 00 STA PILEN
0204: 18 CLC
0205: 20 00 01 NXKEY: JSR GETKEY
0208: C9 0F CMP #15
020A: D0 05 BNE NXTST
020C: 20 87 02 JSR BEEP3
020F: 90 EF BCC START
0211: C9 0E NXTST: CMP #14
Also, with BCC START, given START's position, you would get 02FF (or 0300 if current address is incremented by one after reading EF) and if START is at 0200, how exactly does that work? I'm thinking it kind of just rolls over back to 0200 instead of going to 0300.