xref: /dragonfly/contrib/file/magic/Magdir/xo65 (revision ec1c3f3a)
1
2#------------------------------------------------------------------------------
3# $File: xo65,v 1.5 2022/07/17 15:36:20 christos Exp $
4# https://cc65.github.io/doc/sim65.html
5# xo65 object files
6# From: "Ullrich von Bassewitz" <uz@cc65.org>
7#
80	string		\x55\x7A\x6E\x61	xo65 object,
9>4	leshort		x			version %d,
10>6	leshort&0x0001 =0x0001			with debug info
11>6	leshort&0x0001 =0x0000			no debug info
12
13# xo65 library files
140	string		\x6E\x61\x55\x7A	xo65 library,
15>4	leshort		x			version %d
16
17# o65 object files
180	string		\x01\x00\x6F\x36\x35	o65
19>6	leshort&0x1000	=0x0000			executable,
20>6	leshort&0x1000	=0x1000			object,
21>5	byte		x			version %d,
22>6	leshort&0x8000	=0x8000			65816,
23>6	leshort&0x8000	=0x0000			6502,
24>6	leshort&0x2000	=0x2000			32 bit,
25>6	leshort&0x2000	=0x0000			16 bit,
26>6	leshort&0x4000	=0x4000			page reloc,
27>6	leshort&0x4000	=0x0000			byte reloc,
28>6	leshort&0x0003	=0x0000			alignment 1
29>6	leshort&0x0003	=0x0001			alignment 2
30>6	leshort&0x0003	=0x0002			alignment 4
31>6	leshort&0x0003	=0x0003			alignment 256
32
33# sim65 executable files
340	string		\x73\x69\x6d\x36\x35	sim65 executable,
35>5	byte		x			version %d,
36>6	leshort&0x0000	=0x0000			6502
37>6	leshort&0x0001	=0x0001			65C02
38