xref: /dflybsd-src/contrib/file/magic/Magdir/xo65 (revision 739f0ef867128a933e021db3d831e906fcafd825)
1327e51cbSPeter Avalos
2327e51cbSPeter Avalos#------------------------------------------------------------------------------
3*3b9cdfa3SAntonio Huete Jimenez# $File: xo65,v 1.5 2022/07/17 15:36:20 christos Exp $
4*3b9cdfa3SAntonio Huete Jimenez# https://cc65.github.io/doc/sim65.html
5327e51cbSPeter Avalos# xo65 object files
6327e51cbSPeter Avalos# From: "Ullrich von Bassewitz" <uz@cc65.org>
7327e51cbSPeter Avalos#
8327e51cbSPeter Avalos0	string		\x55\x7A\x6E\x61	xo65 object,
9327e51cbSPeter Avalos>4	leshort		x			version %d,
10327e51cbSPeter Avalos>6	leshort&0x0001 =0x0001			with debug info
11327e51cbSPeter Avalos>6	leshort&0x0001 =0x0000			no debug info
12327e51cbSPeter Avalos
13327e51cbSPeter Avalos# xo65 library files
14327e51cbSPeter Avalos0	string		\x6E\x61\x55\x7A	xo65 library,
15327e51cbSPeter Avalos>4	leshort		x			version %d
16327e51cbSPeter Avalos
17327e51cbSPeter Avalos# o65 object files
18327e51cbSPeter Avalos0	string		\x01\x00\x6F\x36\x35	o65
19327e51cbSPeter Avalos>6	leshort&0x1000	=0x0000			executable,
20327e51cbSPeter Avalos>6	leshort&0x1000	=0x1000			object,
21327e51cbSPeter Avalos>5	byte		x			version %d,
22327e51cbSPeter Avalos>6	leshort&0x8000	=0x8000			65816,
23327e51cbSPeter Avalos>6	leshort&0x8000	=0x0000			6502,
24327e51cbSPeter Avalos>6	leshort&0x2000	=0x2000			32 bit,
25327e51cbSPeter Avalos>6	leshort&0x2000	=0x0000			16 bit,
26327e51cbSPeter Avalos>6	leshort&0x4000	=0x4000			page reloc,
27327e51cbSPeter Avalos>6	leshort&0x4000	=0x0000			byte reloc,
28327e51cbSPeter Avalos>6	leshort&0x0003	=0x0000			alignment 1
29327e51cbSPeter Avalos>6	leshort&0x0003	=0x0001			alignment 2
30327e51cbSPeter Avalos>6	leshort&0x0003	=0x0002			alignment 4
31327e51cbSPeter Avalos>6	leshort&0x0003	=0x0003			alignment 256
32*3b9cdfa3SAntonio Huete Jimenez
33*3b9cdfa3SAntonio Huete Jimenez# sim65 executable files
34*3b9cdfa3SAntonio Huete Jimenez0	string		\x73\x69\x6d\x36\x35	sim65 executable,
35*3b9cdfa3SAntonio Huete Jimenez>5	byte		x			version %d,
36*3b9cdfa3SAntonio Huete Jimenez>6	leshort&0x0000	=0x0000			6502
37*3b9cdfa3SAntonio Huete Jimenez>6	leshort&0x0001	=0x0001			65C02
38