1b6cee71dSXin LI 2b6cee71dSXin LI#------------------------------------------------------------------------------ 3*58a0f0d0SEitan Adler# $File: c64,v 1.7 2017/11/15 12:19:06 christos Exp $ 4b6cee71dSXin LI# c64: file(1) magic for various commodore 64 related files 5b6cee71dSXin LI# 6b6cee71dSXin LI# From: Dirk Jagdmann <doj@cubic.org> 7b6cee71dSXin LI 8b6cee71dSXin LI0x16500 belong 0x12014100 D64 Image 9b6cee71dSXin LI0x16500 belong 0x12014180 D71 Image 10b6cee71dSXin LI0x61800 belong 0x28034400 D81 Image 11b6cee71dSXin LI0 string C64\40CARTRIDGE CCS C64 Emultar Cartridge Image 12b6cee71dSXin LI0 belong 0x43154164 X64 Image 13b6cee71dSXin LI 14b6cee71dSXin LI0 string GCR-1541 GCR Image 15b6cee71dSXin LI>8 byte x version: %i 16b6cee71dSXin LI>9 byte x tracks: %i 17b6cee71dSXin LI 18b6cee71dSXin LI9 string PSUR ARC archive (c64) 19b6cee71dSXin LI2 string -LH1- LHA archive (c64) 20b6cee71dSXin LI 21b6cee71dSXin LI0 string C64File PC64 Emulator file 22b6cee71dSXin LI>8 string >\0 "%s" 23b6cee71dSXin LI0 string C64Image PC64 Freezer Image 24b6cee71dSXin LI 25b6cee71dSXin LI0 beshort 0x38CD C64 PCLink Image 26b6cee71dSXin LI0 string CBM\144\0\0 Power 64 C64 Emulator Snapshot 27b6cee71dSXin LI 28b6cee71dSXin LI0 belong 0xFF424CFF WRAptor packer (c64) 29b6cee71dSXin LI 30b6cee71dSXin LI0 string C64S\x20tape\x20file T64 tape Image 31b6cee71dSXin LI>32 leshort x Version:0x%x 32b6cee71dSXin LI>36 leshort !0 Entries:%i 33b6cee71dSXin LI>40 string x Name:%.24s 34b6cee71dSXin LI 35b6cee71dSXin LI0 string C64\x20tape\x20image\x20file\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0 T64 tape Image 36b6cee71dSXin LI>32 leshort x Version:0x%x 37b6cee71dSXin LI>36 leshort !0 Entries:%i 38b6cee71dSXin LI>40 string x Name:%.24s 39b6cee71dSXin LI 40b6cee71dSXin LI0 string C64S\x20tape\x20image\x20file\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0 T64 tape Image 41b6cee71dSXin LI>32 leshort x Version:0x%x 42b6cee71dSXin LI>36 leshort !0 Entries:%i 43b6cee71dSXin LI>40 string x Name:%.24s 449ce06829SXin LI 459ce06829SXin LI# Raw tape file format (.tap files) 469ce06829SXin LI# Esa Hyyti <esa@netlab.tkk.fi> 479ce06829SXin LI0 string C64-TAPE-RAW C64 Raw Tape File (.tap), 489ce06829SXin LI>0x0c byte x Version:%u, 499ce06829SXin LI>0x10 lelong x Length:%u cycles 50*58a0f0d0SEitan Adler 51*58a0f0d0SEitan Adler# magic for Goattracker2, http://covertbitops.c64.org/ 52*58a0f0d0SEitan Adler# from Alex Myczko <alex@aiei.ch> 53*58a0f0d0SEitan Adler0 string GTS5 GoatTracker 2 song 54*58a0f0d0SEitan Adler>4 string >\0 \b, "%s" 55*58a0f0d0SEitan Adler>36 string >\0 \b by %s 56*58a0f0d0SEitan Adler>68 string >\0 \b (C) %s 57*58a0f0d0SEitan Adler>100 byte >0 \b, %u subsong(s) 58*58a0f0d0SEitan Adler 59