[Coco] Run .BIN directly in Coco3 emulator?
msmcdoug at iinet.net.au
Sat Apr 12 01:01:33 EDT 2014
On 12/04/2014 12:55 AM, Richard Goedeken wrote:
I've been successful in using this software to create a DSK image with my
file - again, thanks!
However, my .BIN file doesn't seem to have a valid EXEC address?!?
I'm using the AS6809 assembler. I *definitely* don't want to switch to
another assembler because I'm also developing the same software in Z80 in
parallel using the ASZ80 assembler and it's *much* simpler to work with two
compatible assemblers. The other advantage is that ASLINK is able to output
COCO .BIN files.
Perhaps Boisy can answer this...
I specify the execution address via the .end directive and the .LST file
displays the correct address. However after loading into MESS and using
PEEK(157/8) it is 0. Also a hex dump of the .BIN file suggests there is no
The other weird thing is that all the blocks in the .BIN file are $003B in
length, when it's a single, contiguous block of code/data. Is that a
peculiarity of the implementation in ASLINK?
As a workaround atm I can either POKE 157 with 64 and EXEC, or
DEFUSR0=&H4000 and then A=DEFUSR(0) but either way it's a PITA, especially
since I first have to enable full keyboard emulation in MESS each time...
Any tips would be appreciated!
| Mark McDougall | "Electrical Engineers do it
| <http://members.iinet.net.au/~msmcdoug> | with less resistance!"
More information about the Coco