Previous 15994 Revisions Next

r3953 Monday 22nd December, 2008 at 02:31:44 UTC by Nathan Woods
Added macros for HP48_PORT device
[src/mess/drivers]hp48.c
[src/mess/includes]hp48.h

src/mess/includes/hp48.h
r3952r3953
7171
7272#define HP48_PORT DEVICE_GET_INFO_NAME( hp48_port )
7373
74#define MDRV_HP48_PORT_ADD(_tag, _intrf) \
75   MDRV_DEVICE_ADD(_tag, HP48_PORT) \
76   MDRV_DEVICE_CONFIG(_intrf)
7477
7578/****************************** machine ******************************/
7679
src/mess/drivers/hp48.c
r3952r3953
977977   MDRV_DEFAULT_LAYOUT ( layout_hp48gx )
978978
979979   /* expansion ports */
980   MDRV_DEVICE_ADD     ( "port1", HP48_PORT )
981   MDRV_DEVICE_CONFIG  ( hp48gx_port1_config )
982   MDRV_DEVICE_ADD     ( "port2", HP48_PORT )
983   MDRV_DEVICE_CONFIG  ( hp48gx_port2_config )
980   MDRV_HP48_PORT_ADD ( "port1", hp48gx_port1_config )
981   MDRV_HP48_PORT_ADD ( "port2", hp48gx_port2_config )
984982     
985983   /* serial I/O */
986984   MDRV_XMODEM_ADD( "rs232_x", hp48_xmodem_rs232_conf )
r3952r3953
10051003   MDRV_DEFAULT_LAYOUT ( layout_hp48sx )
10061004
10071005   /* expansion ports */
1008   MDRV_DEVICE_ADD     ( "port1", HP48_PORT )
1009   MDRV_DEVICE_CONFIG  ( hp48sx_port1_config )
1010   MDRV_DEVICE_ADD     ( "port2", HP48_PORT )
1011   MDRV_DEVICE_CONFIG  ( hp48sx_port2_config )
1006   MDRV_HP48_PORT_ADD  ( "port1", hp48sx_port1_config )
1007   MDRV_HP48_PORT_ADD  ( "port2", hp48sx_port2_config )
10121008
10131009   /* serial I/O */
10141010   MDRV_KERMIT_ADD( "rs232_k", hp48_kermit_rs232_conf )

Previous 15994 Revisions Next


© 1998-2018 The MESS Team