From d91f4f0b822835a5166da1d01e9b5039de7458cb Mon Sep 17 00:00:00 2001 From: mrdudz Date: Mon, 30 Jun 2025 19:10:52 +0200 Subject: [PATCH] adjust c65/mega65 functions --- libsrc/c65/status.s | 14 ++++++++++++-- libsrc/mega65/status.s | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) 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