compile fixes
This commit is contained in:
parent
22cacbe020
commit
d159b3571b
2 changed files with 5 additions and 4 deletions
3
cpu.h
3
cpu.h
|
@ -1,4 +1,4 @@
|
||||||
// (C) 2018-2022 by Folkert van Heusden
|
// (C) 2018-2023 by Folkert van Heusden
|
||||||
// Released under Apache License v2.0
|
// Released under Apache License v2.0
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
||||||
|
|
||||||
#include "bus.h"
|
#include "bus.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
bool word_mode;
|
bool word_mode;
|
||||||
bool prev_mode;
|
bool prev_mode;
|
||||||
|
|
|
@ -352,7 +352,7 @@ void debugger(console *const cnsl, bus *const b, std::atomic_uint32_t *const sto
|
||||||
#endif
|
#endif
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
#if defined(ESP32) || define(RP2040)
|
#if defined(ESP32) || defined(RP2040)
|
||||||
else if (cmd == "cfgdisk") {
|
else if (cmd == "cfgdisk") {
|
||||||
configure_disk(cnsl);
|
configure_disk(cnsl);
|
||||||
|
|
||||||
|
@ -380,7 +380,7 @@ void debugger(console *const cnsl, bus *const b, std::atomic_uint32_t *const sto
|
||||||
else if (cmd == "help" || cmd == "h" || cmd == "?") {
|
else if (cmd == "help" || cmd == "h" || cmd == "?") {
|
||||||
cnsl->put_string_lf("disassemble/d - show current instruction (pc=/n=)");
|
cnsl->put_string_lf("disassemble/d - show current instruction (pc=/n=)");
|
||||||
cnsl->put_string_lf("go - run until trap or ^e");
|
cnsl->put_string_lf("go - run until trap or ^e");
|
||||||
#if !defined(ESP32) && !define(RP2040)
|
#if !defined(ESP32) && !defined(RP2040)
|
||||||
cnsl->put_string_lf("quit/q - stop emulator");
|
cnsl->put_string_lf("quit/q - stop emulator");
|
||||||
#endif
|
#endif
|
||||||
cnsl->put_string_lf("examine/e - show memory address (<b|w> <octal address> [<n>])");
|
cnsl->put_string_lf("examine/e - show memory address (<b|w> <octal address> [<n>])");
|
||||||
|
@ -397,7 +397,7 @@ void debugger(console *const cnsl, bus *const b, std::atomic_uint32_t *const sto
|
||||||
cnsl->put_string_lf("cfgnet - configure network (e.g. WiFi)");
|
cnsl->put_string_lf("cfgnet - configure network (e.g. WiFi)");
|
||||||
cnsl->put_string_lf("startnet - start network");
|
cnsl->put_string_lf("startnet - start network");
|
||||||
#endif
|
#endif
|
||||||
#if defined(ESP32) || define(RP2040)
|
#if defined(ESP32) || defined(RP2040)
|
||||||
cnsl->put_string_lf("cfgdisk - configure disk");
|
cnsl->put_string_lf("cfgdisk - configure disk");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue