From faf97dcdc9e211f051bc1699ac25fdc76188454a Mon Sep 17 00:00:00 2001 From: Ivan Izaguirre Date: Sun, 25 Jul 2021 23:26:03 +0200 Subject: [PATCH] Show the star command used in MOS OSCLI --- traceApplecorn.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/traceApplecorn.go b/traceApplecorn.go index 4ffe800..19e27fe 100644 --- a/traceApplecorn.go +++ b/traceApplecorn.go @@ -156,7 +156,9 @@ func (t *traceApplecorn) inspect() { case 0xfff4: s = fmt.Sprintf("OSBYTE('%s';A=%02x,X=%02x,Y=%02x)", t.osbyteNames[regA], regA, regX, regY) case 0xfff7: - s = "OSCLI(?)" + xy := uint16(regX) + uint16(regY)<<8 + command := t.getTerminatedString(xy, 0x0d) + s = fmt.Sprintf("OSCLI(\"%s\")", command) } if s == "UNKNOWN" && t.skipConsole {