Previous 15994 Revisions Next

r4551 Friday 24th April, 2009 at 10:50:23 UTC by Nathan Woods
Eliminated empty DEVINFO_FCT_SET_INFO functions
[src/mess]device.c
[src/mess/audio]cdp1863.c lmc1992.c mea8000.c
[src/mess/devices]cartslot.c coco_232.c coco_fdc.c coco_pak.c orch90.c
[src/mess/drivers]einstein.c
[src/mess/machine]6525tpi.c 6530miot.c 6551.c 6883sam.c 68901mfp.c 74145.c 8530scc.c abc77.c abc99.c adc080x.c ap2_lang.c ap2_slot.c at45dbxx.c ay31015.c cdp1871.c conkort.c ctronics.c ds1315.c e0516.c hd63450.c i8271.c ins8154.c ins8250.c kr2376.c mc68328.c mc6843.c mc6846.c mc6854.c mm58274c.c mockngbd.c msm8251.c ncr5380.c nec765.c osborne1.c pc_lpt.c pcf8593.c rp5c15.c sst39vfx.c tc8521.c tms5501.c tms9901.c tms9902.c upd7002.c wd17xx.c x68k_hdc.c z80dart.c zx8302.c
[src/mess/video]cdp1861.c cdp1862.c cdp1864.c crtc_ega.c dl1416.c i8275.c k1ge.c msm6255.c upd7220.c zx8301.c

