User Tools

Site Tools


making_full_use_of_memory_ports

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
making_full_use_of_memory_ports [2020/10/13 19:54] – [Copying data in local RAM] laubzegamaking_full_use_of_memory_ports [2020/10/13 19:56] – [Copying data in local RAM] laubzega
Line 140: Line 140:
                  
         LDA #0           ; As previously, "0" means "256".         LDA #0           ; As previously, "0" means "256".
-        STA VREG_REP1    ; Write to REP1 kick-offs hardware copy.+        STA VREG_REP1    ; Write to REP1 kicks off hardware copy.
 </code> </code>
  
Line 161: Line 161:
 Final two comments: Final two comments:
   - Because of how DMA channels are allocated within a cycle, accelerated copying is only possible  from PORT0 to PORT1, not the other way around   - Because of how DMA channels are allocated within a cycle, accelerated copying is only possible  from PORT0 to PORT1, not the other way around
-  - ''STEP0'' and ''STEP1'' can naturally differ, enabling you to reorganize your data as you copy it: change order, insert gaps, etc.+  - ''STEP0'' and ''STEP1'' can naturally be different from each other, enabling you to reorganize your data as you copy it: change order, insert gaps, etc.
  
 For comprehensive example demonstrating use of all these features, please see [[https://github.com/madhackerslab/beamracer-examples/blob/master/asm/demo_hirestext.s|demo_hirestext.s]]. For comprehensive example demonstrating use of all these features, please see [[https://github.com/madhackerslab/beamracer-examples/blob/master/asm/demo_hirestext.s|demo_hirestext.s]].
making_full_use_of_memory_ports.txt · Last modified: 2020/10/18 21:56 by laubzega