diff --git a/util/control.s b/util/control.s index 4ce7e332..d20623f2 100644 --- a/util/control.s +++ b/util/control.s @@ -1998,6 +1998,7 @@ dec_month: ldx #rtc_address ldy #5 jsr i2c_read_byte + and #$1f sed sec sbc #1 @@ -2088,6 +2089,7 @@ inc_month: ldx #rtc_address ldy #5 jsr i2c_read_byte + and #$1f sed clc adc #1