src/mess/audio/lmc1992.c
r4550r4551
161161   state_save_register_device_item(device, 0, lmc1992->fader_lr);
162162}
163163
164static DEVICE_SET_INFO( lmc1992 )
165{
166   switch (state)
167   {
168      /* no parameters to set */
169   }
170}
171
172164DEVICE_GET_INFO( lmc1992 )
173165{
174166   switch (state)
r4550r4551
179171      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
180172
181173      /* --- the following bits of info are returned as pointers to data or functions --- */
182      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(lmc1992); break;
183174      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(lmc1992);   break;
184175      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
185176      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/audio/mea8000.c
r4550r4551
703703
704704/************************** configuration ****************************/
705705
706static DEVICE_SET_INFO( mea8000 )
707{
708   switch ( state ) {
709      /* no parameters to set */
710   }
711}
712
713
714706DEVICE_GET_INFO( mea8000 ) {
715707   switch ( state ) {
716708      /* --- the following bits of info are returned as 64-bit signed integers --- */
r4550r4551
719711      case DEVINFO_INT_CLASS:            info->i = DEVICE_CLASS_PERIPHERAL;      break;
720712
721713      /* --- the following bits of info are returned as pointers to data or functions --- */
722           case DEVINFO_FCT_SET_INFO:              info->set_info = DEVICE_SET_INFO_NAME(mea8000);  break;
723714      case DEVINFO_FCT_START:            info->start = DEVICE_START_NAME(mea8000);   break;
724715      case DEVINFO_FCT_STOP:            /* nothing */               break;
725716      case DEVINFO_FCT_RESET:            info->reset = DEVICE_RESET_NAME(mea8000);   break;
src/mess/audio/cdp1863.c
r4550r4551
158158   cdp1863->latch = CDP1863_DEFAULT_LATCH;
159159}
160160
161static DEVICE_SET_INFO( cdp1863 )
162{
163   switch (state)
164   {
165      /* no parameters to set */
166   }
167}
168
169161DEVICE_GET_INFO( cdp1863 )
170162{
171163   switch (state)
r4550r4551
176168      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
177169
178170      /* --- the following bits of info are returned as pointers to data or functions --- */
179      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(cdp1863); break;
180171      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(cdp1863);   break;
181172      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
182173      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(cdp1863);   break;
src/mess/video/i8275.c
r4550r4551
582582   i8275->blink = 0;
583583}
584584
585static DEVICE_SET_INFO( i8275 )
586{
587   switch (state)
588   {
589      /* no parameters to set */
590   }
591}
592
593585DEVICE_GET_INFO( i8275 )
594586{
595587   switch (state)
r4550r4551
600592      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
601593
602594      /* --- the following bits of info are returned as pointers to data or functions --- */
603      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(i8275); break;
604595      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(i8275);      break;
605596      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
606597      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(i8275);      break;
src/mess/video/cdp1862.c
r4550r4551
161161   cdp1862->con = CLEAR_LINE;
162162}
163163
164static DEVICE_SET_INFO( cdp1862 )
165{
166   switch (state)
167   {
168      /* no parameters to set */
169   }
170}
171
172164DEVICE_GET_INFO( cdp1862 )
173165{
174166   switch (state)
r4550r4551
179171      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
180172
181173      /* --- the following bits of info are returned as pointers to data or functions --- */
182      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(cdp1862); break;
183174      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(cdp1862);   break;
184175      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
185176      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(cdp1862);   break;
src/mess/video/crtc_ega.c
r4550r4551
837837}
838838
839839
840static DEVICE_SET_INFO( crtc_ega )
841{
842   switch (state)
843   {
844      /* no parameters to set */
845   }
846}
847
848
849840DEVICE_GET_INFO( crtc_ega )
850841{
851842   switch (state)
r4550r4551
856847      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
857848
858849      /* --- the following bits of info are returned as pointers to data or functions --- */
859      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(crtc_ega); break;
860850      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(crtc_ega);   break;
861851      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
862852      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(crtc_ega);   break;
src/mess/video/upd7220.c
r4550r4551
428428}
429429
430430/*-------------------------------------------------
431    DEVICE_SET_INFO( upd7220 )
432-------------------------------------------------*/
433
434static DEVICE_SET_INFO( upd7220 )
435{
436   switch (state)
437   {
438      /* no parameters to set */
439   }
440}
441
442/*-------------------------------------------------
443431    DEVICE_GET_INFO( upd7220 )
444432-------------------------------------------------*/
445433
r4550r4551
456444      case DEVINFO_PTR_ROM_REGION:               info->romregion = ROM_NAME(upd7220);            break;
457445
458446      /* --- the following bits of info are returned as pointers to data or functions --- */
459      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(upd7220);      break;
460447      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(upd7220);         break;
461448      case DEVINFO_FCT_STOP:                     /* Nothing */                              break;
462449      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(upd7220);         break;
src/mess/video/zx8301.c
r4550r4551
335335}
336336
337337/*-------------------------------------------------
338    DEVICE_SET_INFO( zx8301 )
339-------------------------------------------------*/
340
341static DEVICE_SET_INFO( zx8301 )
342{
343   switch (state)
344   {
345      /* no parameters to set */
346   }
347}
348
349/*-------------------------------------------------
350338    DEVICE_GET_INFO( zx8301 )
351339-------------------------------------------------*/
352340
r4550r4551
360348      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;            break;
361349
362350      /* --- the following bits of info are returned as pointers to data or functions --- */
363      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(zx8301);   break;
364351      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(zx8301);      break;
365352      case DEVINFO_FCT_STOP:                     /* Nothing */                           break;
366353      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(zx8301);      break;
src/mess/video/msm6255.c
r4550r4551
414414}
415415
416416/*-------------------------------------------------
417    DEVICE_SET_INFO( msm6255 )
418-------------------------------------------------*/
419
420static DEVICE_SET_INFO( msm6255 )
421{
422   switch (state)
423   {
424      /* no parameters to set */
425   }
426}
427
428/*-------------------------------------------------
429417    DEVICE_GET_INFO( msm6255 )
430418-------------------------------------------------*/
431419
r4550r4551
439427      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;            break;
440428
441429      /* --- the following bits of info are returned as pointers to data or functions --- */
442      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(msm6255); break;
443430      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(msm6255);      break;
444431      case DEVINFO_FCT_STOP:                     /* Nothing */                           break;
445432      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(msm6255);      break;
src/mess/video/cdp1864.c
r4550r4551
478478}
479479
480480/*-------------------------------------------------
481    DEVICE_SET_INFO( cdp1861 )
482-------------------------------------------------*/
483
484static DEVICE_SET_INFO( cdp1864 )
485{
486   switch (state)
487   {
488      /* no parameters to set */
489   }
490}
491
492/*-------------------------------------------------
493481    DEVICE_GET_INFO( cdp1861 )
494482-------------------------------------------------*/
495483
r4550r4551
503491      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;               break;
504492
505493      /* --- the following bits of info are returned as pointers to data or functions --- */
506      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(cdp1864);      break;
507494      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(cdp1864);         break;
508495      case DEVINFO_FCT_STOP:                     /* Nothing */                              break;
509496      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(cdp1864);         break;
src/mess/video/dl1416.c
r4550r4551
152152}
153153
154154
155static DEVICE_SET_INFO( dl1416 )
156{
157   switch (state)
158   {
159      /* no parameters to set */
160   }
161}
162
163
164155DEVICE_GET_INFO( dl1416 )
165156{
166157   switch (state)
r4550r4551
171162      case DEVINFO_INT_CLASS:               info->i = DEVICE_CLASS_VIDEO;         break;
172163
173164      /* --- the following bits of info are returned as pointers to data or functions --- */
174      case DEVINFO_FCT_SET_INFO:            info->set_info = DEVICE_SET_INFO_NAME( dl1416 );      break;
175165      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME( dl1416 );            break;
176166      case DEVINFO_FCT_STOP:               /* Nothing */                     break;
177167      case DEVINFO_FCT_RESET:               info->reset = DEVICE_RESET_NAME( dl1416 );            break;
src/mess/video/cdp1861.c
r4550r4551
285285}
286286
287287/*-------------------------------------------------
288    DEVICE_SET_INFO( cdp1861 )
289-------------------------------------------------*/
290
291static DEVICE_SET_INFO( cdp1861 )
292{
293   switch (state)
294   {
295      /* no parameters to set */
296   }
297}
298
299/*-------------------------------------------------
300288    DEVICE_GET_INFO( cdp1861 )
301289-------------------------------------------------*/
302290
r4550r4551
310298      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;               break;
311299
312300      /* --- the following bits of info are returned as pointers to data or functions --- */
313      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(cdp1861);      break;
314301      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(cdp1861);         break;
315302      case DEVINFO_FCT_STOP:                     /* Nothing */                              break;
316303      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(cdp1861);         break;
src/mess/video/k1ge.c
r4550r4551
881881}
882882
883883
884static DEVICE_SET_INFO( k1ge )
885{
886}
887
888
889884DEVICE_GET_INFO( k1ge )
890885{
891886   switch ( state )
r4550r4551
896891      case DEVINFO_INT_CLASS:               info->i = DEVICE_CLASS_PERIPHERAL; break;
897892
898893      /* --- the following bits of info are returned as pointers to data or functions --- */
899      case DEVINFO_FCT_SET_INFO:            info->set_info = DEVICE_SET_INFO_NAME( k1ge ); break;
900894      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME( k1ge ); break;
901895      case DEVINFO_FCT_STOP:               break;
902896      case DEVINFO_FCT_RESET:               info->reset = DEVICE_RESET_NAME( k1ge ); break;
src/mess/device.c
r4550r4551
287287      case DEVINFO_PTR_IMAGE_CREATE_OPTGUIDE:   info->p = mess_device_get_info_ptr(&mess_device->io_device.devclass, MESS_DEVINFO_PTR_CREATE_OPTGUIDE); break;
288288
289289      /* --- the following bits of info are returned as pointers to functions --- */
290      case DEVINFO_FCT_SET_INFO:            /* Nothing */                           break;
291290      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME(mess_device);   break;
292291      case DEVINFO_FCT_STOP:               info->stop = DEVICE_STOP_NAME(mess_device);      break;
293292      case DEVINFO_FCT_RESET:               /* Nothing */                           break;
src/mess/machine/kr2376.c
r4550r4551
360360   state_save_register_device_item(device, 0, kr2376->data);
361361}
362362
363static DEVICE_SET_INFO( kr2376 )
364{
365   switch (state)
366   {
367      /* no parameters to set */
368   }
369}
370
371363DEVICE_GET_INFO( kr2376 )
372364{
373365   switch (state)
r4550r4551
378370      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
379371
380372      /* --- the following bits of info are returned as pointers to data or functions --- */
381      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(kr2376); break;
382373      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(kr2376);   break;
383374      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
384375      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/conkort.c
r4550r4551
873873}
874874
875875/*-------------------------------------------------
876    DEVICE_SET_INFO( luxor_55_10828 )
877-------------------------------------------------*/
878
879static DEVICE_SET_INFO( luxor_55_10828 )
880{
881   switch (state)
882   {
883      /* no parameters to set */
884   }
885}
886
887/*-------------------------------------------------
888876    DEVICE_GET_INFO( luxor_55_10828 )
889877-------------------------------------------------*/
890878
r4550r4551
902890      case DEVINFO_PTR_MACHINE_CONFIG:            info->machine_config = MACHINE_DRIVER_NAME(luxor_55_10828);   break;
903891
904892      /* --- the following bits of info are returned as pointers to data or functions --- */
905      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(luxor_55_10828);      break;
906893      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(luxor_55_10828);         break;
907894      case DEVINFO_FCT_STOP:                     /* Nothing */                                    break;
908895      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(luxor_55_10828);         break;
r4550r4551
956943}
957944
958945/*-------------------------------------------------
959    DEVICE_SET_INFO( luxor_55_21046 )
960-------------------------------------------------*/
961
962static DEVICE_SET_INFO( luxor_55_21046 )
963{
964   switch (state)
965   {
966      /* no parameters to set */
967   }
968}
969
970/*-------------------------------------------------
971946    DEVICE_GET_INFO( luxor_55_21046 )
972947-------------------------------------------------*/
973948
r4550r4551
985960      case DEVINFO_PTR_MACHINE_CONFIG:            info->machine_config = MACHINE_DRIVER_NAME(luxor_55_21046);   break;
986961
987962      /* --- the following bits of info are returned as pointers to data or functions --- */
988      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(luxor_55_21046);      break;
989963      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(luxor_55_21046);         break;
990964      case DEVINFO_FCT_STOP:                     /* Nothing */                                    break;
991965      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(luxor_55_21046);         break;
src/mess/machine/ap2_slot.c
r4550r4551
148148      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
149149
150150      /* --- the following bits of info are returned as pointers to data or functions --- */
151      case DEVINFO_FCT_SET_INFO:                  /* Nothing */                        break;
152151      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(apple2_slot);   break;
153152      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
154153      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/mockngbd.c
r4550r4551
223223      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
224224
225225      /* --- the following bits of info are returned as pointers to data or functions --- */
226      case DEVINFO_FCT_SET_INFO:                  /* Nothing */                        break;
227226      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(mockingboard);   break;
228227      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
229228      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(mockingboard);   break;
src/mess/machine/ncr5380.c
r4550r4551
448448}
449449
450450
451static DEVICE_SET_INFO( ncr5380 )
452{
453   switch ( state )
454   {
455      /* no parameters to set */
456   }
457}
458
459
460451DEVICE_GET_INFO( ncr5380 ) {
461452   switch ( state ) {
462453      /* --- the following bits of info are returned as 64-bit signed integers --- */
r4550r4551
465456      case DEVINFO_INT_CLASS:            info->i = DEVICE_CLASS_PERIPHERAL;         break;
466457
467458      /* --- the following bits of info are returned as pointers to data or functions --- */
468      case DEVINFO_FCT_SET_INFO:         info->set_info = DEVICE_SET_INFO_NAME(ncr5380);   break;
469459      case DEVINFO_FCT_START:            info->start = DEVICE_START_NAME(ncr5380);   break;
470460      case DEVINFO_FCT_STOP:            /* nothing */                break;
471461      case DEVINFO_FCT_RESET:            info->reset = DEVICE_RESET_NAME(ncr5380);   break;
src/mess/machine/at45dbxx.c
r4550r4551
413413
414414
415415/*-------------------------------------------------
416    DEVICE_SET_INFO( at45dbxx )
417-------------------------------------------------*/
418
419static DEVICE_SET_INFO( at45dbxx )
420{
421   switch (state)
422   {
423      /* no parameters to set */
424   }
425}
426
427
428
429/*-------------------------------------------------
430416    DEVICE_GET_INFO( at45db041 )
431417-------------------------------------------------*/
432418
r4550r4551
440426      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
441427
442428      /* --- the following bits of info are returned as pointers to data or functions --- */
443      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(at45dbxx); break;
444429      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(at45db041);   break;
445430      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
446431      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(at45dbxx);   break;
src/mess/machine/rp5c15.c
r4550r4551
489489   rtc->systime.year_10 = 0;
490490}
491491
492static DEVICE_SET_INFO( rp5c15 )
493{
494   switch (state)
495   {
496      /* no parameters to set */
497   }
498}
499
500492DEVICE_GET_INFO( rp5c15 )
501493{
502494   switch (state)
r4550r4551
506498      case DEVINFO_INT_TOKEN_BYTES:               info->i = sizeof(rp5c15_t);            break;
507499
508500      /* --- the following bits of info are returned as pointers to data or functions --- */
509      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(rp5c15); break;
510501      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(rp5c15);   break;
511502      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
512503      case DEVINFO_FCT_RESET:                     /* Nothing */   break;
src/mess/machine/mc6854.c
r4550r4551
10251025/************************** configuration ****************************/
10261026
10271027
1028static DEVICE_SET_INFO( mc6854 )
1029{
1030   switch ( state ) {
1031      /* no parameters to set */
1032   }
1033}
1034
1035
10361028DEVICE_GET_INFO( mc6854 ) {
10371029   switch ( state ) {
10381030      /* --- the following bits of info are returned as 64-bit signed integers --- */
r4550r4551
10411033      case DEVINFO_INT_CLASS:            info->i = DEVICE_CLASS_PERIPHERAL;      break;
10421034
10431035      /* --- the following bits of info are returned as pointers to data or functions --- */
1044           case DEVINFO_FCT_SET_INFO:              info->set_info = DEVICE_SET_INFO_NAME(mc6854);  break;
10451036      case DEVINFO_FCT_START:            info->start = DEVICE_START_NAME(mc6854);   break;
10461037      case DEVINFO_FCT_STOP:            /* nothing */               break;
10471038      case DEVINFO_FCT_RESET:            info->reset = DEVICE_RESET_NAME(mc6854);   break;
src/mess/machine/tc8521.c
r4550r4551
526526
527527
528528/*-------------------------------------------------
529    DEVICE_SET_INFO( tc8521 )
530-------------------------------------------------*/
531
532static DEVICE_SET_INFO( tc8521 )
533{
534   switch (state)
535   {
536      /* no parameters to set */
537   }
538}
539
540
541
542/*-------------------------------------------------
543529    DEVICE_GET_INFO( tc8521 )
544530-------------------------------------------------*/
545531
r4550r4551
553539      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
554540
555541      /* --- the following bits of info are returned as pointers to data or functions --- */
556      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(tc8521); break;
557542      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(tc8521);   break;
558543      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
559544      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/ins8154.c
r4550r4551
228228}
229229
230230
231static DEVICE_SET_INFO( ins8154 )
232{
233   switch (state)
234   {
235      /* no parameters to set */
236   }
237}
238
239
240231DEVICE_GET_INFO( ins8154 )
241232{
242233   switch (state)
r4550r4551
247238      case DEVINFO_INT_TOKEN_BYTES:         info->i = sizeof(ins8154_t);               break;
248239
249240      /* --- the following bits of info are returned as pointers to data or functions --- */
250      case DEVINFO_FCT_SET_INFO:            info->set_info = DEVICE_SET_INFO_NAME(ins8154);   break;
251241      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME(ins8154);      break;
252242      case DEVINFO_FCT_STOP:               /* Nothing */                           break;
253243      case DEVINFO_FCT_RESET:               info->reset = DEVICE_RESET_NAME(ins8154);      break;
src/mess/machine/74145.c
r4550r4551
176176}
177177
178178
179static DEVICE_SET_INFO( ttl74145 )
180{
181   switch (state)
182   {
183      /* no parameters to set */
184   }
185}
186
187
188179DEVICE_GET_INFO( ttl74145 )
189180{
190181   switch (state)
r4550r4551
195186      case DEVINFO_INT_CLASS:               info->i = DEVICE_CLASS_PERIPHERAL;         break;
196187
197188      /* --- the following bits of info are returned as pointers to data or functions --- */
198      case DEVINFO_FCT_SET_INFO:            info->set_info = DEVICE_SET_INFO_NAME(ttl74145); break;
199189      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME(ttl74145);   break;
200190      case DEVINFO_FCT_STOP:               /* Nothing */                        break;
201191      case DEVINFO_FCT_RESET:               info->reset = DEVICE_RESET_NAME(ttl74145);   break;
src/mess/machine/mc6846.c
r4550r4551
612612/************************** configuration ****************************/
613613
614614
615static DEVICE_SET_INFO( mc6846 )
616{
617   switch ( state ) {
618      /* no parameters to set */
619   }
620}
621
622
623615DEVICE_GET_INFO( mc6846 ) {
624616   switch ( state ) {
625617      /* --- the following bits of info are returned as 64-bit signed integers --- */
r4550r4551
628620      case DEVINFO_INT_CLASS:            info->i = DEVICE_CLASS_PERIPHERAL;      break;
629621
630622      /* --- the following bits of info are returned as pointers to data or functions --- */
631           case DEVINFO_FCT_SET_INFO:              info->set_info = DEVICE_SET_INFO_NAME(mc6846);  break;
632623      case DEVINFO_FCT_START:            info->start = DEVICE_START_NAME(mc6846);   break;
633624      case DEVINFO_FCT_STOP:            /* nothing */               break;
634625      case DEVINFO_FCT_RESET:            info->reset = DEVICE_RESET_NAME(mc6846);   break;
src/mess/machine/cdp1871.c
r4550r4551
319319}
320320
321321/*-------------------------------------------------
322    DEVICE_SET_INFO( cdp1871 )
323-------------------------------------------------*/
324
325static DEVICE_SET_INFO( cdp1871 )
326{
327   switch (state)
328   {
329      /* no parameters to set */
330   }
331}
332
333/*-------------------------------------------------
334322    DEVICE_GET_INFO( cdp1871 )
335323-------------------------------------------------*/
336324
r4550r4551
344332      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
345333
346334      /* --- the following bits of info are returned as pointers to data or functions --- */
347      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(cdp1871); break;
348335      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(cdp1871);   break;
349336      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
350337      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/8530scc.c
r4550r4551
335335
336336
337337/*-------------------------------------------------
338    DEVICE_SET_INFO( scc8530 )
339-------------------------------------------------*/
340
341static DEVICE_SET_INFO( scc8530 )
342{
343   switch (state)
344   {
345      /* no parameters to set */
346   }
347}
348
349
350
351/*-------------------------------------------------
352338    DEVICE_GET_INFO( scc8530 )
353339-------------------------------------------------*/
354340
r4550r4551
362348      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
363349
364350      /* --- the following bits of info are returned as pointers to functions --- */
365      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(scc8530); break;
366351      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(scc8530);   break;
367352      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
368353      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/sst39vfx.c
r4550r4551
175175   }
176176}
177177*/
178/*-------------------------------------------------
179    DEVICE_SET_INFO( sst39vfx )
180-------------------------------------------------*/
181178
182static DEVICE_SET_INFO( sst39vfx )
183{
184   switch (state)
185   {
186      /* no parameters to set */
187   }
188}
189179
190
191
192180/*-------------------------------------------------
193181    DEVICE_GET_INFO( sst39vf020 )
194182-------------------------------------------------*/
r4550r4551
203191      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
204192
205193      /* --- the following bits of info are returned as pointers to data or functions --- */
206      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(sst39vfx); break;
207194      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(sst39vf020);   break;
208195      case DEVINFO_FCT_STOP:                     /* Nothing */                           break;
209196      case DEVINFO_FCT_RESET:                     /* Nothing */                           break;
src/mess/machine/6883sam.c
r4550r4551
273273   update_sam(device);
274274}
275275
276static DEVICE_SET_INFO( sam6883 )
277{
278   switch (state)
279   {
280      /* no parameters to set */
281   }
282}
283
284276DEVICE_GET_INFO( sam6883 )
285277{
286278   switch (state)
r4550r4551
291283      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
292284
293285      /* --- the following bits of info are returned as pointers to data or functions --- */
294      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(sam6883); break;
295286      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(sam6883);      break;
296287      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
297288      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(sam6883);      break;
src/mess/machine/ap2_lang.c
r4550r4551
108108      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
109109
110110      /* --- the following bits of info are returned as pointers to data or functions --- */
111      case DEVINFO_FCT_SET_INFO:                  /* Nothing */                        break;
112111      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(apple2_langcard);   break;
113112      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
114113      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/6530miot.c
r4550r4551
434434}
435435
436436
437static DEVICE_SET_INFO( miot6530 )
438{
439   switch (state)
440   {
441      /* no parameters to set */
442   }
443}
444
445
446437DEVICE_GET_INFO( miot6530 )
447438{
448439   switch (state)
r4550r4551
453444      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;      break;
454445
455446      /* --- the following bits of info are returned as pointers to data or functions --- */
456      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(miot6530); break;
457447      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(miot6530);break;
458448      case DEVINFO_FCT_STOP:                     /* Nothing */                     break;
459449      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(miot6530);break;
src/mess/machine/tms9901.c
r4550r4551
601601
602602
603603/*-------------------------------------------------
604    DEVICE_SET_INFO( tms9901 )
605-------------------------------------------------*/
606
607static DEVICE_SET_INFO( tms9901 )
608{
609   switch (state)
610   {
611      /* no parameters to set */
612   }
613}
614
615
616
617/*-------------------------------------------------
618604    DEVICE_GET_INFO( tms9901 )
619605-------------------------------------------------*/
620606
r4550r4551
628614      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
629615
630616      /* --- the following bits of info are returned as pointers to data or functions --- */
631      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(tms9901); break;
632617      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(tms9901);   break;
633618      case DEVINFO_FCT_STOP:                     info->stop  = DEVICE_STOP_NAME (tms9901);   break;
634619      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(tms9901);   break;
src/mess/machine/68901mfp.c
r4550r4551
16281628}
16291629
16301630/*-------------------------------------------------
1631    DEVICE_SET_INFO( mc68901 )
1632-------------------------------------------------*/
1633
1634static DEVICE_SET_INFO( mc68901 )
1635{
1636   switch (state)
1637   {
1638      /* no parameters to set */
1639   }
1640}
1641
1642/*-------------------------------------------------
16431631    DEVICE_GET_INFO( mc68901 )
16441632-------------------------------------------------*/
16451633
r4550r4551
16531641      case DEVINFO_INT_TOKEN_BYTES:               info->i = sizeof(mc68901_t);            break;
16541642
16551643      /* --- the following bits of info are returned as pointers to data or functions --- */
1656      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(mc68901); break;
16571644      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(mc68901);   break;
16581645      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
16591646      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(mc68901);   break;
r4550r4551
16821669      case DEVINFO_INT_TOKEN_BYTES:               info->i = sizeof(mc68901_t);            break;
16831670
16841671      /* --- the following bits of info are returned as pointers to data or functions --- */
1685      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(mc68901); break;
16861672      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(mc68901);   break;
16871673      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
16881674      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(mc68901);   break;
src/mess/machine/z80dart.c
r4550r4551
14741474}
14751475
14761476/*-------------------------------------------------
1477    DEVICE_SET_INFO( z80dart )
1478-------------------------------------------------*/
1479
1480static DEVICE_SET_INFO( z80dart )
1481{
1482   switch (state)
1483   {
1484      /* no parameters to set */
1485   }
1486}
1487
1488/*-------------------------------------------------
14891477    DEVICE_GET_INFO( z80dart )
14901478-------------------------------------------------*/
14911479
r4550r4551
14991487      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;            break;
15001488
15011489      /* --- the following bits of info are returned as pointers to data or functions --- */
1502      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(z80dart);   break;
15031490      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(z80dart);      break;
15041491      case DEVINFO_FCT_STOP:                     /* Nothing */                           break;
15051492      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(z80dart);      break;
src/mess/machine/tms9902.c
r4550r4551
646646
647647
648648/*-------------------------------------------------
649    DEVICE_SET_INFO( tms9902 )
650-------------------------------------------------*/
651
652static DEVICE_SET_INFO( tms9902 )
653{
654   switch (state)
655   {
656      /* no parameters to set */
657   }
658}
659
660
661
662/*-------------------------------------------------
663649    DEVICE_GET_INFO( tms9902 )
664650-------------------------------------------------*/
665651
r4550r4551
673659      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
674660
675661      /* --- the following bits of info are returned as pointers to data or functions --- */
676      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(tms9902); break;
677662      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(tms9902);   break;
678663      case DEVINFO_FCT_STOP:                     info->stop  = DEVICE_STOP_NAME (tms9902);   break;
679664      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(tms9902);   break;
src/mess/machine/osborne1.c
r4550r4551
564564}
565565
566566
567static DEVICE_SET_INFO( osborne1_daisy )
568{
569}
570
571
572567DEVICE_GET_INFO( osborne1_daisy )
573568{
574569   switch (state)
r4550r4551
579574      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;                  break;
580575
581576      /* --- the following bits of info are returned as pointers to data or functions --- */
582      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(osborne1_daisy);   break;
583577      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(osborne1_daisy);      break;
584578      case DEVINFO_FCT_STOP:                     /* Nothing */                                 break;
585579      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(osborne1_daisy);      break;
src/mess/machine/wd17xx.c
r4550r4551
17111711   common_start(device, WD_TYPE_MB8877);
17121712}
17131713
1714static DEVICE_SET_INFO( wd17xx )
1715{
1716   switch (state)
1717   {
1718      /* no parameters to set */
1719   }
1720}
1721
17221714DEVICE_GET_INFO( wd1770 )
17231715{
17241716   switch (state)
r4550r4551
17291721      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
17301722
17311723      /* --- the following bits of info are returned as pointers to data or functions --- */
1732      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(wd17xx); break;
17331724      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(wd1770);      break;
17341725      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
17351726      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(wd17xx);      break;
src/mess/machine/nec765.c
r4550r4551
23032303   nec765_reset(device,0);
23042304}
23052305
2306static DEVICE_SET_INFO( nec765 )
2307{
2308   switch (state)
2309   {
2310      /* no parameters to set */
2311   }
2312}
2313
23142306DEVICE_GET_INFO( nec765a )
23152307{
23162308   switch (state)
r4550r4551
23212313      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
23222314
23232315      /* --- the following bits of info are returned as pointers to data or functions --- */
2324      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(nec765); break;
23252316      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(nec765a);   break;
23262317      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
23272318      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(nec765);   break;
src/mess/machine/abc99.c
r4550r4551
1515{
1616}
1717
18static DEVICE_SET_INFO( abc99 )
19{
20   switch (state)
21   {
22      /* no parameters to set */
23   }
24}
25
2618DEVICE_GET_INFO( abc99 )
2719{
2820   switch (state)
r4550r4551
3224      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
3325
3426      /* --- the following bits of info are returned as pointers to data or functions --- */
35      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(abc99); break;
3627      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(abc99);      break;
3728      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
3829      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/x68k_hdc.c
r4550r4551
438438   }
439439}
440440
441static DEVICE_SET_INFO( x68k_hdc )
442{
443   switch (state)
444   {
445      /* no parameters to set */
446   }
447}
448
449441DEVICE_GET_INFO(x68k_hdc)
450442{
451443   switch (state)
r4550r4551
459451      case DEVINFO_INT_IMAGE_CREATABLE:            info->i = 1; break;
460452
461453      /* --- the following bits of info are returned as pointers to data or functions --- */
462      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(x68k_hdc); break;
463454      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(x68k_hdc);   break;
464455      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
465456      case DEVINFO_FCT_RESET:                     /*info->reset = DEVICE_RESET_NAME(x68k_hdc);*/   break;
src/mess/machine/pcf8593.c
r4550r4551
444444
445445
446446/*-------------------------------------------------
447    DEVICE_SET_INFO( pcf8593 )
448-------------------------------------------------*/
449
450static DEVICE_SET_INFO( pcf8593 )
451{
452   switch (state)
453   {
454      /* no parameters to set */
455   }
456}
457
458
459
460/*-------------------------------------------------
461447    DEVICE_GET_INFO( pcf8593 )
462448-------------------------------------------------*/
463449
r4550r4551
471457      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
472458
473459      /* --- the following bits of info are returned as pointers to data or functions --- */
474      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(pcf8593); break;
475460      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(pcf8593);   break;
476461      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
477462      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(pcf8593);   break;
src/mess/machine/i8271.c
r4550r4551
15871587
15881588}
15891589
1590static DEVICE_SET_INFO( i8271 )
1591{
1592   switch (state)
1593   {
1594      /* no parameters to set */
1595   }
1596}
1597
15981590DEVICE_GET_INFO( i8271 )
15991591{
16001592   switch (state)
r4550r4551
16051597      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
16061598
16071599      /* --- the following bits of info are returned as pointers to data or functions --- */
1608      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(i8271); break;
16091600      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(i8271);      break;
16101601      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
16111602      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(i8271);      break;
src/mess/machine/ctronics.c
r4550r4551
128128{
129129}
130130
131static DEVICE_SET_INFO( centronics )
132{
133   switch (state)
134   {
135      /* no parameters to set */
136   }
137}
138
139131DEVICE_GET_INFO( centronics )
140132{
141133   switch (state)
r4550r4551
149141      case DEVINFO_PTR_MACHINE_CONFIG:      info->machine_config = MACHINE_DRIVER_NAME(centronics);   break;
150142
151143      /* --- the following bits of info are returned as pointers to data or functions --- */
152      case DEVINFO_FCT_SET_INFO:            info->set_info = DEVICE_SET_INFO_NAME(centronics);   break;
153144      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME(centronics);      break;
154145      case DEVINFO_FCT_STOP:               /* Nothing */                              break;
155146      case DEVINFO_FCT_RESET:               info->reset = DEVICE_RESET_NAME(centronics);      break;
src/mess/machine/upd7002.c
r4550r4551
209209   uPD7002->conversion_counter = 0;
210210}
211211
212static DEVICE_SET_INFO( uPD7002 )
213{
214   switch (state)
215   {
216      /* no parameters to set */
217   }
218}
219
220212DEVICE_GET_INFO( uPD7002 )
221213{
222214   switch (state)
r4550r4551
227219      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
228220
229221      /* --- the following bits of info are returned as pointers to data or functions --- */
230      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(uPD7002); break;
231222      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(uPD7002);      break;
232223      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
233224      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(uPD7002);      break;
src/mess/machine/adc080x.c
r4550r4551
163163   state_save_register_item(device->machine, "adc080x", device->tag, 0, adc080x->bit);
164164}
165165
166static DEVICE_SET_INFO( adc080x )
167{
168   switch (state)
169   {
170      /* no parameters to set */
171   }
172}
173
174166DEVICE_GET_INFO( adc0808 )
175167{
176168   switch (state)
r4550r4551
181173      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
182174
183175      /* --- the following bits of info are returned as pointers to data or functions --- */
184      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(adc080x); break;
185176      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(adc080x);   break;
186177      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
187178      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/ds1315.c
r4550r4551
240240
241241
242242/*-------------------------------------------------
243    DEVICE_SET_INFO( ds1315 )
244-------------------------------------------------*/
245
246static DEVICE_SET_INFO( ds1315 )
247{
248   switch (state)
249   {
250      /* no parameters to set */
251   }
252}
253
254
255
256/*-------------------------------------------------
257243    DEVICE_GET_INFO( ds1315 )
258244-------------------------------------------------*/
259245
r4550r4551
267253      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
268254
269255      /* --- the following bits of info are returned as pointers to data or functions --- */
270      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(ds1315); break;
271256      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(ds1315);   break;
272257      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
273258      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/pc_lpt.c
r4550r4551
118118   lpt->irq_enabled = FALSE;
119119}
120120
121static DEVICE_SET_INFO( pc_lpt )
122{
123   switch (state)
124   {
125      /* no parameters to set */
126   }
127}
128
129121DEVICE_GET_INFO( pc_lpt )
130122{
131123   switch (state)
r4550r4551
139131      case DEVINFO_PTR_MACHINE_CONFIG:      info->machine_config = MACHINE_DRIVER_NAME(pc_lpt);   break;
140132
141133      /* --- the following bits of info are returned as pointers to data or functions --- */
142      case DEVINFO_FCT_SET_INFO:            info->set_info = DEVICE_SET_INFO_NAME(pc_lpt);   break;
143134      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME(pc_lpt);      break;
144135      case DEVINFO_FCT_STOP:               /* Nothing */                           break;
145136      case DEVINFO_FCT_RESET:               info->reset = DEVICE_RESET_NAME(pc_lpt);      break;
src/mess/machine/6551.c
r4550r4551
584584
585585
586586/*-------------------------------------------------
587    DEVICE_SET_INFO( acia6551 )
588-------------------------------------------------*/
589
590static DEVICE_SET_INFO( acia6551 )
591{
592   switch (state)
593   {
594      /* no parameters to set */
595   }
596}
597
598
599
600/*-------------------------------------------------
601587    DEVICE_GET_INFO( acia6551 )
602588-------------------------------------------------*/
603589
r4550r4551
611597      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
612598
613599      /* --- the following bits of info are returned as pointers to data or functions --- */
614      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(acia6551); break;
615600      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(acia6551);   break;
616601      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
617602      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/ay31015.c
r4550r4551
735735}
736736
737737
738static DEVICE_SET_INFO( ay31015 )
739{
740   switch ( state )
741   {
742      /* no parameters to set */
743   }
744}
745
746
747738/*-------------------------------------------------
748739    DEVICE_GET_INFO(ay31015) - device getinfo
749740   function
r4550r4551
759750      case DEVINFO_INT_CLASS:               info->i = DEVICE_CLASS_PERIPHERAL;            break;
760751
761752      /* --- the following bits of info are returned as pointers to data or functions --- */
762      case DEVINFO_FCT_SET_INFO:            info->set_info = DEVICE_SET_INFO_NAME(ay31015);   break;
763753      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME(ay31015);      break;
764754      case DEVINFO_FCT_STOP:               /* nothing */                           break;
765755      case DEVINFO_FCT_RESET:               info->reset = DEVICE_RESET_NAME( ay31015 );      break;
src/mess/machine/mc68328.c
r4550r4551
28072807    mc68328_register_state_save(device);
28082808}
28092809
2810static DEVICE_SET_INFO( mc68328 )
2811{
2812    switch ( state )
2813    {
2814        /* no parameters to set */
2815    }
2816}
2817
28182810DEVICE_GET_INFO( mc68328 )
28192811{
28202812    switch ( state )
r4550r4551
28252817        case DEVINFO_INT_CLASS:                 info->i = DEVICE_CLASS_PERIPHERAL;              break;
28262818
28272819        /* --- the following bits of info are returned as pointers to data or functions --- */
2828            case DEVINFO_FCT_SET_INFO:          info->set_info = DEVICE_SET_INFO_NAME(mc68328); break;
28292820        case DEVINFO_FCT_START:                 info->start = DEVICE_START_NAME(mc68328);       break;
28302821        case DEVINFO_FCT_STOP:                  /* nothing */                                   break;
28312822        case DEVINFO_FCT_RESET:                 info->reset = DEVICE_RESET_NAME(mc68328);       break;
src/mess/machine/mc6843.c
r4550r4551
835835
836836/************************** configuration ****************************/
837837
838static DEVICE_SET_INFO( mc6843 )
839{
840   switch ( state ) {
841      /* no parameters to set */
842   }
843}
844
845
846838DEVICE_GET_INFO( mc6843 ) {
847839   switch ( state ) {
848840      /* --- the following bits of info are returned as 64-bit signed integers --- */
r4550r4551
851843      case DEVINFO_INT_CLASS:            info->i = DEVICE_CLASS_PERIPHERAL;      break;
852844
853845      /* --- the following bits of info are returned as pointers to data or functions --- */
854           case DEVINFO_FCT_SET_INFO:              info->set_info = DEVICE_SET_INFO_NAME(mc6843);  break;
855846      case DEVINFO_FCT_START:            info->start = DEVICE_START_NAME(mc6843);   break;
856847      case DEVINFO_FCT_STOP:            /* nothing */               break;
857848      case DEVINFO_FCT_RESET:            info->reset = DEVICE_RESET_NAME(mc6843);   break;
src/mess/machine/mm58274c.c
r4550r4551
517517   mm58274c->tenths = 0;
518518}
519519
520static DEVICE_SET_INFO( mm58274c )
521{
522   switch (state)
523   {
524      /* no parameters to set */
525   }
526}
527
528520DEVICE_GET_INFO( mm58274c )
529521{
530522   switch (state)
r4550r4551
535527      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
536528
537529      /* --- the following bits of info are returned as pointers to data or functions --- */
538      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(mm58274c); break;
539530      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(mm58274c);   break;
540531      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
541532      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(mm58274c);   break;
src/mess/machine/e0516.c
r4550r4551
229229}
230230
231231/*-------------------------------------------------
232    DEVICE_SET_INFO( e0516 )
233-------------------------------------------------*/
234
235static DEVICE_SET_INFO( e0516 )
236{
237   switch (state)
238   {
239      /* no parameters to set */
240   }
241}
242
243/*-------------------------------------------------
244232    DEVICE_GET_INFO( e0516 )
245233-------------------------------------------------*/
246234
r4550r4551
254242      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
255243
256244      /* --- the following bits of info are returned as pointers to data or functions --- */
257      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(e0516); break;
258245      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(e0516);      break;
259246      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
260247      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/6525tpi.c
r4550r4551
185185}
186186
187187
188static DEVICE_SET_INFO( tpi6525 )
189{
190   switch (state)
191   {
192      /* no parameters to set */
193   }
194}
195
196
197188DEVICE_GET_INFO( tpi6525 )
198189{
199190   switch (state)
r4550r4551
203194      case DEVINFO_INT_CLASS:               info->i = DEVICE_CLASS_PERIPHERAL;      break;
204195
205196      /* --- the following bits of info are returned as pointers to data or functions --- */
206      case DEVINFO_FCT_SET_INFO:            info->set_info = DEVICE_SET_INFO_NAME( tpi6525 );   break;
207197      case DEVINFO_FCT_START:               info->start = DEVICE_START_NAME( tpi6525 );         break;
208198      case DEVINFO_FCT_STOP:               /* Nothing */                              break;
209199      case DEVINFO_FCT_RESET:               info->reset = DEVICE_RESET_NAME( tpi6525 );         break;
src/mess/machine/abc77.c
r4550r4551
414414}
415415
416416/*-------------------------------------------------
417    DEVICE_SET_INFO( abc77 )
418-------------------------------------------------*/
419
420static DEVICE_SET_INFO( abc77 )
421{
422   switch (state)
423   {
424      /* no parameters to set */
425   }
426}
427
428/*-------------------------------------------------
429417    DEVICE_GET_INFO( abc77 )
430418-------------------------------------------------*/
431419
r4550r4551
443431      case DEVINFO_PTR_MACHINE_CONFIG:            info->machine_config = machine_config_abc77; break;
444432
445433      /* --- the following bits of info are returned as pointers to data or functions --- */
446      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(abc77); break;
447434      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(abc77);      break;
448435      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
449436      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/machine/ins8250.c
r4550r4551
602602}
603603
604604
605static DEVICE_SET_INFO( ins8250 )
606{
607   switch ( state )
608   {
609      /* no parameters to set */
610   }
611}
612
613
614605DEVICE_GET_INFO( ins8250 )
615606{
616607   switch ( state )
r4550r4551
621612      case DEVINFO_INT_CLASS:                  info->i = DEVICE_CLASS_PERIPHERAL;         break;
622613
623614      /* --- the following bits of info are returned as pointers to data or functions --- */
624      case DEVINFO_FCT_SET_INFO:               info->set_info = DEVICE_SET_INFO_NAME(ins8250);   break;
625615      case DEVINFO_FCT_START:                  info->start = DEVICE_START_NAME(ins8250);   break;
626616      case DEVINFO_FCT_STOP:                  /* nothing */                        break;
627617      case DEVINFO_FCT_RESET:                  info->reset = DEVICE_RESET_NAME(ins8250);   break;
src/mess/machine/zx8302.c
r4550r4551
754754}
755755
756756/*-------------------------------------------------
757    DEVICE_SET_INFO( zx8301 )
758-------------------------------------------------*/
759
760static DEVICE_SET_INFO( zx8302 )
761{
762   switch (state)
763   {
764      /* no parameters to set */
765   }
766}
767
768/*-------------------------------------------------
769757    DEVICE_GET_INFO( zx8301 )
770758-------------------------------------------------*/
771759
r4550r4551
779767      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;            break;
780768
781769      /* --- the following bits of info are returned as pointers to data or functions --- */
782      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(zx8302);   break;
783770      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(zx8302);      break;
784771      case DEVINFO_FCT_STOP:                     /* Nothing */                           break;
785772      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(zx8302);      break;
src/mess/machine/hd63450.c
r4550r4551
447447   return dmac->reg[channel].eiv;
448448}
449449
450static DEVICE_SET_INFO( hd63450 )
451{
452   switch (state)
453   {
454      /* no parameters to set */
455   }
456}
457
458450DEVICE_GET_INFO(hd63450)
459451{
460452   switch (state)
r4550r4551
464456      case DEVINFO_INT_TOKEN_BYTES:               info->i = sizeof(hd63450_t);            break;
465457
466458      /* --- the following bits of info are returned as pointers to data or functions --- */
467      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(hd63450); break;
468459      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(hd63450);   break;
469460      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
470461      case DEVINFO_FCT_RESET:                     /*info->reset = DEVICE_RESET_NAME(hd63450);*/   break;
src/mess/machine/msm8251.c
r4550r4551
786786
787787
788788/*-------------------------------------------------
789    DEVICE_SET_INFO( msm8251 )
790-------------------------------------------------*/
791
792static DEVICE_SET_INFO( msm8251 )
793{
794   switch (state)
795   {
796      /* no parameters to set */
797   }
798}
799
800
801
802/*-------------------------------------------------
803789    DEVICE_GET_INFO( msm8251 )
804790-------------------------------------------------*/
805791
r4550r4551
813799      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
814800
815801      /* --- the following bits of info are returned as pointers to data or functions --- */
816      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(msm8251); break;
817802      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(msm8251);   break;
818803      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
819804      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(msm8251);   break;
src/mess/machine/tms5501.c
r4550r4551
493493   }
494494}
495495
496/*-------------------------------------------------
497    DEVICE_SET_INFO( tms5501 )
498-------------------------------------------------*/
499496
500static DEVICE_SET_INFO( tms5501 )
501{
502   switch (state)
503   {
504      /* no parameters to set */
505   }
506}
507
508
509
510497/*-------------------------------------------------
511498    DEVICE_GET_INFO( tms5501 )
512499-------------------------------------------------*/
r4550r4551
521508      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
522509
523510      /* --- the following bits of info are returned as pointers to data or functions --- */
524      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(tms5501); break;
525511      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(tms5501);   break;
526512      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
527513      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(tms5501);   break;
src/mess/devices/orch90.c
r4550r4551
9898      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;      break;
9999
100100      /* --- the following bits of info are returned as pointers to functions --- */
101      case DEVINFO_FCT_SET_INFO:                  /* Nothing */                     break;
102101      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(orch90);break;
103102      case DEVINFO_FCT_STOP:                     /* Nothing */                     break;
104103      case DEVINFO_FCT_RESET:                     /* Nothing */                     break;
src/mess/devices/coco_pak.c
r4550r4551
8989      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;         break;
9090
9191      /* --- the following bits of info are returned as pointers to functions --- */
92      case DEVINFO_FCT_SET_INFO:                  /* Nothing */                        break;
9392      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(coco_pak);   break;
9493      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
9594      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(coco_pak);   break;
src/mess/devices/cartslot.c
r4550r4551
379379
380380
381381/*-------------------------------------------------
382    DEVICE_SET_INFO( cartslot )
383-------------------------------------------------*/
384
385static DEVICE_SET_INFO( cartslot )
386{
387   switch (state)
388   {
389      /* no parameters to set */
390   }
391}
392
393
394/*-------------------------------------------------
395382    DEVICE_GET_INFO( cartslot )
396383-------------------------------------------------*/
397384
r4550r4551
416403                                       break;
417404
418405      /* --- the following bits of info are returned as pointers to functions --- */
419      case DEVINFO_FCT_SET_INFO:               info->set_info = DEVICE_SET_INFO_NAME(cartslot);         break;
420406      case DEVINFO_FCT_START:                  info->start = DEVICE_START_NAME(cartslot);               break;
421407      case DEVINFO_FCT_IMAGE_LOAD:            info->f = (genf *) DEVICE_IMAGE_LOAD_NAME(cartslot);      break;
422408      case DEVINFO_FCT_IMAGE_UNLOAD:            info->f = (genf *) DEVICE_IMAGE_UNLOAD_NAME(cartslot);      break;
src/mess/devices/coco_fdc.c
r4550r4551
249249
250250
251251/*-------------------------------------------------
252    DEVICE_SET_INFO( fdc ) - general FDC set info func
253-------------------------------------------------*/
254
255static DEVICE_SET_INFO( fdc )
256{
257   switch (state)
258   {
259   }
260}
261
262
263
264/*-------------------------------------------------
265252    DEVICE_GET_INFO( fdc ) - general FDC get info func
266253-------------------------------------------------*/
267254
r4550r4551
280267      case FDCINFO_PTR_HWTYPE:                  info->p = (void *) hwtype;               break;
281268
282269      /* --- the following bits of info are returned as pointers to functions --- */
283      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(fdc); break;
284270      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(fdc);      break;
285271      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
286272      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/devices/coco_232.c
r4550r4551
116116      case DEVINFO_PTR_MACHINE_CONFIG:            info->machine_config = MACHINE_DRIVER_NAME(coco_rs232);   break;
117117
118118      /* --- the following bits of info are returned as pointers to functions --- */
119      case DEVINFO_FCT_SET_INFO:                  /* Nothing */                        break;
120119      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(coco_rs232);   break;
121120      case DEVINFO_FCT_STOP:                     /* Nothing */                        break;
122121      case DEVINFO_FCT_RESET:                     /* Nothing */                        break;
src/mess/drivers/einstein.c
r4550r4551
488488}
489489
490490
491static DEVICE_SET_INFO( einstein_daisy )
492{
493}
494
495
496491static DEVICE_GET_INFO( einstein_daisy )
497492{
498493   switch (state)
r4550r4551
503498      case DEVINFO_INT_CLASS:                     info->i = DEVICE_CLASS_PERIPHERAL;                  break;
504499
505500      /* --- the following bits of info are returned as pointers to data or functions --- */
506      case DEVINFO_FCT_SET_INFO:                  info->set_info = DEVICE_SET_INFO_NAME(einstein_daisy);   break;
507501      case DEVINFO_FCT_START:                     info->start = DEVICE_START_NAME(einstein_daisy);      break;
508502      case DEVINFO_FCT_STOP:                     /* Nothing */                                 break;
509503      case DEVINFO_FCT_RESET:                     info->reset = DEVICE_RESET_NAME(einstein_daisy);      break;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team