User Tools

Site Tools


base:agsp_any_given_screen_position

Differences

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

Link to this comparison view

Next revision
Previous revision
base:agsp_any_given_screen_position [2015-04-17 04:30] – created - external edit 127.0.0.1base:agsp_any_given_screen_position [2023-07-19 00:34] (current) groepaz
Line 1: Line 1:
-====== Any Given Screen Positioning (AGSP) HSP/VSP with a line crunch ======+====== Any Given Screen Positioning (AGSP) VSP with a line crunch ======
  
-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:
  
 <code> <code>
-; This demonstrates AGSP (any given screen position). This uses HSP (Horizontal Screen Positioning) (DMA delay)+; This demonstrates AGSP (any given screen position). This uses VSP (Variable Screen Positioning) (DMA delay)
 ; 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 #%01111011 ; Plus ECM/Bitmap to disable the screen output  lda #%01111011 ; Plus ECM/Bitmap to disable the screen output
 ; lda #%00011011 ; Enable this line to see what is going on at the top of the screen ; lda #%00011011 ; Enable this line to see what is going on at the top of the screen
base/agsp_any_given_screen_position.1429237821.txt.gz · Last modified: 2015-04-17 04:30 by 127.0.0.1