home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CBM Funet Archive
/
cbm-funet-archive-2003.iso
/
cbm
/
programming
/
msdos
/
xa214f.lzh
/
xa214f
/
README.1st
< prev
next >
Wrap
Text File
|
1998-03-03
|
3KB
|
79 lines
--------------------------------------------------------------------------
tHIS IS THE readme FILE FOR THE PACKAGE 'XA', WRITTEN BY a.fACHAT.
tHE PACKAGE 'XA' IS PROVIDED 'AS IS', NO WARRANTY WILL BE TAKEN
FOR ANY DAMAGE CAUSED BY IT OR BY ANY USE OF IT.
tHE PACKAGE CONTAINS THE SOURCE CODE FOR THE cROSS ASSEMBLER 'XA', SEVERAL
UTILITIES IN THE 'MISC' SUBDIRECTORY, AS WELL AS EXAMPLE PROGRAMS AND
THE REST OF THIS DIRECTORY TREE. aS OF RELEASE 2.1.4F A GCC-GO32 dos
CROSS-COMPILING MAKE OPTION IS INCLUDED.
tHE CURRENT VERSION FOR 'XA' IS 2.1.4F, AS OF 03MAR1998
tHE WHOLE PACKAGE IS PLACED UNDER THE gnu pUBLIC lICENSE, FOR FURTHER
INFORMATION ON REDISTRIBUTION SEE THE INCLUDED FILE "copying".
--------------------------------------------------------------------------
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 ;-)
fOR FURTHER INFORMATION:
aNDRE fACHAT
EMAIL: A.FACHAT@PHYSIK.TU-CHEMNITZ.DE