diff options
Diffstat (limited to 'src/devices/cpu/m6809/konami.h')
-rw-r--r-- | src/devices/cpu/m6809/konami.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/cpu/m6809/konami.h b/src/devices/cpu/m6809/konami.h index 957a4c4d3e5..ca42bbfb666 100644 --- a/src/devices/cpu/m6809/konami.h +++ b/src/devices/cpu/m6809/konami.h @@ -33,7 +33,7 @@ class konami_cpu_device : public m6809_base_device { public: // construction/destruction - konami_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + konami_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // configuration template<class _Object> static devcb_base &set_line_callback(device_t &device, _Object object) { return downcast<konami_cpu_device &>(device).m_set_lines.set_callback(object); } @@ -46,7 +46,7 @@ protected: virtual void execute_run() override; // device_disasm_interface overrides - virtual offs_t disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) override; + virtual offs_t disasm_disassemble(char *buffer, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options) override; private: typedef m6809_base_device super; @@ -55,23 +55,23 @@ private: devcb_write8 m_set_lines; // konami-specific addressing modes - UINT16 &ireg(); - UINT8 read_operand(); - UINT8 read_operand(int ordinal); - void write_operand(UINT8 data); - void write_operand(int ordinal, UINT8 data); - exgtfr_register read_exgtfr_register(UINT8 reg); - void write_exgtfr_register(UINT8 reg, exgtfr_register value); + uint16_t &ireg(); + uint8_t read_operand(); + uint8_t read_operand(int ordinal); + void write_operand(uint8_t data); + void write_operand(int ordinal, uint8_t data); + exgtfr_register read_exgtfr_register(uint8_t reg); + void write_exgtfr_register(uint8_t reg, exgtfr_register value); // instructions void lmul(); void divx(); // miscellaneous - template<class T> T safe_shift_right(T value, UINT32 shift); - template<class T> T safe_shift_right_unsigned(T value, UINT32 shift); - template<class T> T safe_shift_left(T value, UINT32 shift); - void set_lines(UINT8 data); + template<class T> T safe_shift_right(T value, uint32_t shift); + template<class T> T safe_shift_right_unsigned(T value, uint32_t shift); + template<class T> T safe_shift_left(T value, uint32_t shift); + void set_lines(uint8_t data); void execute_one(); }; |