floppy-drive freerun-extension
Simics Reference Manual  /  5 Classes  / 

framebuffer

Description

This class provides a graphical representation of a memory region.

Interfaces Implemented

conf_object, log_object, io_memory

Notifiers

cell-change
Notifier that is triggered after the object's cell was changed.
object-delete
Notifier that is triggered just before Simics object is deleted.
queue-change
Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.

Attributes

width
Optional attribute; read/write access; type: i
Width in pixels
height
Optional attribute; read/write access; type: i
Height in pixels
depth
Optional attribute; read/write access; type: i
Bit depth (only 8 and 32 supported currently)
scan_bytes
Optional attribute; read/write access; type: i
Bytes per scan line
console
Required attribute; read/write access; type: o
Connected console. Must implement the gfx_con or gfx_console interface.
palette
Pseudo attribute; read/write access; type: s|n
The name of a built-in palette to use, or NIL for 32-bit depth. Valid palette names are "linux-old" and "linux-new" (default).
palette_colors
Optional attribute; read/write access; type: n|[i{256}]
Colors of the current palette on the form 0xrrggbb, or NIL if no palette is set.
memory_space
Optional attribute; read/write access; type: o|n
The memory space from which to fetch data; only for 32-bit depth
refresh_rate
Optional attribute; read/write access; type: i
Set refresh rate (only for 32-bit depth) in milliseconds. Use zero to disable periodic refresh.
refresh
Pseudo attribute; write-only access; type: Unknown
Refresh the screen!

Provided By

framebuffer
floppy-drive freerun-extension