Difference between revisions of "VICKY"

From C256 Foenix Wiki
Jump to navigation Jump to search
Line 12: Line 12:
 
Modes are enabled and disabled via the Vicky Master Control Register at $AF0000 via the control bits:
 
Modes are enabled and disabled via the Vicky Master Control Register at $AF0000 via the control bits:
  
*Mstr_Ctrl_Text_Mode_En = $01       ::Enable the Text Mode
+
{|
*Mstr_Ctrl_Text_Overlay = $02       ::Enable the Overlay of the text mode on top of Graphic Mode (the Background Color is ignored)
+
|Mstr_Ctrl_Text_Mode_En
*Mstr_Ctrl_Graph_Mode_En = $04       ::Enable the Graphic Mode
+
|= $01
*Mstr_Ctrl_Bitmap_En     = $08       ::Enable the Bitmap Module In Vicky
+
|Enable the Text Mode
*Mstr_Ctrl_TileMap_En   = $10       ::Enable the Tile Module in Vicky
+
|-
*Mstr_Ctrl_Sprite_En     = $20       ::Enable the Sprite Module in Vicky
+
|Mstr_Ctrl_Text_Overlay
*Mstr_Ctrl_GAMMA_En     = $40       ::Enable the GAMMA correction - The Analog and DVI have different color values, the GAMMA is great to correct the difference
+
|= $02
*Mstr_Ctrl_Disable_Vid   = $80       ::This will disable the Scanning of the Video hence giving 100% bandwith to the CPU
+
|Enable the Overlay of the text mode on top of Graphic Mode (the Background Color is ignored)
 +
|-
 +
|Mstr_Ctrl_Graph_Mode_En
 +
|= $04
 +
|Enable the Graphic Mode
 +
|-
 +
|Mstr_Ctrl_Bitmap_En
 +
|= $08
 +
|Enable the Bitmap Module In Vicky
 +
|-
 +
|Mstr_Ctrl_TileMap_En
 +
|= $10
 +
|Enable the Tile Module in Vicky
 +
|-
 +
|Mstr_Ctrl_Sprite_En
 +
|= $20
 +
|Enable the Sprite Module in Vicky
 +
|-
 +
|Mstr_Ctrl_GAMMA_En
 +
|= $40
 +
|Enable the GAMMA correction - The Analog and DVI have different color values, the GAMMA is great to correct the difference
 +
|-
 +
|Mstr_Ctrl_Disable_Vid
 +
|= $80
 +
|This will disable the Scanning of the Video hence giving 100% bandwith to the CPU
 +
|}

Revision as of 00:09, 11 April 2019

VICKY - the graphics engine

"Vicky" is the name of the graphics engine of the C256 Foenix. It supports:

  • 640x480@60FPS Max Resolution @ 256 Colors (1 Byte Per pixel)
  • 32 Sprites with a resolution of 32x32 pixel
  • 4 layers of tiles with a resolution of 16x16 for each tile
  • Text Mode


Modes

Modes are enabled and disabled via the Vicky Master Control Register at $AF0000 via the control bits:

Mstr_Ctrl_Text_Mode_En = $01 Enable the Text Mode
Mstr_Ctrl_Text_Overlay = $02 Enable the Overlay of the text mode on top of Graphic Mode (the Background Color is ignored)
Mstr_Ctrl_Graph_Mode_En = $04 Enable the Graphic Mode
Mstr_Ctrl_Bitmap_En = $08 Enable the Bitmap Module In Vicky
Mstr_Ctrl_TileMap_En = $10 Enable the Tile Module in Vicky
Mstr_Ctrl_Sprite_En = $20 Enable the Sprite Module in Vicky
Mstr_Ctrl_GAMMA_En = $40 Enable the GAMMA correction - The Analog and DVI have different color values, the GAMMA is great to correct the difference
Mstr_Ctrl_Disable_Vid = $80 This will disable the Scanning of the Video hence giving 100% bandwith to the CPU