Previous 199869 Revisions Next

r19049 Monday 19th November, 2012 at 18:50:50 UTC by Angelo Salese
Fixed one bug involving graphics
[src/mess/drivers]apc.c

trunk/src/mess/drivers/apc.c
r19048r19049
214214            res_x = (x*8+xi) * (1);
215215            res_y = y*lr+yi;
216216
217            if(res_x > 640 || res_y > char_size*25) //TODO
217            if(res_x > 640 || res_y > 494) //TODO
218218               continue;
219219
220220//              tile_data = secret ? 0 : (state->m_char_rom[tile*char_size+interlace_on*0x800+yi]);
r19048r19049
422422//  0x60 Melody Processing Unit
423423//  AM_RANGE(0x68, 0x6f) i8255 , printer port (A: status (R) B: data (W) C: command (W))
424424//  AM_DEVREADWRITE8("upd7220_btm", upd7220_device, read, write, 0x00ff)
425//   0x92, 0x9a, 0xa2, 0xaa is for a Hard Disk (unknown type)
425426ADDRESS_MAP_END
426427
427428/* TODO: key repeat, remove port impulse! */
r19048r19049
492493   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)
493494   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)
494495
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)
495498
496499/*
497500;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team