[Coco] Memory Map

Fedor Steeman petrander at gmail.com
Wed May 8 03:57:36 EDT 2013


Correction: ...or even $3600...




On 8 May 2013 09:56, Fedor Steeman <petrander at gmail.com> wrote:

> Louis,
>
> According to my sources, the area $0600-18CE is used by Disk Basic
> (however, the Disk Basic ROM itself resides at a higher address). So that
> is why I start my programs from $2000 or even $1E00 to stay clear of the
> first graphics page space.
>
> You can see more on the cocopedia wiki page.
>
> I am also writing a tutorial on just this topic, but need to get all my
> facts straight first.
>
> Cheers,
> Fedor
>
>
>
>
> On 8 May 2013 09:26, Fedor Steeman <petrander at gmail.com> wrote:
>
>> Hi Louis,
>>
>> I am working on one here:
>> http://www.cocopedia.com/wiki/index.php/Color_Computer_2_Memory_Map
>>
>> Any input or contributions from others appreciated! :-)
>>
>> Cheers,
>> Fedor
>>
>>
>>
>> On 7 May 2013 19:55, Louis Ciotti <lciotti1 at gmail.com> wrote:
>>
>>> Where can I get a memory map of the CoCo?
>>>
>>> In my initial attempt at assembly programing I first used Disk EDTASM in
>>> XRoar, and programed the example in the Disk EDTASM manual and it
>>> produced
>>> a checker board pattern on the screen like the manual said it should.  I
>>> then tried using lwasm, and as09 and it did not work.  I tracked the
>>> problem to the "ORG $1200" statement.  If I remove that line the
>>> program runs in XRoar as it should if assembled with lwasm, but not as09.
>>>
>>> Here is the program (Hopefully this looks ok, need a monospaced font):
>>>
>>>        org     $1200
>>> begin  jmp     start
>>>        fdb     done-begin
>>> start  lda     #$f9
>>>        ldx     #$400
>>> screen sta     ,x+
>>>        cmpx    #$600
>>>        bne     screen
>>> wait   jsr     [$a000]
>>>        beq     wait
>>>        clr     $71
>>>        jmp     [$fffe]
>>> done   equ     *
>>>        end
>>>
>>> The Disk TASM manual states that $1200 is used as the starting address
>>> because the "DOS" program for Disk EDTASM occupies from $0600 - $11FF.
>>>  Now
>>> if I use lwasm I of course do not have DOS in memory so $0600-$11FF is
>>> empty.
>>>
>>> --
>>> Coco mailing list
>>> Coco at maltedmedia.com
>>> http://five.pairlist.net/mailman/listinfo/coco
>>>
>>
>>
>



More information about the Coco mailing list