Previous 199869 Revisions Next

r33346 Tuesday 11th November, 2014 at 19:40:57 UTC by Olivier Galibert
i6300esb: More mapping verbosity [O. Galibert]
[src/emu/machine]i6300esb.c

trunk/src/emu/machine/i6300esb.c
r241857r241858
557557      logerror("%s: Warning: acpi range enabled at %04x-%04x\n", tag(), pmbase, pmbase+127);
558558   if(gpio_cntl & 0x10)
559559      logerror("%s: Warning: gpio range enabled at %04x-%04x\n", tag(), gpio_base, gpio_base+63);
560
561   UINT32 hpet = 0xfed00000 + ((gen_cntl & 0x00018000) >> 3);
562   logerror("%s: Warning: hpet at %08x-%08x\n", tag(), hpet, hpet+0x3ff);
563
564   if(lpc_en & 0x1000)
565      logerror("%s: Warning: superio at 2e-2f\n", tag());
566   if(lpc_en & 0x0800)
567      logerror("%s: Warning: mcu at 62/66\n", tag());
568   if(lpc_en & 0x0400)
569      logerror("%s: Warning: mcu at 60/64\n", tag());
570   if(lpc_en & 0x0200)
571      logerror("%s: Warning: gameport at 208-20f\n", tag());
572   if(lpc_en & 0x0100)
573      logerror("%s: Warning: gameport at 200-207\n", tag());
574
575   if(lpc_en & 0x0008) {
576      UINT16 fdc = lpc_if_fdd_lpt_range & 0x10 ? 0x370 : 0x3f0;
577      logerror("%s: Warning: floppy at %04x-%04x\n", tag(), fdc, fdc+7);
578   }
579
580   if(lpc_en & 0x0004) {
581      static const UINT16 lpt_pos[4] = { 0x378, 0x278, 0x3bc, 0x000 };
582      UINT16 lpt = lpt_pos[lpc_if_fdd_lpt_range & 3];
583      if(lpt)
584         logerror("%s: Warning: lpt at %04x-%04x %04x-%04x\n", tag(), lpt, lpt+7, lpt+0x400, lpt+0x407);
585   }
586
587   static const UINT16 com_pos[8] = { 0x3f8, 0x2f8, 0x220, 0x228, 0x238, 0x2e8, 0x338, 0x3e8 };
588
589   if(lpc_en & 0x0002) {
590      UINT16 comb = com_pos[(lpc_if_com_range >> 4) & 7];
591      logerror("%s: Warning: comb at %04x-%04x\n", tag(), comb, comb+7);
592   }
593
594   if(lpc_en & 0x0001) {
595      UINT16 coma = com_pos[lpc_if_com_range & 7];
596      logerror("%s: Warning: coma at %04x-%04x\n", tag(), coma, coma+7);
597   }
560598}
561599
600


Previous 199869 Revisions Next


© 1997-2024 The MAME Team