I was trying to use Merlin32, and ran into an annoyance. So my first
question--is there documentation on how to use Merlin32? I downloaded it
from
https://github.com/apple2accumulator/merlin32, and I don't see any
documentation there (let me know if I missed it).
I used Merlin-16 on my Apple IIgs all the time, and it works fine to compile
the following short trivial program (the first example in the Merlin Pro
manual, which is available at
archive.org):
*DEMO PROGRAM 1
org $300
BELL equ $fbdd
START jsr BELL
rts
I put that in a file demo.s, and ran:
merlin32 . demo.s
(I didn't "install" merlin32, just compiled it, since I don't need the
macros, and didn't want to fiddle with it much before trying it out).
But Merlin-32 barfs over this. It seems to think there are "Link Files"
which can have ORG and DS commands (and some other opcodes) in them, and
other files, which can have code, and EQU, and cannot have ORG (based on
IsLinkFile() in a65816Link.c).
I'm guessing the minimum useful Merlin32 project is two files, with
the Link File including the assembly code, but what exactly is the syntax
I need to use?
I want to eventually compile a semi-substantial amount of code, which will
need blank areas in it, something like:
org $300
[ some code, but not much ]
org $380
[ more code ]
where I want it to just put 0's to fill in space (if any). Can I do that with
Merlin32 in one source file?
Kent