Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
code_snippets [2016/06/01 15:15]
ex_writer
code_snippets [2016/06/05 16:11] (current)
ex_writer [Arcade Examples]
Line 5: Line 5:
 This section uses code snippets from existing Bally Arcade games and demos to demonstrate important and/or commonly-used functions. Snippets are typically followed by a short discussion of how and why the listing works as it does. This section uses code snippets from existing Bally Arcade games and demos to demonstrate important and/or commonly-used functions. Snippets are typically followed by a short discussion of how and why the listing works as it does.
  
-  * The [[bunker|Space Invaders bunker]] snippet demonstrates how to write a pattern to the screen with [[screen handler#​writp|WRITP]]. +  * The [[bunker|Space Invaders bunker]] snippet demonstrates how to write a pattern to the screen with [[system routines:screen handler#​writp|WRITP]]. 
-  * The [[base|Space Invaders base]] snippet demonstrates how to write a pattern to the screen with [[screen handler#​writ|WRIT]]. +  * The [[base|Space Invaders base]] snippet demonstrates how to write a pattern to the screen with [[system routines:screen handler#​writ|WRIT]]. 
-  * The [[invader music|Space Invaders sound effect]] snippet demonstrates how to play sound using [[interrupt scheduler#​bmusic|BMUSIC]]. +  * The [[invader music|Space Invaders sound effect]] snippet demonstrates how to play sound using [[system routines:interrupt scheduler#​bmusic|BMUSIC]]. 
-  * The [[star expander|Star Battle expanded pattern]] snippet demonstrates ​[...]+  * The [[star expander|Star Battle expanded pattern]] snippet demonstrates ​how to use the Magic System'​s Expander option to write patterns.
  
 ===== Z80 Examples ===== ===== Z80 Examples =====
Line 15: Line 15:
  
   * [[Packed BCD subtraction]] demonstrates subtracting BCD numbers of varying length.   * [[Packed BCD subtraction]] demonstrates subtracting BCD numbers of varying length.
 +  * [[Packed BCD addition]] demonstrates adding BCD numbers of varying length.