gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/libc/targets/sm83/sio.s
1 .include "global.s"
2
3 .module sio
4
5 .globl .int
6
7 .area _HEADER_SIO (ABS)
8
9 .org 0x58 ; SIO
10 .int_SIO:
11 PUSH AF
12 PUSH HL
13 LD HL,#.int_0x58
14 JP .int
15
16 .area _HOME
17
18 _add_SIO::
19 .add_SIO::
20 LD HL,#.int_0x58
21 JP .add_int
22
23 _remove_SIO::
24 .remove_SIO::
25 LD HL,#.int_0x58
26 JP .remove_int
27
28 .area _DATA
29
30 .int_0x58::
31 .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.