Six
Newbie
Posts: 10
|
Post by Six on Dec 11, 2004 9:06:33 GMT -5
This example sets up a mega-bitmap 5 screens wide (using the linear modulo), and scrolls it by tweaking linear start. For added fun, DMA color bars are displayed behind it. BTW, all of this takes about 2 lines of rastertime Linear modulo multiplies by 32, so the only useful value is 5, which makes your bitmap 5 screens wide. (5*32=160, 4*40=160) Enjoy, and I hope someone finds this useful: thedarkside.ath.cx/dtv/lscroll.zipSix
|
|
Six
Newbie
Posts: 10
|
Post by Six on Dec 11, 2004 12:30:35 GMT -5
Actually, let me amend that. All values are useful, the common ground between screen and modulo (the number with 32 and 40 as denominators) is 160, or modulo 5.
|
|