Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;; Z80 8bit CPU
- ;; Switching ON/OFF BT
- _SWITCHBT:
- LD A,(_onoff)
- XOR 080H
- LD (_onoff),A
- LD HL,530 ; GP4301TW MEMLINK address
- LD (_gpaddr),HL
- LD HL,(_onoff)
- LD (_gpdata),HL
- CALL _WRGP
- RET
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement