Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
saga:registers:saga_video_mode [2016/05/23 15:19]
flype
saga:registers:saga_video_mode [2020/08/02 12:37] (current)
Line 1: Line 1:
-====== SAGA_VIDEO_MODE Register ======+====== SAGA_VIDEO_MODE register ======
  
-{{:video.jpg?64|}}+{{:video.jpg?nolink&64|}}
  
-Change the current SAGA Video Mode, +===== Overview =====
  
-including ''PixelFormat'' and ''DoubleScan'' flags.+Change the current SAGA Video Mode, including ''PixelFormat'' and ''DoubleScan'' flags.
  
 ---- ----
Line 29: Line 29:
 ===== Description ===== ===== Description =====
  
-A valid SAGA Video Mode value is an addition of :+A valid SAGA Video Mode value is an addition of:
  
-  * **Low Byte** : ''SAGA_VIDEO_FORMAT'' +  * **Low byte**: ''SAGA_VIDEO_FORMAT'' 
-  * **High Byte** : ''SAGA_VIDEO_DBLSCAN''+  * **High byte**: ''SAGA_VIDEO_DBLSCAN''
  
----- +==== Low byte: SAGA_VIDEO_FORMAT ====
-===== Low Byte : SAGA_VIDEO_FORMAT =====+
  
 This enumeration is used to describe the ''PixelFormat'' of the Video. This enumeration is used to describe the ''PixelFormat'' of the Video.
Line 48: Line 47:
 | SAGA_VIDEO_FORMAT_YUV422  |  0x06  |  2  | ''  Y4|U2|V2''      | SAGA_VIDEO_FORMAT_YUV422  |  0x06  |  2  | ''  Y4|U2|V2''     
  
----- +==== High byte: SAGA_VIDEO_DBLSCAN ====
- +
-===== High Byte : SAGA_VIDEO_DBLSCAN =====+
  
 This enumeration is used to describe the ''DoubleScan'' flag of the Video. This enumeration is used to describe the ''DoubleScan'' flag of the Video.
Line 64: Line 61:
 ===== Examples ===== ===== Examples =====
  
-  Example in C:+Example in C:
      
   #define SAGA_VIDEO_MODE 0x00DFF1F4   #define SAGA_VIDEO_MODE 0x00DFF1F4
Line 96: Line 93:
     SAGA_VIDEO_MODE_DBLSCN(SAGA_VIDEO_DBLSCAN_XY);     SAGA_VIDEO_MODE_DBLSCN(SAGA_VIDEO_DBLSCAN_XY);
  
-  Example in ASM:+Example in ASM:
      
   SAGA_VIDEO_MODE EQU $DFF1F4   SAGA_VIDEO_MODE EQU $DFF1F4
Line 125: Line 122:
 ---- ----
  
-[[start|Home]] |  +<php>tpl_youarehere();</php> 
-[[links|Links]] |  +
-[[saga_core|SAGA]] |  +
-[[saga_core_video|SAGA VIDEO]] | +
Last modified: le 2020/08/02 12:37