crosassembler
Hi,
i need crossassembler z80 for windows.
1. compile $0000 - $3fff
2. multiple ORGs
could you help me?
i need crossassembler z80 for windows.
1. compile $0000 - $3fff
2. multiple ORGs
could you help me?
Post edited by xxl on
Comments
(And before anyone suggests SjASMPlus... dumping out code with multiple ORGs as a raw binary is exactly where SjASMPlus has weird confusing behaviour, so I wouldn't recommend that...)
I use SjASMPlus.
Tho' Gasman is correct, it does have some oddness with regards multiple ORG statements... it will compiles the code for the ORG you specify, but at the current address. This is great if you're planning to move the code, but if you're not it can cause a problem.
If you did opt for SjASMPlus tho', I tend to do the following if I want some code at a specific address:
BLOCK new_org - $
Which helps as it gives an error if you've already gone past that point :)
its idiot proof - i know i have tested it ;)
Tip though:
Create a BAT file with the following in your TASM folder:
Then right click it, create a short cut of it. Copy that shortcut into your Project folder.
After launching the shortcut dos prompt, all you need then to compile your code is:
The output BIN file is continuous raw binary file starting at your lowest (not first!) ORG address.
Personally, I create a BAT file in my project file which looks something like this:
Only proviso: Keep your filenames in old 8.3 format.