1 /**************************************************************************/
2 /*                                                                        */
3 /*                       List of Rom header                               */
4 /*                                                                        */
5 /*              Made by Zeograd (zeograd@caramail.com)                    */
6 /*                                                                        */
7 /*    11 June '99 : 521 recognized roms                                   */
8 /*    24 June '99 : 526 recognized roms                                   */
9 /*    27 June '99 : 541 recognized roms + separation of rom name/producer */
10 /*                                                                        */
11 /**************************************************************************/
12 #ifndef _INCLUDE_LIST_ROM_H
13 #define _INCLUDE_LIST_ROM_H
14 
15 #include "pce.h"
16 
17 #define SUPER_GRAPHX 0x0001
18 #define TWO_PART_ROM 0x0002
19 #define PINBALL_KEY  0x0004
20 #define CD_SYSTEM    0x0008
21 
22 #define ORIGINAL     0x0010
23 #define MODIFIED     0x0020
24 
25 #define US_ENCODED   0x0040
26 #define POPULOUS     0x0080
27 
28 #define USA          0x4000
29 #define JAP          0x8000
30 
31 
32 
33 struct pce_rom_info
34 {
35   unsigned long CRC;
36   char *name, *producer, *date, *note;
37   unsigned short flags;
38 };
39 
40 #define NB_ROM 542
41 
42 extern struct pce_rom_info *pce_romlist;
43 extern int pce_romlist_size;
44 
45 #include "cleantyp.h"
46 
47 // extern ROM_TYPE ROM_LIST[NB_ROM];
48 
49 unsigned long filesize(FILE *F);
50 UInt32 CRC_file(char *name);
51 void pce_build_romlist(void);
52 
53 #endif
54