remove eval stack references from p8 code

This commit is contained in:
Irmen de Jong
2023-07-15 11:47:31 +02:00
parent 708e296774
commit 3933bf5c1a
5 changed files with 3 additions and 26 deletions

View File

@@ -413,10 +413,6 @@ _irq_handler_init
sta IRQ_SCRATCH_ZPWORD2
lda P8ZP_SCRATCH_W2+1
sta IRQ_SCRATCH_ZPWORD2+1
; Set X to the bottom 32 bytes of the evaluation stack, to HOPEFULLY not clobber it.
; This leaves 128-32=96 stack entries for the main program, and 32 stack entries for the IRQ handler.
; We assume IRQ handlers don't contain complex expressions taking up more than that.
ldx #32
cld
rts