Previous 15994 Revisions Next

r4305 Thursday 19th February, 2009 at 16:33:10 UTC by Dirk Best
[BBC] Added centronics printer support, cleanups
[docs]messnew.txt
[src/mess/drivers]bbc.c
[src/mess/includes]bbc.h
[src/mess/machine]bbc.c

src/mess/includes/bbc.h
r4304r4305
9393
9494/* tape support */
9595
96WRITE8_HANDLER ( BBC_6850_w );
97READ8_HANDLER (BBC_6850_r);
98
9996WRITE8_HANDLER ( BBC_SerialULA_w );
10097
101extern const acia6850_interface bbc_acia6850_interface;
10298extern const i8271_interface bbc_i8271_interface;
10399extern const uPD7002_interface BBC_uPD7002;
104100
src/mess/machine/bbc.c
r4304r4305
1919#include "machine/upd7002.h"
2020#include "machine/i8271.h"
2121#include "machine/mc146818.h"
22#include "machine/ctronics.h"
2223#include "devices/basicdsk.h"
2324#include "devices/cassette.h"
2425
r4304r4305
412413   /* if 1 the the ROM is paged in for reads but writes still go to I/O   */
413414   if (ACCCON_TST)
414415   {
415      memory_set_bankptr( space->machine, 8, memory_region(space->machine, "user1")+0x43c00);
416      memory_set_bankptr( space->machine, 8, memory_region(space->machine, "user1")+0x43c00);
416417      memory_install_read_handler(space, 0xFC00,0xFEFF,0,0,8);
417418   }
418419   else
r4304r4305
584585
585586      myo=offset-0x200;
586587      if ((myo>=0x00) && (myo<=0x07)) return BBC_6845_r(space, myo-0x00);      /* Video Controller */
587      if ((myo>=0x08) && (myo<=0x0f)) return BBC_6850_r(space, myo-0x08);      /* Serial Controller */
588      if ((myo>=0x08) && (myo<=0x0f))
589      {
590         const device_config *acia = devtag_get_device(space->machine, ACIA6850, "acia6850");
591
592         if ((myo - 0x08) & 1)
593            return acia6850_stat_r(acia, 0);
594         else
595            return acia6850_data_r(acia, 0);
596      }
588597      if ((myo>=0x10) && (myo<=0x17)) return 0xfe;                  /* Serial System Chip */
589598      if ((myo>=0x18) && (myo<=0x1f)) return uPD7002_r((device_config*)devtag_get_device(space->machine, UPD7002, "upd7002"), myo-0x18);         /* A to D converter */
590599      if ((myo>=0x20) && (myo<=0x23)) return 0xfe;                  /* VideoULA */
r4304r4305
615624
616625      myo=offset-0x200;
617626      if ((myo>=0x00) && (myo<=0x07)) BBC_6845_w(space, myo-0x00,data);         /* Video Controller */
618      if ((myo>=0x08) && (myo<=0x0f)) BBC_6850_w(space, myo-0x08,data);         /* Serial Controller */
627      if ((myo>=0x08) && (myo<=0x0f))
628      {
629         const device_config *acia = devtag_get_device(space->machine, ACIA6850, "acia6850");
630
631         if ((myo - 0x08) & 1)
632            return acia6850_ctrl_w(acia, 0, data);
633         else
634            return acia6850_data_w(acia, 0, data);
635      }
619636      if ((myo>=0x10) && (myo<=0x17)) BBC_SerialULA_w(space, myo-0x10,data);      /* Serial System Chip */
620637      if ((myo>=0x18) && (myo<=0x1f)) uPD7002_w((device_config*)devtag_get_device(space->machine, UPD7002, "upd7002"),myo-0x18,data);         /* A to D converter */
621638      if ((myo>=0x20) && (myo<=0x23)) bbc_videoULA_w(space, myo-0x20,data);         /* VideoULA */
r4304r4305
762779
763780INTERRUPT_GEN( bbcb_keyscan )
764781{
765   static const char *const colnames[] = { "COL0", "COL1", "COL2", "COL3", "COL4",
782   static const char *const colnames[] = { "COL0", "COL1", "COL2", "COL3", "COL4",
766783                              "COL5", "COL6", "COL7", "COL8", "COL9" };
767784   const device_config *via_0 = devtag_get_device(device->machine, VIA6522, "via6522_0");
768   
785
769786     /* only do auto scan if keyboard is not enabled */
770787   if (b3_keyboard == 1)
771788   {
r4304r4305
781798         if ((input_port_read(device->machine, colnames[column]) | 0x01) != 0xff)
782799         {
783800            via_ca2_w(via_0, 0, 1);
784         }
785         else
801         }
802         else
786803         {
787804            via_ca2_w(via_0, 0, 0);
788805         }
789806
790      }
791      else
807      }
808      else
792809      {
793810         via_ca2_w(via_0, 0, 0);
794811      }
r4304r4305
798815
799816INTERRUPT_GEN( bbcm_keyscan )
800817{
801   static const char *const colnames[] = { "COL0", "COL1", "COL2", "COL3", "COL4",
818   static const char *const colnames[] = { "COL0", "COL1", "COL2", "COL3", "COL4",
802819                              "COL5", "COL6", "COL7", "COL8", "COL9" };
803820   const device_config *via_0 = devtag_get_device(device->machine, VIA6522, "via6522_0");
804821
r4304r4305
836853   int bit;
837854   int row;
838855   int res;
839   static const char *const colnames[] = { "COL0", "COL1", "COL2", "COL3", "COL4",
856   static const char *const colnames[] = { "COL0", "COL1", "COL2", "COL3", "COL4",
840857                              "COL5", "COL6", "COL7", "COL8", "COL9" };
841858   const device_config *via_0 = devtag_get_device(space->machine, VIA6522, "via6522_0");
842859
r4304r4305
845862
846863   bit = 0;
847864
848   if (column < 10)
865   if (column < 10)
849866   {
850867      res = input_port_read(space->machine, colnames[column]);
851   }
852   else
868   }
869   else
853870   {
854871      res = 0xff;
855872   }
856873
857874   /* Normal keyboard result */
858875   if ((res & (1<<row)) == 0)
859   {
860      bit = 1;
876   {
877      bit = 1;
861878   }
862879
863880   if ((res | 1) != 0xff)
864881   {
865882      via_ca2_w(via_0, 0, 1);
866   }
867   else
883   }
884   else
868885   {
869886      via_ca2_w(via_0, 0, 0);
870887   }
r4304r4305
11761193}
11771194
11781195
1179/* this is wired as in input port so writing to this port would be bad */
1180
1181static WRITE8_DEVICE_HANDLER( bbcb_via_system_write_ca2 )
1182{
1183   //logerror("via_system_write_ca2: $%02X\n", data);
1184}
1185
1186/* this is wired as in input port so writing to this port would be bad */
1187
1188static WRITE8_DEVICE_HANDLER( bbcb_via_system_write_cb2 )
1189{
1190   //logerror("via_system_write_cb2: $%02X\n", data);
1191}
1192
1193
1194
1195static void bbc_via_system_irq(const device_config *device, int level)
1196{
1197//  logerror("SYSTEM via irq %d %d %d\n",via_system_irq,via_user_irq,level);
1198   cpu_set_input_line(device->machine->cpu[0], M6502_IRQ_LINE, level);
1199}
1200
1201
12021196const via6522_interface bbcb_system_via =
12031197{
12041198   DEVCB_HANDLER(bbcb_via_system_read_porta),
r4304r4305
12091203   DEVCB_HANDLER(bbcb_via_system_read_cb2),
12101204   DEVCB_HANDLER(bbcb_via_system_write_porta),
12111205   DEVCB_HANDLER(bbcb_via_system_write_portb),
1212   DEVCB_NULL, DEVCB_NULL,
1213   DEVCB_HANDLER(bbcb_via_system_write_ca2),
1214   DEVCB_HANDLER(bbcb_via_system_write_cb2),
1215   DEVCB_LINE(bbc_via_system_irq)
1206   DEVCB_NULL,
1207   DEVCB_NULL,
1208   DEVCB_NULL,
1209   DEVCB_NULL,
1210   DEVCB_CPU_INPUT_LINE("main", M6502_IRQ_LINE)
12161211};
12171212
12181213
r4304r4305
12251220collector output only. It usially acts as the printer strobe line.
12261221***********************************************************************/
12271222
1228/* this code just sends the output of the printer port to the errorlog
1229file. I now need to look at the new printer code and see how I should
1230connect this code up to that */
1231
1232static int bbc_printer_porta;
1233static int bbc_printer_ca1;
1234static int bbc_printer_ca2;
1235
1236/* USER VIA 6522 port A is buffered as an output through IC70 so
1237reading from this port will always return 0xff */
1238static READ8_DEVICE_HANDLER( bbcb_via_user_read_porta )
1239{
1240   return 0xff;
1241}
1242
12431223/* USER VIA 6522 port B is connected to the BBC user port */
12441224static READ8_DEVICE_HANDLER( bbcb_via_user_read_portb )
12451225{
12461226   return 0xff;
12471227}
12481228
1249static READ8_DEVICE_HANDLER( bbcb_via_user_read_ca1 )
1250{
1251   return bbc_printer_ca1;
1252}
1253
1254static READ8_DEVICE_HANDLER( bbcb_via_user_read_ca2 )
1255{
1256   return 1;
1257}
1258
1259static WRITE8_DEVICE_HANDLER( bbcb_via_user_write_porta )
1260{
1261   bbc_printer_porta=data;
1262}
1263
12641229static WRITE8_DEVICE_HANDLER( bbcb_via_user_write_portb )
12651230{
1266   bbc_userport=data;
1231   bbc_userport = data;
12671232}
12681233
1269static WRITE8_DEVICE_HANDLER( bbcb_via_user_write_ca2 )
1270{
1271   const device_config *via_1 = devtag_get_device(device->machine, VIA6522, "via6522_1");
1272
1273   /* write value to printer on rising edge of ca2 */
1274   if ((bbc_printer_ca2==0) && (data==1))
1275   {
1276      logerror("print character $%02X\n",bbc_printer_porta);
1277   }
1278   bbc_printer_ca2=data;
1279
1280   /* this is a very bad way of returning an acknowledge
1281   by just linking the strobe output into the acknowledge input */
1282   bbc_printer_ca1=data;
1283   via_ca1_w(via_1, 0,data);
1284}
1285
1286static void bbc_via_user_irq(const device_config *device, int level)
1287{
1288   cpu_set_input_line(device->machine->cpu[0], M6502_IRQ_LINE, level);
1289}
1290
1291
12921234const via6522_interface bbcb_user_via =
12931235{
1294   DEVCB_HANDLER(bbcb_via_user_read_porta),//via_user_read_porta,
1295   DEVCB_HANDLER(bbcb_via_user_read_portb),//via_user_read_portb,
1296   DEVCB_HANDLER(bbcb_via_user_read_ca1),//via_user_read_ca1,
1297   DEVCB_NULL,//via_user_read_cb1,
1298   DEVCB_HANDLER(bbcb_via_user_read_ca2),//via_user_read_ca2,
1299   DEVCB_NULL,//via_user_read_cb2,
1300   DEVCB_HANDLER(bbcb_via_user_write_porta),//via_user_write_porta,
1301   DEVCB_HANDLER(bbcb_via_user_write_portb),//via_user_write_portb,
1236   DEVCB_NULL,   //via_user_read_porta,
1237   DEVCB_HANDLER(bbcb_via_user_read_portb),
1238   DEVCB_NULL,   //via_user_read_ca1,
1239   DEVCB_NULL,   //via_user_read_cb1,
1240   DEVCB_NULL,   //via_user_read_ca2,
1241   DEVCB_NULL,   //via_user_read_cb2,
1242   DEVCB_DEVICE_HANDLER(CENTRONICS, "centronics", centronics_data_w),
1243   DEVCB_HANDLER(bbcb_via_user_write_portb),
13021244   DEVCB_NULL, //via_user_write_ca1
13031245   DEVCB_NULL, //via_user_write_cb1
1304   DEVCB_HANDLER(bbcb_via_user_write_ca2),//via_user_write_ca2,
1305   DEVCB_NULL,//via_user_write_cb2,
1306   DEVCB_LINE(bbc_via_user_irq) //via_user_irq
1246   DEVCB_DEVICE_LINE(CENTRONICS, "centronics", centronics_strobe_w),
1247   DEVCB_NULL,   //via_user_write_cb2,
1248   DEVCB_CPU_INPUT_LINE("main", M6502_IRQ_LINE)
13071249};
13081250
13091251
r4304r4305
13421284
13431285
13441286/***************************************
1345  BBC 6850 Serial Controller
1346****************************************/
1347
1348WRITE8_HANDLER ( BBC_6850_w )
1349{
1350   const device_config *acia = devtag_get_device(space->machine, ACIA6850, "acia6850");
1351
1352   switch (offset&1)
1353   {
1354      case 0:
1355         acia6850_ctrl_w(acia, 0, data);
1356         break;
1357      case 1:
1358         acia6850_data_w(acia, 0, data);
1359         break;
1360   }
1361
1362   //logerror("6850 write to %02x = %02x\n",offset,data);
1363
1364}
1365
1366READ8_HANDLER (BBC_6850_r)
1367{
1368   const device_config *acia = devtag_get_device(space->machine, ACIA6850, "acia6850");
1369   UINT8 retval=0;
1370
1371   switch (offset&1)
1372   {
1373      case 0:
1374         retval = acia6850_stat_r(acia, 0);
1375         break;
1376      case 1:
1377         retval = acia6850_data_r(acia, 0);
1378         break;
1379   }
1380   //logerror("6850 read from %02x = %02x\n",offset,retval);
1381   return retval;
1382}
1383
1384
1385
1386static WRITE_LINE_DEVICE_HANDLER( serial_interrupt )
1387{
1388   cpu_set_input_line(device->machine->cpu[0], M6502_IRQ_LINE, state);
1389}
1390
1391static UINT8 bbc_tx_pin;
1392
1393static WRITE_LINE_DEVICE_HANDLER( bbc_tx_w )
1394{
1395   bbc_tx_pin = state;
1396}
1397
1398ACIA6850_INTERFACE( bbc_acia6850_interface )
1399{
1400   0,
1401   0,
1402   DEVCB_NULL,
1403   DEVCB_LINE(bbc_tx_w), /*&bbc_tx_pin,*/
1404   DEVCB_NULL,
1405   DEVCB_NULL,
1406   DEVCB_NULL,
1407   DEVCB_LINE(serial_interrupt),
1408};
1409
1410
1411/***************************************
14121287  BBC 2C199 Serial Interface Cassette
14131288****************************************/
14141289
r4304r4305
17711646
17721647
17731648READ8_HANDLER ( bbc_wd1770_read )
1774{   
1649{
17751650   int retval=0xff;
17761651   device_config *fdc = (device_config*)devtag_get_device(space->machine, WD177X, "wd177x");
17771652   switch (offset)
r4304r4305
22762151   memory_configure_bank(machine, 5, 0, 16, memory_region(machine, "user1")+0x01000, 1<<14);
22772152
22782153   /* Set ROM/IO bank to point to rom */
2279   memory_set_bankptr( machine, 8, memory_region(machine, "user1")+0x43c00);
2154   memory_set_bankptr( machine, 8, memory_region(machine, "user1")+0x43c00);
22802155   memory_install_read_handler(cpu_get_address_space(machine->cpu[0], ADDRESS_SPACE_PROGRAM),0xFC00,0xFEFF,0,0,8);
22812156}
22822157
r4304r4305
22912166   bbcb_IC32_initialise();
22922167
22932168
2294   previous_wd177x_int_state=1;   
2169   previous_wd177x_int_state=1;
22952170}
src/mess/drivers/bbc.c
r4304r4305
1616#include "machine/mc146818.h"
1717#include "includes/bbc.h"
1818#include "machine/upd7002.h"
19#include "machine/ctronics.h"
1920#include "devices/basicdsk.h"
2021#include "devices/cartslot.h"
21#include "devices/printer.h"
2222#include "devices/cassette.h"
2323#include "formats/uef_cas.h"
2424#include "formats/csw_cas.h"
r4304r4305
103103
104104                                                               /*    fe00-feff                 Shiela Address Page             */
105105   AM_RANGE(0xfe00, 0xfe07) AM_READWRITE(BBC_6845_r       , BBC_6845_w      )   /*    fe00-fe07  6845 CRTA      Video controller                */
106   AM_RANGE(0xfe08, 0xfe0f) AM_READWRITE(BBC_6850_r      , BBC_6850_w      )   /*    fe08-fe0f  6850 ACIA      Serial Controller               */
106   AM_RANGE(0xfe08, 0xfe08) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_stat_r, acia6850_ctrl_w)
107   AM_RANGE(0xfe09, 0xfe09) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_data_r, acia6850_data_w)
107108   AM_RANGE(0xfe10, 0xfe17) AM_READWRITE(return8_FE      , BBC_SerialULA_w   )   /*    fe10-fe17  Serial ULA     Serial system chip              */
108109   AM_RANGE(0xfe18, 0xfe1f) AM_NOP                                       /*    fe18-fe1f  INTOFF/STATID  1 ECONET Interrupt Off / ID No. */
109110   AM_RANGE(0xfe20, 0xfe2f) AM_WRITE    (                   bbc_videoULA_w    )   /* R: fe20-fe2f  INTON          1 ECONET Interrupt On           */
r4304r4305
136137
137138                                                               /*    fe00-feff                 Shiela Address Page             */
138139   AM_RANGE(0xfe00, 0xfe07) AM_READWRITE(BBC_6845_r       , BBC_6845_w        )   /*    fe00-fe07  6845 CRTC      Video controller                */
139   AM_RANGE(0xfe08, 0xfe0f) AM_READWRITE(BBC_6850_r      , BBC_6850_w      )   /*    fe08-fe0f  6850 ACIA      Serial Controller               */
140   AM_RANGE(0xfe08, 0xfe08) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_stat_r, acia6850_ctrl_w)
141   AM_RANGE(0xfe09, 0xfe09) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_data_r, acia6850_data_w)
140142   AM_RANGE(0xfe10, 0xfe17) AM_READWRITE(return8_FE      , BBC_SerialULA_w   )   /*    fe10-fe17  Serial ULA     Serial system chip              */
141143   AM_RANGE(0xfe18, 0xfe1f) AM_NOP                                       /*    fe18-fe1f  INTOFF/STATID  ECONET Interrupt Off / ID No.   */
142144   AM_RANGE(0xfe20, 0xfe2f) AM_WRITE    (                   bbc_videoULA_w    )   /* R: fe20-fe2f  INTON          ECONET Interrupt On             */
r4304r4305
170172
171173                                                               /*    fe00-feff                 Shiela Address Page             */
172174   AM_RANGE(0xfe00, 0xfe07) AM_READWRITE(BBC_6845_r      , BBC_6845_w      )   /*    fe00-fe07  6845 CRTC      Video controller                */
173   AM_RANGE(0xfe08, 0xfe0f) AM_READWRITE(BBC_6850_r      , BBC_6850_w      )   /*    fe08-fe0f  6850 ACIA      Serial Controller               */
175   AM_RANGE(0xfe08, 0xfe08) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_stat_r, acia6850_ctrl_w)
176   AM_RANGE(0xfe09, 0xfe09) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_data_r, acia6850_data_w)
174177   AM_RANGE(0xfe10, 0xfe17) AM_READWRITE(return8_FE      , BBC_SerialULA_w   )   /*    fe10-fe17  Serial ULA     Serial system chip              */
175178   AM_RANGE(0xfe18, 0xfe1f) AM_NOP                                       /*    fe18-fe1f  INTOFF/STATID  ECONET Interrupt Off / ID No.   */
176179   AM_RANGE(0xfe20, 0xfe2f) AM_WRITE    (bbc_videoULA_w                  )   /* R: fe20-fe2f  INTON          ECONET Interrupt On             */
r4304r4305
205208
206209                                                               /*    fe00-feff                 Shiela Address Page             */
207210   AM_RANGE(0xfe00, 0xfe07) AM_READWRITE(BBC_6845_r      , BBC_6845_w      )   /*    fe00-fe07  6845 CRTC      Video controller                */
208   AM_RANGE(0xfe08, 0xfe0f) AM_READWRITE(BBC_6850_r      , BBC_6850_w      )   /*    fe08-fe0f  6850 ACIA      Serial Controller               */
211   AM_RANGE(0xfe08, 0xfe08) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_stat_r, acia6850_ctrl_w)
212   AM_RANGE(0xfe09, 0xfe09) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_data_r, acia6850_data_w)
209213   AM_RANGE(0xfe10, 0xfe17) AM_READWRITE(return8_FE      , BBC_SerialULA_w   )   /*    fe10-fe17  Serial ULA     Serial system chip              */
210214   AM_RANGE(0xfe10, 0xfe17) AM_NOP                                       /*    fe10-fe17  Serial ULA     Serial system chip              */
211215   AM_RANGE(0xfe18, 0xfe1f) AM_NOP                                       /*    fe18-fe1f  INTOFF/STATID  ECONET Interrupt Off / ID No.   */
r4304r4305
269273
270274                                                                                          fe00-feff                 Shiela Address Page
271275    AM_RANGE(0xfe00, 0xfe07) AM_READWRITE(BBC_6845_r        , BBC_6845_w        )         fe00-fe07  6845 CRTC      Video controller
272    AM_RANGE(0xfe08, 0xfe0f) AM_READWRITE(BBC_6850_r        , BBC_6850_w        )         fe08-fe0f  6850 ACIA      Serial Controller
276   AM_RANGE(0xfe08, 0xfe08) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_stat_r, acia6850_ctrl_w)
277   AM_RANGE(0xfe09, 0xfe09) AM_MIRROR(0x06) AM_DEVREADWRITE(ACIA6850, "acia6850", acia6850_data_r, acia6850_data_w)
273278    AM_RANGE(0xfe10, 0xfe17) AM_NOP                                                       fe10-fe17  Serial ULA     Serial system chip
274279    AM_RANGE(0xfe18, 0xfe1f) M_DEVREADWRITE(UPD7002, "uPD7002",uPD7002_r, uPD7002_w )         fec0-fedf  uPD7002        Analogue to digital converter
275280    AM_RANGE(0xfe20, 0xfe23) AM_READWRITE(return8_FE        , bbc_videoULA_w        )         fe20-fe23  Video ULA      Video system chip
r4304r4305
664669
665670   ROM_SYSTEM_BIOS( 0, "mos350", "Enhanced MOS 3.50" )
666671   ROMX_LOAD("mos+3.50.rom",0x20000, 0x20000, CRC(141027b9) SHA1(85211b5bc7c7a269952d2b063b7ec0e1f0196803),ROM_BIOS(1))
667   
672
668673   ROM_SYSTEM_BIOS( 1, "mos320", "Original MOS 3.20" )
669674   ROMX_LOAD("mos3.20.rom",0x20000, 0x20000, CRC(0cfad2ce) SHA1(0275719aa7746dd3b627f95ccc4362b564063a5e),ROM_BIOS(2))
670675
r4304r4305
718723   CASSETTE_PLAY
719724};
720725
726
727static WRITE_LINE_DEVICE_HANDLER(bbcb_ack_w)
728{
729   via_ca1_w(device, 0, !state); /* ack seems to be inverted? */
730}
731
732static const centronics_interface bbcb_centronics_config =
733{
734   FALSE,
735   DEVCB_DEVICE_LINE(VIA6522, "via6522_1", bbcb_ack_w),
736   DEVCB_NULL,
737   DEVCB_NULL
738};
739
740static ACIA6850_INTERFACE( bbc_acia6850_interface )
741{
742   0,
743   0,
744   DEVCB_NULL,
745   DEVCB_NULL,
746   DEVCB_NULL,
747   DEVCB_NULL,
748   DEVCB_NULL,
749   DEVCB_CPU_INPUT_LINE("main", M6502_IRQ_LINE)
750};
751
752
721753static MACHINE_DRIVER_START( bbc_cartslot )
722754   MDRV_CARTSLOT_ADD("cart1")
723755   MDRV_CARTSLOT_EXTENSION_LIST("rom")
r4304r4305
775807
776808   /* acia */
777809   MDRV_ACIA6850_ADD("acia6850", bbc_acia6850_interface)
778   
810
779811   /* devices */
780812   MDRV_UPD7002_ADD("upd7002",BBC_uPD7002)
781813   MDRV_VIA6522_ADD("via6522_0", 1000000, bbcb_system_via)
r4304r4305
790822   MDRV_MACHINE_START( bbcb )
791823   MDRV_MACHINE_RESET( bbcb )
792824   MDRV_VIDEO_START( bbcb )
825
793826   MDRV_VIA6522_ADD("via6522_1", 1000000, bbcb_user_via)
827   MDRV_CENTRONICS_ADD("centronics", bbcb_centronics_config)
794828
795829   MDRV_WD177X_ADD("wd177x", bbc_wd17xx_interface )
796830
r4304r4305
805839   MDRV_MACHINE_START( bbcbp )
806840   MDRV_MACHINE_RESET( bbcbp )
807841   MDRV_VIDEO_START( bbcbp )
842
808843   MDRV_VIA6522_ADD("via6522_1", 1000000, bbcb_user_via)
844   MDRV_CENTRONICS_ADD("centronics", bbcb_centronics_config)
809845   MDRV_WD177X_ADD("wd177x", bbc_wd17xx_interface )
810   
846
811847   MDRV_IMPORT_FROM(bbc_cartslot)
812848MACHINE_DRIVER_END
813849
r4304r4305
819855   MDRV_MACHINE_START( bbcbp )
820856   MDRV_MACHINE_RESET( bbcbp )
821857   MDRV_VIDEO_START( bbcbp )
822   
858
823859   MDRV_VIA6522_ADD("via6522_1", 1000000, bbcb_user_via)
860   MDRV_CENTRONICS_ADD("centronics", bbcb_centronics_config)
861
824862   MDRV_WD177X_ADD("wd177x", bbc_wd17xx_interface )
825   
863
826864   MDRV_IMPORT_FROM(bbc_cartslot)
827865MACHINE_DRIVER_END
828866
r4304r4305
867905
868906   /* acia */
869907   MDRV_ACIA6850_ADD("acia6850", bbc_acia6850_interface)
870   
908
871909   /* devices */
872910   MDRV_UPD7002_ADD("upd7002",BBC_uPD7002)
873911   MDRV_VIA6522_ADD("via6522_0", 1000000, bbcb_system_via)
874912   MDRV_VIA6522_ADD("via6522_1", 1000000, bbcb_user_via)
913   MDRV_CENTRONICS_ADD("centronics", bbcb_centronics_config)
875914   MDRV_WD177X_ADD("wd177x", bbc_wd17xx_interface )
876   
915
877916   MDRV_IMPORT_FROM(bbc_cartslot)
878917MACHINE_DRIVER_END
879918
docs/messnew.txt
r4304r4305
3131
3232- [ATOM] Rewrote printer interface.  [Dirk Best]
3333
34- [BBCB] Added centronics printer support.  [Dirk Best]
35
3436- [BW2] Updated to use the new centronics interface.  [Dirk Best]
3537
3638- [CHANNELF] Added support for "new" sound.  [Fredric QJ BlĂ„holtz]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team