Previous 15994 Revisions Next

r5694 Friday 11th September, 2009 at 17:06:03 UTC by Angelo Salese
[X1]: Implemented PCG address reset behaviour, this fixes for good gameplay graphics in Euphory
[src/mess/drivers]x1.c

src/mess/drivers/x1.c
r5693r5694
1111   - Sort out / redump the BIOS gfx roms;
1212   - Implement the interrupts (uses IM 2), basically used by the keyboard.
1313   - Implement DMA,CTC and SIO, they are X1Turbo only features.
14   - Improve the z80DMA core, it's so incomplete that nothing that uses it works;
1415   - clean-ups!
1516   - x1turbo: understand how irq generation works for the ym-2151;
1617   - There are various unclear video things, these are:
r5693r5694
2728   - Bosconian: title screen background is completely white because it reverts the pen used
2829     (it's gray in the Arcade version),could be either flickering for pseudo-alpha effect or it's
2930     a btanb;
31   - Mappy/Gradius: they sets 320x200 with fps = 30 Hz, due of that they are too slow (they must run at 60 Hz),
32     HW limitation/MC6845 bug?
33   - Exoa II - Warroid: major tile width/height positioning bugs (especially during gameplay);
3034
3135   Notes:
3236   - An interesting feature of the Sharp X-1 is the extended i/o bank. When the ppi port c bit 5
r5693r5694
891895      }
892896      else
893897      {
898         /* TODO: understand what 1942, Herzog and friends wants there */
894899         used_pcg_addr = pcg_write_addr*8;
895900         pcg_offset = (pcg_index[addr-1]+used_pcg_addr) & 0x7ff;
896901         pcg_offset+=((addr-1)*0x800);
897         printf("%04x\n",pcg_offset);
898902         PCG_RAM[pcg_offset] = data;
899903
900904         pcg_offset &= 0x7ff;
r5693r5694
12991303
13001304static WRITE_LINE_DEVICE_HANDLER(vsync_changed)
13011305{
1306   static UINT8 pcg_reset_occurred;
1307
13021308   vsync = (state & 1) ? 0x04 : 0x00;
1309   if(state & 1 && pcg_reset_occurred == 0) { pcg_reset = pcg_reset_occurred = 1; }
1310   if(!(state & 1))                         { pcg_reset_occurred = 0; }
13031311   //printf("%d %02x\n",video_screen_get_vpos(device->machine->primary_screen),vsync);
13041312}
13051313

Previous 15994 Revisions Next


© 1998-2018 The MESS Team