Because no$sns 1.6 is infected, I've been looking for alternative means to debug my SPC700 code. In this post, Oziphantom recommended the debugger in ZSNES.
So I installed ZSNES from Ubuntu's repository.
It gave me a screen looking like this:
I pressed F1 to Run, in order to see what it'd do, and instead I got a screen like this:
Xubuntu 16.04 LTS includes Xfce 4 Terminal 0.6.3, but the "Disable help window shortcut key (F1 by default)" preference wasn't added until version 0.8.0.
I pressed F9 to Signal, to see what that does, and got "Unknown key code: 273".
The only keys that appear to work are Enter to run one 65816 instruction (and one SPC700 instruction if it is due), T to run a given number of 65816 instructions (and the corresponding number of SPC700 instructions), B to set a breakpoint (but I don't know how I'd advance to it given that Run doesn't work), and M to modify 65816 memory.
What am I doing wrong? Should I install a different terminal emulator?
So I installed ZSNES from Ubuntu's repository.
Code:
$ xfce4-terminal --version
xfce4-terminal 0.6.3 (Xfce 4.12)
Copyright (c) 2003-2012
The Xfce development team. All rights reserved.
Written by Benedikt Meurer <benny@xfce.org>
and Nick Schermer <nick@xfce.org>.
Please report bugs to <http://bugzilla.xfce.org/>.
$ sudo apt install zsnes
[much omitted]
$ zsnes -d /path/to/my/rom.sfc
xfce4-terminal 0.6.3 (Xfce 4.12)
Copyright (c) 2003-2012
The Xfce development team. All rights reserved.
Written by Benedikt Meurer <benny@xfce.org>
and Nick Schermer <nick@xfce.org>.
Please report bugs to <http://bugzilla.xfce.org/>.
$ sudo apt install zsnes
[much omitted]
$ zsnes -d /path/to/my/rom.sfc
It gave me a screen looking like this:
Code:
- ZSNES debugger -
0─── 65816 ───── CC:142 Y: 0 ─────────────────── 0 ────────────────┐
│008009 SEI A:0000 X:0000 Y:0000 S:01ff DB:00 D:0000 P:34 E│
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
(T)race for (B)reakpoint (Enter) Next (M)odify (F9) Signal (F1) Run
0─── 65816 ───── CC:142 Y: 0 ─────────────────── 0 ────────────────┐
│008009 SEI A:0000 X:0000 Y:0000 S:01ff DB:00 D:0000 P:34 E│
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
(T)race for (B)reakpoint (Enter) Next (M)odify (F9) Signal (F1) Run
I pressed F1 to Run, in order to see what it'd do, and instead I got a screen like this:
Do you want to read the
Xfce Terminal manual
online?
You will be redirected to the documentation
website where the help pages are maintained and
translated.
☐ Always go directly to the online documentation
Xubuntu 16.04 LTS includes Xfce 4 Terminal 0.6.3, but the "Disable help window shortcut key (F1 by default)" preference wasn't added until version 0.8.0.
I pressed F9 to Signal, to see what that does, and got "Unknown key code: 273".
The only keys that appear to work are Enter to run one 65816 instruction (and one SPC700 instruction if it is due), T to run a given number of 65816 instructions (and the corresponding number of SPC700 instructions), B to set a breakpoint (but I don't know how I'd advance to it given that Run doesn't work), and M to modify 65816 memory.
What am I doing wrong? Should I install a different terminal emulator?