$F13E/61758:   Get a byte

F13E: A5 99     LDA $99       ; Default Input Device (0)
F140: D0 08     BNE $F14A
F142: A5 C6     LDA $C6       ; Number of Characters in Keyboard Buffer queue
F144: F0 0F     BEQ $F155
F146: 78        SEI
F147: 4C B4 E5  JMP $E5B4     ; Get Character From Keyboard Buffer

Jump from $F140:

F14A: C9 02     CMP #$02
F14C: D0 18     BNE $F166     ; Input a byte

Jump from $F1B8:

F14E: 84 97     STY $97       ; Storage of Y Register during RS232 fetch
F150: 20 86 F0  JSR $F086     ; Get From RS232
F153: A4 97     LDY $97       ; Storage of Y Register during RS232 fetch

Jump from $F144:

F155: 18        CLC
F156: 60        RTS

    Previous Page / Next Page