Apple2-IO-RPi/RaspberryPi/apple2driver/a2io/communication.go

17 lines
301 B
Go
Raw Normal View History

2021-05-30 11:18:39 +00:00
package a2io
2021-10-30 11:03:18 +00:00
type A2Io interface {
Init()
WriteByte(data byte) error
WriteString(outString string) error
WriteBlock(buffer []byte) error
WriteBuffer(buffer []byte) error
ReadByte() (byte, error)
ReadString() (string, error)
ReadBlock(buffer []byte) error
}
type A2Comm struct {
A2Io A2Io
2021-05-30 11:18:39 +00:00
}