Fix for dice 3d6+n problem. Changed Mythos to LegendOS

This commit is contained in:
Martin Haye 2016-07-19 08:35:42 -05:00
parent 7e7c92dc8d
commit 747a17d6cb
2 changed files with 2 additions and 2 deletions

View File

@ -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))
}

View File

@ -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