d97315ac |
1 | /* FCE Ultra - NES/Famicom Emulator\r |
2 | *\r |
3 | * Copyright notice for this file:\r |
4 | * Copyright (C) 2002 Xodnizel\r |
5 | *\r |
6 | * This program is free software; you can redistribute it and/or modify\r |
7 | * it under the terms of the GNU General Public License as published by\r |
8 | * the Free Software Foundation; either version 2 of the License, or\r |
9 | * (at your option) any later version.\r |
10 | *\r |
11 | * This program is distributed in the hope that it will be useful,\r |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of\r |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r |
14 | * GNU General Public License for more details.\r |
15 | *\r |
16 | * You should have received a copy of the GNU General Public License\r |
17 | * along with this program; if not, write to the Free Software\r |
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r |
19 | */\r |
20 | \r |
21 | typedef struct {\r |
22 | char ID[5]; /*NESM^Z*/\r |
23 | uint8 Version;\r |
24 | uint8 TotalSongs;\r |
25 | uint8 StartingSong;\r |
26 | uint8 LoadAddressLow;\r |
27 | uint8 LoadAddressHigh;\r |
28 | uint8 InitAddressLow;\r |
29 | uint8 InitAddressHigh;\r |
30 | uint8 PlayAddressLow;\r |
31 | uint8 PlayAddressHigh;\r |
32 | uint8 SongName[32];\r |
33 | uint8 Artist[32];\r |
34 | uint8 Copyright[32];\r |
35 | uint8 NTSCspeed[2]; // Unused\r |
36 | uint8 BankSwitch[8];\r |
37 | uint8 PALspeed[2]; // Unused\r |
38 | uint8 VideoSystem;\r |
39 | uint8 SoundChip;\r |
40 | uint8 Expansion[4];\r |
41 | uint8 reserve[8];\r |
42 | } NSF_HEADER;\r |
43 | void NSF_init(void);\r |
44 | void DrawNSF(uint8 *XBuf);\r |
45 | void NSFDealloc(void);\r |
46 | void NSFDodo(void);\r |
47 | void DoNSFFrame(void);\r |