src/mess/drivers/x1.c
| r5555 | r5556 | |
| 6 | 6 | |
| 7 | 7 | TODO: |
| 8 | 8 | - Understand how keyboard works and decap/dump the keyboard MCU if possible; |
| 9 | | - Hook-up .d88 and .tap image formats (.rom too?); |
| 9 | - Hook-up .tap image formats (.rom too?); |
| 10 | - Implement tape commands; |
| 10 | 11 | - Sort out / redump the BIOS gfx roms; |
| 11 | | - Fix the interrupts (uses IM 2) |
| 12 | | - Add multiple FDC drive support; |
| 12 | - Implement the interrupts (uses IM 2), basically used by the keyboard. |
| 13 | - Implement DMA (X1Turbo only?) |
| 13 | 14 | - clean-ups! |
| 14 | 15 | - There are various unclear video things, these are: |
| 15 | | - PCG reset address is tied to the screen beams in some way; |
| 16 | - Understand why some games still doesn't upload the proper PCG index; |
| 16 | 17 | - Support the alternative PCG upload mode; |
| 17 | | - Add the extended gfx hookup; |
| 18 | - Implement PCG reading, used by Maison Ikkoku, Mule and Gyajiko for kanji reading; |
| 19 | - Implement the scrn params; |
| 20 | - Interlace mode? |
| 21 | - Some colors are still way wrong (check 1942 or Dialide), needs update_partial perhaps? |
| 22 | - Maybe the colorram/videoram stuff is actually a converter for the BRG framebuffer in |
| 23 | the end? |
| 18 | 24 | - (anything else?) |
| 19 | 25 | |
| 20 | 26 | per-game specific TODO: |
| 21 | | - Shanghai: tests the ay8910 read regs, mouse/joystick perhaps? |
| 22 | | - Gaia/Space Harrier: Hits the FDC drive assert, the latter boots but has heavy emulation |
| 23 | | video/logic problems; |
| 24 | | - "alpha": Apparently does use the DMA feature (writes z80 code?), investigate; |
| 25 | 27 | - Bosconian: title screen background is completely white because it reverts the pen used |
| 26 | 28 | (it's gray in the Arcade version),could be either flickering for pseudo-alpha effect or it's |
| 27 | 29 | a btanb; |
| 28 | 30 | - Dragon Slayer: colors aren't 100% and for whatever reason it doesn't clear the screen on the |
| 29 | 31 | gameplay. |
| 30 | | - Super Mario Bros. SP: background color is black, should be blue. |
| 32 | - Super Mario Bros. SP: background color is black, should be blue. DMA issue? |
| 31 | 33 | |
| 32 | 34 | Notes: |
| 33 | 35 | - An interesting feature of the Sharp X-1 is the extended i/o bank. When the ppi port c bit 5 |
| r5555 | r5556 | |
| 188 | 190 | |
| 189 | 191 | if(((color & 0x8)>>3) != pri) continue; |
| 190 | 192 | if(tile == 0) continue; //correct? |
| 193 | /* skip draw if the x/y values are odd and the width/height is active, */ |
| 194 | /* behaviour confirmed by Black Onyx title screen and the X1Demo */ |
| 195 | if((x & 1) == 1 && width) continue; |
| 196 | if((y & 1) == 1 && height) continue; |
| 191 | 197 | |
| 192 | 198 | res_x = (x/(width+1))*8*(width+1); |
| 193 | 199 | res_y = (y/(height+1))*8*(height+1); |