This commit is contained in:
folkert van heusden 2023-03-18 12:35:14 +01:00
parent b88efb312f
commit 7245340c20
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1

View file

@ -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;