MAS65PP v0.1 by Chris Ward
==========================

MAS65 by Douglas Beattie Jr is a good 6502 cross-assembler
which I have been using to write the software for my homebrew
6502 system.  However there are a few useful features missing
missing from it, which is why I wrote MAS65PP - the MAS65
Pre-Processor.

MAS65PP takes an assembly source file as input and will act
on C-style directives in the file to produce a new assembly
file as output, suitable for MAS65.


Usage
-----
The binary in this package is a Win32 console-mode application,
which means:
- it needs Windows 95, 98 or NT (or any newer version)
- you run it from the command-line e.g. a MS-DOS window
- it should support long file names (but MAS65 doesn't!)

The syntax is:  MAS65PP infile outfile
Then you run MAS65 on the output file.
 e.g. MAS65PP biosmain.asm biosmain.pp
      MAS65 biosmain.pp -hex

If you have 4DOS, the following batch file will automate those
two steps:

-------- asm.bat --------
@echo off
mas65pp %1 %@NAME[%1].pp
mas65 %@NAME[%1].pp -hex
-------------------------

Use it by typing "asm infile.asm".


MAS65PP Directives
------------------
Currently only one pre-processor directive is supported:

#include "filename"
 This will insert the named file into the output file at the
 point where the #include was encountered.


Where to get MAS65
------------------
1. Douglas Beattie Jr's home page:
   http://www2.whidbey.net/~beattidp/

2. http://www.6502.org


Where to get MAS65PP
--------------------
1. Chris Ward's home page:
   http://home.freeuk.net/c.ward/


----------------------------------------------------------------
Chris Ward <chris.ward@freenet.co.uk>
