Previous 15994 Revisions Next

r14379 Tuesday 7th February, 2012 at 20:04:08 UTC by Wilbert Pol
ibmpc.c:
- Added hercules and vga to list of ISA cards.
- ibm5150: Changed the number of ISA slots to 5.
- ibm5160: Changed the number of ISA slots to 8.
isa_mda.c:
- Prevent crashes when only mounting the hercules video card.
[src/mess/drivers]ibmpc.c
[src/mess/video]isa_mda.c

src/mess/video/isa_mda.c
r14378r14379
518518   MCFG_SCREEN_RAW_PARAMS(MDA_CLOCK, 882, 0, 720, 370, 0, 350 )
519519   MCFG_SCREEN_UPDATE_DEVICE( HERCULES_MC6845_NAME, mc6845_device, screen_update )
520520
521   MCFG_PALETTE_LENGTH( 4 )
522
521523   MCFG_MC6845_ADD( HERCULES_MC6845_NAME, MC6845, MDA_CLOCK/9, mc6845_hercules_intf)
522524
523525   //MCFG_GFXDECODE(pcherc)
src/mess/drivers/ibmpc.c
r14378r14379
268268#include "video/isa_cga.h"
269269#include "video/isa_ega.h"
270270#include "video/isa_mda.h"
271#include "video/isa_vga.h"
271272#include "machine/ne1000.h"
272273#include "machine/isa_mpu401.h"
273274#include "machine/isa_ibm_mfc.h"
r14378r14379
323324DEVICE_INPUT_DEFAULTS_END
324325
325326//static DEVICE_INPUT_DEFAULTS_START(ega)
326//  DEVICE_INPUT_DEFAULTS("DSW0",0x30, 0x00)
327//   DEVICE_INPUT_DEFAULTS("DSW0",0x30, 0x00)
327328//DEVICE_INPUT_DEFAULTS_END
328329
329330static SLOT_INTERFACE_START(ibm_isa8_cards)
330331   SLOT_INTERFACE("cga", ISA8_CGA)
331//  SLOT_INTERFACE("ega", ISA8_EGA)
332   SLOT_INTERFACE("ega", ISA8_EGA)
332333   SLOT_INTERFACE("mda", ISA8_MDA)
334   SLOT_INTERFACE("hercules", ISA8_HERCULES)
335   SLOT_INTERFACE("vga", ISA8_VGA)
333336   SLOT_INTERFACE("com", ISA8_COM)
334337   SLOT_INTERFACE("fdc", ISA8_FDC)
335338   SLOT_INTERFACE("finalchs", ISA8_FINALCHS)
r14378r14379
360363   MCFG_ISA8_SLOT_ADD("mb:isa", "isa3", ibm_isa8_cards, "fdc", NULL)
361364   MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", ibm_isa8_cards, "hdc", NULL)
362365   MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", ibm_isa8_cards, NULL, NULL)
363   MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", ibm_isa8_cards, NULL, NULL)
364366
365367   /* keyboard */
366368   MCFG_KB_KEYTRONIC_ADD("keyboard", pc_keytronic_intf)
367369
368   //MCFG_CASSETTE_ADD( CASSETTE_TAG, ibm5150_cassette_interface )
369
370370   /* internal ram */
371371   MCFG_RAM_ADD(RAM_TAG)
372372   MCFG_RAM_DEFAULT_SIZE("640K")
r14378r14379
392392   MCFG_ISA8_SLOT_ADD("mb:isa", "isa4", ibm_isa8_cards, "hdc", NULL)
393393   MCFG_ISA8_SLOT_ADD("mb:isa", "isa5", ibm_isa8_cards, NULL, NULL)
394394   MCFG_ISA8_SLOT_ADD("mb:isa", "isa6", ibm_isa8_cards, NULL, NULL)
395   MCFG_ISA8_SLOT_ADD("mb:isa", "isa7", ibm_isa8_cards, NULL, NULL)
396   MCFG_ISA8_SLOT_ADD("mb:isa", "isa8", ibm_isa8_cards, NULL, NULL)
395397
396398   /* keyboard */
397399   MCFG_KB_KEYTRONIC_ADD("keyboard", pc_keytronic_intf)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team