Documentation
¶
Index ¶
- Constants
- type Vicky
- func (v *Vicky) Clear()
- func (v *Vicky) Dump(address uint32) []byte
- func (v *Vicky) GetCommon() *emu.GPU_common
- func (v *Vicky) Name(fn byte) string
- func (v *Vicky) Read(fn byte, addr uint32) (byte, error)
- func (v *Vicky) ReadReg(addr uint32) (byte, error)
- func (v *Vicky) RenderBitmapText()
- func (v *Vicky) Size(fn byte) (uint32, uint32)
- func (v *Vicky) UpdateBitmapFB(addr uint32, val byte)
- func (v *Vicky) Write(fn byte, addr uint32, val byte) error
- func (v *Vicky) WriteReg(addr uint32, val byte) error
Constants ¶
View Source
const ( F_MAIN F_TEXT F_TEXT_C F_VRAM F_CRAM )
View Source
const BORDER_COLOR_B = 0x000b // guessing
View Source
const BORDER_COLOR_G = 0x000a // guessing
View Source
const BORDER_COLOR_R = 0x0009 // guessing
= 0x0008 // ?? alpha?
View Source
const BORDER_CONTROL = 0x0007
View Source
const BORDER_X_SIZE = 0x0006
View Source
const BORDER_Y_SIZE = 0x0005
View Source
const BackGroundControlReg_A = 0x000c // uint32_t 0x00C4000C
View Source
const BorderControlReg_H_A = 0x0008 // uint32_t 0x00C40008
View Source
const BorderControlReg_L_A = 0x0004 // uint32_t 0x00C40004
View Source
const CURSOR_CHARACTER = 0x0011 // ca - cursor character 0-255
View Source
const CURSOR_COLOR = 0x0010 // co - color 0-255
View Source
const CURSOR_ENABLE = 0x0013 // en - enable & 0x01
View Source
const CURSOR_RATE = 0x0012 // ra - rate & 0x02 (0 = 1 per sec, 1 = 2 per sec, 2 = 4 per sec, 3 = 5 per sec)
View Source
const CURSOR_X_H = 0x0016
View Source
const CURSOR_X_L = 0x0017
View Source
const CURSOR_Y_H = 0x0014
View Source
const CURSOR_Y_L = 0x0015
View Source
const CursorControlReg_H_A = 0x0014 // uint32_t 0x00C40014 - cursor position
View Source
const CursorControlReg_L_A = 0x0010 // uint32_t 0x00C40010 - cursor settings : co_ca_ra_en
View Source
const FONT_MEMORY_BANK0 = 0x8000
View Source
const LineInterrupt0_A = 0x0018 // uint16_t 0x00C40018
View Source
const LineInterrupt1_A = 0x001a // uint16_t 0x00C4001A
View Source
const LineInterrupt2_A = 0x001c // uint16_t 0x00C4001C
View Source
const LineInterrupt3_A = 0x001e // uint16_t 0x00C4001E
View Source
const MasterControlReg_A = 0x0000 // uint32_t 0x00C40000
View Source
const MasterControlReg_A_b1 = 0x0000
View Source
const MasterControlReg_A_b2 = 0x0001
View Source
const MasterControlReg_A_b3 = 0x0002
View Source
const MasterControlReg_A_b4 = 0x0003
View Source
const MousePointer_Mem_A = 0x0400 // uint16_t 0x00C40400
View Source
const MousePtr_A_CTRL_Reg = 0x0c00 // uint16_t 0x00C40C00
View Source
const MousePtr_A_Mouse0 = 0x0c0a // uint16_t 0x00C40C0A
View Source
const MousePtr_A_Mouse1 = 0x0c0c // uint16_t 0x00C40C0C
View Source
const MousePtr_A_Mouse2 = 0x0c0e // uint16_t 0x00C40C0E
View Source
const MousePtr_A_X_Pos = 0x0c02 // uint16_t 0x00C40C02
View Source
const MousePtr_A_Y_Pos = 0x0c04 // uint16_t 0x00C40C04
View Source
const VKY3_BRDR_EN = 0x00_00_00_01 /* Border Enable */
View Source
const VKY3_MCR_BLANK_EN = 0x00_04_00_00 >> 16 /* Turn OFF sync (to monitor in sleep mode) */
View Source
const VKY3_MCR_DOUBLE_EN = 0x00_00_04_00 >> 8 /* Doubling Pixel */
View Source
const VKY3_MCR_GAMMA_EN = 0x00_01_00_00 >> 16 /* GAMMA Enable */
View Source
const VKY3_MCR_GRAPH_EN = 0x00_00_00_04 /* Graphic Mode Enable */
View Source
const VKY3_MCR_MANUAL_GAMMA_EN = 0x00_02_00_00 >> 16 /* Enable Manual GAMMA Enable */
View Source
const VKY3_MCR_RESOLUTION_MASK = 0x00_00_03_00 >> 8 /* Resolution - 00: 640x480, 01:800x600, 10: 1024x768, 11: 640x400 */
View Source
const VKY3_MCR_TEXT_EN = 0x00_00_00_01 /* Text Mode Enable */
View Source
const VKY3_MCR_TEXT_OVRLY = 0x00_00_00_02 /* Text Mode overlay */
View Source
const VKY3_X_SCROLL_MASK = 0x00_00_00_70 /* X Scroll */
View Source
const VKY3_X_SIZE_MASK = 0x00_00_3f_00 >> 8 /* X Size */
View Source
const VKY3_Y_SIZE_MASK = 0x00_3f_00_00 >> 16 /* Y Size */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vicky ¶
type Vicky struct {
// contains filtered or unexported fields
}
func (*Vicky) GetCommon ¶
func (v *Vicky) GetCommon() *emu.GPU_common
func (*Vicky) RenderBitmapText ¶
func (v *Vicky) RenderBitmapText()
func (*Vicky) UpdateBitmapFB ¶
addr is relative here, ie. $B0:1000 means $1000
Click to show internal directories.
Click to hide internal directories.