Deleted Added
full compact
apple (284237) apple (288143)
1
2#------------------------------------------------------------------------------
1
2#------------------------------------------------------------------------------
3# $File: apple,v 1.30 2015/04/13 13:09:06 christos Exp $
3# $File: apple,v 1.31 2015/08/29 07:10:35 christos Exp $
4# apple: file(1) magic for Apple file formats
5#
60 search/1/t FiLeStArTfIlEsTaRt binscii (apple ][) text
70 string \x0aGL Binary II (apple ][) data
80 string \x76\xff Squeezed (apple ][) data
90 string NuFile NuFile archive (apple ][) data
100 string N\xf5F\xe9l\xe5 NuFile archive (apple ][) data
110 belong 0x00051600 AppleSingle encoded Macintosh file

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

260>4 byte 0 Apple Driver Map
261>>2 beshort x \b, blocksize %d
262>>4 belong x \b, blockcount %d
263>>10 beshort x \b, devtype %d
264>>12 beshort x \b, devid %d
265>>20 beshort x \b, descriptors %d
266# Assume 8 partitions each at a multiple of the sector size.
267# We could glean this from the partition descriptors, but they are empty!?!?
4# apple: file(1) magic for Apple file formats
5#
60 search/1/t FiLeStArTfIlEsTaRt binscii (apple ][) text
70 string \x0aGL Binary II (apple ][) data
80 string \x76\xff Squeezed (apple ][) data
90 string NuFile NuFile archive (apple ][) data
100 string N\xf5F\xe9l\xe5 NuFile archive (apple ][) data
110 belong 0x00051600 AppleSingle encoded Macintosh file

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

260>4 byte 0 Apple Driver Map
261>>2 beshort x \b, blocksize %d
262>>4 belong x \b, blockcount %d
263>>10 beshort x \b, devtype %d
264>>12 beshort x \b, devid %d
265>>20 beshort x \b, descriptors %d
266# Assume 8 partitions each at a multiple of the sector size.
267# We could glean this from the partition descriptors, but they are empty!?!?
268>>(2.S*1) indirect \b, contains[@0x%x]:
269>>(2.S*2) indirect \b, contains[@0x%x]:
270>>(2.S*3) indirect \b, contains[@0x%x]:
271>>(2.S*4) indirect \b, contains[@0x%x]:
272>>(2.S*5) indirect \b, contains[@0x%x]:
273>>(2.S*6) indirect \b, contains[@0x%x]:
274>>(2.S*7) indirect \b, contains[@0x%x]:
275>>(2.S*8) indirect \b, contains[@0x%x]:
268>>(2.S*1) indirect x \b, contains[@0x%x]:
269>>(2.S*2) indirect x \b, contains[@0x%x]:
270>>(2.S*3) indirect x \b, contains[@0x%x]:
271>>(2.S*4) indirect x \b, contains[@0x%x]:
272>>(2.S*5) indirect x \b, contains[@0x%x]:
273>>(2.S*6) indirect x \b, contains[@0x%x]:
274>>(2.S*7) indirect x \b, contains[@0x%x]:
275>>(2.S*8) indirect x \b, contains[@0x%x]:
276
277# Yes, the 3rd and 4th bytes are reserved, but we use them to make the
278# magic stronger.
2790 belong 0x504d0000 Apple Partition Map
280>4 belong x \b, map block count %d
281>8 belong x \b, start block %d
282>12 belong x \b, block count %d
283>16 string >0 \b, name %s

--- 28 unchanged lines hidden ---
276
277# Yes, the 3rd and 4th bytes are reserved, but we use them to make the
278# magic stronger.
2790 belong 0x504d0000 Apple Partition Map
280>4 belong x \b, map block count %d
281>8 belong x \b, start block %d
282>12 belong x \b, block count %d
283>16 string >0 \b, name %s

--- 28 unchanged lines hidden ---