After exciting success using the 65C02 for a while, I have decided to enter the world of the 65C816 and I am very excited about it. However, I can't for the life of me figure out how to get my code ROM-ready.
I'm trying to use WLA DX and come from the world of vasm, which I adore. I'm trying to emulate vasm functionality - point it at a file written in assembly and it spits out a perfect binary file ready to burn to ROM.
The simplest way I have found to get SOMETHING out of WLA DX is by using this code:
Code: Select all
.MEMORYMAP
SLOTSIZE $8000
SLOT 0 $8000
DEFAULTSLOT 0
.ENDME
.ROMBANKMAP
BANKSTOTAL 1
BANKSIZE $8000
BANKS 1
.ENDRO
lda #$06
I'm calling the assembler in terminal on Mac like this: ./wla-65816 -o outputfile 65816-notepad.asm
The documentation for the software is extraordinarily verbose and doesn't seem to cover the simple use-case I am constructing. I am not trying to emulate any cartridges or run this on a known entity, I'm just trying to write code like I would for vasm and then stick it on a ROM for my own bespoke 65C816 creation.
If anybody can help point me in the right direction, I would be eternally grateful. I absolutely love(d) working on my 65C02 projects, but am getting discouraged as to how this transition experience has been thus far. Thank you kindly for your consideration