summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/jvsdev.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/jvsdev.h')
-rw-r--r--src/devices/machine/jvsdev.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/devices/machine/jvsdev.h b/src/devices/machine/jvsdev.h
index 22a95e2b1a7..1cff880d8ea 100644
--- a/src/devices/machine/jvsdev.h
+++ b/src/devices/machine/jvsdev.h
@@ -13,17 +13,17 @@ class jvs_host;
class jvs_device : public device_t
{
public:
- jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ jvs_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
static void static_set_jvs_host_tag(device_t &device, const char *jvs_host_tag);
void chain(jvs_device *dev);
- void message(UINT8 dest, const UINT8 *send_buffer, UINT32 send_size, UINT8 *recv_buffer, UINT32 &recv_size);
+ void message(uint8_t dest, const uint8_t *send_buffer, uint32_t send_size, uint8_t *recv_buffer, uint32_t &recv_size);
bool get_address_set_line();
protected:
- UINT32 jvs_outputs;
+ uint32_t jvs_outputs;
- void handle_output(ioport_port *port, UINT8 id, UINT8 val);
+ void handle_output(ioport_port *port, uint8_t id, uint8_t val);
// device-level overrides
virtual void device_start() override;
@@ -31,24 +31,24 @@ protected:
// JVS device overrides
virtual const char *device_id();
- virtual UINT8 command_format_version();
- virtual UINT8 jvs_standard_version();
- virtual UINT8 comm_method_version();
- virtual void function_list(UINT8 *&buf);
- virtual bool switches(UINT8 *&buf, UINT8 count_players, UINT8 bytes_per_switch);
- virtual bool coin_counters(UINT8 *&buf, UINT8 count);
- virtual bool coin_add(UINT8 slot, INT32 count);
- virtual bool analogs(UINT8 *&buf, UINT8 count);
- virtual bool swoutputs(UINT8 count, const UINT8 *vals);
- virtual bool swoutputs(UINT8 id, UINT8 val);
+ virtual uint8_t command_format_version();
+ virtual uint8_t jvs_standard_version();
+ virtual uint8_t comm_method_version();
+ virtual void function_list(uint8_t *&buf);
+ virtual bool switches(uint8_t *&buf, uint8_t count_players, uint8_t bytes_per_switch);
+ virtual bool coin_counters(uint8_t *&buf, uint8_t count);
+ virtual bool coin_add(uint8_t slot, int32_t count);
+ virtual bool analogs(uint8_t *&buf, uint8_t count);
+ virtual bool swoutputs(uint8_t count, const uint8_t *vals);
+ virtual bool swoutputs(uint8_t id, uint8_t val);
private:
const char *jvs_host_tag;
jvs_device *next_device;
- UINT8 jvs_address;
- UINT32 jvs_reset_counter;
+ uint8_t jvs_address;
+ uint32_t jvs_reset_counter;
- int handle_message(const UINT8 *send_buffer, UINT32 send_size, UINT8 *&recv_buffer);
+ int handle_message(const uint8_t *send_buffer, uint32_t send_size, uint8_t *&recv_buffer);
};
#endif