mirror of
https://github.com/romychs/Ocean-240.2-Emulator.git
synced 2026-04-21 11:03:21 +03:00
30 lines
439 B
Go
30 lines
439 B
Go
package main
|
|
|
|
import (
|
|
"z80em/config"
|
|
"z80em/logger"
|
|
"z80em/okean240"
|
|
)
|
|
|
|
var Version = "v1.0.0"
|
|
var BuildTime = "2026-03-01"
|
|
|
|
func main() {
|
|
|
|
// base log init
|
|
logger.InitLogging()
|
|
|
|
// load config yml file
|
|
config.LoadConfig()
|
|
|
|
conf := config.GetConfig()
|
|
|
|
// Reconfigure logging by config values
|
|
logger.ReconfigureLogging(conf)
|
|
|
|
println("Init computer")
|
|
computer := okean240.New(config)
|
|
println("Run computer")
|
|
computer.Run()
|
|
}
|