[Coco] Memory Map

William Astle lost at l-w.ca
Mon May 13 10:24:39 EDT 2013


I haven't been following this thread. However, I should point out that 
lwasm does not care what symbol is specified in the "end" directive. 
"end start" would have worked just as well. No symbol in the "end" 
statement or no end statement at all would have prevented the code from 
executing with "loadm" since there would have been no execution address 
in the resulting binary.

On 13-05-13 06:26 AM, Fedor Steeman wrote:
> Great to hear!
>
> Was it the "END BEGIN" that did the trick? It looks like the assembler
> wants one to indicate blocks by name, in this case "BEGIN"...
>
> BTW I updated the color computer memory map on CoCopedia:
> http://www.cocopedia.com/wiki/index.php/Color_Computer_2_Memory_Map
>
> Cheers,
> Fedor
>
>
>
> On 8 May 2013 19:45, Louis Ciotti <lciotti1 at gmail.com> wrote:
>
>> SUCCESS!
>>
>>          ORG     $0E00
>> BEGIN
>> start   lda     #$f9
>>          ldx    #$400
>> screen  sta    ,x+
>>          cmpx    #$600
>>          bne    screen
>> wait    jsr    [$a000]
>>          beq    wait
>>          rts
>>          END    BEGIN
>>
>> --
>> Coco mailing list
>> Coco at maltedmedia.com
>> http://five.pairlist.net/mailman/listinfo/coco
>>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
>




More information about the Coco mailing list