From: Alan Cox Date: Fri, 16 Jan 2015 23:04:31 +0000 (+0000) Subject: usermem: clean up 6502 debug on ugets X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=77ec456100a309a253b9345fbc4c853e2d4f7774;p=FUZIX.git usermem: clean up 6502 debug on ugets --- diff --git a/Kernel/usermem_std-6502.s b/Kernel/usermem_std-6502.s index 4851da85..468a3770 100644 --- a/Kernel/usermem_std-6502.s +++ b/Kernel/usermem_std-6502.s @@ -77,26 +77,14 @@ __uget_done: tax rts -__ugets: ldy #'>' - sty $FF03 - sta tmp2 +__ugets: sta tmp2 stx tmp2+1 ; save the count - jsr outxa - lda #':' - sta $FF03 jsr cpopax ; pop the destination sta ptr2 ; (ptr2) is our target stx ptr2+1 - jsr outxa - lda #':' - sta $FF03 jsr cpopax ; (ptr2) is our source sta ptr3 stx ptr3+1 - jsr outxa - - lda #10 - sta $FF03 ldy #0 ; counter