Previous 15994 Revisions Next

r4183 Thursday 22nd January, 2009 at 14:36:56 UTC by Curt Coder
[NEWBRAIN] Fixed interrupt acknowledge, added some BIOS revisions, changed system names to match real models.
[src/mess]messdriv.c
[src/mess/drivers]newbrain.c
[src/mess/includes]newbrain.h

src/mess/includes/newbrain.h
r4182r4183
1919#define NEWBRAIN_ENRG1_UST_BIT_1_MASK   0x30
2020#define NEWBRAIN_ENRG1_UST_BIT_0_MASK   0xc0
2121
22#define NEWBRAIN_ENRG2_USERP         0x01
23#define NEWBRAIN_ENRG2_ANP            0x02
24#define NEWBRAIN_ENRG2_MLTMD         0x04
25#define NEWBRAIN_ENRG2_MSPD            0x08
26#define NEWBRAIN_ENRG2_ENOR            0x10
27#define NEWBRAIN_ENRG2_ANSW            0x20
28#define NEWBRAIN_ENRG2_ENOT            0x40
29#define NEWBRAIN_ENRG2_CENTRONICS_OUT   0x80
30
2231#define NEWBRAIN_VIDEO_RV            0x01
2332#define NEWBRAIN_VIDEO_FS            0x02
2433#define NEWBRAIN_VIDEO_32_40         0x04
r4182r4183
3746   int copint;            /* COP interrupt */
3847   int anint;            /* A/DC interrupt */
3948   int bee;            /* identity */
49   int a16;            /* address line 16 */
4050   UINT8 enrg1;         /* enable register 1 */
4151   UINT8 enrg2;         /* enable register 2 */
4252
src/mess/messdriv.c
r4182r4183
10931093
10941094   /* Grundy Business Systems Ltd */
10951095   DRIVER( newbrain )
1096   DRIVER( newbraie )
1097   DRIVER( newbraia )
10961098   DRIVER( newbraim )
1097   DRIVER( newbraia )
1098   DRIVER( newbraiv )
10991099
11001100   /* Votrax */
11011101//   DRIVER( votrtnt ) /* Votrax Type-N-Talk */
src/mess/drivers/newbrain.c
r4182r4183
3232   ADC0809 (427)
3333   DAC0808 (461)
3434
35   Models according to the Software Technical Manual:
36
3537   Model M: 'Page Register', Expansion Port onto Z80 bus, Video, ACIA/CTC, User Port
3638   Model A: Expansion Port, Video, no User Port but has software driver serial port - s/w Printer, s/w V24
3739   Model V: ACIA/CTC, User Port
r4182r4183
4244
4345   TODO:
4446
45   - make it boot!
46   - video excess
47   - escape key
47   - boot ends up in HALT because the COP is not responding
48   - a000-bfff should be unmapped for newbrain_m
4849   - COP420 microbus
49   - tape
50   - video excess
51   - escape key is missing
5052   - layout for the 16-segment displays
53   - convert FDC into a device
54   - convert EIM into a device
5155
5256   - floppy disc controller
5357   - CP/M 2.2
r4182r4183
6973      return devtag_get_device(machine, CASSETTE, "cassette1");
7074}
7175
76static void check_interrupt(running_machine *machine)
77{
78   newbrain_state *state = machine->driver_data;
79
80   int level = (!state->clkint || !state->copint) ? ASSERT_LINE : CLEAR_LINE;
81
82   cputag_set_input_line(machine, Z80_TAG, INPUT_LINE_IRQ0, level);
83}
84
7285/* Enable/Status */
7386
7487static WRITE8_HANDLER( enrg1_w )
r4182r4183
260273   newbrain_state *state = space->machine->driver_data;
261274
262275   state->clkint = 1;
276   check_interrupt(space->machine);
263277
264278   return 0xff;
265279}
r4182r4183
269283   newbrain_state *state = space->machine->driver_data;
270284
271285   state->clkint = 1;
286   check_interrupt(space->machine);
272287}
273288
274289static READ8_HANDLER( clusr_r )
r4182r4183
322337
323338   newbrain_state *state = space->machine->driver_data;
324339
325   cputag_set_input_line(space->machine, Z80_TAG, INPUT_LINE_IRQ0, BIT(data, 0) ? HOLD_LINE : CLEAR_LINE);
326
327340   state->copint = BIT(data, 0);
341   check_interrupt(space->machine);
328342
329343   /* tape motor enable */
330344
r4182r4183
364378   */
365379
366380   newbrain_state *state = space->machine->driver_data;
381   
367382   static const char *const keynames[] = { "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7",
368383                              "D8", "D9", "D10", "D11", "D12", "D13", "D14", "D15" };
369384
r4182r4183
604619static READ8_HANDLER( cop_r )
605620{
606621   newbrain_state *state = space->machine->driver_data;
607   UINT8 data;
622   UINT8 data = 0; // REGINT
608623
609   state->cop_rd = 0;
624/*   state->cop_rd = 0;
610625   state->cop_wr = 1;
611626   state->cop_access = 0;
612627
r4182r4183
614629
615630   state->cop_rd = 1;
616631   state->cop_wr = 1;
617   state->cop_access = 1;
632   state->cop_access = 1;*/
618633
619634   return data;
620635}
r4182r4183
623638{
624639   newbrain_state *state = space->machine->driver_data;
625640
626   state->cop_rd = 1;
641/*   state->cop_rd = 1;
627642   state->cop_wr = 0;
628643   state->cop_access = 0;
629644
r4182r4183
631646
632647   state->cop_rd = 1;
633648   state->cop_wr = 1;
634   state->cop_access = 1;
649   state->cop_access = 1;*/
650
651   state->copint = 1;
652   check_interrupt(space->machine);
635653}
636654
655static TIMER_DEVICE_CALLBACK( cop_regint_tick )
656{
657   newbrain_state *state = timer->machine->driver_data;
658
659   state->copint = 0;
660   check_interrupt(timer->machine);
661}
662
637663/* Expansion Interface Module */
638664
639665static WRITE8_HANDLER( ei_enrg2_w )
r4182r4183
790816
791817         bit      signal      description
792818
793         0      PG
794         1      WPL
795         2      A16
796         3      _MPM
797         4      HISLT
819         0      PG         
820         1      WPL         
821         2      A16         address line 16
822         3      _MPM     
823         4      HISLT     
798824         5
799825         6
800826         7
801827
802828      */
829
830      state->a16 = BIT(data, 2);
803831   }
804832   else if (BIT(offset, 9))
805833   {
r4182r4183
809837
810838         bit      signal      description
811839
812         0      PAGING
840         0      PAGING     
813841         1
814         2      HA16
815         3      MPM
842         2      HA16      address line 16
843         3      MPM         
816844         4
817845         5      _FDC RESET
818846         6
r4182r4183
912940   AM_RANGE(0x14, 0x14) AM_MIRROR(0xffc0) AM_READ(ust_r)
913941   AM_RANGE(0x15, 0x15) AM_MIRROR(0xffc2) AM_READ(user_r)
914942   AM_RANGE(0x16, 0x16) AM_MIRROR(0xffc0) AM_READ(ust2_r)
915   AM_RANGE(0x18, 0x18) AM_MIRROR(0xffc0) AM_DEVREADWRITE(ACIA6850, MC6850_TAG, acia6850_stat_r, acia6850_ctrl_w)
916   AM_RANGE(0x19, 0x19) AM_MIRROR(0xffc0) AM_DEVREADWRITE(ACIA6850, MC6850_TAG, acia6850_data_r, acia6850_data_w)
917   AM_RANGE(0x1c, 0x1c) AM_MIRROR(0xffc0) AM_DEVREADWRITE(Z80CTC, Z80CTC_TAG, z80ctc_r, z80ctc_w)
918943ADDRESS_MAP_END
919944
920945static ADDRESS_MAP_START( newbrain_a_io_map, ADDRESS_SPACE_IO, 8 )
r4182r4183
930955   AM_RANGE(0x16, 0x16) AM_MIRROR(0xffc0) AM_READ(ust2_r)
931956ADDRESS_MAP_END
932957
933static ADDRESS_MAP_START( newbrain_v_io_map, ADDRESS_SPACE_IO, 8 )
934   ADDRESS_MAP_UNMAP_HIGH
935   AM_RANGE(0x00, 0x00) AM_MIRROR(0xffc0) AM_READWRITE(clusr_r, clusr_w)
936   AM_RANGE(0x03, 0x03) AM_MIRROR(0xffc0) AM_WRITE(user_w)
937   AM_RANGE(0x04, 0x04) AM_MIRROR(0xffc0) AM_READWRITE(clclk_r, clclk_w)
938   AM_RANGE(0x06, 0x06) AM_MIRROR(0xffc0) AM_READWRITE(cop_r, cop_w)
939   AM_RANGE(0x07, 0x07) AM_MIRROR(0xffc0) AM_WRITE(enrg1_w)
940   AM_RANGE(0x08, 0x09) AM_MIRROR(0xffc2) AM_WRITE(tvl_w)
941   AM_RANGE(0x0c, 0x0c) AM_MIRROR(0xffc3) AM_WRITE(tvctl_w)
942   AM_RANGE(0x14, 0x14) AM_MIRROR(0xffc0) AM_READ(ust_r)
943   AM_RANGE(0x15, 0x15) AM_MIRROR(0xffc2) AM_READ(user_r)
944   AM_RANGE(0x18, 0x18) AM_MIRROR(0xffc0) AM_DEVREADWRITE(ACIA6850, MC6850_TAG, acia6850_stat_r, acia6850_ctrl_w)
945   AM_RANGE(0x19, 0x19) AM_MIRROR(0xffc0) AM_DEVREADWRITE(ACIA6850, MC6850_TAG, acia6850_data_r, acia6850_data_w)
946   AM_RANGE(0x1c, 0x1c) AM_MIRROR(0xffc0) AM_DEVREADWRITE(Z80CTC, Z80CTC_TAG, z80ctc_r, z80ctc_w)
947ADDRESS_MAP_END
948
949958static ADDRESS_MAP_START( newbrain_cop_io_map, ADDRESS_SPACE_IO, 8 )
950959   AM_RANGE(COP400_PORT_L, COP400_PORT_L) AM_READWRITE(newbrain_cop_l_r, newbrain_cop_l_w)
951960   AM_RANGE(COP400_PORT_G, COP400_PORT_G) AM_READWRITE(newbrain_cop_g_r, newbrain_cop_g_w)
r4182r4183
11671176static TIMER_CALLBACK( pwrup_tick )
11681177{
11691178   newbrain_state *state = machine->driver_data;
1179   const address_space *program = cputag_get_address_space(machine, Z80_TAG, ADDRESS_SPACE_PROGRAM);
1180
11701181   int bank;
11711182
11721183   state->pwrup = 0;
r4182r4183
11791190      if (bank < 6)
11801191      {
11811192         /* RAM */
1182         memory_install_readwrite8_handler(cputag_get_address_space(machine, Z80_TAG, ADDRESS_SPACE_PROGRAM), bank_start, bank_end, 0, 0, SMH_BANK((FPTR)bank), SMH_BANK((FPTR)bank));
1193         memory_install_readwrite8_handler(program, bank_start, bank_end, 0, 0, SMH_BANK((FPTR)bank), SMH_BANK((FPTR)bank));
11831194      }
1195      else if (bank == 6)
1196      {
1197         /* unmapped on the M model */
1198         memory_install_readwrite8_handler(program, bank_start, bank_end, 0, 0, SMH_BANK((FPTR)bank), SMH_UNMAP);
1199      }
11841200      else
11851201      {
11861202         /* ROM */
1187         memory_install_readwrite8_handler(cputag_get_address_space(machine, Z80_TAG, ADDRESS_SPACE_PROGRAM), bank_start, bank_end, 0, 0, SMH_BANK((FPTR)bank), SMH_UNMAP);
1203         memory_install_readwrite8_handler(program, bank_start, bank_end, 0, 0, SMH_BANK((FPTR)bank), SMH_UNMAP);
11881204      }
11891205
11901206      memory_configure_bank(machine, bank, 0, 1, memory_region(machine, Z80_TAG) + bank_start, 0);
r4182r4183
12201236   timer_adjust_oneshot(state->pwrup_timer, ATTOTIME_IN_USEC(get_pwrup_t()), 0);
12211237   state->pwrup = 1;
12221238
1223   /* find devices */
1224
1225   state->z80ctc = devtag_get_device(machine, Z80CTC, Z80CTC_TAG);
1226   state->mc6850 = devtag_get_device(machine, ACIA6850, MC6850_TAG);
1227   state->nec765 = devtag_get_device(machine, NEC765A, NEC765_TAG);
1228
12291239   /* initialize variables */
12301240
12311241   state->userint = 1;
r4182r4183
12401250
12411251}
12421252
1253static MACHINE_START( newbrain_eim )
1254{
1255   newbrain_state *state = machine->driver_data;
1256
1257   MACHINE_START_CALL(newbrain);
1258
1259   /* find devices */
1260
1261   state->z80ctc = devtag_get_device(machine, Z80CTC, Z80CTC_TAG);
1262   state->mc6850 = devtag_get_device(machine, ACIA6850, MC6850_TAG);
1263   state->nec765 = devtag_get_device(machine, NEC765A, NEC765_TAG);
1264}
1265
12431266static MACHINE_RESET( newbrain )
12441267{
12451268   newbrain_state *state = machine->driver_data;
r4182r4183
12561279
12571280   if (!(state->enrg1 & NEWBRAIN_ENRG1_CLK))
12581281   {
1259      cputag_set_input_line(device->machine, Z80_TAG, INPUT_LINE_IRQ0, HOLD_LINE);
1260
12611282      state->clkint = 0;
1283      check_interrupt(device->machine);
12621284   }
12631285}
12641286
r4182r4183
12781300   CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_MUTED
12791301};
12801302
1281
1282static MACHINE_DRIVER_START( newbrain )
1303static MACHINE_DRIVER_START( newbrain_a )
12831304   MDRV_DRIVER_DATA(newbrain_state)
12841305
1285   // basic system hardware
1286
1306   /* basic system hardware */
12871307   MDRV_CPU_ADD(Z80_TAG, Z80, XTAL_16MHz/8)
12881308   MDRV_CPU_PROGRAM_MAP(newbrain_map, 0)
1289   MDRV_CPU_IO_MAP(newbrain_ei_io_map, 0)
1309   MDRV_CPU_IO_MAP(newbrain_a_io_map, 0)
12901310   MDRV_CPU_VBLANK_INT(SCREEN_TAG, newbrain_interrupt)
12911311
1292   MDRV_CPU_ADD(COP420_TAG, COP420, XTAL_16MHz/8) // COP420-GUW/M
1312   MDRV_CPU_ADD(COP420_TAG, COP420, XTAL_16MHz/8) // COP420-GUW/N
12931313   MDRV_CPU_IO_MAP(newbrain_cop_io_map, 0)
12941314   MDRV_CPU_CONFIG(newbrain_cop_intf)
12951315
1296   MDRV_CPU_ADD(FDC_Z80_TAG, Z80, XTAL_4MHz)
1297   MDRV_CPU_PROGRAM_MAP(newbrain_fdc_map, 0)
1298   MDRV_CPU_IO_MAP(newbrain_fdc_io_map, 0)
1316   MDRV_TIMER_ADD_PERIODIC("cop_regint", cop_regint_tick, MSEC(12.5)) // HACK
12991317
13001318   MDRV_MACHINE_START(newbrain)
13011319   MDRV_MACHINE_RESET(newbrain)
13021320
1303   MDRV_Z80CTC_ADD(Z80CTC_TAG, XTAL_16MHz/8, newbrain_ctc_intf)
1304   MDRV_TIMER_ADD_PERIODIC("z80ctc_c2", ctc_c2_tick, HZ(XTAL_16MHz/4/13))
1305
1306   // A/D converter
1307   MDRV_ADC0809_ADD(ADC0809_TAG, 500000, newbrain_adc0809_intf)
1308
1309   // video hardware
1310
1321   /* video hardware */
13111322   MDRV_IMPORT_FROM(newbrain_video)
13121323
1324   /* cassette */
13131325   MDRV_CASSETTE_ADD("cassette1", newbrain_cassette_config)
13141326   MDRV_CASSETTE_ADD("cassette2", newbrain_cassette_config)
1315
1316   /* acia */
1317   MDRV_ACIA6850_ADD(MC6850_TAG, newbrain_acia_intf)
1318
1319   MDRV_NEC765A_ADD(NEC765_TAG, newbrain_nec765_interface)
13201327MACHINE_DRIVER_END
13211328
1322static MACHINE_DRIVER_START( newbraim )
1323   MDRV_DRIVER_DATA(newbrain_state)
1329static MACHINE_DRIVER_START( newbrain_eim )
1330   MDRV_IMPORT_FROM(newbrain_a)
1331   
1332   /* basic system hardware */
1333   MDRV_CPU_MODIFY(Z80_TAG)
1334   MDRV_CPU_IO_MAP(newbrain_ei_io_map, 0)
13241335
1325   // basic system hardware
1336   MDRV_CPU_ADD(FDC_Z80_TAG, Z80, XTAL_4MHz)
1337   MDRV_CPU_PROGRAM_MAP(newbrain_fdc_map, 0)
1338   MDRV_CPU_IO_MAP(newbrain_fdc_io_map, 0)
13261339
1327   MDRV_CPU_ADD(Z80_TAG, Z80, XTAL_16MHz/8)
1328   MDRV_CPU_PROGRAM_MAP(newbrain_map, 0)
1329   MDRV_CPU_IO_MAP(newbrain_m_io_map, 0)
1330   MDRV_CPU_VBLANK_INT(SCREEN_TAG, newbrain_interrupt)
1340   MDRV_MACHINE_START(newbrain_eim)
13311341
1332   MDRV_CPU_ADD(COP420_TAG, COP420, XTAL_16MHz/8) // COP420-GUW/M
1333   MDRV_CPU_IO_MAP(newbrain_cop_io_map, 0)
1334   MDRV_CPU_CONFIG(newbrain_cop_intf)
1335
1336   MDRV_MACHINE_START(newbrain)
1337   MDRV_MACHINE_RESET(newbrain)
1338
1342   /* Z80 CTC */
13391343   MDRV_Z80CTC_ADD(Z80CTC_TAG, XTAL_16MHz/8, newbrain_ctc_intf)
13401344   MDRV_TIMER_ADD_PERIODIC("z80ctc_c2", ctc_c2_tick, HZ(XTAL_16MHz/4/13))
13411345
1342   // video hardware
1346   /* AD-DA converters */
1347   MDRV_ADC0809_ADD(ADC0809_TAG, 500000, newbrain_adc0809_intf)
13431348
1344   MDRV_IMPORT_FROM(newbrain_video)
1345
1346   MDRV_CASSETTE_ADD("cassette1", newbrain_cassette_config)
1347   MDRV_CASSETTE_ADD("cassette2", newbrain_cassette_config)
1348
1349   /* acia */
1349   /* MC6850 */
13501350   MDRV_ACIA6850_ADD(MC6850_TAG, newbrain_acia_intf)
1351   
1352   /* NEC765 */
1353   MDRV_NEC765A_ADD(NEC765_TAG, newbrain_nec765_interface)
13511354MACHINE_DRIVER_END
13521355
1353static MACHINE_DRIVER_START( newbraia )
1354   MDRV_DRIVER_DATA(newbrain_state)
1356static MACHINE_DRIVER_START( newbrain_m )
1357   MDRV_IMPORT_FROM(newbrain_a)
1358   
1359   /* basic system hardware */
1360   MDRV_CPU_MODIFY(Z80_TAG)
1361   MDRV_CPU_IO_MAP(newbrain_m_io_map, 0)
1362MACHINE_DRIVER_END
13551363
1356   // basic system hardware
1364/* ROMs */
13571365
1358   MDRV_CPU_ADD(Z80_TAG, Z80, XTAL_16MHz/8)
1359   MDRV_CPU_PROGRAM_MAP(newbrain_map, 0)
1360   MDRV_CPU_IO_MAP(newbrain_a_io_map, 0)
1361   MDRV_CPU_VBLANK_INT(SCREEN_TAG, newbrain_interrupt)
1366ROM_START( newbrain )
1367   ROM_REGION( 0x10000, Z80_TAG, 0 )
1368   ROM_DEFAULT_BIOS( "rom20" )
13621369
1363   MDRV_CPU_ADD(COP420_TAG, COP420, XTAL_16MHz/8) // COP420-GUW/M
1364   MDRV_CPU_IO_MAP(newbrain_cop_io_map, 0)
1365   MDRV_CPU_CONFIG(newbrain_cop_intf)
1370   ROM_SYSTEM_BIOS( 0, "issue1", "Issue 1 (v?)" )
1371   ROMX_LOAD( "aben.ic6",     0xa000, 0x2000, CRC(308f1f72) SHA1(a6fd9945a3dca47636887da2125fde3f9b1d4e25), ROM_BIOS(1) )
1372   ROMX_LOAD( "cd iss 1.ic7", 0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(1) )
1373   ROMX_LOAD( "ef iss 1.ic8", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(1) )
13661374
1367   MDRV_MACHINE_START(newbrain)
1368   MDRV_MACHINE_RESET(newbrain)
1375   ROM_SYSTEM_BIOS( 1, "issue2", "Issue 2 (v1.9)" )
1376   ROMX_LOAD( "aben19.ic6",   0xa000, 0x2000, CRC(d0283eb1) SHA1(351d248e69a77fa552c2584049006911fb381ff0), ROM_BIOS(2) )
1377   ROMX_LOAD( "cdi2.ic7",     0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(2) )
1378   ROMX_LOAD( "ef iss 1.ic8", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(2) )
13691379
1370   // video hardware
1380   ROM_SYSTEM_BIOS( 2, "issue3", "Issue 3 (v1.91)" )
1381   ROMX_LOAD( "aben191.ic6",  0xa000, 0x2000, CRC(b7be8d89) SHA1(cce8d0ae7aa40245907ea38b7956c62d039d45b7), ROM_BIOS(3) )
1382   ROMX_LOAD( "cdi3.ic7",      0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(3) )
1383   ROMX_LOAD( "ef iss 1.ic8", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(3) )
13711384
1372   MDRV_IMPORT_FROM(newbrain_video)
1385   ROM_SYSTEM_BIOS( 3, "series2", "Series 2 (v?)" )
1386   ROMX_LOAD( "abs2.ic6",      0xa000, 0x2000, CRC(9a042acb) SHA1(80d83a2ea3089504aa68b6cf978d80d296cd9bda), ROM_BIOS(4) )
1387   ROMX_LOAD( "cds2.ic7",      0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(4) )
1388   ROMX_LOAD( "efs2.ic8",      0xe000, 0x2000, CRC(b222d798) SHA1(c0c816b4d4135b762f2c5f1b24209d0096f22e56), ROM_BIOS(4) )
13731389
1374   MDRV_CASSETTE_ADD( "cassette1", newbrain_cassette_config )
1375   MDRV_CASSETTE_ADD( "cassette2", newbrain_cassette_config )
1390   ROM_SYSTEM_BIOS( 4, "rom20", "? (v2.0)" )
1391   ROMX_LOAD( "aben20.rom",   0xa000, 0x2000, CRC(3d76d0c8) SHA1(753b4530a518ad832e4b81c4e5430355ba3f62e0), ROM_BIOS(5) )
1392   ROMX_LOAD( "cd20tci.rom",  0xc000, 0x4000, CRC(f65b2350) SHA1(1ada7fbf207809537ec1ffb69808524300622ada), ROM_BIOS(5) )
13761393
1377   /* acia */
1378   MDRV_ACIA6850_ADD(MC6850_TAG, newbrain_acia_intf)
1379MACHINE_DRIVER_END
1394   ROM_REGION( 0x400, COP420_TAG, 0 )
1395   ROM_LOAD( "cop420.419", 0x000, 0x400, NO_DUMP )
13801396
1381static MACHINE_DRIVER_START( newbraiv )
1382   MDRV_DRIVER_DATA(newbrain_state)
1397   ROM_REGION( 0x1000, "chargen", 0 )
1398   ROM_LOAD( "char eprom iss 1.ic453", 0x0000, 0x0a01, BAD_DUMP CRC(46ecbc65) SHA1(3fe064d49a4de5e3b7383752e98ad35a674e26dd) ) // 8248R7
1399ROM_END
13831400
1384   // basic system hardware
1401#define rom_newbraia rom_newbrain
13851402
1386   MDRV_CPU_ADD(Z80_TAG, Z80, XTAL_16MHz/8)
1387   MDRV_CPU_PROGRAM_MAP(newbrain_map, 0)
1388   MDRV_CPU_IO_MAP(newbrain_v_io_map, 0)
1389   MDRV_CPU_VBLANK_INT(SCREEN_TAG, newbrain_interrupt)
1403ROM_START( newbraie )
1404   ROM_REGION( 0x10000, Z80_TAG, 0 )
1405   ROM_DEFAULT_BIOS( "rom20" )
13901406
1391   MDRV_CPU_ADD(COP420_TAG, COP420, XTAL_16MHz/8) // COP420-GUW/M
1392   MDRV_CPU_IO_MAP(newbrain_cop_io_map, 0)
1393   MDRV_CPU_CONFIG(newbrain_cop_intf)
1407   ROM_SYSTEM_BIOS( 0, "issue1", "Issue 1 (v?)" )
1408   ROMX_LOAD( "aben.ic6",     0xa000, 0x2000, CRC(308f1f72) SHA1(a6fd9945a3dca47636887da2125fde3f9b1d4e25), ROM_BIOS(1) )
1409   ROMX_LOAD( "cd iss 1.ic7", 0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(1) )
1410   ROMX_LOAD( "ef iss 1.ic8", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(1) )
13941411
1395   MDRV_MACHINE_START(newbrain)
1396   MDRV_MACHINE_RESET(newbrain)
1412   ROM_SYSTEM_BIOS( 1, "issue2", "Issue 2 (v1.9)" )
1413   ROMX_LOAD( "aben19.ic6",   0xa000, 0x2000, CRC(d0283eb1) SHA1(351d248e69a77fa552c2584049006911fb381ff0), ROM_BIOS(2) )
1414   ROMX_LOAD( "cdi2.ic7",     0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(2) )
1415   ROMX_LOAD( "ef iss 1.ic8", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(2) )
13971416
1398   MDRV_Z80CTC_ADD(Z80CTC_TAG, XTAL_16MHz/8, newbrain_ctc_intf)
1417   ROM_SYSTEM_BIOS( 2, "issue3", "Issue 3 (v1.91)" )
1418   ROMX_LOAD( "aben191.ic6",  0xa000, 0x2000, CRC(b7be8d89) SHA1(cce8d0ae7aa40245907ea38b7956c62d039d45b7), ROM_BIOS(3) )
1419   ROMX_LOAD( "cdi3.ic7",      0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(3) )
1420   ROMX_LOAD( "ef iss 1.ic8", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(3) )
13991421
1400   // video hardware
1422   ROM_SYSTEM_BIOS( 3, "series2", "Series 2 (v?)" )
1423   ROMX_LOAD( "abs2.ic6",      0xa000, 0x2000, CRC(9a042acb) SHA1(80d83a2ea3089504aa68b6cf978d80d296cd9bda), ROM_BIOS(4) )
1424   ROMX_LOAD( "cds2.ic7",      0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(4) )
1425   ROMX_LOAD( "efs2.ic8",      0xe000, 0x2000, CRC(b222d798) SHA1(c0c816b4d4135b762f2c5f1b24209d0096f22e56), ROM_BIOS(4) )
14011426
1402   MDRV_IMPORT_FROM(newbrain_video)
1427   ROM_SYSTEM_BIOS( 4, "rom20", "? (v2.0)" )
1428   ROMX_LOAD( "aben20.rom",   0xa000, 0x2000, CRC(3d76d0c8) SHA1(753b4530a518ad832e4b81c4e5430355ba3f62e0), ROM_BIOS(5) )
1429   ROMX_LOAD( "cd20tci.rom",  0xc000, 0x4000, CRC(f65b2350) SHA1(1ada7fbf207809537ec1ffb69808524300622ada), ROM_BIOS(5) )
14031430
1404   MDRV_CASSETTE_ADD( "cassette1", newbrain_cassette_config )
1405   MDRV_CASSETTE_ADD( "cassette2", newbrain_cassette_config )
1406
1407   /* acia */
1408   MDRV_ACIA6850_ADD(MC6850_TAG, newbrain_acia_intf)
1409MACHINE_DRIVER_END
1410
1411/* ROMs */
1412
1413ROM_START( newbrain )
1414   ROM_REGION( 0x10000, Z80_TAG, 0 )
1415   ROM_LOAD( "d413-2.rom", 0x8000, 0x2000, CRC(097591f1) SHA1(c2aa1d27d4f3a24ab0c8135df746a4a44201a7f4) )
1416   ROM_LOAD( "cdmd.rom", 0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a) )
1417   ROM_LOAD( "efmd.rom", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6) )
1418
14191431   ROM_REGION( 0x400, COP420_TAG, 0 )
1420   ROM_LOAD( "cop420.419", 0x000, 0x400, NO_DUMP )
1432   ROM_LOAD( "cop420.419",   0x000, 0x400, NO_DUMP )
14211433
1434   ROM_REGION( 0x1000, "chargen", 0 )
1435   ROM_LOAD( "char eprom iss 1.ic453", 0x0000, 0x0a01, BAD_DUMP CRC(46ecbc65) SHA1(3fe064d49a4de5e3b7383752e98ad35a674e26dd) ) // 8248R7
1436
14221437   ROM_REGION( 0x10000, "eim", 0 ) // Expansion Interface Module
14231438   ROM_LOAD( "e415-2.rom", 0x4000, 0x2000, CRC(5b0e390c) SHA1(0f99cae57af2e64f3f6b02e5325138d6ba015e72) )
1424   ROM_LOAD( "e415-3.rom", 0x4000, 0x2000, CRC(2f88bae5) SHA1(04e03f230f4b368027442a7c2084dae877f53713) )
1439   ROM_LOAD( "e415-3.rom", 0x4000, 0x2000, CRC(2f88bae5) SHA1(04e03f230f4b368027442a7c2084dae877f53713) ) // 18/8/83.aci
14251440   ROM_LOAD( "e416-3.rom", 0x6000, 0x2000, CRC(8b5099d8) SHA1(19b0cfce4c8b220eb1648b467f94113bafcb14e0) ) // 10/8/83.mtv
14261441   ROM_LOAD( "e417-2.rom", 0x8000, 0x2000, CRC(6a7afa20) SHA1(f90db4f8318777313a862b3d5bab83c2fd260010) )
14271442
14281443   ROM_REGION( 0x10000, FDC_Z80_TAG, 0 ) // Floppy Disk Controller
14291444   ROM_LOAD( "d417-1.rom", 0x0000, 0x2000, CRC(40fad31c) SHA1(5137be4cc026972c0ffd4fa6990e8583bdfce163) )
14301445   ROM_LOAD( "d417-2.rom", 0x0000, 0x2000, CRC(e8bda8b9) SHA1(c85a76a5ff7054f4ef4a472ce99ebaed1abd269c) )
1431
1432   ROM_REGION( 0x1000, "chargen", 0 )
1433   ROM_LOAD( "8248r7.453", 0x0000, 0x1000, BAD_DUMP CRC(46ecbc65) SHA1(3fe064d49a4de5e3b7383752e98ad35a674e26dd) )
14341446ROM_END
14351447
14361448ROM_START( newbraim )
r4182r4183
14421454   ROM_LOAD( "cop420.419", 0x000, 0x400, NO_DUMP )
14431455
14441456   ROM_REGION( 0x1000, "chargen", 0 )
1445   ROM_LOAD( "8248r7.453", 0x0000, 0x1000, BAD_DUMP CRC(46ecbc65) SHA1(3fe064d49a4de5e3b7383752e98ad35a674e26dd) )
1457   ROM_LOAD( "char eprom iss 1.ic453", 0x0000, 0x0a01, BAD_DUMP CRC(46ecbc65) SHA1(3fe064d49a4de5e3b7383752e98ad35a674e26dd) ) // 8248R7
14461458ROM_END
14471459
1448ROM_START( newbraia )
1449   ROM_REGION( 0x10000, Z80_TAG, 0 )
1450   ROM_SYSTEM_BIOS( 0, "rom20", "ROM 2.0" )
1451   ROMX_LOAD( "aben20.rom", 0xa000, 0x2000, CRC(3d76d0c8) SHA1(753b4530a518ad832e4b81c4e5430355ba3f62e0), ROM_BIOS(1) )
1452   ROMX_LOAD( "cd20tci.rom", 0xc000, 0x4000, CRC(f65b2350) SHA1(1ada7fbf207809537ec1ffb69808524300622ada), ROM_BIOS(1) )
1453
1454   ROM_SYSTEM_BIOS( 1, "rom191", "ROM 1.91" )
1455   ROMX_LOAD( "aben191.rom", 0xa000, 0x2000, CRC(b7be8d89) SHA1(cce8d0ae7aa40245907ea38b7956c62d039d45b7), ROM_BIOS(2) )
1456   ROMX_LOAD( "cd.rom", 0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(2) )
1457   ROMX_LOAD( "ef1x.rom", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(2) )
1458
1459   ROM_SYSTEM_BIOS( 2, "rom19", "ROM 1.9" )
1460   ROMX_LOAD( "aben19.rom", 0xa000, 0x2000, CRC(d0283eb1) SHA1(351d248e69a77fa552c2584049006911fb381ff0), ROM_BIOS(3) )
1461   ROMX_LOAD( "cd.rom", 0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(3) )
1462   ROMX_LOAD( "ef1x.rom", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(3) )
1463
1464   ROM_SYSTEM_BIOS( 3, "rom14", "ROM 1.4" )
1465   ROMX_LOAD( "aben14.rom", 0xa000, 0x2000, CRC(d0283eb1) SHA1(351d248e69a77fa552c2584049006911fb381ff0), ROM_BIOS(4) )
1466   ROMX_LOAD( "cd.rom", 0xc000, 0x2000, CRC(6b4d9429) SHA1(ef688be4e75aced61f487c928258c8932a0ae00a), ROM_BIOS(4) )
1467   ROMX_LOAD( "ef1x.rom", 0xe000, 0x2000, CRC(20dd0b49) SHA1(74b517ca223cefb588e9f49e72ff2d4f1627efc6), ROM_BIOS(4) )
1468
1469   ROM_REGION( 0x400, COP420_TAG, 0 )
1470   ROM_LOAD( "cop420.419", 0x000, 0x400, NO_DUMP )
1471
1472   ROM_REGION( 0x1000, "chargen", 0 )
1473   ROM_LOAD( "8248r7.453", 0x0000, 0x1000, BAD_DUMP CRC(46ecbc65) SHA1(3fe064d49a4de5e3b7383752e98ad35a674e26dd) )
1474ROM_END
1475
1476#define rom_newbraiv rom_newbraia
1477
14781460/* System Configuration */
14791461
14801462static DEVICE_IMAGE_LOAD( newbrain_floppy )
r4182r4183
15461528   }
15471529}
15481530
1549static SYSTEM_CONFIG_START( newbrain )
1531static SYSTEM_CONFIG_START( newbrain_a )
15501532   CONFIG_RAM_DEFAULT   (32 * 1024)
1551   CONFIG_DEVICE(newbrain_floppy_getinfo)
15521533   CONFIG_DEVICE(newbrain_serial_getinfo)
15531534SYSTEM_CONFIG_END
15541535
1555static SYSTEM_CONFIG_START( newbraim )
1556   CONFIG_RAM_DEFAULT   (32 * 1024)
1536static SYSTEM_CONFIG_START( newbrain_eim )
1537   CONFIG_RAM_DEFAULT   (96 * 1024)
1538   CONFIG_DEVICE(newbrain_floppy_getinfo)
15571539   CONFIG_DEVICE(newbrain_serial_getinfo)
15581540SYSTEM_CONFIG_END
15591541
1560static SYSTEM_CONFIG_START( newbraia )
1561   CONFIG_RAM_DEFAULT   (32 * 1024)
1562   CONFIG_DEVICE(newbrain_serial_getinfo)
1563SYSTEM_CONFIG_END
1564
1565static SYSTEM_CONFIG_START( newbraiv )
1566   CONFIG_RAM_DEFAULT   (32 * 1024)
1567   CONFIG_DEVICE(newbrain_serial_getinfo)
1568SYSTEM_CONFIG_END
1569
15701542/* System Drivers */
15711543
1572//    YEAR  NAME      PARENT      COMPAT   MACHINE      INPUT      INIT   CONFIG      COMPANY                     FULLNAME      FLAGS
1573COMP( 1981, newbrain,   0,         0,      newbrain,   newbrain,   0,       newbrain,   "Grundy Business Systems Ltd.",   "NewBrain MD with Expansion Interface",   GAME_NOT_WORKING | GAME_NO_SOUND )
1574COMP( 1981, newbraim,   0,         0,      newbraim,   newbrain,   0,       newbraim,   "Grundy Business Systems Ltd.",   "NewBrain MD",   GAME_NOT_WORKING | GAME_NO_SOUND )
1575COMP( 1981, newbraia,   newbrain,   0,      newbraia,   newbrain,   0,       newbraia,   "Grundy Business Systems Ltd.",   "NewBrain AD",   GAME_NOT_WORKING | GAME_NO_SOUND )
1576COMP( 1981, newbraiv,   newbrain,   0,      newbraiv,   newbrain,   0,       newbraiv,   "Grundy Business Systems Ltd.",   "NewBrain VD",   GAME_NOT_WORKING | GAME_NO_SOUND )
1544//    YEAR  NAME      PARENT      COMPAT   MACHINE         INPUT      INIT   CONFIG         COMPANY                     FULLNAME      FLAGS
1545COMP( 1981, newbrain,   0,         0,      newbrain_a,      newbrain,   0,       newbrain_a,      "Grundy Business Systems Ltd.",   "NewBrain AD",   GAME_NOT_WORKING | GAME_NO_SOUND )
1546COMP( 1981, newbraie,   newbrain,   0,      newbrain_eim,   newbrain,   0,       newbrain_eim,   "Grundy Business Systems Ltd.",   "NewBrain AD with Expansion Interface",   GAME_NOT_WORKING | GAME_NO_SOUND )
1547COMP( 1981, newbraia,   newbrain,   0,      newbrain_a,      newbrain,   0,       newbrain_a,      "Grundy Business Systems Ltd.",   "NewBrain A",   GAME_NOT_WORKING | GAME_NO_SOUND )
1548COMP( 1981, newbraim,   newbrain,   0,      newbrain_m,      newbrain,   0,       newbrain_a,      "Grundy Business Systems Ltd.",   "NewBrain MD",   GAME_NOT_WORKING | GAME_NO_SOUND )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team