2023-08-06 16:12:15 +00:00
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
2023-08-07 16:12:06 +00:00
|
|
|
# $File: c64,v 1.9 2021/04/26 15:56:00 christos Exp $
|
2023-08-06 16:12:15 +00:00
|
|
|
# c64: file(1) magic for various commodore 64 related files
|
|
|
|
#
|
|
|
|
# From: Dirk Jagdmann <doj@cubic.org>
|
|
|
|
|
|
|
|
0x16500 belong 0x12014100 D64 Image
|
|
|
|
0x16500 belong 0x12014180 D71 Image
|
|
|
|
0x61800 belong 0x28034400 D81 Image
|
2023-08-07 16:12:06 +00:00
|
|
|
0 string C64\40CARTRIDGE CCS C64 Emultar Cartridge Image
|
2023-08-06 16:12:15 +00:00
|
|
|
0 belong 0x43154164 X64 Image
|
|
|
|
|
|
|
|
0 string GCR-1541 GCR Image
|
|
|
|
>8 byte x version: %i
|
|
|
|
>9 byte x tracks: %i
|
|
|
|
|
|
|
|
9 string PSUR ARC archive (c64)
|
|
|
|
2 string -LH1- LHA archive (c64)
|
|
|
|
|
|
|
|
0 string C64File PC64 Emulator file
|
|
|
|
>8 string >\0 "%s"
|
|
|
|
0 string C64Image PC64 Freezer Image
|
|
|
|
|
|
|
|
0 beshort 0x38CD C64 PCLink Image
|
|
|
|
0 string CBM\144\0\0 Power 64 C64 Emulator Snapshot
|
|
|
|
|
|
|
|
0 belong 0xFF424CFF WRAptor packer (c64)
|
|
|
|
|
|
|
|
0 string C64S\x20tape\x20file T64 tape Image
|
|
|
|
>32 leshort x Version:%#x
|
|
|
|
>36 leshort !0 Entries:%i
|
|
|
|
>40 string x Name:%.24s
|
|
|
|
|
|
|
|
0 string C64\x20tape\x20image\x20file\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0 T64 tape Image
|
|
|
|
>32 leshort x Version:%#x
|
|
|
|
>36 leshort !0 Entries:%i
|
|
|
|
>40 string x Name:%.24s
|
|
|
|
|
|
|
|
0 string C64S\x20tape\x20image\x20file\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0 T64 tape Image
|
|
|
|
>32 leshort x Version:%#x
|
|
|
|
>36 leshort !0 Entries:%i
|
|
|
|
>40 string x Name:%.24s
|
|
|
|
|
|
|
|
# Raw tape file format (.tap files)
|
|
|
|
# Esa Hyyti <esa@netlab.tkk.fi>
|
|
|
|
0 string C64-TAPE-RAW C64 Raw Tape File (.tap),
|
|
|
|
>0x0c byte x Version:%u,
|
|
|
|
>0x10 lelong x Length:%u cycles
|
|
|
|
|
|
|
|
# magic for Goattracker2, http://covertbitops.c64.org/
|
|
|
|
# from Alex Myczko <alex@aiei.ch>
|
|
|
|
0 string GTS5 GoatTracker 2 song
|
|
|
|
>4 string >\0 \b, "%s"
|
|
|
|
>36 string >\0 \b by %s
|
|
|
|
>68 string >\0 \b (C) %s
|
|
|
|
>100 byte >0 \b, %u subsong(s)
|
|
|
|
|
|
|
|
# CBM BASIC (cc65 compiled)
|
|
|
|
0 leshort 0x0801
|
2023-08-07 16:12:06 +00:00
|
|
|
>2 leshort 0x080b
|
|
|
|
>6 string \x9e CBM BASIC
|
|
|
|
>7 string >\0 \b, SYS %s
|