[Coco] Memory Map

Fedor Steeman petrander at gmail.com
Wed May 8 10:59:36 EDT 2013


Hmm. Why $0E00? What's directly before that that may give you trouble?

/Fedor


On 8 May 2013 16:52, William Astle <lost at l-w.ca> wrote:

> On 13-05-08 08:12 AM, John W. Linville wrote:
>
>> On Wed, May 08, 2013 at 10:08:16AM -0400, Louis Ciotti wrote:
>>
>>> AAAAaaa OK I get it now.
>>>
>>> So changing SWI to rts, pressing a key get me back to DECB when using
>>> lwasm.
>>>
>>> I am learning, slowly but I am learning.
>>>
>>> Now if I can get the sample to work with the ORG statement.
>>>
>>
>> I guess I missed that part...how are you loading the code and executing
>> it?  It seems like the ORG statement would be a necessity for lwasm
>> to generate a working binary.  Maybe it has some built-in default?
>>
>
> lwasm defaults to "org 0" so if it is working without an ORG statement,
> it's only working by accident.
>
> With a default configuration of disk basic, putting the code anywhere
> between $e00 and $2600 should work fine because that is within the default
> 4 pmode graphics pages. If you don't need to preserve a basic program, you
> can clobber anywhere from $e00 up to about $3c00 fairly safely (asuming
> 16K) or $7c00 (assuming 32K).
>
> If you put the binary created by lwasm on a disk image and use LOADM and
> EXEC to start it, it should work just fine. If you're using some other
> method, it may be that method is not doing the expected thing.
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/**mailman/listinfo/coco<http://five.pairlist.net/mailman/listinfo/coco>
>



More information about the Coco mailing list