RSSAminetKontakt

aminet/dev/cross/xa-mos.readme

short : Cross-assembler for 65xx/R65C02/65816 author : Andre Fachat, Cameron Kaiser uploader : polluks sdf lonestar org (Stefan Haubenthal) type : dev/cross version : 2.3.8 architecture : ppc-morphos url : http://www.floodgap.com/retrotech/xa/ Filetype : application/x-lha Size : 272.93K Date : 9-Feb-18 Download : 💾 https://de3.aminet.net/dev/cross/xa-mos.lha
XA is a 6502 cross compiler: - under GNU public license - can produce _relocatable_ binaries - The full fileformat description and 6502 file loader included. - also included relocation and info utilites, as well as linker - for any ANSI-C compliant computer (only utilities need 'stat' call for file size). - fast by hashtables - Rockwell CMOS opcodes - running under DOS and any ANSI C system (Unix, Amiga, Atari ST) I developed this cross assembler for the 6502 CPU family quite some time ago on my Atari ST. The assembler has successfully been ported to Amiga and Unix computer (ported? just compiled... :-) Lately I came across the problem to need relocatable 6502 binary files, so I revised the assembler from version 2.0.7 to 2.1.0, adding a (admittedly proprietary) 6502 relocatable binary format. But there are not many other formats around and they didn't fit my needs. I have developed this format myself and it is under the GNU public license. With version 2.1.1 the 'official' version of the fileformat is supported. To compile it, just type "make" (if you have the GNU gcc. If not, edit the Makefile for the compiler options). This produces "xa", the cross assembler; "uncpk", a small packing utility (where the C64 counterpart is in the examples subdirectory), "printcbm", that lists C64 BASIC files and 'file65' that prints some information about o65 files. The "loader" in the loader subdirectory is a basic 6502 implementation of a relocating binary loader. "file65" prints file information on 'o65' relocatable files. "reloc65" can relocate 'o65' files. If you want to use it under DOS, you have to have the GO32 DOS crosscompiling tools to compile. Then just type "make dos" and you'll end up with the appropriate DOS binaries. This has been tested only under i386 Linux, however. Another archive with the DOS binaries included is provided. One problem on the Atari was it's broken "malloc". Therefore I used to alloc everything in one chunk and divide the memory by hand. So everything was kind of statically allocated. This is almost gone now. Only the temporary storage between pass1 and pass2 and the preprocessor are still allocated in one chunk (size definitions in xah.h). The rest is allocated as needed. The docs are in the 'doc' subdir. There also is a description of the 6502 relocatable binary format. If you think some things could be expressed in a better way, feel free and mail me to improve my english ;-) [ The documentation is now maintained in man(1) format in man/ . -- CK ] Andre
PERMSSN UID GID SIZE RATIO STAMP NAME ---------- ----------- ------- ------ ------------ -------------------- [generic] 11593 38.7% Jun 30 2017 xa-2.3.8/ChangeLog [generic] 18002 38.9% Jan 28 2003 xa-2.3.8/COPYING [generic] 24424 35.2% Jan 26 1998 xa-2.3.8/doc/fileformat.txt [generic] 261 67.4% Apr 10 2006 xa-2.3.8/doc/README [generic] 3816 48.6% Oct 31 1996 xa-2.3.8/doc/xa-de.log [generic] 14790 38.9% Oct 31 1996 xa-2.3.8/doc/xa-de.txt [generic] 14297 41.9% Nov 25 1998 xa-2.3.8/doc/xa.html [generic] 9162 38.8% Jan 3 2007 xa-2.3.8/doc/xa.log [generic] 14987 39.7% Nov 25 1998 xa-2.3.8/doc/xa.txt [generic] 4223 47.8% Mar 3 1998 xa-2.3.8/doc/xaannounce [generic] 2259 66.9% Mar 31 2006 xa-2.3.8/examples/a.o65 [generic] 7845 23.5% Oct 8 1992 xa-2.3.8/examples/c64def.def [generic] 553 62.6% Oct 11 1992 xa-2.3.8/examples/pack.doc [generic] 20118 18.1% Jan 4 1995 xa-2.3.8/examples/pack_eng.a65 [generic] 20104 18.1% Dec 25 1994 xa-2.3.8/examples/pack_ger.a65 [generic] 4406 27.5% Mar 31 2006 xa-2.3.8/examples/peng.l [generic] 13572 43.6% Feb 8 23:24 xa-2.3.8/file65 [generic] 14884 46.6% Feb 8 23:24 xa-2.3.8/ldo65 [generic] 126 96.8% Jan 3 1997 xa-2.3.8/loader/ex2 [generic] 90 100.0% Dec 22 1996 xa-2.3.8/loader/example2 [generic] 787 43.8% Apr 16 1997 xa-2.3.8/loader/file.def [generic] 12472 32.8% Dec 21 1996 xa-2.3.8/loader/loader.a65 [generic] 298 50.7% Jan 2 1997 xa-2.3.8/loader/Makefile [generic] 246 67.9% Nov 4 1996 xa-2.3.8/loader/README [generic] 318 59.1% Dec 22 1996 xa-2.3.8/loader/test.a [generic] 238 60.9% Dec 21 1996 xa-2.3.8/loader/test2.a [generic] 18 100.0% Dec 22 1996 xa-2.3.8/loader/test3.a [generic] 1595 40.4% Jun 30 2017 xa-2.3.8/Makefile [generic] 1201 53.7% Apr 12 2006 xa-2.3.8/man/file65.1 [generic] 1175 57.0% Apr 12 2006 xa-2.3.8/man/ldo65.1 [generic] 724 60.4% Apr 12 2006 xa-2.3.8/man/printcbm.1 [generic] 90 86.7% Mar 26 2006 xa-2.3.8/man/README [generic] 1439 51.4% Jan 3 2007 xa-2.3.8/man/reloc65.1 [generic] 1269 51.0% Apr 12 2006 xa-2.3.8/man/uncpk.1 [generic] 22262 39.4% Jun 30 2017 xa-2.3.8/man/xa.1 [generic] 8086 36.9% Jul 10 2014 xa-2.3.8/misc/file65.c [generic] 16832 30.9% Jul 10 2014 xa-2.3.8/misc/ldo65.c [generic] 809 40.4% Jul 24 2012 xa-2.3.8/misc/Makefile [generic] 1978 53.8% Jan 3 1997 xa-2.3.8/misc/mkrom.sh [generic] 2759 48.2% Jul 10 2014 xa-2.3.8/misc/printcbm.c [generic] 10162 33.6% Jul 10 2014 xa-2.3.8/misc/reloc65.c [generic] 4707 39.3% Jul 10 2014 xa-2.3.8/misc/uncpk.c [generic] 1324 52.8% Jan 28 2003 xa-2.3.8/misc/version.h [generic] 1978 53.8% Feb 8 23:14 xa-2.3.8/mkrom.sh [generic] 8780 42.4% Feb 8 23:24 xa-2.3.8/printcbm [generic] 5151 47.3% Jun 30 2017 xa-2.3.8/README.1st [generic] 11924 44.3% Feb 8 23:24 xa-2.3.8/reloc65 [generic] 285 63.5% May 16 2007 xa-2.3.8/src/Makefile [generic] 1324 52.8% Jan 28 2003 xa-2.3.8/src/version.h [generic] 27675 31.9% Jun 30 2017 xa-2.3.8/src/xa.c [generic] 1408 53.1% Jul 2 2008 xa-2.3.8/src/xa.h [generic] 6201 33.3% Jun 15 2008 xa-2.3.8/src/xaa.c [generic] 1055 59.1% Jan 28 2003 xa-2.3.8/src/xaa.h [generic] 2996 43.1% Feb 7 2009 xa-2.3.8/src/xacharset.c [generic] 1176 57.2% Jan 3 2007 xa-2.3.8/src/xacharset.h [generic] 1448 52.8% Jan 28 2003 xa-2.3.8/src/xad.h [generic] 6088 42.5% Dec 27 2014 xa-2.3.8/src/xah.h [generic] 1030 59.8% Jan 28 2003 xa-2.3.8/src/xah2.h [generic] 11113 31.8% Mar 12 2006 xa-2.3.8/src/xal.c [generic] 1489 50.1% Jan 28 2003 xa-2.3.8/src/xal.h [generic] 3736 43.4% Mar 12 2006 xa-2.3.8/src/xam.c [generic] 985 59.2% Jan 28 2003 xa-2.3.8/src/xam.h [generic] 2769 44.7% Apr 3 2006 xa-2.3.8/src/xao.c [generic] 1131 57.4% Jan 28 2003 xa-2.3.8/src/xao.h [generic] 25992 23.7% Dec 27 2014 xa-2.3.8/src/xap.c [generic] 1234 54.8% Jul 24 2012 xa-2.3.8/src/xap.h [generic] 8277 31.8% Mar 12 2006 xa-2.3.8/src/xar.c [generic] 1573 49.4% Mar 12 2006 xa-2.3.8/src/xar.h [generic] 3920 40.3% Jan 28 2003 xa-2.3.8/src/xar2.c [generic] 71775 22.4% Dec 28 2014 xa-2.3.8/src/xat.c [generic] 1089 55.9% Jan 28 2003 xa-2.3.8/src/xat.h [generic] 1940 48.6% Mar 12 2006 xa-2.3.8/src/xau.c [generic] 901 59.7% Jan 3 1997 xa-2.3.8/src/xau.h [generic] 349 57.9% Jan 13 2007 xa-2.3.8/tests/adrm/02.asm [generic] 60 100.0% Jul 26 2012 xa-2.3.8/tests/adrm/02.ok [generic] 313 54.0% Jan 13 2007 xa-2.3.8/tests/adrm/816.asm [generic] 50 100.0% Jul 26 2012 xa-2.3.8/tests/adrm/816.ok [generic] 437 58.4% Jan 13 2007 xa-2.3.8/tests/adrm/bip.inc [generic] 343 58.0% Jan 13 2007 xa-2.3.8/tests/adrm/c02.asm [generic] 58 100.0% Jul 26 2012 xa-2.3.8/tests/adrm/c02.ok [generic] 625 40.2% Jul 26 2012 xa-2.3.8/tests/adrm/Makefile [generic] 44 100.0% Jan 12 2007 xa-2.3.8/tests/adrm/zab.asm [generic] 47 100.0% Jul 26 2012 xa-2.3.8/tests/adrm/zab.ok [generic] 44 100.0% Jan 12 2007 xa-2.3.8/tests/adrm/zpa.asm [generic] 47 100.0% Jul 26 2012 xa-2.3.8/tests/adrm/zpa.ok [generic] 296 37.8% Jan 8 2013 xa-2.3.8/tests/binclude/Makefile [generic] 5159 47.2% Jul 2 2008 xa-2.3.8/tests/binclude/README.1st [generic] 5159 47.2% Jan 8 2013 xa-2.3.8/tests/binclude/sd/README.2nd [generic] 261 70.9% Jul 23 2008 xa-2.3.8/tests/binclude/test.asm [generic] 299 75.6% Jul 26 2012 xa-2.3.8/tests/binclude/test.ok [generic] 166 71.7% Jul 23 2008 xa-2.3.8/tests/binclude/test2.asm [generic] 266 53.4% Jul 26 2012 xa-2.3.8/tests/binclude/test2.ok [generic] 309 68.9% Jan 8 2013 xa-2.3.8/tests/binclude/test3.asm [generic] 140 26.4% Dec 28 2014 xa-2.3.8/tests/branch/bir.ok [generic] 105 72.4% Dec 28 2014 xa-2.3.8/tests/branch/bir.s [generic] 105 72.4% Dec 28 2014 xa-2.3.8/tests/branch/bor.s [generic] 265 65.3% Dec 28 2014 xa-2.3.8/tests/branch/Makefile [generic] 19 100.0% Jul 26 2012 xa-2.3.8/tests/chardelimiter/ok [generic] 141 66.7% Jul 26 2012 xa-2.3.8/tests/chardelimiter/test.s [generic] 87 86.2% Jul 26 2012 xa-2.3.8/tests/charset/high.o [generic] 273 45.8% Jul 26 2012 xa-2.3.8/tests/charset/Makefile [generic] 87 74.7% Jul 26 2012 xa-2.3.8/tests/charset/no-charset.o [generic] 87 80.5% Feb 8 2009 xa-2.3.8/tests/charset/petscii.o [generic] 87 79.3% Jul 26 2012 xa-2.3.8/tests/charset/petscreen.o [generic] 5145 47.3% Jan 21 2009 xa-2.3.8/tests/charset/README.1st [generic] 233 57.1% Feb 8 2009 xa-2.3.8/tests/charset/test.s [generic] 14 100.0% Feb 8 2009 xa-2.3.8/tests/charset/test2.s [generic] 109 79.8% Jul 26 2012 xa-2.3.8/tests/chppch/Makefile [generic] 41 75.6% Dec 27 2014 xa-2.3.8/tests/chppch/ok.out [generic] 32 100.0% Jul 2 2008 xa-2.3.8/tests/chppch/qwerty.h [generic] 32 100.0% Jul 26 2012 xa-2.3.8/tests/chppch/test.c [generic] 316 70.9% Jan 11 2007 xa-2.3.8/tests/comcom/comcom.asm [generic] 17 100.0% Jul 26 2012 xa-2.3.8/tests/comcom/comcom.ok [generic] 9 100.0% Jul 26 2012 xa-2.3.8/tests/comcom/comcomm.ok [generic] 318 47.2% Jul 26 2012 xa-2.3.8/tests/comcom/Makefile [generic] 48 100.0% Jan 11 2007 xa-2.3.8/tests/comcom/scomcom.asm [generic] 4 100.0% Jul 26 2012 xa-2.3.8/tests/comcom/scomcomm.ok [generic] 7845 23.5% Dec 28 2014 xa-2.3.8/tests/cpktest/c64def.def [generic] 2245 67.8% Dec 28 2014 xa-2.3.8/tests/cpktest/de.ok [generic] 4406 27.4% Dec 28 2014 xa-2.3.8/tests/cpktest/deutsch.l [generic] 2259 66.9% Dec 28 2014 xa-2.3.8/tests/cpktest/eng.ok [generic] 4406 27.5% Dec 28 2014 xa-2.3.8/tests/cpktest/english.l [generic] 250 51.2% Dec 28 2014 xa-2.3.8/tests/cpktest/Makefile [generic] 20118 18.1% Dec 28 2014 xa-2.3.8/tests/cpktest/pack_eng.a65 [generic] 20104 18.1% Dec 28 2014 xa-2.3.8/tests/cpktest/pack_ger.a65 [generic] 18 100.0% Jul 26 2012 xa-2.3.8/tests/cpp/expected.o [generic] 125 80.0% Jul 26 2012 xa-2.3.8/tests/cpp/Makefile [generic] 306 65.4% Jul 26 2012 xa-2.3.8/tests/cpp/over.c [generic] 79 88.6% Jan 13 2007 xa-2.3.8/tests/cpp/over.h [generic] 2474 44.5% Dec 28 2014 xa-2.3.8/tests/dos51/dos51.inc [generic] 266 66.5% Dec 28 2014 xa-2.3.8/tests/dos51/Makefile [generic] 205 78.0% Dec 28 2014 xa-2.3.8/tests/dos51/ok [generic] 73 98.6% Dec 28 2014 xa-2.3.8/tests/dos51/test.s [generic] 305 52.8% Jul 26 2012 xa-2.3.8/tests/fordef/Makefile [generic] 194 52.1% Dec 27 2014 xa-2.3.8/tests/fordef/ok.out [generic] 220 61.4% Apr 5 2006 xa-2.3.8/tests/fordef/test.asm [generic] 17 100.0% Jul 26 2012 xa-2.3.8/tests/fordef/test1.ok [generic] 45 88.9% Apr 5 2006 xa-2.3.8/tests/fordef/test2.asm [generic] 342 64.0% Apr 12 2006 xa-2.3.8/tests/fordef/test3.asm [generic] 11 100.0% Jul 26 2012 xa-2.3.8/tests/fordef/test3.ok [generic] 1457 47.3% Jul 27 2012 xa-2.3.8/tests/harness [generic] 1251 54.7% Jul 26 2012 xa-2.3.8/tests/hextool [generic] 150 71.3% Jul 26 2012 xa-2.3.8/tests/incerr/Makefile [generic] 5 100.0% Jan 31 2007 xa-2.3.8/tests/incerr/test.6502 [generic] 21 100.0% Jan 31 2007 xa-2.3.8/tests/incerr/test.s [generic] 24 100.0% Jan 3 2007 xa-2.3.8/tests/ldoreloc/1.s [generic] 9 100.0% Jan 3 2007 xa-2.3.8/tests/ldoreloc/2.s [generic] 405 44.7% Jul 26 2012 xa-2.3.8/tests/ldoreloc/Makefile [generic] 7 100.0% Jan 3 2007 xa-2.3.8/tests/ldoreloc/t.ok [generic] 3490 30.0% Jan 3 2007 xa-2.3.8/tests/ldoreloc/xatestanalysis.txt [generic] 202 55.0% Jun 30 2017 xa-2.3.8/tests/masmcom/Makefile [generic] 2 100.0% Jun 30 2017 xa-2.3.8/tests/masmcom/okmasm [generic] 6 100.0% Jun 30 2017 xa-2.3.8/tests/masmcom/oknomasm [generic] 118 82.2% Jun 30 2017 xa-2.3.8/tests/masmcom/test.s [generic] 263 64.3% Dec 27 2014 xa-2.3.8/tests/mvnmvp/Makefile [generic] 27 100.0% Dec 27 2014 xa-2.3.8/tests/mvnmvp/ok [generic] 226 66.4% Dec 27 2014 xa-2.3.8/tests/mvnmvp/test.s [generic] 6 100.0% Jul 26 2012 xa-2.3.8/tests/nonl/ok [generic] 24 100.0% Apr 1 2006 xa-2.3.8/tests/nonl/test.s [generic] 19 100.0% Apr 1 2006 xa-2.3.8/tests/nonl/test2.asm [generic] 263 64.3% Dec 28 2014 xa-2.3.8/tests/op816/Makefile [generic] 606 90.6% Dec 28 2014 xa-2.3.8/tests/op816/ok [generic] 6663 31.7% Dec 28 2014 xa-2.3.8/tests/op816/test.s [generic] 324 57.7% Dec 28 2014 xa-2.3.8/tests/openpp/Makefile [generic] 12 100.0% Dec 28 2014 xa-2.3.8/tests/openpp/ok [generic] 31 100.0% Jan 13 2007 xa-2.3.8/tests/openpp/test.inc [generic] 290 55.9% Dec 28 2014 xa-2.3.8/tests/openpp/test.s [generic] 14 100.0% Jun 30 2017 xa-2.3.8/tests/quotch/ok [generic] 134 87.3% Jun 30 2017 xa-2.3.8/tests/quotch/test.s [generic] 1845 53.3% Jun 30 2017 xa-2.3.8/tests/README [generic] 49 100.0% Jan 10 2007 xa-2.3.8/tests/recmac/cpu.inc [generic] 230 58.3% Jul 27 2012 xa-2.3.8/tests/recmac/Makefile [generic] 427 49.9% Jul 27 2012 xa-2.3.8/tests/recmac/test.asm [generic] 31 96.8% Jul 27 2012 xa-2.3.8/tests/recmac/test.ok [generic] 83 97.6% Jan 11 2007 xa-2.3.8/tests/recmac/testi.asm [generic] 2 100.0% Jul 27 2012 xa-2.3.8/tests/recmac/testi.ok [generic] 9 100.0% Jul 26 2012 xa-2.3.8/tests/relocundef/a.ok [generic] 9 100.0% Jul 26 2012 xa-2.3.8/tests/relocundef/b.ok [generic] 719 38.8% Jul 26 2012 xa-2.3.8/tests/relocundef/Makefile [generic] 89 79.8% Jan 3 2007 xa-2.3.8/tests/relocundef/test1.a65 [generic] 100 78.0% Jul 26 2012 xa-2.3.8/tests/relocundef/test2.a65 [generic] 284 69.7% Jun 4 2008 xa-2.3.8/TODO [generic] 9412 43.5% Feb 8 23:24 xa-2.3.8/uncpk [generic] 402 63.7% Nov 25 1981 xa-2.3.8/vstudio/00readme.txt [generic] 3930 26.0% Nov 25 1981 xa-2.3.8/vstudio/file65.vcproj [generic] 3927 26.0% Nov 25 1981 xa-2.3.8/vstudio/ldo65.vcproj [generic] 3936 26.0% Nov 25 1981 xa-2.3.8/vstudio/printcbm.vcproj [generic] 3927 26.1% Nov 25 1981 xa-2.3.8/vstudio/uncpk.vcproj [generic] 2669 22.0% Nov 25 1981 xa-2.3.8/vstudio/vstudio.sln [generic] 5355 20.4% Nov 25 1981 xa-2.3.8/vstudio/xa.vcproj [generic] 121460 38.8% Feb 8 23:24 xa-2.3.8/xa ---------- ----------- ------- ------ ------------ -------------------- Total 191 files 770047 35.1% Feb 9 07:19
Zum Live Linux: