gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/libc/targets/sm83/joy.s
1 .include "global.s"
2
3 .globl .int
4
5 .area _HEADER_JOY (ABS)
6
7 .org 0x60 ; JOY
8 .int_JOY:
9 PUSH AF
10 PUSH HL
11 LD HL,#.int_0x60
12 JP .int
13
14 .area _HOME
15
16 _add_JOY::
17 .add_JOY::
18 LD HL,#.int_0x60
19 JP .add_int
20
21 _remove_JOY::
22 .remove_JOY::
23 LD HL,#.int_0x60
24 JP .remove_int
25
26 .area _DATA
27
28 .int_0x60::
29 .blkw 0x05
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.