0177764: system id
This commit is contained in:
parent
7e916a652e
commit
2bf8b92217
2 changed files with 6 additions and 0 deletions
5
bus.cpp
5
bus.cpp
|
@ -107,6 +107,11 @@ uint16_t bus::read(const uint16_t a, const bool word_mode, const bool use_prev,
|
|||
return PIR;
|
||||
}
|
||||
|
||||
if (a == ADDR_SYSTEM_ID) {
|
||||
DOLOG(debug, !peek_only, "read system id");
|
||||
return 011064;
|
||||
}
|
||||
|
||||
if (a == ADDR_LFC) { // line frequency clock and status register
|
||||
DOLOG(debug, !peek_only, "read line freq clock");
|
||||
return lf_csr;
|
||||
|
|
1
bus.h
1
bus.h
|
@ -50,6 +50,7 @@
|
|||
#define ADDR_SYSSIZE 0177760
|
||||
#define ADDR_MICROPROG_BREAK_REG 0177770
|
||||
#define ADDR_CCR 0177746
|
||||
#define ADDR_SYSTEM_ID 0177764
|
||||
|
||||
class cpu;
|
||||
class memory;
|
||||
|
|
Loading…
Add table
Reference in a new issue