Previous 15994 Revisions Next

r1598 Friday 25th January, 2008 at 17:17:25 UTC by Firewave
Replaced some "Machine" occurances.
[src/mess]image.c
[src/mess/drivers]adam.c avigo.c glasgow.c nc.c tmc1800.c vip.c x68k.c z88.c
[src/mess/machine]amigacrt.c apple2.c astrocde.c ay3600.c cgenie.c dgn_beta.c nes_mmc.c trs80.c vc1541.c
[src/mess/osd/windows]menu.c
[src/mess/video]arcadia.c cdp1861.c cdp1864.c cgenie.c gamecom.c nes.c vc4000.c vectrex.c vic6560.c x68k.c zx8301.c

src/mess/image.c
r1597r1598
181181
182182   indx = 0;
183183
184   if (Machine->devices)
184   if (machine->devices)
185185   {
186      for (i = 0; Machine->devices[i].type < IO_COUNT; i++)
186      for (i = 0; machine->devices[i].type < IO_COUNT; i++)
187187      {
188         for (j = 0; j < Machine->devices[i].count; j++)
188         for (j = 0; j < machine->devices[i].count; j++)
189189         {
190190            /* identify the image */
191191            image = &images[indx + j];
192192
193193            /* call the exit handler if appropriate */
194            if (Machine->devices[i].exit)
195               Machine->devices[i].exit(image);
194            if (machine->devices[i].exit)
195               machine->devices[i].exit(image);
196196
197197            /* free the tagpool */
198198            tagpool_exit(&images[indx + j].tagpool);
r1597r1598
208208            pool_free(image->mempool);
209209            image->mempool = NULL;
210210         }
211         indx += Machine->devices[i].count;
211         indx += machine->devices[i].count;
212212      }
213213   }
214214}
src/mess/video/vic6560.c
r1597r1598
485485         r.min_y = LIGHTPEN_Y_VALUE - 1 + VIC656X_MAME_YPOS;
486486         r.max_y = r.min_y + 8 - 1;
487487
488         if (DOCLIP (&r, &Machine->screen[0].visarea))
488         if (DOCLIP (&r, &machine->screen[0].visarea))
489489         {
490490#ifndef GFX
491491            vic6560_draw_pointer (vic6560_bitmap, &r,
src/mess/video/nes.c
r1597r1598
6565      }
6666   }
6767
68   add_reset_callback(Machine, nes_vh_reset);
68   add_reset_callback(machine, nes_vh_reset);
6969
7070   /* Reset the mapper variables. Will also mark the char-gen ram as dirty */
7171   mapper_reset(nes.mapper);
src/mess/video/gamecom.c
r1597r1598
2222      rec.min_x = 0;
2323      rec.max_x = Y_PIXELS - 1;
2424      rec.min_y = rec.max_y = scanline;
25      fillbitmap( tmpbitmap, Machine->pens[ 0 ], &rec );
25      fillbitmap( tmpbitmap, machine->pens[ 0 ], &rec );
2626      return;
2727   } else {
2828      UINT8 *line = &gamecom_vram[ base_address + 40 * scanline ];
r1597r1598
5757      }
5858      for( i = 0; i < 40; i++ ) {
5959         UINT8 p = line[i];
60         *BITMAP_ADDR16(tmpbitmap, i * 4 + 0, scanline) = Machine->pens[ pal[ ( p >> 6 ) & 3 ] ];
61         *BITMAP_ADDR16(tmpbitmap, i * 4 + 1, scanline) = Machine->pens[ pal[ ( p >> 4 ) & 3 ] ];
62         *BITMAP_ADDR16(tmpbitmap, i * 4 + 2, scanline) = Machine->pens[ pal[ ( p >> 2 ) & 3 ] ];
63         *BITMAP_ADDR16(tmpbitmap, i * 4 + 3, scanline) = Machine->pens[ pal[ ( p      ) & 3 ] ];
60         *BITMAP_ADDR16(tmpbitmap, i * 4 + 0, scanline) = machine->pens[ pal[ ( p >> 6 ) & 3 ] ];
61         *BITMAP_ADDR16(tmpbitmap, i * 4 + 1, scanline) = machine->pens[ pal[ ( p >> 4 ) & 3 ] ];
62         *BITMAP_ADDR16(tmpbitmap, i * 4 + 2, scanline) = machine->pens[ pal[ ( p >> 2 ) & 3 ] ];
63         *BITMAP_ADDR16(tmpbitmap, i * 4 + 3, scanline) = machine->pens[ pal[ ( p      ) & 3 ] ];
6464      }
6565   }
6666
src/mess/video/vectrex.c
r1597r1598
189189      i = (i+1) % NVECT;
190190   }
191191
192   video_update_vector(Machine, screen, bitmap, cliprect);
192   video_update_vector(machine, screen, bitmap, cliprect);
193193   vector_clear_list();
194194   return 0;
195195}
src/mess/video/arcadia.c
r1597r1598
821821   /* 7-Sep-2007 - whomever wrote this crap code was dynamically remapping
822822    * the color table, a vile gross hack.  Doesn't look like this is going
823823    * to survive the 0.118u5 transition */
824   /*Machine->gfx[0]->colortable[0]=Machine->pens[arcadia_video.reg.d.pal[1]&7];*/
824   /*machine->gfx[0]->colortable[0]=machine->pens[arcadia_video.reg.d.pal[1]&7];*/
825825
826826   if (arcadia_video.line<arcadia_video.ypos)
827827   {
828      plot_box(arcadia_video.bitmap, 0, arcadia_video.line, Machine->screen[0].width, 1, Machine->remapped_colortable[Machine->gfx[0]->color_base + 0]);
828      plot_box(arcadia_video.bitmap, 0, arcadia_video.line, machine->screen[0].width, 1, machine->remapped_colortable[machine->gfx[0]->color_base + 0]);
829829      memset(arcadia_video.bg[arcadia_video.line], 0, sizeof(arcadia_video.bg[0]));
830830   }
831831   else
r1597r1598
853853      else
854854      {
855855         arcadia_video.charline=0xd;
856         plot_box(arcadia_video.bitmap, 0, arcadia_video.line, Machine->screen[0].width, 1, Machine->remapped_colortable[Machine->gfx[0]->color_base + 0]);
856         plot_box(arcadia_video.bitmap, 0, arcadia_video.line, machine->screen[0].width, 1, machine->remapped_colortable[machine->gfx[0]->color_base + 0]);
857857         memset(arcadia_video.bg[arcadia_video.line], 0, sizeof(arcadia_video.bg[0]));
858858      }
859859   }
src/mess/video/cgenie.c
r1597r1598
268268         {
269269            /* get graphics code */
270270            code = videoram[i];
271            drawgfx(bitmap, Machine->gfx[1], code, 0,
271            drawgfx(bitmap, machine->gfx[1], code, 0,
272272               0, 0, r.min_x, r.min_y, &r, TRANSPARENCY_NONE, 0);
273273         }
274274         else
r1597r1598
278278           
279279            /* translate defined character sets */
280280            code += cgenie_font_offset[(code >> 6) & 3];
281            drawgfx(bitmap, Machine->gfx[0], code, colorram[i&0x3ff],
281            drawgfx(bitmap, machine->gfx[0], code, colorram[i&0x3ff],
282282               0, 0, r.min_x, r.min_y, &r, TRANSPARENCY_NONE, 0);
283283         }
284284
r1597r1598
307307            rc.max_x = r.max_x;
308308            rc.min_y = r.min_y + (crt.cursor_top & 15);
309309            rc.max_y = r.min_y + (crt.cursor_bottom & 15);
310            drawgfx(bitmap, Machine->gfx[0], 0x7f, colorram[i&0x3ff],
310            drawgfx(bitmap, machine->gfx[0], 0x7f, colorram[i&0x3ff],
311311               0, 0, rc.min_x, rc.min_y, &rc, TRANSPARENCY_NONE, 0);
312312         }
313313      }
r1597r1598
347347         {
348348            /* get graphics code */
349349            code = videoram[i];
350            drawgfx(tmpbitmap, Machine->gfx[1], code, 1,
350            drawgfx(tmpbitmap, machine->gfx[1], code, 1,
351351               0, 0, r.min_x, r.min_y, &r, TRANSPARENCY_NONE, 0);
352            drawgfx(dlybitmap, Machine->gfx[1], code, 2,
352            drawgfx(dlybitmap, machine->gfx[1], code, 2,
353353               0, 0, r.min_x, r.min_y, &r, TRANSPARENCY_NONE, 0);
354354         }
355355         else
r1597r1598
359359           
360360            /* translate defined character sets */
361361            code += cgenie_font_offset[(code >> 6) & 3];
362            drawgfx(tmpbitmap, Machine->gfx[0], code, colorram[i&0x3ff] + 16,
362            drawgfx(tmpbitmap, machine->gfx[0], code, colorram[i&0x3ff] + 16,
363363               0, 0, r.min_x, r.min_y, &r, TRANSPARENCY_NONE, 0);
364            drawgfx(dlybitmap, Machine->gfx[0], code, colorram[i&0x3ff] + 32,
364            drawgfx(dlybitmap, machine->gfx[0], code, colorram[i&0x3ff] + 32,
365365               0, 0, r.min_x, r.min_y, &r, TRANSPARENCY_NONE, 0);
366366         }
367367
r1597r1598
391391            rc.min_y = r.min_y + (crt.cursor_top & 15);
392392            rc.max_y = r.min_y + (crt.cursor_bottom & 15);
393393           
394            drawgfx(tmpbitmap, Machine->gfx[0], 0x7f, colorram[i&0x3ff] + 16,
394            drawgfx(tmpbitmap, machine->gfx[0], 0x7f, colorram[i&0x3ff] + 16,
395395               0, 0, rc.min_x, rc.min_y, &rc, TRANSPARENCY_NONE, 0);
396            drawgfx(dlybitmap, Machine->gfx[0], 0x7f, colorram[i&0x3ff] + 32,
396            drawgfx(dlybitmap, machine->gfx[0], 0x7f, colorram[i&0x3ff] + 32,
397397               0, 0, rc.min_x, rc.min_y, &rc, TRANSPARENCY_NONE, 0);
398398         }
399399      }
src/mess/video/x68k.c
r1597r1598
10901090      sys.mfp.isra = 0;
10911091      sys.mfp.isrb = 0;
10921092//      mfp_trigger_irq(MFP_IRQ_GPIP6);
1093//      cpunum_set_input_line_and_vector(Machine, 0,6,ASSERT_LINE,0x43);
1093//      cpunum_set_input_line_and_vector(machine, 0,6,ASSERT_LINE,0x43);
10941094   }
10951095   if(input_code_pressed(KEYCODE_9))
10961096   {
src/mess/video/zx8301.c
r1597r1598
135135   }
136136   else
137137   {
138      fillbitmap(bitmap, get_black_pen(Machine), cliprect);
138      fillbitmap(bitmap, get_black_pen(machine), cliprect);
139139   }
140140
141141   return 0;
src/mess/video/cdp1864.c
r1597r1598
223223   }
224224   else
225225   {
226      fillbitmap(bitmap, get_black_pen(Machine), cliprect);
226      fillbitmap(bitmap, get_black_pen(machine), cliprect);
227227   }
228228
229229   return 0;
src/mess/video/vc4000.c
r1597r1598
416416{
417417   int x,y,i;
418418   UINT8 collision[400]={0}; // better alloca or gcc feature of non constant long automatic arrays
419   assert(sizeof(collision)>=Machine->screen[0].width);
419   assert(sizeof(collision)>=machine->screen[0].width);
420420
421421   vc4000_video.line++;
422422   vc4000_video.line%=312;
r1597r1598
436436      /* 7-Sep-2007 - whomever wrote this crap code was dynamically remapping
437437       * the color table, a vile gross hack.  Doesn't look like this is going
438438       * to survive the 0.118u5 transition */
439      /* Machine->gfx[0]->colortable[1]=Machine->pens[8|((vc4000_video.reg.d.sprite_colors[0]>>3)&7)]; */
439      /* machine->gfx[0]->colortable[1]=machine->pens[8|((vc4000_video.reg.d.sprite_colors[0]>>3)&7)]; */
440440      vc4000_sprite_update(vc4000_video.bitmap, collision, &vc4000_video.sprites[0]);
441      /* Machine->gfx[0]->colortable[1]=Machine->pens[8|(vc4000_video.reg.d.sprite_colors[0]&7)]; */
441      /* machine->gfx[0]->colortable[1]=machine->pens[8|(vc4000_video.reg.d.sprite_colors[0]&7)]; */
442442      vc4000_sprite_update(vc4000_video.bitmap, collision, &vc4000_video.sprites[1]);
443      /* Machine->gfx[0]->colortable[1]=Machine->pens[8|((vc4000_video.reg.d.sprite_colors[1]>>3)&7)]; */
443      /* machine->gfx[0]->colortable[1]=machine->pens[8|((vc4000_video.reg.d.sprite_colors[1]>>3)&7)]; */
444444      vc4000_sprite_update(vc4000_video.bitmap, collision, &vc4000_video.sprites[2]);
445      /* Machine->gfx[0]->colortable[1]=Machine->pens[8|(vc4000_video.reg.d.sprite_colors[1]&7)]; */
445      /* machine->gfx[0]->colortable[1]=machine->pens[8|(vc4000_video.reg.d.sprite_colors[1]&7)]; */
446446      vc4000_sprite_update(vc4000_video.bitmap, collision, &vc4000_video.sprites[3]);
447447
448448      for (i=0; i<256; i++)
src/mess/video/cdp1861.c
r1597r1598
170170   }
171171   else
172172   {
173      fillbitmap(bitmap, get_black_pen(Machine), cliprect);
173      fillbitmap(bitmap, get_black_pen(machine), cliprect);
174174   }
175175
176176   return 0;
src/mess/osd/windows/menu.c
r1597r1598
471471   else
472472   {
473473      snprintf(state_filename, sizeof(state_filename) / sizeof(state_filename[0]),
474         "%s State.sta", Machine->gamedrv->description);
474         "%s State.sta", machine->gamedrv->description);
475475      dir = NULL;
476476
477477      src = state_filename;
src/mess/machine/dgn_beta.c
r1597r1598
10451045   system_rom = memory_region(REGION_CPU1);
10461046
10471047   /* Make sure CPU 1 is started out halted ! */
1048   cpunum_set_input_line(Machine, 1, INPUT_LINE_HALT, ASSERT_LINE);
1048   cpunum_set_input_line(machine, 1, INPUT_LINE_HALT, ASSERT_LINE);
10491049
10501050   /* Reset to task 0, and map banks disabled, so standard memory map */
10511051   /* with ram at $0000-$BFFF, ROM at $C000-FBFF, IO at $FC00-$FEFF */
src/mess/machine/nes_mmc.c
r1597r1598
9999
100100static TIMER_CALLBACK(nes_irq_callback)
101101{
102   cpunum_set_input_line(Machine, 0, M6502_IRQ_LINE, HOLD_LINE);
102   cpunum_set_input_line(machine, 0, M6502_IRQ_LINE, HOLD_LINE);
103103   timer_adjust(nes_irq_timer, attotime_never, 0, attotime_never);
104104}
105105
src/mess/machine/vc1541.c
r1597r1598
353353      vc1541->head.ready=0;
354354      vc1541->head.sync=0;
355355      if (vc1541->type==TypeVC1541) {
356         cpunum_set_input_line(Machine, vc1541->cpunumber, M6502_SET_OVERFLOW, 1);
356         cpunum_set_input_line(machine, vc1541->cpunumber, M6502_SET_OVERFLOW, 1);
357357         via_3_ca1_w(0,1);
358358      }
359359      return;
r1597r1598
377377      vc1541->head.sync=0;
378378   }
379379   if (vc1541->type==TypeVC1541) {
380      cpunum_set_input_line(Machine, vc1541->cpunumber, M6502_SET_OVERFLOW, 0);
380      cpunum_set_input_line(machine, vc1541->cpunumber, M6502_SET_OVERFLOW, 0);
381381      via_3_ca1_w(0,0);
382382   }
383383   vc1541->clock=0;
src/mess/machine/cgenie.c
r1597r1598
317317    * Every fifth cycle is a wait cycle, so I reduced
318318    * the overlocking by one fitfth
319319    */
320   cpunum_set_clockscale(Machine, 0, 0.80);
320   cpunum_set_clockscale(machine, 0, 0.80);
321321
322322   /* Initialize some patterns to be displayed in graphics mode */
323323   for( i = 0; i < 256; i++ )
src/mess/machine/astrocde.c
r1597r1598
6363{
6464    CurrentScan++;
6565
66    if (CurrentScan == Machine->drv->cpu[0].vblank_interrupts_per_frame)
66    if (CurrentScan == machine->drv->cpu[0].vblank_interrupts_per_frame)
6767      CurrentScan = 0;
6868
6969    if (CurrentScan < 204) astrocade_copy_line(CurrentScan);
src/mess/machine/ay3600.c
r1597r1598
436436   {
437437      reset_flag = 0;
438438      cpunum_set_input_line(machine, 0, INPUT_LINE_RESET, CLEAR_LINE);
439      mame_schedule_soft_reset(Machine);
439      mame_schedule_soft_reset(machine);
440440   }
441441
442442   /* run through real keys and see what's being pressed */
src/mess/machine/amigacrt.c
r1597r1598
8484static TIMER_CALLBACK( amiga_ar1_delayed_nmi )
8585{
8686   (void)param;
87   cpunum_set_input_line(Machine, 0, 7, PULSE_LINE);
87   cpunum_set_input_line(machine, 0, 7, PULSE_LINE);
8888}
8989
9090static void amiga_ar1_nmi( void )
src/mess/machine/trs80.c
r1597r1598
614614   if( (irq_status & IRQ_TIMER) == 0 )
615615   {
616616      irq_status |= IRQ_TIMER;
617      cpunum_set_input_line(Machine, 0, 0, HOLD_LINE);
617      cpunum_set_input_line(machine, 0, 0, HOLD_LINE);
618618   }
619619}
620620
r1597r1598
623623   if ((irq_status & IRQ_FDC) == 0)
624624   {
625625      irq_status |= IRQ_FDC;
626      cpunum_set_input_line(Machine, 0, 0, HOLD_LINE);
626      cpunum_set_input_line(machine, 0, 0, HOLD_LINE);
627627   }
628628}
629629
src/mess/machine/apple2.c
r1597r1598
721721{
722722   int need_intcxrom, i;
723723
724   need_intcxrom = !strcmp(Machine->gamedrv->name, "apple2c")
725      || !strcmp(Machine->gamedrv->name, "apple2c0")
726      || !strcmp(Machine->gamedrv->name, "apple2c3")
727      || !strcmp(Machine->gamedrv->name, "apple2cp")
728      || !strncmp(Machine->gamedrv->name, "apple2g", 7);
724   need_intcxrom = !strcmp(machine->gamedrv->name, "apple2c")
725      || !strcmp(machine->gamedrv->name, "apple2c0")
726      || !strcmp(machine->gamedrv->name, "apple2c3")
727      || !strcmp(machine->gamedrv->name, "apple2cp")
728      || !strncmp(machine->gamedrv->name, "apple2g", 7);
729729   apple2_setvar(need_intcxrom ? VAR_INTCXROM : 0, ~0);
730730
731731   // ROM 0 cannot boot unless language card bank 2 is write-enabled (but read ROM) on startup
732   if (!strncmp(Machine->gamedrv->name, "apple2g", 7))
732   if (!strncmp(machine->gamedrv->name, "apple2g", 7))
733733   {
734734      apple2_setvar(VAR_LCWRITE|VAR_LCRAM2, VAR_LCWRITE | VAR_LCRAM | VAR_LCRAM2);
735735   }
src/mess/drivers/vip.c
r1597r1598
160160
161161   for (addr = 0; addr < mess_ram_size; addr++)
162162   {
163      ram[addr] = mame_rand(Machine) & 0xff;
163      ram[addr] = mame_rand(machine) & 0xff;
164164   }
165165
166166   memory_configure_bank(1, 0, 2, memory_region(REGION_CPU1), 0x8000);
src/mess/drivers/nc.c
r1597r1598
532532            case NC_TYPE_1xx:
533533            {
534534                 LOG(("nmi triggered\n"));
535                cpunum_set_input_line(Machine, 0, INPUT_LINE_NMI, PULSE_LINE);
535                cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, PULSE_LINE);
536536            }
537537            break;
538538
src/mess/drivers/adam.c
r1597r1598
458458      adam_joy_stat[1] = 1;
459459
460460   if (adam_joy_stat[0] || adam_joy_stat[1])
461      cpunum_set_input_line (Machine, 0, 0, HOLD_LINE);
461      cpunum_set_input_line (machine, 0, 0, HOLD_LINE);
462462}
463463
464464void set_memory_banks(void)
src/mess/drivers/z88.c
r1597r1598
9999         /* column has gone low in snooze/coma */
100100         blink.sta |= STA_KEY;
101101
102         cpu_trigger(Machine, Z88_SNOOZE_TRIGGER);
102         cpu_trigger(machine, Z88_SNOOZE_TRIGGER);
103103
104104         z88_interrupt_refresh();
105105      }
src/mess/drivers/glasgow.c
r1597r1598
534534
535535static TIMER_CALLBACK( update_nmi )
536536{
537   // if (irq_flag==0)cpunum_set_input_line_and_vector(Machine, 0,  MC68000_IRQ_7, PULSE_LINE, MC68000_INT_ACK_AUTOVECTOR);
538   cpunum_set_input_line_and_vector(Machine, 0,  MC68000_IRQ_7, PULSE_LINE, MC68000_INT_ACK_AUTOVECTOR);
537   // if (irq_flag==0)cpunum_set_input_line_and_vector(machine, 0,  MC68000_IRQ_7, PULSE_LINE, MC68000_INT_ACK_AUTOVECTOR);
538   cpunum_set_input_line_and_vector(machine, 0,  MC68000_IRQ_7, PULSE_LINE, MC68000_INT_ACK_AUTOVECTOR);
539539
540540}
541541
542542static TIMER_CALLBACK( update_nmi32 )
543543{
544   cpunum_set_input_line_and_vector(Machine, 0,  MC68020_IRQ_7, PULSE_LINE, MC68020_INT_ACK_AUTOVECTOR);
544   cpunum_set_input_line_and_vector(machine, 0,  MC68020_IRQ_7, PULSE_LINE, MC68020_INT_ACK_AUTOVECTOR);
545545}
546546
547547static MACHINE_START( glasgow )
src/mess/drivers/x68k.c
r1597r1598
232232//              if(sys.mfp.iera & (1 << x))
233233                {
234234                    current_vector[6] = (sys.mfp.vr & 0xf0) | (x+8);
235                    cpunum_set_input_line_and_vector(Machine, 0,sys.mfp.irqline,HOLD_LINE,(sys.mfp.vr & 0xf0) | (x + 8));
235                    cpunum_set_input_line_and_vector(machine, 0,sys.mfp.irqline,HOLD_LINE,(sys.mfp.vr & 0xf0) | (x + 8));
236236//                  logerror("MFP: Sent IRQ vector 0x%02x (IRQ line %i)\n",(sys.mfp.vr & 0xf0) | (x+8),sys.mfp.irqline);
237237                    return;  // one at a time only
238238                }
r1597r1598
251251//              if(sys.mfp.ierb & (1 << x))
252252                {
253253                    current_vector[6] = (sys.mfp.vr & 0xf0) | x;
254                    cpunum_set_input_line_and_vector(Machine, 0,sys.mfp.irqline,HOLD_LINE,(sys.mfp.vr & 0xf0) | x);
254                    cpunum_set_input_line_and_vector(machine, 0,sys.mfp.irqline,HOLD_LINE,(sys.mfp.vr & 0xf0) | x);
255255//                  logerror("MFP: Sent IRQ vector 0x%02x (IRQ line %i)\n",(sys.mfp.vr & 0xf0) | x,sys.mfp.irqline);
256256                    return;  // one at a time only
257257                }
r1597r1598
626626            sys.mouse.irqactive = 1;
627627            current_vector[5] = 0x54;
628628            current_irq_line = 5;
629            cpunum_set_input_line_and_vector(Machine, 0,5,HOLD_LINE,0x54);
629            cpunum_set_input_line_and_vector(machine, 0,5,HOLD_LINE,0x54);
630630         }
631631      }
632632   }
src/mess/drivers/tmc1800.c
r1597r1598
258258
259259static MACHINE_RESET( tmc1800 )
260260{
261   cpunum_set_input_line(Machine, 0, INPUT_LINE_RESET, PULSE_LINE);
261   cpunum_set_input_line(machine, 0, INPUT_LINE_RESET, PULSE_LINE);
262262}
263263
264264static MACHINE_START( tmc2000 )
r1597r1598
273273{
274274   machine_reset_cdp1864(machine);
275275
276   cpunum_set_input_line(Machine, 0, INPUT_LINE_RESET, PULSE_LINE);
276   cpunum_set_input_line(machine, 0, INPUT_LINE_RESET, PULSE_LINE);
277277
278278   // set program counter to 0x8000
279279   memory_set_bank(1, 0);
src/mess/drivers/avigo.c
r1597r1598
210210      if ((current_input_port_data[3] & 0x02)!=0)
211211      {
212212         /* ????? causes a NMI */
213         cpunum_set_input_line(Machine, 0, INPUT_LINE_NMI, PULSE_LINE);
213         cpunum_set_input_line(machine, 0, INPUT_LINE_NMI, PULSE_LINE);
214214      }
215215   }
216216

Previous 15994 Revisions Next


© 1998-2018 The MESS Team