User Tools

Site Tools


base:demo_programming

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
base:demo_programming [2017-09-26 00:30] – [3D DOT SCROLL] ftcbase:demo_programming [2018-11-10 23:45] – [Horizontal Rastersplits] bepp
Line 22: Line 22:
 {{{{:base:rect11618.png?400| waiting for a rasterline}} {{{{:base:rect11618.png?400| waiting for a rasterline}}
  
-Dependent of which rasterline your currently in, you can simply compare $d012 with the desired rasterline or you must first wait for bit 7 of $d011 to attain the right value and then wait again for the desired line. Even more, retrace has to be taken into account, too.+Dependent of which rasterline you're currently in, you can simply compare $d012 with the desired rasterline or you must first wait for bit 7 of $d011 to attain the right value and then wait again for the desired line. Even more, retrace has to be taken into account, too.
  
-In total you have to consider 6 different cases. +In total you have to consider 6 different cases:
-you have to consider 6 different cases:+
  
-//beeing in rasterline 0-255 and//+//being in rasterline 0-255 and//
   * waiting for a rasterline < $d012 -> wait for bit 7 of $d011 to switch to 1 and back to 0 and then wait for lowbyte   * waiting for a rasterline < $d012 -> wait for bit 7 of $d011 to switch to 1 and back to 0 and then wait for lowbyte
   * waiting for rasterline > $d012 but < 256 -> simply wait on lowbyte to match   * waiting for rasterline > $d012 but < 256 -> simply wait on lowbyte to match
   * waiting for a rasterline > $d012 but > 255 -> wait for set bit 7 of $d011 and then wait for lowbyte to match   * waiting for a rasterline > $d012 but > 255 -> wait for set bit 7 of $d011 and then wait for lowbyte to match
-  *  + 
-//beeing in rasterline 256+ and//+//being in rasterline 256+ and//
   * waiting for a rasterline < $d012 and < 256 -> wait for unset bit 7 of $d011 and then wait for lowb   * waiting for a rasterline < $d012 and < 256 -> wait for unset bit 7 of $d011 and then wait for lowb
   * waiting for rasterline < $d012 but > 256 -> wait for unset bit 7 of $d011, then set bit7 of $d011 and then on lowbyte   * waiting for rasterline < $d012 but > 256 -> wait for unset bit 7 of $d011, then set bit7 of $d011 and then on lowbyte
base/demo_programming.txt · Last modified: 2022-03-15 19:00 by erhan