debug
This commit is contained in:
parent
b88efb312f
commit
7245340c20
1 changed files with 0 additions and 1 deletions
1
cpu.cpp
1
cpu.cpp
|
@ -424,7 +424,6 @@ uint16_t cpu::getGAMAddress(const uint8_t mode, const int reg, const bool word_m
|
||||||
|
|
||||||
switch(mode) {
|
switch(mode) {
|
||||||
case 0:
|
case 0:
|
||||||
printf("REG: %d\r\n", reg);
|
|
||||||
// registers are also mapped in memory
|
// registers are also mapped in memory
|
||||||
if (reg < 6)
|
if (reg < 6)
|
||||||
return (run_mode == 3 ? ADDR_USER_R : ADDR_KERNEL_R) + reg;
|
return (run_mode == 3 ? ADDR_USER_R : ADDR_KERNEL_R) + reg;
|
||||||
|
|
Loading…
Add table
Reference in a new issue