| Previous | 199869 Revisions | Next |
| r18273 Thursday 4th October, 2012 at 01:25:53 UTC by Tafoid |
|---|
| [MESS] Clean up printf spam from drivers not in active development. (nw) |
| [src/mess/drivers] | pv9234.c test_t400.c |
| [src/mess/machine] | rx01.c |
| r18272 | r18273 | |
|---|---|---|
| 79 | 79 | { |
| 80 | 80 | j = (data & 0xff000000) >> 24; |
| 81 | 81 | data <<= 8; |
| 82 | printf("%c",j); // this prints 'OFF' to the console. | |
| 82 | // printf("%c",j); // this prints 'OFF' to the console. | |
| 83 | 83 | logerror("debug1=%02x %c\n",j,j); |
| 84 | 84 | } |
| 85 | printf("\n"); | |
| 85 | // printf("\n"); | |
| 86 | 86 | } |
| 87 | 87 | } |
| 88 | 88 |
| r18272 | r18273 | |
|---|---|---|
| 21 | 21 | |
| 22 | 22 | WRITE8_MEMBER( t400_test_suite_state::port_l_w ) |
| 23 | 23 | { |
| 24 | printf("L: %u\n", data); | |
| 24 | // printf("L: %u\n", data); | |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | static ADDRESS_MAP_START( cop_io, AS_IO, 8, t400_test_suite_state ) |
| r18272 | r18273 | |
|---|---|---|
| 176 | 176 | |
| 177 | 177 | void rx01_device::data_write(UINT16 data) |
| 178 | 178 | { |
| 179 | printf("data_write %04x\n",data); | |
| 179 | // printf("data_write %04x\n",data); | |
| 180 | 180 | // data can be written only if TR is set |
| 181 | 181 | if (BIT(m_rxcs,7)) m_rxdb = data; |
| 182 | 182 | machine().scheduler().timer_set(attotime::from_msec(100), FUNC(command_execution_callback), 0, this); |
| r18272 | r18273 | |
| 185 | 185 | UINT16 rx01_device::data_read() |
| 186 | 186 | { |
| 187 | 187 | if (m_state==RX01_EMPTY && BIT(m_rxcs,7)) m_rxcs &= (1<<7); // clear TR bit; |
| 188 | printf("data_read %04x\n",m_rxdb); | |
| 188 | // printf("data_read %04x\n",m_rxdb); | |
| 189 | 189 | return m_rxdb; |
| 190 | 190 | } |
| 191 | 191 |
| Previous | 199869 Revisions | Next |