Differences

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

Link to this comparison view

Next revision
Previous revision
software:pattern_writing [2016/06/05 12:55]
ex_writer created
software:pattern_writing [2016/06/05 16:53] (current)
ex_writer [X/Y Displacement]
Line 27: Line 27:
  
 ^ Register ^ Argument ^ Note ^ ^ Register ^ Argument ^ Note ^
-| A | [[Magic Register]] | |+| A | [[hardware:​magic system|Magic Register]] | |
 | B | Y Pattern Size | # Vertical Bytes (i.e., 8 vertical pixels = 8 bytes) | | B | Y Pattern Size | # Vertical Bytes (i.e., 8 vertical pixels = 8 bytes) |
 | C | X Pattern Size | # Horizontal Bytes (i.e., 8 horizontal pixels = 1 byte) | | C | X Pattern Size | # Horizontal Bytes (i.e., 8 horizontal pixels = 1 byte) |
Line 39: Line 39:
 The higher the level of the write routine, the more ancillary information is stored with the pattern. The following diagram shows what each level expects. Any bytes of a lower address than the pointer for a given level need not be specified. The higher the level of the write routine, the more ancillary information is stored with the pattern. The following diagram shows what each level expects. Any bytes of a lower address than the pointer for a given level need not be specified.
  
-**Use Restrictions:​** None of the write routines are [[glossary#​r|reentrant]] due to [[hardware:​magic system|Magic Register]]/​Expander clobber.+**Use Restrictions:​** None of the write routines are [[:glossary#​r|reentrant]] due to [[hardware:​magic system#magic register|Magic Register]] / [[hardware:​magic system#​expander|Expander]] clobber.
  
 {{:​pattern_representation.png}} {{:​pattern_representation.png}}
Line 45: Line 45:
 ==== X/Y Displacement ==== ==== X/Y Displacement ====
  
-This value allows you to set the 'control point' ​for the pattern. The default point is at the upper lefthand corner of the pattern. Positive x displacements move the control point right, and positive y displacements move the control point down. Moving the control point allows the user to dictate how calculations relate to the pattern. For instance, displacing the control point to the center of a ball pattern can make limit checks consistent from any direction.+This value allows you to set the "control point" ​for the pattern. The default point is at the upper lefthand corner of the pattern. Positive x displacements move the control point right, and positive y displacements move the control point down. Moving the control point allows the user to dictate how calculations relate to the pattern. For instance, displacing the control point to the center of a ball pattern can make limit checks consistent from any direction.
 ==== X/Y Size ==== ==== X/Y Size ====