Dan Moos wrote:
Just discovered Michal Kowalski's editor/assembler/simulator.
Make sure you are running the latest version, which is
1.2.12.
Quote:
Ok, with Kowlaski's setup, I can't seem to actually get a binary. I can use the simulator, but can't actually create a file to put on an EEPROM.
I tried "save code", but its always just zeroes. Feel like I'm missing a step.
First of all, be sure to set a starting address for assembly, using a directive such as
* = <address> in your source code. While your source code is loaded into the editor press the
[F7] key to assemble it.
Upon successful assembly, type
[Ctrl-K] to save object code into a file. Within the save code dialog, select the "save as type" as a binary image,
.65b. Next, click on "options" and set the address range to be saved. Generally, the starting address will be the same as used with the
* = <address> directive at the beginning of the source code. The ending address will be whatever corresponds to the end of the expected object code. When I assemble my POC V1 ROM, the starting address is
$E000 and the ending address is
$FFFF, since that is where the code will appear in the system. With the address range set up click "Save" to save to a binary file. The binary can then be directly loaded into an EPROM burner.
Additional note with the Kowalski assembler: the following directive should be the very first line in your main source file:
Code:
.opt proc65c02,caseinsensitive
The above tells the assembler to permit the use of 65C02 instructions and to make labels and symbols case-insensitive. It is only necessary in the main source file, not
INCLUDE files.