Documentation
¶
Index ¶
- Variables
- type CPU
- type Context
- type Maria
- func (mar *Maria) Access(write bool, idx uint16, data uint8) (uint8, error)
- func (mar *Maria) GetCoords() string
- func (mar *Maria) GetOverscan() (int, int)
- func (mar *Maria) Label() string
- func (mar *Maria) PushRender()
- func (mar *Maria) Read(idx uint16) (uint8, error)
- func (mar *Maria) Reset(random bool)
- func (mar *Maria) SetOverscan(top int, bottom int)
- func (mar *Maria) Status() string
- func (mar *Maria) String() string
- func (mar *Maria) Tick(dmaLatch bool) (dma bool, rdy bool, nmi bool)
- func (mar *Maria) Write(idx uint16, data uint8) error
- type Memory
Constants ¶
This section is empty.
Variables ¶
View Source
var ContextError = errors.New("maria")
the wrapping error for any errors passed to Context.Break()
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface {
Break(error)
Spec() spec.Spec
UseOverlay() bool
Overscan() string
// contains filtered or unexported methods
}
Context allows Maria to signal a break
type Maria ¶
type Maria struct {
// the current coordinates of the TV image
Coords coords
// the current television specificaion (NTSC, PAL, etc.)
Spec spec.Spec
// current DLL
DLL dll
DL dl
// the most recent DLLs. reset on start of DMA of a new frame. used for
// debugging feedback
RecentDLL []dll
RecentDL []dl
// contains filtered or unexported fields
}
func (*Maria) GetOverscan ¶ added in v0.7.3
func (*Maria) PushRender ¶
func (mar *Maria) PushRender()
func (*Maria) SetOverscan ¶ added in v0.7.3
Click to show internal directories.
Click to hide internal directories.