Go to http://benryves.com/bin/brass
Brass is a very simple assembler, just type
Code: Select all
brass <source name>
Make sure you do not have an important file in your folder called *.bin or *_labels.inc (where * is the filename of the sourcefile, no extensions) as Brass outputs to these files by default.
If you do, rename them just in case
It is the same as running TASM with the -80, -i, -b and -x switches.
You can even add this code to your program:
Code: Select all
.binarymode TI8X
.variablename MYAPP
If you want to help a lot, please download this EXE:
http://benryves.com/bin/brass/BinaryComparer.exe
This (crap, simple, non-error trapping) EXE will compare 2 files and list any memory addresses that are DIFFERENT. This is important to debugging.
Running Brass with the -d switch will dump an output, so do this:
Code: Select all
brass source.asm -d > debug.txt
The following all compile fine:
-BF Interpreter
-Eliza
-Ben's 3D Maze
-Pixel Madness
-Acelgoyobis
-Gemini
-Asteroids
-API demo
-- a mixture of simple (to more easily catch bugs), massive and complex.
See the manual ( http://benryves.com/bin/brass/manual.htm ) for more information.
I am expecting there to be bugs. This project has not been running for very long (less than a week) and TASM was written over the period of many years
I know you guys like them, so have a screenshot:
Code: Select all
D:\My Documents\Visual Studio 2005\Projects\Brass\Brass\bin>brass PINBALL.asm
Brass Z80 Assembler 1.0.0.0 - Ben Ryves 2005
--------------------------------------------
Pass 1 complete.
Interaction engine: 428
Rendering engine: 391
Physics code: 751
Menu code: 289
Graphics routines: 402
Keyboard handling: 50
Arithmetics: 266
Misc data: 341
Sprites: 153
Total executed code: 3851
Total data: 909
Pass 2 complete.
Errors: 0, Warnings: 0.
Done!