helpful logging
This commit is contained in:
parent
9a1924b0af
commit
381879030f
2 changed files with 12 additions and 4 deletions
2
bus.cpp
2
bus.cpp
|
@ -716,7 +716,7 @@ void bus::write(const uint16_t a, const bool word_mode, uint16_t value, const bo
|
||||||
|
|
||||||
///////////
|
///////////
|
||||||
|
|
||||||
DOLOG(debug, true, "UNHANDLED write %o(%c): %o", a, word_mode ? 'B' : ' ', value);
|
DOLOG(debug, true, "UNHANDLED write %o(%c): %o", a, word_mode ? 'B' : 'W', value);
|
||||||
|
|
||||||
// c -> busError();
|
// c -> busError();
|
||||||
|
|
||||||
|
|
14
main.cpp
14
main.cpp
|
@ -188,11 +188,19 @@ int main(int argc, char *argv[])
|
||||||
cnsl = new console_posix(&event, b);
|
cnsl = new console_posix(&event, b);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rk05_files.empty() == false)
|
if (rk05_files.empty() == false) {
|
||||||
b->add_rk05(new rk05(rk05_files, b, cnsl->get_disk_read_activity_flag(), cnsl->get_disk_write_activity_flag()));
|
if (bootloader != BL_RK05)
|
||||||
|
DOLOG(warning, true, "Note: loading RK05 with no RK05 bootloader selected");
|
||||||
|
|
||||||
|
b->add_rk05(new rk05(rk05_files, b, cnsl->get_disk_read_activity_flag(), cnsl->get_disk_write_activity_flag()));
|
||||||
|
}
|
||||||
|
|
||||||
|
if (rl02_files.empty() == false) {
|
||||||
|
if (bootloader != BL_RL02)
|
||||||
|
DOLOG(warning, true, "Note: loading RL02 with no RL02 bootloader selected");
|
||||||
|
|
||||||
if (rl02_files.empty() == false)
|
|
||||||
b->add_rl02(new rl02(rl02_files, b, cnsl->get_disk_read_activity_flag(), cnsl->get_disk_write_activity_flag()));
|
b->add_rl02(new rl02(rl02_files, b, cnsl->get_disk_read_activity_flag(), cnsl->get_disk_write_activity_flag()));
|
||||||
|
}
|
||||||
|
|
||||||
if (bootloader != BL_NONE)
|
if (bootloader != BL_NONE)
|
||||||
setBootLoader(b, bootloader);
|
setBootLoader(b, bootloader);
|
||||||
|
|
Loading…
Add table
Reference in a new issue