Permalink
Browse files

Fix minor nits

  • Loading branch information...
1 parent d27b6d8 commit 217761922b28c341b248b0f5f3f25ab4d30b5b1a @bsdphk committed Nov 5, 2011
Showing with 7 additions and 6 deletions.
  1. +1 −1 cpus/z8000.py
  2. +1 −1 mem.py
  3. +5 −1 render.py
  4. +0 −3 tasks/cbm900/task.py
View
@@ -23,7 +23,7 @@
1: "LT", 9: "GE",
2: "LE", 10: "GT",
3: "ULE", 11: "UGT",
- 4: "PE", 12: "PO",
+ 4: "OV", 12: "NOV",
5: "MI", 13: "PL",
6: "Z", 14: "NZ",
7: "C", 15: "NC"
View
@@ -387,7 +387,7 @@ def col1(self, p, start, end, lvl):
s += " %02x" % x
t += ascii(x)
- s += " " + t + "|\t"
+ s += " " + t + "| "
s += p.indent
l.append(s)
start += self.bcols
View
@@ -138,7 +138,7 @@ def __render(self, t, lvl, fo):
l = ()
if t.start in self.p.label:
lx = self.p.label[t.start]
- if len(lx) + 1 < self.lw:
+ if len(lx) + 2 < self.lw:
l = (lx + ":",)
else:
ff = "".ljust(self.col1w)
@@ -180,6 +180,10 @@ def render(self, fname="-", start = None, end = None):
for i in range (0,100):
a = int(random.random() * (end - start) + start)
try:
+ a = self.m.next_adr(a)
+ except:
+ pass
+ try:
self.m.rd(a)
xx = self.m.col1(self, a, a + 1, 0)[0]
except:
@@ -2,9 +2,6 @@
#
# This is a demo-task which disassembles the CBM9000 boot EPROM
#
-# XXX: BKP_Set: label is bogusly rendered
-# XXX: cond_codes wrong, see 0:08b0
-#
#######################################################################
# Check the python version

0 comments on commit 2177619

Please sign in to comment.