src/mess/drivers/smc777.c
| r8600 | r8601 | |
| 260 | 260 | case 0x33: |
| 261 | 261 | return wd17xx_data_r(dev,offset); |
| 262 | 262 | case 0x34: //irq / drq status |
| 263 | popmessage("%02x %02x\n",fdc_irq_flag,fdc_drq_flag); |
| 264 | |
| 263 | 265 | return (fdc_irq_flag ? 0x80 : 0x00) | (fdc_drq_flag ? 0x00 : 0x40); |
| 264 | 266 | } |
| 265 | 267 | |
| r8600 | r8601 | |
| 600 | 602 | |
| 601 | 603 | static MACHINE_RESET(smc777) |
| 602 | 604 | { |
| 605 | static UINT8 *rom = memory_region(machine, "bios"); |
| 606 | int i; |
| 607 | |
| 608 | for(i=0;i<0x4000;i++) |
| 609 | smc777_wram[i] = rom[i]; |
| 603 | 610 | } |
| 604 | 611 | |
| 605 | 612 | static const gfx_layout smc777_charlayout = |