-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Back in the day most scrollers on 8-bit machines used the x-offset register. In order to render a given scanline the x-offset register was consulted and the rasterline was shifted a little in the horizontal direction. Using raster interrupts it was possible to change the value of the x-offset register at multiple positions along the screen.
I propose to add a post processing phase to mode-lambda. Instead of a register I propose to introduce a vector whose i'th element determines the x-offset of rasterline i.
To "hide" whatever has been scrolled out of view, the resulting image must be cropped (hence the famous border on the c64).
One approach to implement this:
https://en.wikibooks.org/wiki/OpenGL_Programming/Post-Processing
Metadata
Metadata
Assignees
Labels
No labels