#include "gayle-ide/ide.h"
#include "amiga-registers.h"
-//#define DEBUG(...)
-#define DEBUG printf
+#define DEBUG(...)
+//#define DEBUG printf
uint8_t gary_cfg[8];
return;
}
- printf("Write Byte to Gayle Space 0x%06x (0x%06x)\n", address, value);
+ DEBUG("Write Byte to Gayle Space 0x%06x (0x%06x)\n", address, value);
}
void writeGayle(unsigned int address, unsigned int value) {
return;
}
- printf("Write Word to Gayle Space 0x%06x (0x%06x)\n", address, value);
+ DEBUG("Write Word to Gayle Space 0x%06x (0x%06x)\n", address, value);
}
void writeGayleL(unsigned int address, unsigned int value) {
return;
}
- printf("Write Long to Gayle Space 0x%06x (0x%06x)\n", address, value);
+ DEBUG("Write Long to Gayle Space 0x%06x (0x%06x)\n", address, value);
}
uint8_t readGayleB(unsigned int address) {
return get_rtc_byte(address, rtc_type);
}
- printf("Read Byte From Gayle Space 0x%06x\n", address);
+ DEBUG("Read Byte From Gayle Space 0x%06x\n", address);
return 0xFF;
}
return ((get_rtc_byte(address, rtc_type) << 8) | (get_rtc_byte(address + 1, rtc_type)));
}
- printf("Read Word From Gayle Space 0x%06x\n", address);
+ DEBUG("Read Word From Gayle Space 0x%06x\n", address);
return 0x8000;
}
return ((get_rtc_byte(address, rtc_type) << 24) | (get_rtc_byte(address + 1, rtc_type) << 16) | (get_rtc_byte(address + 2, rtc_type) << 8) | (get_rtc_byte(address + 3, rtc_type)));
}
- printf("Read Long From Gayle Space 0x%06x\n", address);
+ DEBUG("Read Long From Gayle Space 0x%06x\n", address);
return 0x8000;
}