diff options
author | aiju <devnull@localhost> | 2014-02-24 22:50:05 +0100 |
---|---|---|
committer | aiju <devnull@localhost> | 2014-02-24 22:50:05 +0100 |
commit | 76b51dc816a4e6ad1d21b6b40b8ea32a57bd47a6 (patch) | |
tree | 2006bdcb1ed36f5abdf959d26254a026da79a2d7 /sys/src/games/nes/dat.h | |
parent | 60c3c3b3dbf4e1ae03c1a376babec80900c14ecb (diff) |
games/nes: added dmc, fixed envelope, added cnrom
Diffstat (limited to 'sys/src/games/nes/dat.h')
-rw-r--r-- | sys/src/games/nes/dat.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/src/games/nes/dat.h b/sys/src/games/nes/dat.h index be58a805b..4f774dfe3 100644 --- a/sys/src/games/nes/dat.h +++ b/sys/src/games/nes/dat.h @@ -10,9 +10,10 @@ extern int map, scale, mmc3hack, oflag; extern uchar *prg, *chr; extern int nprg, nchr, map, chrram; -extern u8int apuseq, apuctr[10]; +extern u8int apuseq, apuctr[13]; +extern u16int dmcaddr, dmccnt; -extern int keys, clock, ppuclock, apuclock, saveclock, paused; +extern int keys, clock, ppuclock, apuclock, dmcclock, dmcfreq, saveclock, paused; extern void (*mapper[])(int, u8int); @@ -31,6 +32,10 @@ enum { PPUMASK = 0x2001, PPUSTATUS = 0x2002, PPUSCROLL = 0x2005, + DMCCTRL = 0x4010, + DMCBUF = 0x4011, + DMCADDR = 0x4012, + DMCLEN = 0x4013, APUSTATUS = 0x4015, APUFRAME = 0x4017, |