Ignore not implemented set time.

This commit is contained in:
Ivan Izaguirre 2019-09-28 18:58:28 +02:00
parent 00e4476e86
commit b930cf5fd6
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package apple2
import (
"fmt"
"time"
)
@ -56,7 +55,8 @@ func (m *microPD1990ac) in(clock bool, strobe bool, command uint8, dataIn bool)
case mpd1990commandTimeRead:
m.loadTime()
default:
panic(fmt.Sprintf("PD1990ac command %v not implemented.", m.command))
// Ignore unknown commands (like set time)
//panic(fmt.Sprintf("PD1990ac command %v not implemented.", m.command))
}
}