c64 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #------------------------------------------------------------------------------
  2. # $File: c64,v 1.6 2015/08/24 05:17:42 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:0x%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:0x%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:0x%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