diff --git a/libsrc/c65/status.s b/libsrc/c65/status.s index c6f279230..dc443a0f2 100644 --- a/libsrc/c65/status.s +++ b/libsrc/c65/status.s @@ -1,5 +1,15 @@ ; -; Oliver Schmidt, 2012-09-30 +; Stefan Haubenthal, 2023-01-16 ; - .exportzp ST := $90 ; IEC status byte + .export initst + + .include "c65.inc" + +.proc initst + + lda #$00 + sta STATUS + rts + +.endproc diff --git a/libsrc/mega65/status.s b/libsrc/mega65/status.s index c6f279230..cb6792289 100644 --- a/libsrc/mega65/status.s +++ b/libsrc/mega65/status.s @@ -1,5 +1,15 @@ ; -; Oliver Schmidt, 2012-09-30 +; Stefan Haubenthal, 2023-01-16 ; - .exportzp ST := $90 ; IEC status byte + .export initst + + .include "mega65.inc" + +.proc initst + + lda #$00 + sta STATUS + rts + +.endproc