VIRTUTECH CONFIDENTIAL Previous - Up - Next
voodoo3-agp
- Provided by
-
voodoo3-agp
- Class Hierarchy
-
conf-object → log-object → voodoo3-agp
- Interfaces Implemented
-
log_object, event_poster, io_memory, pci_device
- Description
-
The voodoo3-agp device implements the graphics device Voodoo3 (Avenger) from 3Dfx Interactive, Inc. It's very similar to the voodoo3 device, except that it connects to the AGP bus instead of the PCI bus. The device supports accelerated 2D and 3D graphics in multiple resolutions and color depths. The VGA core for this device is inherited from the VGA-PCI device.
Attributes
- Attributes inherited from class conf-object
-
attributes, classname, component, iface, name, object_id, queue
- Attributes inherited from class log-object
-
access_count, log_buffer, log_buffer_last, log_buffer_size, log_group_mask, log_groups, log_level, log_type_mask
- Attribute List
-
- additional_pci_config_regs
- Optional attribute; read/write access; type: unknown type.
Soon to be deprecated.
- attrib_next_index
- Optional attribute; read/write access; type: unknown type.
Decides whether the next next access to an attribute controller register (through port 0x3C0) will contain an address or data.
- attrib_next_reg
- Optional attribute; read/write access; type: unknown type.
The address of the attribute controller register designated for the next access.
- attrib_regs
- Optional attribute; read/write access; type: unknown type.
(Register-0 ... Register-20) is a list of attribute registers.
- attrib_video_enable
- Optional attribute; read/write access; type: unknown type.
Decides whether video is enabled or not.
- clut
- Optional attribute; read/write access; type: unknown type.
(i0, i1, ..., i511). The Color Lookup Table.
- config_register_info
- Pseudo attribute; read-only access; type: [[isii]*].
Register info for all registered configuration registers. The format for each entry is (offset, name, size, write-mask).
- config_registers
- Optional attribute; read/write access; type: [i{64}]; integer indexed; indexed type: Integer.
The 64 PCI configuration registers, each 32 bits in size.
- console
- Optional attribute; read/write access; type: unknown type.
Console object that must implement either gfx-console or both the serial-device and extended-serial interfaces.
- crtc_next
- Optional attribute; read/write access; type: unknown type.
Integer register representing the next CRTC address.
- crtc_regs
- Optional attribute; read/write access; type: unknown type.
(Register-0 ... Register-24) is a list of CRTC registers.
- depth_buffer
- Optional attribute; read/write access; type: unknown type.
Current Mesa depth buffer.
- dump_charset
- Pseudo attribute; read/write access; type: unknown type.
Write-only pseudo attribute. A write operation will print the current character map to the console if the vga device is in alpha-numeric mode.
- expansion_rom
- Optional attribute; read/write access; type: [oii].
ROM object, map size, and map function number for the Expansion ROM.
- fbdump
- Pseudo attribute; read/write access; type: [i{5}].
Frame buffer dump command. See command help for more info
- fifobp
- Pseudo attribute; write-only access; type: Integer.
Set to 0 to disable fifo breakpoints, or to nonzero to enable them.
- frame_buffer
- Optional attribute; read/write access; type: unknown type.
This is the Voodoo3's on-board 16 MB RAM.
- gfx_latch
- Optional attribute; read/write access; type: unknown type.
(Latch-0 ... Latch-4) List of four graphics data controller latches.
- gfx_next
- Optional attribute; read/write access; type: unknown type.
Represents the address of the graphics controller register designated for the next read/write access.
- gfx_regs
- Optional attribute; read/write access; type: unknown type.
(Register-0 ... Register-8) is a list of the nine graphics controller registers found in an VGA adapter.
- h_cnt
- Optional attribute; read/write access; type: unknown type.
Horizontal counter (used for generating retrace signals).
- image
- Required attribute; read/write access; type: Object.
Image object containing the VRAM.
- info
- Pseudo attribute; write-only access; type: a.
Prints some info about the voodoo3 device when written to.
- internal_status
- Optional attribute; read/write access; type: unknown type.
Voodoo3 internal status variables.
- interrupt_pin
- Optional attribute; read/write access; type: [iiii].
State of the interrupt pin.
- io_base_regs
- Optional attribute; read/write access; type: unknown type.
(i0, i1, ..., i63). The IO/Init registers.
- mappings
- Optional attribute; read/write access; type: [[i{5:8}]|[iiiiiiiio|nii]*].
List of all current PCI IO and memory mappings.
- mem_base_2d_regs
- Optional attribute; read/write access; type: unknown type.
(i0, i1, ..., i127). The 2D Registers.
- mem_base_3d_regs
- Optional attribute; read/write access; type: unknown type.
(i0, i1, ..., i255). The 3D Registers.
- mem_base_cmd_regs
- Optional attribute; read/write access; type: unknown type.
(i0, i1, ..., i63). The AGP/CMD Transfer/Misc Registers.
- memory_space
- Required attribute; read/write access; type: unknown type.
Memory space to which the device is mapped. Needed for dynamic remapping.
- misc_reg
- Optional attribute; read/write access; type: unknown type.
Miscellaneous output register.
- pci_bus
- Optional attribute; read/write access; type: Object or Nil.
The PCI bus this device is connected to, implementing the pci-bus interface.
- pel_addr
- Optional attribute; read/write access; type: unknown type.
PEL address register.
- pel_mask
- Optional attribute; read/write access; type: unknown type.
PEL mask register.
- pel_next_color
- Optional attribute; read/write access; type: unknown type.
Next color in access to PEL data register (read, green, or blue).
- pel_pal
- Optional attribute; read/write access; type: unknown type.
((red, green, blue) ... (red, green, blue)) List of 256 colors, each a tuple of red, green, and blue.
- ramdac_rw_state
- Optional attribute; read/write access; type: unknown type.
RAMDAC read/write state.
- redraw
- Pseudo attribute; write-only access; type: a.
Forces a complete update when set.
- refresh_rate
- Optional attribute; read/write access; type: unknown type.
Refresh rate (in Hertz).
- render
- Pseudo attribute; write-only access; type: Integer.
Set to 0 to disable 3d rendering, or to nonzero to enable it.
- seq_next
- Optional attribute; read/write access; type: unknown type.
Represents the address of the sequence register designated for the next read/write access.
- seq_regs
- Optional attribute; read/write access; type: unknown type.
(Register-0 ... Register-4) is a list of sequence registers found in the VGA adapter.
- status
- Pseudo attribute; read/write access; type: a.
Prints current status of the voodoo3 device when written to.
- status_read
- Optional attribute; read/write access; type: Integer.
Number of times the PCI status register has been read.
- text_page
- Pseudo attribute; read-only access; type: [s*].
A list representation (one line per element) of the text mode contents.
- tmu0_status
- Optional attribute; read/write access; type: unknown type.
Voodoo3 TMU 0 status variables.
- tmu1_status
- Optional attribute; read/write access; type: unknown type.
Voodoo3 TMU 1 status variables.
- v_cnt
- Optional attribute; read/write access; type: unknown type.
Vertical counter (used for generating retrace signals).
- vertex_status
- Optional attribute; read/write access; type: unknown type.
Buffered vertex data + misc 3d status.
- vga_crtc_ext_regs
- Optional attribute; read/write access; type: [i{10}].
VGA CRTC regs
- vga_memory
- Pseudo attribute; write-only access; type: unknown type.
Contains the VGA memory (256 KB of data).
- view_size_x
- Pseudo attribute; read-only access; type: Integer.
With of the internal cache.
- view_size_y
- Pseudo attribute; read-only access; type: Integer.
Height of the internal cache.
- write_masks
- Optional attribute; read/write access; type: [[ii]*].
Write masks for all registered configuration registers. The format for each entry is (offset, mask).
Command List
- Commands defined by interface log_object
-
log, log-group, log-level, log-size, log-type
- Commands
-
Command Descriptions
-
<voodoo3-agp>.fbdump
- Synopsis
-
<voodoo3-agp>.fbdump fboffs width height [bpp] [stride]
- Description
-
Display part of the voodoo3-agp framebuffer in the console window. fboffs is the starting offset into the
16 MB voodoo3 framebuffer. width and height are the pixel dimensions of the area to be shown.
bpp (bits per pixel) specifies the format of the pixel data and can be one of 8, 16, 24 or 32 (defaults to
current desktop color depth). stride is
the byte offset between adjacent lines (defaults to width * bpp / 8).
-
<voodoo3-agp>.info
- Synopsis
-
<voodoo3-agp>.info [verbose]
- Description
-
Show information about the current voodoo3 state, for example the current resolution,
color depth, desktop image offset etc. Currently the verbose flag has no function.
-
<voodoo3-agp>.ioreg
- Synopsis
-
<voodoo3-agp>.ioreg register
- Description
-
Print value in an IO register.
-
<voodoo3-agp>.redraw
- Synopsis
-
<voodoo3-agp>.redraw
- Description
-
This command sends the current frame buffer contents of the simulated
video device to the graphics console. If a simulated cursor is active,
it is updated as well.
-
<voodoo3-agp>.refresh-rate
- Synopsis
-
<voodoo3-agp>.refresh-rate [rate]
- Description
-
Set the rate at which the voodoo3-agp device updates the display.
The default is 1000 Hz (simulated). NOTE: The rate is currently
the same for all voodoo3-agp devices.
-
<voodoo3-agp>.reg2d
- Synopsis
-
<voodoo3-agp>.reg2d register
- Description
-
Print value in a 2D command register.
-
<voodoo3-agp>.reg3d
- Synopsis
-
<voodoo3-agp>.reg3d register
- Description
-
Print value in a 3D register.
-
<voodoo3-agp>.text-dump
- Synopsis
-
<voodoo3-agp>.text-dump
- Description
-
Print the contents of the display in text mode.
VIRTUTECH CONFIDENTIAL Previous - Up - Next