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
|
||||
#pragma once
|
||||
|
||||
|
@ -12,6 +12,7 @@
|
|||
|
||||
#include "bus.h"
|
||||
|
||||
|
||||
typedef struct {
|
||||
bool word_mode;
|
||||
bool prev_mode;
|
||||
|
|
|
@ -352,7 +352,7 @@ void debugger(console *const cnsl, bus *const b, std::atomic_uint32_t *const sto
|
|||
#endif
|
||||
continue;
|
||||
}
|
||||
#if defined(ESP32) || define(RP2040)
|
||||
#if defined(ESP32) || defined(RP2040)
|
||||
else if (cmd == "cfgdisk") {
|
||||
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 == "?") {
|
||||
cnsl->put_string_lf("disassemble/d - show current instruction (pc=/n=)");
|
||||
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");
|
||||
#endif
|
||||
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("startnet - start network");
|
||||
#endif
|
||||
#if defined(ESP32) || define(RP2040)
|
||||
#if defined(ESP32) || defined(RP2040)
|
||||
cnsl->put_string_lf("cfgdisk - configure disk");
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue