From: Alan Cox Date: Sun, 24 Sep 2017 23:41:41 +0000 (+0100) Subject: 65c816: tidy up hardcoded offset X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=498000e8e6dd4eede01eb6828e926c2f070d7e51;p=FUZIX.git 65c816: tidy up hardcoded offset --- diff --git a/Kernel/lib/65c816.s b/Kernel/lib/65c816.s index 2fcba9fa..9c5ecf1f 100644 --- a/Kernel/lib/65c816.s +++ b/Kernel/lib/65c816.s @@ -60,7 +60,7 @@ idling: cmp #P_READY bne slow_path lda #P_RUNNING - sta 0,x + sta P_TAB__P_STATUS_OFFSET,x plx stx sp plx ; discard 0