save:
ld a,($FA2D)
ld (work),a
off:
xor a
ld ($FA2D),a
on:
ld a,1
ld ($FA2D),a
restore:
ld a,(work)
ld ($FA2D),a
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme