Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
saga_video_vsstop [2016/05/23 21:35]
saga_video_vsstop [2019/10/22 13:37] (current)
3.209.80.87 ↷ Links adapted because of a move operation
Line 1: Line 1:
 +====== SAGA_VIDEO_VSSTOP Register ======
 +
 +{{:​video.jpg?​64|}}
 +
 +Change the current SAGA Video [[saga:​video#​chunky_modeline_description|ModeLine]] **VSSTOP** attribute.
 +
 +----
 +
 +===== Name =====
 +
 +  * ''​SAGA_VIDEO_VSSTOP''​
 +
 +===== Address =====
 +
 +  * ''​0xDFF30C''​
 +
 +===== Access =====
 +
 +  * ''​Write-Only''​
 +
 +===== Size =====
 +
 +  * ''​16-bits''​
 +
 +----
 +
 +===== Description =====
 +
 +See [[saga:​video#​chunky_modeline_description|ModeLine]] for more information.
 +
 +^ Property ^ Short ^ Description ^
 +| ''​VPIXEL ​     '' ​     | Height ​         | Number of vertical pixels drawn to the visible part of the screen. |
 +| ''​VSSTRT''​-''​VPIXEL''​ | Front Porch     | Amount of black pixels drawn on the bottom of the screen. |
 +| ''​VSSTOP''​-''​VSSTRT''​ | Vertical Sync   | Amount of time it takes to move back up to the first line of the screen |
 +| ''​VTOTAL''​-''​VSSTOP''​ | Back Porch      | Amount of black pixels drawn to the top of the screen. |
 +
 +----
 +===== Example =====
 +
 +The following ASM snippet shows how to fully set a valid [[saga:​video#​chunky_modeline_description|ModeLine]].
 +
 +  MAIN:
 +    lea    MyModeLine,​a0 ​  ; Load MyModeLine in A0
 +    move.w (a0)+,​$dff300 ​  ; SAGA_VIDEO_HPIXEL
 +    move.w (a0)+,​$dff302 ​  ; SAGA_VIDEO_HSSTRT
 +    move.w (a0)+,​$dff304 ​  ; SAGA_VIDEO_HSSTOP
 +    move.w (a0)+,​$dff306 ​  ; SAGA_VIDEO_HTOTAL
 +    move.w (a0)+,​$dff308 ​  ; SAGA_VIDEO_VPIXEL
 +    move.w (a0)+,​$dff30A ​  ; SAGA_VIDEO_VSSTRT
 +    move.w (a0)+,​$dff30C ​  ; SAGA_VIDEO_VSSTOP
 +    move.w (a0)+,​$dff30E ​  ; SAGA_VIDEO_VTOTAL
 +    move.w (a0)+,​$dff310 ​  ; SAGA_VIDEO_HVSYNC
 +    rts
 +  ​
 +  MyModeLine:
 +    dc.w 800,​832,​912,​1024,​600,​604,​608,​625,​1 ; "​800x600@60"​ 38.400000
 +
 +----
 +
 +[[start|Home]] | 
 +[[links|Links]] | 
 +[[saga:​start|SAGA]] | 
 +[[saga:​video|SAGA Video]] | 
 +[[saga:​registers|SAGA Registers]]
  
Last modified: le 1970/01/01 01:00