Previous 15994 Revisions Next

r15773 Monday 6th August, 2012 at 13:26:00 UTC by Angelo Salese
More notes
[src/mess/drivers]pc8801.c

src/mess/drivers/pc8801.c
r15772r15773
22
33    PC-8801 (c) 1981 NEC
44
5    preliminary driver by Angelo Salese, original MESS PC-88SR driver by ???
5    driver by Angelo Salese, original MESS PC-88SR driver by ???
66
77    TODO:
88    - implement proper i8214 routing, also add irq latch mechanism;
r15772r15773
2222   - clean-ups, banking and video in particular (i.e. hook-ups with memory region should go away and device models should be used instead)
2323
2424    per-game specific TODO:
25    - 100yen Disk 2 / Jumper 2: Sound BGM dies pretty soon;
26    - 100yen Soft 8 Revival Special: tight loop with vblank bit, but vblank irq takes too much time to execute its code;
2527    - 177: gameplay is too fast (parent pc8801 only);
28    - 1942: missing sound, enables a masked irq;
2629    - Acro Jet: hangs waiting for an irq (floppy issue);
2730    - Advanced Fantasian: wants an irq that can't happen (I is equal to 0x3f)
2831    - American Success: reads the light pen?
r15772r15773
6063    - Tobira wo Akete (random crashes in parent pc8801 only)
6164
6265    games that needs to NOT have write-protect floppies (BTANBs):
66    - 100 Yen Disk 7: (doesn't boot in V2 mode)
6367    - Balance of Power
6468    - Blue Moon Story: moans with a kanji msg;.
6569    - Tobira wo Akete (hangs at title screen)
r15772r15773
16031607   DEVCB_HANDLER(fdc_8255_c_w)         // Port C write
16041608};
16051609
1610
16061611static ADDRESS_MAP_START( pc8801fdc_mem, AS_PROGRAM, 8, pc8801_state )
16071612   AM_RANGE(0x0000, 0x1fff) AM_ROM
16081613   AM_RANGE(0x4000, 0x7fff) AM_RAM
r15772r15773
16361641
16371642WRITE8_MEMBER(pc8801_state::fdc_irq_vector_w)
16381643{
1644   popmessage("Write to FDC IRQ vector I/O %02x, contact MESSdev\n",data);
16391645   m_fdc_irq_opcode = data;
16401646}
16411647
r15772r15773
21002106static void pc8801_sound_irq( device_t *device, int irq )
21012107{
21022108   pc8801_state *state = device->machine().driver_data<pc8801_state>();
2109
2110//   printf("%02x %02x %02x\n",state->m_sound_irq_mask,state->m_i8214_irq_level,irq);
21032111   if(state->m_sound_irq_mask && state->m_i8214_irq_level >= 5 && irq)
21042112   {
21052113      state->m_sound_irq_latch = 1;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team