9 ldx #$00 ; Assume revers off
12 ldx #$ff ; Load on value
13 ldy #$00 ; Assume old value is zero
14 L1: lda RVS ; Load old value
15 stx RVS ; Set new value
16 beq L2 ; Jump if old value zero
17 iny ; Make old value = 1
18 L2: ldx #$00 ; Load high byte of result
19 tya ; Load low byte, set CC
24 ;-------------------------------------------------------------------------------
25 ; force the init constructor to be imported
28 conio_init = initconio