From 747a17d6cb7c95143564eaad2129d6cb148cc4d2 Mon Sep 17 00:00:00 2001 From: Martin Haye Date: Tue, 19 Jul 2016 08:35:42 -0500 Subject: [PATCH] Fix for dice 3d6+n problem. Changed Mythos to LegendOS --- .../PackPartitions/src/org/badvision/A2PackPartitions.groovy | 2 +- Platform/Apple/virtual/src/core/mem.s | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Platform/Apple/tools/PackPartitions/src/org/badvision/A2PackPartitions.groovy b/Platform/Apple/tools/PackPartitions/src/org/badvision/A2PackPartitions.groovy index 7f6c1cc0..1c0e9326 100644 --- a/Platform/Apple/tools/PackPartitions/src/org/badvision/A2PackPartitions.groovy +++ b/Platform/Apple/tools/PackPartitions/src/org/badvision/A2PackPartitions.groovy @@ -1826,7 +1826,7 @@ class A2PackPartitions throw new Exception("Cannot parse dice string '$str'") def nDice = m[0][1].toInteger() def dieSize = m[0][2].toInteger() - def add = m[0][4] ? m[0][3].toInteger() : 0 + def add = m[0][3] ? m[0][3].toInteger() : 0 return String.format("\$%X", ((nDice << 12) | (dieSize << 8) | add)) } diff --git a/Platform/Apple/virtual/src/core/mem.s b/Platform/Apple/virtual/src/core/mem.s index 9aa444a9..59c723f5 100644 --- a/Platform/Apple/virtual/src/core/mem.s +++ b/Platform/Apple/virtual/src/core/mem.s @@ -86,7 +86,7 @@ relocate: iny bne - jmp + -.welcomeText: !text "Welcome to Mythos.",$8D,0 +.welcomeText: !text "Welcome to LegendOS.",$8D,0 + ; special: clear most of the lower 48k ldx #8