blob: 4bc3dde52c8aaa69b30f79d15a1cc460e8513182 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
;; Non-Maskable Interrupts handler.
nmi:
;; As mentioned on the `main` subroutine, rendering will be skipped until
;; the proper flag is set.
bit $20
bpl @next
;; We can start rendering stuff.
OAM_WRITE_SPRITES
;; And unset the render flag so the `main` code is unblocked.
UNSET_RENDER_FLAG
@next:
rti
|