diff options
Diffstat (limited to 'src/mess/machine/comx_thm.c')
-rw-r--r-- | src/mess/machine/comx_thm.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mess/machine/comx_thm.c b/src/mess/machine/comx_thm.c index 8900b66bd91..ea2f90411d2 100644 --- a/src/mess/machine/comx_thm.c +++ b/src/mess/machine/comx_thm.c @@ -82,7 +82,7 @@ void comx_thm_device::device_reset() // comx_mrd_r - memory read //------------------------------------------------- -UINT8 comx_thm_device::comx_mrd_r(offs_t offset, int *extrom) +UINT8 comx_thm_device::comx_mrd_r(address_space &space, offs_t offset, int *extrom) { UINT8 data = 0; @@ -99,14 +99,14 @@ UINT8 comx_thm_device::comx_mrd_r(offs_t offset, int *extrom) // comx_io_r - I/O read //------------------------------------------------- -UINT8 comx_thm_device::comx_io_r(offs_t offset) +UINT8 comx_thm_device::comx_io_r(address_space &space, offs_t offset) { /* - INP 2 is used for the printer status, where: - b0=1: Printer Not Ready - b1=1: Energizing Head - b2=1: Head At Position 0 - */ + INP 2 is used for the printer status, where: + b0=1: Printer Not Ready + b1=1: Energizing Head + b2=1: Head At Position 0 + */ return 0; } @@ -116,13 +116,13 @@ UINT8 comx_thm_device::comx_io_r(offs_t offset) // comx_io_w - I/O write //------------------------------------------------- -void comx_thm_device::comx_io_w(offs_t offset, UINT8 data) +void comx_thm_device::comx_io_w(address_space &space, offs_t offset, UINT8 data) { /* - OUT 2 is used to control the thermal printer where: - Q = 0, b0-7: Pixel 1 to 8 - Q = 1, b7: Pixel 9 (if b0-6=#21) - Q = 1, b3=1: Move head right - Q = 1, b0-7=#12: Move head left - */ + OUT 2 is used to control the thermal printer where: + Q = 0, b0-7: Pixel 1 to 8 + Q = 1, b7: Pixel 9 (if b0-6=#21) + Q = 1, b3=1: Move head right + Q = 1, b0-7=#12: Move head left + */ } |