trunk/src/mess/drivers/apc.c
| r19048 | r19049 | |
| 214 | 214 | res_x = (x*8+xi) * (1); |
| 215 | 215 | res_y = y*lr+yi; |
| 216 | 216 | |
| 217 | | if(res_x > 640 || res_y > char_size*25) //TODO |
| 217 | if(res_x > 640 || res_y > 494) //TODO |
| 218 | 218 | continue; |
| 219 | 219 | |
| 220 | 220 | // tile_data = secret ? 0 : (state->m_char_rom[tile*char_size+interlace_on*0x800+yi]); |
| r19048 | r19049 | |
| 422 | 422 | // 0x60 Melody Processing Unit |
| 423 | 423 | // AM_RANGE(0x68, 0x6f) i8255 , printer port (A: status (R) B: data (W) C: command (W)) |
| 424 | 424 | // AM_DEVREADWRITE8("upd7220_btm", upd7220_device, read, write, 0x00ff) |
| 425 | // 0x92, 0x9a, 0xa2, 0xaa is for a Hard Disk (unknown type) |
| 425 | 426 | ADDRESS_MAP_END |
| 426 | 427 | |
| 427 | 428 | /* TODO: key repeat, remove port impulse! */ |
| r19048 | r19049 | |
| 492 | 493 | PORT_BIT(0x01,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("Y") PORT_CODE(KEYCODE_Y) PORT_CHAR('Y') PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x59) |
| 493 | 494 | PORT_BIT(0x02,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("Z") PORT_CODE(KEYCODE_Z) PORT_CHAR('Z') PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x5a) |
| 494 | 495 | |
| 496 | PORT_START("KEY6") |
| 497 | PORT_BIT(0x01,IP_ACTIVE_HIGH,IPT_KEYBOARD) PORT_NAME("SPACE") PORT_CODE(KEYCODE_SPACE) PORT_CHAR(' ') PORT_IMPULSE(1) PORT_CHANGED_MEMBER(DEVICE_SELF, apc_state, key_stroke, 0x20) |
| 495 | 498 | |
| 496 | 499 | /* |
| 497 | 500 | ; |