# Magic local data for file(1) command. # Insert here your local magic data. Format is described in magic(5). 0 string FDS\032 FamiCom Disk System image >4 byte x (%d disk >4 byte !1 \bs >4 byte x \b) 0 string NES\032 >7 byte&0x0C =0x8 iNES2 ROM >>8 byte&0x0F x \b, Mapper 0x%X >>7 byte&0xF0 =0x00 \b0 >>7 byte&0xF0 =0x10 \b1 >>7 byte&0xF0 =0x20 \b2 >>7 byte&0xF0 =0x30 \b3 >>7 byte&0xF0 =0x40 \b4 >>7 byte&0xF0 =0x50 \b5 >>7 byte&0xF0 =0x60 \b6 >>7 byte&0xF0 =0x70 \b7 >>7 byte&0xF0 =0x80 \b8 >>7 byte&0xF0 =0x90 \b9 >>7 byte&0xF0 =0xA0 \bA >>7 byte&0xF0 =0xB0 \bB >>7 byte&0xF0 =0xC0 \bC >>7 byte&0xF0 =0xD0 \bD >>7 byte&0xF0 =0xE0 \bE >>7 byte&0xF0 =0xF0 \bF >>6 byte&0xF0 =0x00 \b0 >>6 byte&0xF0 =0x10 \b1 >>6 byte&0xF0 =0x20 \b2 >>6 byte&0xF0 =0x30 \b3 >>6 byte&0xF0 =0x40 \b4 >>6 byte&0xF0 =0x50 \b5 >>6 byte&0xF0 =0x60 \b6 >>6 byte&0xF0 =0x70 \b7 >>6 byte&0xF0 =0x80 \b8 >>6 byte&0xF0 =0x90 \b9 >>6 byte&0xF0 =0xA0 \bA >>6 byte&0xF0 =0xB0 \bB >>6 byte&0xF0 =0xC0 \bC >>6 byte&0xF0 =0xD0 \bD >>6 byte&0xF0 =0xE0 \bE >>6 byte&0xF0 =0xF0 \bF >>8 byte&0xF0 =0x00 \b, submapper 0 >>8 byte&0xF0 =0x10 \b, submapper 1 >>8 byte&0xF0 =0x20 \b, submapper 2 >>8 byte&0xF0 =0x30 \b, submapper 3 >>8 byte&0xF0 =0x40 \b, submapper 4 >>8 byte&0xF0 =0x50 \b, submapper 5 >>8 byte&0xF0 =0x60 \b, submapper 6 >>8 byte&0xF0 =0x70 \b, submapper 7 >>8 byte&0xF0 =0x80 \b, submapper 8 >>8 byte&0xF0 =0x90 \b, submapper 9 >>8 byte&0xF0 =0xA0 \b, submapper 10 >>8 byte&0xF0 =0xB0 \b, submapper 11 >>8 byte&0xF0 =0xC0 \b, submapper 12 >>8 byte&0xF0 =0xD0 \b, submapper 13 >>8 byte&0xF0 =0xE0 \b, submapper 14 >>8 byte&0xF0 =0xF0 \b, submapper 15 >>9 byte&0x0F x \b, 0x%X >>4 byte x \b%02Xx16k PRG >>9 byte&0xF0 =0x00 \b, 0x0 >>9 byte&0xF0 =0x10 \b, 0x1 >>9 byte&0xF0 =0x20 \b, 0x2 >>9 byte&0xF0 =0x30 \b, 0x3 >>9 byte&0xF0 =0x40 \b, 0x4 >>9 byte&0xF0 =0x50 \b, 0x5 >>9 byte&0xF0 =0x60 \b, 0x6 >>9 byte&0xF0 =0x70 \b, 0x7 >>9 byte&0xF0 =0x80 \b, 0x8 >>9 byte&0xF0 =0x90 \b, 0x9 >>9 byte&0xF0 =0xA0 \b, 0xA >>9 byte&0xF0 =0xB0 \b, 0xB >>9 byte&0xF0 =0xC0 \b, 0xC >>9 byte&0xF0 =0xD0 \b, 0xD >>9 byte&0xF0 =0xE0 \b, 0xE >>9 byte&0xF0 =0xF0 \b, 0xF >>5 byte x \b%02Xx8k CHR >>10 byte !0 >>>10 byte&0xF0 =0x00 \b, no NV >>>10 byte&0xF0 =0x10 \b, 128B NV >>>10 byte&0xF0 =0x20 \b, 256B NV >>>10 byte&0xF0 =0x30 \b, 512B NV >>>10 byte&0xF0 =0x40 \b, 1kiB NV >>>10 byte&0xF0 =0x50 \b, 2kiB NV >>>10 byte&0xF0 =0x60 \b, 4kiB NV >>>10 byte&0xF0 =0x70 \b, 8kiB NV >>>10 byte&0xF0 =0x80 \b, 16kiB NV >>>10 byte&0xF0 =0x90 \b, 32kiB NV >>>10 byte&0xF0 =0xa0 \b, 64kiB NV >>>10 byte&0xF0 =0xb0 \b, 128kiB NV >>>10 byte&0xF0 =0xc0 \b, 256kiB NV >>>10 byte&0xF0 =0xd0 \b, 512kiB NV >>>10 byte&0xF0 =0xe0 \b, 1MiB NV >>>10 byte&0xF0 =0xf0 \b, invalid NV >>>10 byte&0x0F =0x00 \b, no static PRGRAM >>>10 byte&0x0F =0x01 \b, 128B static PRGRAM >>>10 byte&0x0F =0x02 \b, 256B static PRGRAM >>>10 byte&0x0F =0x03 \b, 512B static PRGRAM >>>10 byte&0x0F =0x04 \b, 1kiB static PRGRAM >>>10 byte&0x0F =0x05 \b, 2kiB static PRGRAM >>>10 byte&0x0F =0x06 \b, 4kiB static PRGRAM >>>10 byte&0x0F =0x07 \b, 8kiB static PRGRAM >>>10 byte&0x0F =0x08 \b, 16kiB static PRGRAM >>>10 byte&0x0F =0x09 \b, 32kiB static PRGRAM >>>10 byte&0x0F =0x0a \b, 64kiB static PRGRAM >>>10 byte&0x0F =0x0b \b, 128kiB static PRGRAM >>>10 byte&0x0F =0x0c \b, 256kiB static PRGRAM >>>10 byte&0x0F =0x0d \b, 512kiB static PRGRAM >>>10 byte&0x0F =0x0e \b, 1MiB static PRGRAM >>>10 byte&0x0F =0x0f \b, invalid static PRGRAM >>10 byte =0 \b, no PRGRAM >>11 byte !0 >>>11 byte&0xF0 =0x00 \b, no NV >>>11 byte&0xF0 =0x10 \b, 128B NV >>>11 byte&0xF0 =0x20 \b, 256B NV >>>11 byte&0xF0 =0x30 \b, 512B NV >>>11 byte&0xF0 =0x40 \b, 1kiB NV >>>11 byte&0xF0 =0x50 \b, 2kiB NV >>>11 byte&0xF0 =0x60 \b, 4kiB NV >>>11 byte&0xF0 =0x70 \b, 8kiB NV >>>11 byte&0xF0 =0x80 \b, 16kiB NV >>>11 byte&0xF0 =0x90 \b, 32kiB NV >>>11 byte&0xF0 =0xa0 \b, 64kiB NV >>>11 byte&0xF0 =0xb0 \b, 128kiB NV >>>11 byte&0xF0 =0xc0 \b, 256kiB NV >>>11 byte&0xF0 =0xd0 \b, 512kiB NV >>>11 byte&0xF0 =0xe0 \b, 1MiB NV >>>11 byte&0xF0 =0xf0 \b, invalid NV >>>11 byte&0x0F =0x00 \b, no static CHRRAM >>>11 byte&0x0F =0x01 \b, 128B static CHRRAM >>>11 byte&0x0F =0x02 \b, 256B static CHRRAM >>>11 byte&0x0F =0x03 \b, 512B static CHRRAM >>>11 byte&0x0F =0x04 \b, 1kiB static CHRRAM >>>11 byte&0x0F =0x05 \b, 2kiB static CHRRAM >>>11 byte&0x0F =0x06 \b, 4kiB static CHRRAM >>>11 byte&0x0F =0x07 \b, 8kiB static CHRRAM >>>11 byte&0x0F =0x08 \b, 16kiB static CHRRAM >>>11 byte&0x0F =0x09 \b, 32kiB static CHRRAM >>>11 byte&0x0F =0x0a \b, 64kiB static CHRRAM >>>11 byte&0x0F =0x0b \b, 128kiB static CHRRAM >>>11 byte&0x0F =0x0c \b, 256kiB static CHRRAM >>>11 byte&0x0F =0x0d \b, 512kiB static CHRRAM >>>11 byte&0x0F =0x0e \b, 1MiB static CHRRAM >>>11 byte&0x0F =0x0f \b, invalid static CHRRAM >>11 byte =0 \b, no CHRRAM >>12 byte&0x01 =1 \b, [PAL] >>12 byte&0x01 =0 \b, [NTSC] >>12 byte&0x02 =2 \b, [50/60] >>7 byte&0x01 =0x1 \b, [VS] >>7 byte&0x02 =0x2 \b, [PC10] >12 default x >>12 long !0 iNES0 ROM >>>6 byte&0xF0 =0x00 \b, Mapper 0 (NROM) >>>6 byte&0xF0 =0x10 \b, Mapper 1 (MMC1) >>>6 byte&0xF0 =0x20 \b, Mapper 2 (UxROM) >>>6 byte&0xF0 =0x30 \b, Mapper 3 (CNROM) >>>6 byte&0xF0 =0x40 \b, Mapper 4 (MMC3) >>>6 byte&0xF0 =0x50 \b, Mapper 5 (MMC5) >>>6 byte&0xF0 =0x60 \b, Mapper 6 >>>6 byte&0xF0 =0x70 \b, Mapper 7 (AxROM) >>>6 byte&0xF0 =0x80 \b, Mapper 8 >>>6 byte&0xF0 =0x90 \b, Mapper 9 (MMC2) >>>6 byte&0xF0 =0xA0 \b, Mapper 10 (MMC4) >>>6 byte&0xF0 =0xB0 \b, Mapper 11 (Color Dreams) >>>6 byte&0xF0 =0xC0 \b, Mapper 12 >>>6 byte&0xF0 =0xD0 \b, Mapper 13 (CPROM) >>>6 byte&0xF0 =0xE0 \b, Mapper 14 >>>6 byte&0xF0 =0xF0 \b, Mapper 15 >>>4 byte x \b, %dx16k PRG >>>5 byte x \b, %dx8k CHR >>7 default x iNES1 ROM >>>7 byte&0xF0 =0x00 \b, Mapper 0x0 >>>7 byte&0xF0 =0x10 \b, Mapper 0x1 >>>7 byte&0xF0 =0x20 \b, Mapper 0x2 >>>7 byte&0xF0 =0x30 \b, Mapper 0x3 >>>7 byte&0xF0 =0x40 \b, Mapper 0x4 >>>7 byte&0xF0 =0x50 \b, Mapper 0x5 >>>7 byte&0xF0 =0x60 \b, Mapper 0x6 >>>7 byte&0xF0 =0x70 \b, Mapper 0x7 >>>7 byte&0xF0 =0x80 \b, Mapper 0x8 >>>7 byte&0xF0 =0x90 \b, Mapper 0x9 >>>7 byte&0xF0 =0xA0 \b, Mapper 0xA >>>7 byte&0xF0 =0xB0 \b, Mapper 0xB >>>7 byte&0xF0 =0xC0 \b, Mapper 0xC >>>7 byte&0xF0 =0xD0 \b, Mapper 0xD >>>7 byte&0xF0 =0xE0 \b, Mapper 0xE >>>7 byte&0xF0 =0xF0 \b, Mapper 0xF >>>6 byte&0xF0 =0x00 \b0 >>>6 byte&0xF0 =0x10 \b1 >>>6 byte&0xF0 =0x20 \b2 >>>6 byte&0xF0 =0x30 \b3 >>>6 byte&0xF0 =0x40 \b4 >>>6 byte&0xF0 =0x50 \b5 >>>6 byte&0xF0 =0x60 \b6 >>>6 byte&0xF0 =0x70 \b7 >>>6 byte&0xF0 =0x80 \b8 >>>6 byte&0xF0 =0x90 \b9 >>>6 byte&0xF0 =0xA0 \bA >>>6 byte&0xF0 =0xB0 \bB >>>6 byte&0xF0 =0xC0 \bC >>>6 byte&0xF0 =0xD0 \bD >>>6 byte&0xF0 =0xE0 \bE >>>6 byte&0xF0 =0xF0 \bF >>>4 byte x \b, %dx16k PRG >>>5 byte x \b, %dx8k CHR >>>8 byte !0 \b, %dx8k WRAM >>>9 byte&1 =1 \b, [PAL] >>>7 byte&0x01 =0x1 \b, [VS] >>>7 byte&0x02 =0x2 \b, [PC10] >6 byte&0x08 =0x8 \b, [4scr] >6 byte&0x09 =0x1 \b, [Vert] >6 byte&0x09 =0x0 \b, [Horz] >6 byte&0x02 =0x2 \b, [Batt] >6 byte&0x04 =0x4 \b, [Trainer]