Geekboy

Untitled

Jun 12th, 2013
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Cn2BasicOnHook:
  2. ;ok we have to check if its a onkey intterupts...wherere is tix code
  3.  in a,(4)
  4.  push af
  5.  call Cn2_Int_Done_TIOSInterrupt
  6.  pop af
  7.  rrca    ;puts bit 0 into carry to see if ON key gens interrupt. 4cc savings.
  8.  ret nc   ; quit if not an onintterupt not our place to handle it
  9.  call Cn2_Int_Done_TIOSInterrupt
  10.  ;if we get here the intterupt didnt trigger an on break this happens for some reason.
  11.  ; so now we setup for an bjump jerror
  12.  ld a,E_BREAK
  13.  bjump($44d7) ;jerror
  14.  
  15. Cn2_Int_End:
Advertisement
Add Comment
Please, Sign In to add comment