Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device represents the frame buffer. It implements the draw.Image interface.
func (*Device) Close ¶
func (d *Device) Close()
Close unmaps the framebuffer memory and closes the device file. Call this function when you are done using the frame buffer.
func (*Device) ColorModel ¶
ColorModel implements the image.Image (and draw.Image) interface.
type RendererLinux ¶
type RendererLinux struct {
// contains filtered or unexported fields
}
RendererLinux is a PIZero specific renderer
func (*RendererLinux) Render ¶
func (r *RendererLinux) Render(src draw.Image)
Render renders the current display buffer
type System ¶
type System struct {
// contains filtered or unexported fields
}
System Apple IIe Generic video system
func (*System) RenderFrame ¶
func (s *System) RenderFrame(gpuMem []uint8, gpuAuxMem []uint8, gpuStart uint16, textMode bool, hiRes bool, col80 bool, mixed bool, dblhires bool)
RenderFrame render the current display screen based on the current graphics mode
func (*System) SetMonochromeColor ¶
SetMonochromeColor sets the color for monochrome mode, default is lightgreen
func (*System) ToggleColorMode ¶
func (s *System) ToggleColorMode()
ToggleColorMode Set color or monochrome rendering mode
Click to show internal directories.
Click to hide internal directories.