Deleted Added
full compact
apple (68349) apple (75937)
1
2#------------------------------------------------------------------------------
3# apple: file(1) magic for Apple file formats
4#
50 string FiLeStArTfIlEsTaRt binscii (apple ][) text
60 string \x0aGL Binary II (apple ][) data
70 string \x76\xff Squeezed (apple ][) data
80 string NuFile NuFile archive (apple ][) data
90 string N\xf5F\xe9l\xe5 NuFile archive (apple ][) data
100 belong 0x00051600 AppleSingle encoded Macintosh file
110 belong 0x00051607 AppleDouble encoded Macintosh file
12
13# magic for Newton PDA package formats
14# from Ruda Moura <ruda@helllabs.org>
1
2#------------------------------------------------------------------------------
3# apple: file(1) magic for Apple file formats
4#
50 string FiLeStArTfIlEsTaRt binscii (apple ][) text
60 string \x0aGL Binary II (apple ][) data
70 string \x76\xff Squeezed (apple ][) data
80 string NuFile NuFile archive (apple ][) data
90 string N\xf5F\xe9l\xe5 NuFile archive (apple ][) data
100 belong 0x00051600 AppleSingle encoded Macintosh file
110 belong 0x00051607 AppleDouble encoded Macintosh file
12
13# magic for Newton PDA package formats
14# from Ruda Moura <ruda@helllabs.org>
150 string package Newton package,
16>7 byte 48 NOS 1.x,
17>7 byte 49 NOS 2.x,
150 string package0 Newton package, NOS 1.x,
18>12 belong &0x80000000 AutoRemove,
19>12 belong &0x40000000 CopyProtect,
20>12 belong &0x10000000 NoCompression,
21>12 belong &0x04000000 Relocation,
22>12 belong &0x02000000 UseFasterCompression,
23>16 belong x version %d
24
16>12 belong &0x80000000 AutoRemove,
17>12 belong &0x40000000 CopyProtect,
18>12 belong &0x10000000 NoCompression,
19>12 belong &0x04000000 Relocation,
20>12 belong &0x02000000 UseFasterCompression,
21>16 belong x version %d
22
230 string package1 Newton package, NOS 2.x,
24>12 belong &0x80000000 AutoRemove,
25>12 belong &0x40000000 CopyProtect,
26>12 belong &0x10000000 NoCompression,
27>12 belong &0x04000000 Relocation,
28>12 belong &0x02000000 UseFasterCompression,
29>16 belong x version %d
30
25# The following entries for the Apple II are for files that have
26# been transferred as raw binary data from an Apple, without having
27# been encapsulated by any of the above archivers.
28#
29# In general, Apple II formats are hard to identify because Apple DOS
30# and especially Apple ProDOS have strong typing in the file system and
31# therefore programmers never felt much need to include type information
32# in the files themselves.

--- 16 unchanged lines hidden (view full) ---

49
50# AppleWorks database:
51#
52# This isn't really a magic number, but it's the closest thing to one
53# that I could find. The 1 and 2 really mean "order in which you defined
54# categories" and "left to right, top to bottom," respectively; the D and R
55# mean that the cursor should move either down or right when you press Return.
56
31# The following entries for the Apple II are for files that have
32# been transferred as raw binary data from an Apple, without having
33# been encapsulated by any of the above archivers.
34#
35# In general, Apple II formats are hard to identify because Apple DOS
36# and especially Apple ProDOS have strong typing in the file system and
37# therefore programmers never felt much need to include type information
38# in the files themselves.

--- 16 unchanged lines hidden (view full) ---

55
56# AppleWorks database:
57#
58# This isn't really a magic number, but it's the closest thing to one
59# that I could find. The 1 and 2 really mean "order in which you defined
60# categories" and "left to right, top to bottom," respectively; the D and R
61# mean that the cursor should move either down or right when you press Return.
62
5730 string \x01D AppleWorks database data
5830 string \x02D AppleWorks database data
5930 string \x01R AppleWorks database data
6030 string \x02R AppleWorks database data
63#30 string \x01D AppleWorks database data
64#30 string \x02D AppleWorks database data
65#30 string \x01R AppleWorks database data
66#30 string \x02R AppleWorks database data
61
62# AppleWorks spreadsheet:
63#
64# Likewise, this isn't really meant as a magic number. The R or C means
65# row- or column-order recalculation; the A or M means automatic or manual
66# recalculation.
67
67
68# AppleWorks spreadsheet:
69#
70# Likewise, this isn't really meant as a magic number. The R or C means
71# row- or column-order recalculation; the A or M means automatic or manual
72# recalculation.
73
68131 string RA AppleWorks spreadsheet data
69131 string RM AppleWorks spreadsheet data
70131 string CA AppleWorks spreadsheet data
71131 string CM AppleWorks spreadsheet data
74#131 string RA AppleWorks spreadsheet data
75#131 string RM AppleWorks spreadsheet data
76#131 string CA AppleWorks spreadsheet data
77#131 string CM AppleWorks spreadsheet data
72
73# Applesoft BASIC:
74#
75# This is incredibly sloppy, but will be true if the program was
76# written at its usual memory location of 2048 and its first line
77# number is less than 256. Yuck.
78
790 belong&0xff00ff 0x80000 Applesoft BASIC program data

--- 37 unchanged lines hidden ---
78
79# Applesoft BASIC:
80#
81# This is incredibly sloppy, but will be true if the program was
82# written at its usual memory location of 2048 and its first line
83# number is less than 256. Yuck.
84
850 belong&0xff00ff 0x80000 Applesoft BASIC program data

--- 37 unchanged lines hidden ---