Advertisement
NovaYoshi

crash recovery

Oct 10th, 2014
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   lda CrashDetect
  2.   beq :+
  3.     inc CrashDetect
  4.     lda CrashDetect
  5.     cmp #4
  6.     bcc :+
  7.       pla
  8.       pla
  9.       pla
  10.       ldx #255
  11.       txs
  12.       lda #>(MainLoop-1)
  13.       pha
  14.       lda #<(MainLoop-1)
  15.       pha
  16.       rts
  17.   :
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement