Previous 15994 Revisions Next

r6961 Wednesday 6th January, 2010 at 20:27:26 UTC by Angelo Salese
Implemented the pseudo scatter gather mode
[src/mess/drivers]supracan.c

src/mess/drivers/supracan.c
r6960r6961
380380                  memory_write_word(space, acan_dma_regs.dest[ch], memory_read_word(space, acan_dma_regs.source[ch]));
381381                  acan_dma_regs.dest[ch]+=2;
382382                  acan_dma_regs.source[ch]+=2;
383                  if(data & 0x0100)
384                     if((acan_dma_regs.dest[ch] & 0xf) == 0)
385                        acan_dma_regs.dest[ch]-=0x10;
383386               }
384387               else
385388               {
r6960r6961
741744            rectangle visarea = *video_screen_get_visible_area(space->machine->primary_screen);
742745
743746            visarea.min_x = visarea.min_y = 0;
744            visarea.max_y = 240;
745            visarea.max_x = (video_flags & 0x100) ? 320 : 256;
747            visarea.max_y = 240 - 1;
748            visarea.max_x = ((video_flags & 0x100) ? 320 : 256) - 1;
746749            video_screen_configure(space->machine->primary_screen, 348, 256, &visarea, video_screen_get_frame_period(space->machine->primary_screen).attoseconds);
747750         }
748751         break;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team