Previous 199869 Revisions Next

r32456 Monday 29th September, 2014 at 03:04:32 UTC by R. Belmont
(MESS) concept: Misc fixes/cleanup, CCOS boots now from 8" floppies. [R. Belmont]
[src/emu/bus/a2bus]corvfdc01.c
[src/mess/drivers]concept.c
[src/mess/includes]concept.h
[src/mess/machine]concept.c

trunk/src/emu/bus/a2bus/corvfdc01.c
r32455r32456
2929FLOPPY_FORMATS_END
3030
3131static SLOT_INTERFACE_START( corv_floppies )
32   SLOT_INTERFACE( "8dssd", FLOPPY_8_DSSD )
32   SLOT_INTERFACE( "8sssd", FLOPPY_8_SSSD )
3333SLOT_INTERFACE_END
3434
3535MACHINE_CONFIG_FRAGMENT( fdc01 )
3636   MCFG_FD1793x_ADD(FDC01_FDC_TAG, XTAL_16MHz / 8)
3737   MCFG_WD_FDC_INTRQ_CALLBACK(WRITELINE(a2bus_corvfdc01_device, intrq_w))
3838   MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(a2bus_corvfdc01_device, drq_w))
39   MCFG_FLOPPY_DRIVE_ADD(FDC01_FDC_TAG":0", corv_floppies, "8dssd", a2bus_corvfdc01_device::corv_floppy_formats)
40   MCFG_FLOPPY_DRIVE_ADD(FDC01_FDC_TAG":1", corv_floppies, "8dssd", a2bus_corvfdc01_device::corv_floppy_formats)
41   MCFG_FLOPPY_DRIVE_ADD(FDC01_FDC_TAG":2", corv_floppies, "8dssd", a2bus_corvfdc01_device::corv_floppy_formats)
42   MCFG_FLOPPY_DRIVE_ADD(FDC01_FDC_TAG":3", corv_floppies, "8dssd", a2bus_corvfdc01_device::corv_floppy_formats)
39   MCFG_FLOPPY_DRIVE_ADD(FDC01_FDC_TAG":0", corv_floppies, "8sssd", a2bus_corvfdc01_device::corv_floppy_formats)
40   MCFG_FLOPPY_DRIVE_ADD(FDC01_FDC_TAG":1", corv_floppies, "8sssd", a2bus_corvfdc01_device::corv_floppy_formats)
41   MCFG_FLOPPY_DRIVE_ADD(FDC01_FDC_TAG":2", corv_floppies, "8sssd", a2bus_corvfdc01_device::corv_floppy_formats)
42   MCFG_FLOPPY_DRIVE_ADD(FDC01_FDC_TAG":3", corv_floppies, "8sssd", a2bus_corvfdc01_device::corv_floppy_formats)
4343MACHINE_CONFIG_END
4444
4545ROM_START( fdc01 )
r32455r32456
167167            m_fdc_local_status &= ~LS_DSKCHG_mask;
168168            m_fdc_local_status |= m_curfloppy->dskchg_r() ? LS_DSKCHG_mask : 0;
169169         }
170         return m_fdc_local_status;
170         return m_fdc_local_status | LS_8IN_mask;
171171
172172      case  8:   // WD1793 at 8-11
173173         return m_wdfdc->status_r(space, offset);
trunk/src/mess/machine/concept.c
r32455r32456
4848}
4949
5050
51void concept_state::machine_reset()
52{
53   // OS will not boot if TDRE is clear on ACIA 0; this fixes that
54   m_acia0->write_cts(CLEAR_LINE);
55   m_acia1->write_cts(CLEAR_LINE);
56}
57
5158void concept_state::video_start()
5259{
5360}
r32455r32456
6370   {
6471      line = &bitmap.pix16(560-1-y);
6572      for (x = 0; x < 720; x++)
66         line[720-1-x] = (videoram[(x+48+y*768)>>4] & (0x8000 >> ((x+48+y*768) & 0xf))) ? 0 : 1;
73         line[720-1-x] = (videoram[(x+48+y*768)>>4] & (0x8000 >> ((x+48+y*768) & 0xf))) ? 1 : 0;
6774   }
6875   return 0;
6976}
r32455r32456
8592      /* assert interrupt */
8693      m_maincpu->set_input_line_and_vector(M68K_IRQ_1 + final_level - 1, ASSERT_LINE, M68K_INT_ACK_AUTOVECTOR);
8794   else
95   {
8896      /* clear all interrupts */
89      m_maincpu->set_input_line_and_vector(M68K_IRQ_1, CLEAR_LINE, M68K_INT_ACK_AUTOVECTOR);
97      m_maincpu->set_input_line_and_vector(M68K_IRQ_1 + level - 1, CLEAR_LINE, M68K_INT_ACK_AUTOVECTOR);
98   }
9099}
91100
92101/*
r32455r32456
236245
237246      case 3:
238247         /* NVIA versatile system interface */
239         LOG(("concept_io_r: VIA read at address 0x03%4.4x\n", offset << 1));
248//   LOG(("concept_io_r: VIA read at address 0x03%4.4x\n", offset << 1));
240249         {
241250            via6522_device *via_0 = machine().device<via6522_device>("via6522_0");
242251            return via_0->read(space, offset & 0xf);
trunk/src/mess/includes/concept.h
r32455r32456
5353   DECLARE_READ16_MEMBER(concept_io_r);
5454   DECLARE_WRITE16_MEMBER(concept_io_w);
5555   virtual void machine_start();
56   virtual void machine_reset();
5657   virtual void video_start();
5758   UINT32 screen_update_concept(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
5859
trunk/src/mess/drivers/concept.c
r32455r32456
258258   MCFG_A2BUS_SLOT_ADD(A2BUS_TAG, "sl1", concept_a2_cards, NULL)
259259   MCFG_A2BUS_SLOT_ADD(A2BUS_TAG, "sl2", concept_a2_cards, NULL)
260260   MCFG_A2BUS_SLOT_ADD(A2BUS_TAG, "sl3", concept_a2_cards, NULL)
261   MCFG_A2BUS_SLOT_ADD(A2BUS_TAG, "sl4", concept_a2_cards, "fdc02")
261   MCFG_A2BUS_SLOT_ADD(A2BUS_TAG, "sl4", concept_a2_cards, "fdc01")
262262
263263   /* 2x RS232 ports */
264264   MCFG_RS232_PORT_ADD("rs232a", default_rs232_devices, NULL)
r32455r32456
315315ROM_END
316316
317317/*    YEAR  NAME      PARENT    COMPAT  MACHINE   INPUT    INIT  COMPANY           FULLNAME */
318COMP( 1982, concept,  0,    0,  concept,  concept, driver_device, 0,    "Corvus Systems", "Concept" , GAME_NO_SOUND)
318COMP( 1982, concept,  0,    0,  concept,  concept, driver_device, 0,    "Corvus Systems", "Concept" , 0 )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team