c64 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #------------------------------------------------------------------------------
  2. # $File: c64,v 1.9 2021/04/26 15:56:00 christos Exp $
  3. # c64: file(1) magic for various commodore 64 related files
  4. #
  5. # From: Dirk Jagdmann <doj@cubic.org>
  6. 0x16500 belong 0x12014100 D64 Image
  7. 0x16500 belong 0x12014180 D71 Image
  8. 0x61800 belong 0x28034400 D81 Image
  9. 0 string C64\40CARTRIDGE CCS C64 Emultar Cartridge Image
  10. 0 belong 0x43154164 X64 Image
  11. 0 string GCR-1541 GCR Image
  12. >8 byte x version: %i
  13. >9 byte x tracks: %i
  14. 9 string PSUR ARC archive (c64)
  15. 2 string -LH1- LHA archive (c64)
  16. 0 string C64File PC64 Emulator file
  17. >8 string >\0 "%s"
  18. 0 string C64Image PC64 Freezer Image
  19. 0 beshort 0x38CD C64 PCLink Image
  20. 0 string CBM\144\0\0 Power 64 C64 Emulator Snapshot
  21. 0 belong 0xFF424CFF WRAptor packer (c64)
  22. 0 string C64S\x20tape\x20file T64 tape Image
  23. >32 leshort x Version:%#x
  24. >36 leshort !0 Entries:%i
  25. >40 string x Name:%.24s
  26. 0 string C64\x20tape\x20image\x20file\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0 T64 tape Image
  27. >32 leshort x Version:%#x
  28. >36 leshort !0 Entries:%i
  29. >40 string x Name:%.24s
  30. 0 string C64S\x20tape\x20image\x20file\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0\x0 T64 tape Image
  31. >32 leshort x Version:%#x
  32. >36 leshort !0 Entries:%i
  33. >40 string x Name:%.24s
  34. # Raw tape file format (.tap files)
  35. # Esa Hyyti <esa@netlab.tkk.fi>
  36. 0 string C64-TAPE-RAW C64 Raw Tape File (.tap),
  37. >0x0c byte x Version:%u,
  38. >0x10 lelong x Length:%u cycles
  39. # magic for Goattracker2, http://covertbitops.c64.org/
  40. # from Alex Myczko <alex@aiei.ch>
  41. 0 string GTS5 GoatTracker 2 song
  42. >4 string >\0 \b, "%s"
  43. >36 string >\0 \b by %s
  44. >68 string >\0 \b (C) %s
  45. >100 byte >0 \b, %u subsong(s)
  46. # CBM BASIC (cc65 compiled)
  47. 0 leshort 0x0801
  48. >2 leshort 0x080b
  49. >6 string \x9e CBM BASIC
  50. >7 string >\0 \b, SYS %s