xref: /freebsd/contrib/file/magic/Magdir/c64 (revision 193d9e768ba63fcfb187cfd17f461f7d41345048)
1
2#------------------------------------------------------------------------------
3# $File: c64,v 1.6 2015/08/24 05:17:42 christos Exp $
4# c64:  file(1) magic for various commodore 64 related files
5#
6# From: Dirk Jagdmann <doj@cubic.org>
7
80x16500	belong		0x12014100	D64 Image
90x16500	belong		0x12014180	D71 Image
100x61800 belong		0x28034400	D81 Image
110	string		C64\40CARTRIDGE	CCS C64 Emultar Cartridge Image
120	belong		0x43154164	X64 Image
13
140	string		GCR-1541	GCR Image
15>8	byte		x		version: %i
16>9	byte		x		tracks: %i
17
189	string		PSUR		ARC archive (c64)
192	string		-LH1-		LHA archive (c64)
20
210	string		C64File		PC64 Emulator file
22>8	string		>\0		"%s"
230	string		C64Image	PC64 Freezer Image
24
250	beshort		0x38CD		C64 PCLink Image
260	string		CBM\144\0\0	Power 64 C64 Emulator Snapshot
27
280	belong		0xFF424CFF	WRAptor packer (c64)
29
300	string		C64S\x20tape\x20file	T64 tape Image
31>32	leshort		x		Version:0x%x
32>36	leshort		!0		Entries:%i
33>40	string		x		Name:%.24s
34
350	string		C64\x20tape\x20image\x20file\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0	T64 tape Image
36>32	leshort		x		Version:0x%x
37>36	leshort		!0		Entries:%i
38>40	string		x		Name:%.24s
39
400	string		C64S\x20tape\x20image\x20file\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0	T64 tape Image
41>32	leshort		x		Version:0x%x
42>36	leshort		!0		Entries:%i
43>40	string		x		Name:%.24s
44
45# Raw tape file format (.tap files)
46# Esa Hyyti <esa@netlab.tkk.fi>
470	string		C64-TAPE-RAW	C64 Raw Tape File (.tap),
48>0x0c	byte		x		Version:%u,
49>0x10   lelong		x		Length:%u cycles
50