3 ; 2017-06-22, Greg King
10 ; Get a system-specific file.
11 ; Note: The cbm610, and c128 targets need special
12 ; versions that handle RAM banking and the 80-column VDC.
15 .include "plus4.inc" ; both C16 and Plus4
18 .elseif .def(__CBM510__)
19 .import CURS_X: zp, SCREEN_PTR: zp
23 .elseif .def(__VIC20__)
30 lda (SCREEN_PTR),y ; get screen code
32 and #<~$80 ; remove reverse bit
34 ; Convert the screen code into a PetSCII code.
51 @sk2: ;clc ; both above cmp and adc clear carry flag