From b5c51e48be3f281f1c97752959844eb4136e0a68 Mon Sep 17 00:00:00 2001 From: Karol Stasiak Date: Thu, 13 Aug 2020 16:53:38 +0200 Subject: [PATCH] Rename zx80next to z80next, document the typo (fixes #55) --- docs/api/custom-platform.md | 3 ++- src/main/scala/millfork/CompilationOptions.scala | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api/custom-platform.md b/docs/api/custom-platform.md index 88af21c1..649f7a6e 100644 --- a/docs/api/custom-platform.md +++ b/docs/api/custom-platform.md @@ -38,7 +38,8 @@ if a line ends with a backslash character, the value continues to the next line. * `strictz80` (Z80 without illegal instructions) - * `z80next` (Z80 core from ZX Spectrum Next) + * `z80next` (Z80 core from ZX Spectrum Next) + Note: Millfork version 0.3.18 and earlier uses the name `zx80next` for this architecture. * `i8080` (Intel 8080) diff --git a/src/main/scala/millfork/CompilationOptions.scala b/src/main/scala/millfork/CompilationOptions.scala index e8e997a1..e766a6ea 100644 --- a/src/main/scala/millfork/CompilationOptions.scala +++ b/src/main/scala/millfork/CompilationOptions.scala @@ -499,6 +499,7 @@ object Cpu extends Enumeration { case "z80" => Z80 case "strictz80" => Z80 case "zx80next" => Z80Next + case "z80next" => Z80Next // disabled for now: // case "ez80" => EZ80 case "gameboy" => Sharp