Previous 15994 Revisions Next

r3002 Saturday 2nd August, 2008 at 17:04:32 UTC by R. Belmont
[INTV] Fix additional regressions.
[src/mess/machine]intv.c

src/mess/machine/intv.c
r3001r3002
1717   COMBINE_DATA(&intvkbd_dualport_ram[offset]);
1818
1919   /* copy the LSB over to the 6502 OP RAM, in case they are opcodes */
20   RAM    = memory_region(machine, "|");
20   RAM    = memory_region(machine, "keyboard");
2121   RAM[offset] = (UINT8) (data >> 0);
2222}
2323
r3001r3002
3434   intvkbd_dualport_ram[offset] |= ((UINT16) data) << 0;
3535
3636   /* copy over to the 6502 OP RAM, in case they are opcodes */
37   RAM    = memory_region(machine, "|");
37   RAM    = memory_region(machine, "keyboard");
3838   RAM[offset] = data;
3939}
4040
r3001r3002
331331   UINT8 high_byte;
332332   UINT8 low_byte;
333333
334   UINT8 *memory = memory_region(image->machine, "|");
334   UINT8 *memory = memory_region(image->machine, "main");
335335
336336   image_fread(image, &temp,1);         /* header */
337337   if (temp != 0xa8)
r3001r3002
379379{
380380   /* First, initialize these as empty so that the intellivision
381381    * will think that the playcable and keyboard are not attached */
382   UINT8 *memory = memory_region(device->machine, "|");
382   UINT8 *memory = memory_region(device->machine, "main");
383383
384384   /* assume playcable is absent */
385385   memory[0x4800<<1] = 0xff;
r3001r3002
394394{
395395   /* First, initialize these as empty so that the intellivision
396396    * will think that the playcable and keyboard are not attached */
397   UINT8 *memory = memory_region(image->machine, "|");
397   UINT8 *memory = memory_region(image->machine, "main");
398398
399399   /* assume playcable is absent */
400400   memory[0x4800<<1] = 0xff;
r3001r3002
492492   {
493493      /* First, initialize these as empty so that the intellivision
494494       * will think that the playcable is not attached */
495      UINT8 *memory = memory_region(image->machine, "|");
495      UINT8 *memory = memory_region(image->machine, "main");
496496
497497      /* assume playcable is absent */
498498      memory[0x4800<<1] = 0xff;
r3001r3002
503503
504504   if (id == 1) /* Keyboard component cartridge slot */
505505   {
506      UINT8 *memory = memory_region(image->machine, "|");
506      UINT8 *memory = memory_region(image->machine, "keyboard");
507507
508508      /* Assume an 8K cart, like BASIC */
509509      image_fread(image,&memory[0xe000],0x2000);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team