From 75028e41087b0d0efeb1e8b75ea31cb1f3fb8521 Mon Sep 17 00:00:00 2001 From: Stefan Date: Thu, 18 May 2017 23:58:10 +0200 Subject: [PATCH] shorter code --- libsrc/c128/joy/c128-stdjoy.s | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libsrc/c128/joy/c128-stdjoy.s b/libsrc/c128/joy/c128-stdjoy.s index 119d3784f..a2caead1a 100644 --- a/libsrc/c128/joy/c128-stdjoy.s +++ b/libsrc/c128/joy/c128-stdjoy.s @@ -104,7 +104,7 @@ joy1: lda #$7F sei sta CIA1_PRA lda CIA1_PRB - cli +back: cli and #$1F eor #$1F rts @@ -118,9 +118,4 @@ joy2: ldx #0 sta CIA1_DDRA lda CIA1_PRA sty CIA1_DDRA - cli - and #$1F - eor #$1F - rts - - + jmp back -- 2.39.5