src/mess/drivers/x1.c
| r5693 | r5694 | |
| 11 | 11 | - Sort out / redump the BIOS gfx roms; |
| 12 | 12 | - Implement the interrupts (uses IM 2), basically used by the keyboard. |
| 13 | 13 | - 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; |
| 14 | 15 | - clean-ups! |
| 15 | 16 | - x1turbo: understand how irq generation works for the ym-2151; |
| 16 | 17 | - There are various unclear video things, these are: |
| r5693 | r5694 | |
| 27 | 28 | - Bosconian: title screen background is completely white because it reverts the pen used |
| 28 | 29 | (it's gray in the Arcade version),could be either flickering for pseudo-alpha effect or it's |
| 29 | 30 | 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); |
| 30 | 34 | |
| 31 | 35 | Notes: |
| 32 | 36 | - An interesting feature of the Sharp X-1 is the extended i/o bank. When the ppi port c bit 5 |
| r5693 | r5694 | |
| 891 | 895 | } |
| 892 | 896 | else |
| 893 | 897 | { |
| 898 | /* TODO: understand what 1942, Herzog and friends wants there */ |
| 894 | 899 | used_pcg_addr = pcg_write_addr*8; |
| 895 | 900 | pcg_offset = (pcg_index[addr-1]+used_pcg_addr) & 0x7ff; |
| 896 | 901 | pcg_offset+=((addr-1)*0x800); |
| 897 | | printf("%04x\n",pcg_offset); |
| 898 | 902 | PCG_RAM[pcg_offset] = data; |
| 899 | 903 | |
| 900 | 904 | pcg_offset &= 0x7ff; |
| r5693 | r5694 | |
| 1299 | 1303 | |
| 1300 | 1304 | static WRITE_LINE_DEVICE_HANDLER(vsync_changed) |
| 1301 | 1305 | { |
| 1306 | static UINT8 pcg_reset_occurred; |
| 1307 | |
| 1302 | 1308 | 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; } |
| 1303 | 1311 | //printf("%d %02x\n",video_screen_get_vpos(device->machine->primary_screen),vsync); |
| 1304 | 1312 | } |
| 1305 | 1313 | |