commit | dbbd540c423f68503077af391df2ac721e38e31c | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Fri Aug 07 15:07:39 2020 -0700 |
committer | swissChili <swisschili@fastmail.com> | Fri Aug 07 15:07:39 2020 -0700 |
tree | c5ff6bc2f5d862ba75f53106571404525091beaa | |
parent | da4803e3a8782aef3a768be73271e5739a981d80 [diff] [blame] |
Added basic GUI, debugger and register view
diff --git a/cpu.h b/cpu.h index 888972c..afaae30 100644 --- a/cpu.h +++ b/cpu.h
@@ -138,6 +138,7 @@ void step(cpu_t *cpu); void free_cpu(cpu_t *cpu); void die(const char *message); +void reset(cpu_t *cpu); // IMPORTANT: all disassembly functions mess with the PC void disas(cpu_t *cpu); void disas_num(cpu_t *cpu, uint16_t num);