base:agsp_any_given_screen_position
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
base:agsp_any_given_screen_position [2015-04-17 04:30] – created - external edit 127.0.0.1 | base:agsp_any_given_screen_position [2023-07-19 00:34] (current) – groepaz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Any Given Screen Positioning (AGSP) | + | ====== Any Given Screen Positioning (AGSP) VSP with a line crunch ====== |
- | A HSP (VSP/Wanker/DMA delay) is used for the horizontal position and a line crunch is used for the vertical position. | + | A VSP (Wanker/DMA delay) is used for the horizontal position and a line crunch is used for the vertical position. |
This code is for PAL machines. To make it work for NTSC you have to do some minor timing modifications for each scan-line. | This code is for PAL machines. To make it work for NTSC you have to do some minor timing modifications for each scan-line. | ||
Line 8: | Line 8: | ||
< | < | ||
- | ; This demonstrates AGSP (any given screen position). This uses HSP (Horizontal | + | ; This demonstrates AGSP (any given screen position). This uses VSP (Variable |
; with a stable raster plus a line crunch to scroll the screen vertically to any position. | ; with a stable raster plus a line crunch to scroll the screen vertically to any position. | ||
Line 351: | Line 351: | ||
dec VIC2BorderColour | dec VIC2BorderColour | ||
- | ; Do the HSP by tweaking the VIC2ScreenControlV register at the correct time | + | ; Do the VSP by tweaking the VIC2ScreenControlV register at the correct time |
lda # | lda # | ||
; lda # | ; lda # |
base/agsp_any_given_screen_position.1429237821.txt.gz · Last modified: 2015-04-17 04:30 by 127.0.0.1