[Coco] 6309 microprocessor project 01-16-2004

Roger Taylor rtaylor at bayou.com
Fri Jan 16 23:42:34 EST 2004


At 05:26 PM 1/16/2004 -0600, you wrote:

>For RAM access:
>
>64k CPU address= is naturally $0000-$FFFF
>task#= bit 0 of 65425, write only
>block# = int((64k CPU address) / 8192)
>offset= (64k CPU address) modulas 8192
>address= [(65448+task#*8)+block#*8192+offset


something happened to my example... the right bracket got deleted somehow

It should be:

>address= [(65448+task#*8)+block#]*8192+offset

the brackets mean "the 8-bit value at"

So [65456] would mean the value at address 65456.


----------
Roger Taylor






More information about the Coco mailing list