X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libsrc%2Fc128%2Fconio.s;h=5193fb807e7239b5dd969455ff19cd7a57097f31;hb=f16516047a551319c82debd339ded8bc2b587212;hp=11da9294158b19bc79b80d264a4b2a3fdbaeadd3;hpb=8775a9da8a7554658fc31a3aaffc0ada01be6a77;p=cc65 diff --git a/libsrc/c128/conio.s b/libsrc/c128/conio.s index 11da92941..5193fb807 100644 --- a/libsrc/c128/conio.s +++ b/libsrc/c128/conio.s @@ -4,45 +4,7 @@ ; Low level stuff for screen output/console input ; - .export initconio, doneconio - .exportzp CURS_X, CURS_Y - .import xsize, ysize + .exportzp CURS_X, CURS_Y - .include "c128.inc" - .include "../cbm/cbm.inc" - -.bss -keyvec: .res 2 - - -.code - -initconio: - - lda #$80 - sta SCROLL - -; Save the old vector - - lda KeyStoreVec - sta keyvec - lda KeyStoreVec+1 - sta keyvec+1 - -; Set the new vector. I can only hope that this works for other C128 -; versions... - - lda #<$C6B7 - ldx #>$C6B7 - -SetVec: sei - sta KeyStoreVec - stx KeyStoreVec+1 - cli - rts - -doneconio: - lda keyvec - ldx keyvec+1 - bne SetVec + .include "c128.inc"