]> git.sur5r.net Git - cc65/blobdiff - libsrc/plus4/break.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / plus4 / break.s
index 52c77127c8f375d275335239eea3424c047926dd..37ead40bb50300f456c7aea110a1c96328eb302d 100644 (file)
@@ -55,11 +55,12 @@ uservec:            jmp     $FFFF           ; Patched at runtime
 
 
 
-; Break handler, called if a break occurs. Note: Y is not on the stack!
+; Break handler, called if a break occurs. 
 
 .proc  brk_handler
 
-               sty     _brk_y
+       pla
+               sta     _brk_y
        pla
        sta     _brk_x
        pla