base:dysp_cycle_table
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
base:dysp_cycle_table [2016-04-26 15:23] – compyx | base:dysp_cycle_table [2016-04-26 15:47] (current) – compyx | ||
---|---|---|---|
Line 104: | Line 104: | ||
06 01 02 04 07 | 06 01 02 04 07 | ||
</ | </ | ||
+ | |||
+ | === loop timing table === | ||
Using this result, we can use the ' | Using this result, we can use the ' | ||
Line 118: | Line 120: | ||
</ | </ | ||
+ | ==== Done ==== | ||
+ | |||
+ | And there you have it, we now have a D.Y.S.P. with flexible Y-positions. Naturally all this calculating eats cycles, which is why my code uses a lot of unrolled loops. | ||
+ | |||
+ | ===== The Code ===== | ||
+ | Finally, the code. It also contains a little user interface, allowing the user to change the DYSP's movements with a joystick in port 2. | ||
- | ==== The Code ==== | ||
<code 6502tasm> | <code 6502tasm> | ||
; vim: set et ts=8 sw=8 sts=8 syntax=64tass : | ; vim: set et ts=8 sw=8 sts=8 syntax=64tass : |
base/dysp_cycle_table.txt · Last modified: 2016-04-26 15:47 by compyx