[Coco] Run .BIN directly in Coco3 emulator?

Arthur Flexser flexser at fiu.edu
Sat Apr 12 01:20:32 EDT 2014


I suppose you could try including in the source

ORG $9D
FDB <exec address>

in place of the END statement.

Art


On Sat, Apr 12, 2014 at 1:01 AM, Mark McDougall <msmcdoug at iinet.net.au>wrote:

> On 12/04/2014 12:55 AM, Richard Goedeken wrote:
>
>  http://www.chipple.net/coco/file2dsk/
>>
>
> 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
> EXEC address.
>
> 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!
>
> Regards,
>
> --
> |              Mark McDougall                | "Electrical Engineers do it
> |  <http://members.iinet.net.au/~msmcdoug>   |   with less resistance!"
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>



More information about the Coco mailing list