Documentation
¶
Overview ¶
TODO: Put in separate package?
TODO: Put in separate package? - rawterm - then change struct to RawTerm? and include writer so that can be used for in and out? TODO: Use via an interface as this isn't relevant for many uses
TODO: Put in separate package?
Index ¶
- type PDP8
- func (p *PDP8) AddDevice(d device) error
- func (p *PDP8) Cleanup()
- func (p *PDP8) Load(filename string) error
- func (p *PDP8) LoadRIMTape(tty *TTY, filename string) error
- func (p *PDP8) Run(cycles int) (bool, int, error)
- func (p *PDP8) SetPC(pc uint)
- func (p *PDP8) SetSR(sr uint)
- func (p *PDP8) Step() (bool, error)
- type RawTerm
- type TTY
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PDP8 ¶
type PDP8 struct {
// contains filtered or unexported fields
}
func (*PDP8) LoadRIMTape ¶
Load paper tape in RIM format
type RawTerm ¶
type RawTerm struct {
// contains filtered or unexported fields
}
func NewRawTerm ¶
type TTY ¶
type TTY struct {
// contains filtered or unexported fields
}
func (*TTY) PunchAttachTape ¶
Attach a punched tape to the punch
func (*TTY) PunchStart ¶
func (t *TTY) PunchStart()
Tell the paper tape punch to start punching the tape
func (*TTY) PunchStop ¶
func (t *TTY) PunchStop()
Tell the paper tape pucnh to stop punching the tape
func (*TTY) ReaderAttachTape ¶
Attach a punched tape to the reader
func (*TTY) ReaderIsEOF ¶
Returns whether the paper tape reader is finishing reading a tape
func (*TTY) ReaderStart ¶
func (t *TTY) ReaderStart()
Tell the paper tape reader to start reading the tape
func (*TTY) ReaderStop ¶
func (t *TTY) ReaderStop()
Tell the paper tape reader to stop reading the tape