Previous 15994 Revisions Next

r13784 Friday 30th December, 2011 at 15:19:54 UTC by Miodrag Milanović
Changes for Tim (no whatsnew)
[src/mame/drivers]ghosteo.c

src/mame/drivers/ghosteo.c
r13783r13784
114114static const UINT8 security_data[] = { 0x01, 0xC4, 0xFF, 0x22 };
115115
116116
117static UINT32 s3c2410_gpio_port_r( device_t *device, int port)
117static UINT32 s3c2410_gpio_port_r( device_t *device, int port, UINT32 mask)
118118{
119119   ghosteo_state *state = device->machine().driver_data<ghosteo_state>();
120120   UINT32 data = state->m_bballoon_port[port];
r13783r13784
135135   return data;
136136}
137137
138static void s3c2410_gpio_port_w( device_t *device, int port, UINT32 data)
138static void s3c2410_gpio_port_w( device_t *device, int port, UINT32 data, UINT32 mask)
139139{
140140   ghosteo_state *state = device->machine().driver_data<ghosteo_state>();
141141   UINT32 old_value = state->m_bballoon_port[port];
r13783r13784
391391
392392static const s3c2410_interface bballoon_s3c2410_intf =
393393{
394   // CORE (pin read / pin write)
395   { NULL, NULL },
394396   // GPIO (port read / port write)
395397   { s3c2410_gpio_port_r, s3c2410_gpio_port_w },
396398   // I2C (scl write / sda read / sda write)
r13783r13784
400402   // I2S (data write)
401403   { NULL },
402404   // NAND (command write, address write, data read, data write)
403   { s3c2410_nand_command_w, s3c2410_nand_address_w, s3c2410_nand_data_r, s3c2410_nand_data_w }
405   { s3c2410_nand_command_w, s3c2410_nand_address_w, s3c2410_nand_data_r, s3c2410_nand_data_w },
406   // LCD (flags)
407   { 0 }   
404408};
405409
406410static const i2cmem_interface i2cmem_interface =

Previous 15994 Revisions Next


© 1998-2018 The MESS Team