1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-20 03:16:45 +00:00

Enable 8080 and LR35902 for users

This commit is contained in:
Karol Stasiak
2018-07-27 19:12:54 +02:00
parent 3c019b06c1
commit 67f3034afb
2 changed files with 11 additions and 7 deletions
+4
View File
@@ -25,6 +25,10 @@ Every platform is defined in an `.ini` file with an appropriate name.
* `65816` (WDC 65816/65802; experimental; currently only programs that use only 16-bit addressing are supported)
* `z80` (Zilog Z80; experimental and slightly incomplete)
* `i8080` (Intel 8080; experimental, buggy and very incomplete)
* `gameboy` (Sharp LR35902; experimental, buggy and very incomplete)
* `encoding` default encoding for console I/O, one of
`ascii`, `pet`/`petscii`, `petscr`/`cbmscr`, `atascii`, `bbc`, `jis`/`jisx`, `apple2`,
@@ -210,13 +210,13 @@ object Cpu extends Enumeration {
case "z80" => Z80
// disabled for now:
// case "ez80" => EZ80
// case "gameboy" => Sharp
// case "gb" => Sharp
// case "sharp" => Sharp
// case "lr35902" => Sharp
// case "8080" => Intel8080
// case "i8080" => Intel8080
// case "intel8080" => Intel8080
case "gameboy" => Sharp
case "gb" => Sharp
case "sharp" => Sharp
case "lr35902" => Sharp
case "8080" => Intel8080
case "i8080" => Intel8080
case "intel8080" => Intel8080
case _ => ErrorReporting.fatal("Unknown CPU achitecture: " + name)
}
}