mirror of
https://github.com/romychs/Ocean-240.2-Emulator.git
synced 2026-04-21 11:03:21 +03:00
20 lines
213 B
Go
20 lines
213 B
Go
package okean240
|
|
|
|
type Sio8251 struct {
|
|
counter uint64
|
|
}
|
|
|
|
type Sio8251Interface interface {
|
|
Tick()
|
|
}
|
|
|
|
func NewSio8251() *Sio8251 {
|
|
return &Sio8251{
|
|
counter: 0,
|
|
}
|
|
}
|
|
|
|
func (s *Sio8251) Tick() {
|
|
s.counter++
|
|
}
|