src/mess/drivers/pc8801.c
| r15850 | r15851 | |
| 10 | 10 | |
| 11 | 11 | - add differences between various models; |
| 12 | 12 | - implement proper upd3301 / i8257 support; |
| 13 | | - mouse support; |
| 13 | - fix "jumps" in mouse support pointer (noticeable in Balance of Power); |
| 14 | 14 | - RTC support; |
| 15 | 15 | - Add limits for extend work RAM; |
| 16 | 16 | - What happens to the palette contents when the analog/digital palette mode changes? |
| r15850 | r15851 | |
| 39 | 39 | - Chitei Tanken: 200 B/W Mode, gfxs looks misplaced |
| 40 | 40 | - Chou Bishoujo Densetsu CROQUIS: accesses ports 0xa0-0xa3 and 0xc2-0xc3 |
| 41 | 41 | - Combat: mono gfx mode enabled, but I don't see any noticeable quirk? |
| 42 | - Cranston Manor (actually N88-Basic demo): no sound |
| 42 | 43 | - Fire Hawk: tries to r/w the opn ports (probably crashed due to floppy?) |
| 43 | 44 | - Grobda: palette is ugly (parent pc8801 only); |
| 44 | 45 | - Music Collection Vol. 2 - Final Fantasy Tokushuu: sound irq dies pretty soon |
| r15850 | r15851 | |
| 70 | 71 | - Chikyuu Senshi Rayieza (fdc CPU crashes) |
| 71 | 72 | - Choplifter |
| 72 | 73 | - Columns (code at 0x28c8, copy protection) |
| 74 | - Corridor ("THIS SYSTEM NOT KOEI SYSTEM" printed on screen) |
| 75 | - Craze (returns to basic after logo pops up, tries to self-modify program data via the window offset?) |
| 76 | - Crimson |
| 77 | - Crimson 3 |
| 73 | 78 | - Cuby Panic (copy protection routine at 0x911A) |
| 79 | - Daidasso (prints "BOOT dekimasen" on screen, can't boot) |
| 80 | - Daikoukai Jidai |
| 81 | (Damages & Dice) |
| 74 | 82 | - Door Door MK-2 (sets up TC in the middle of execution phase read then wants status bit 6 to be low PC=0x7050 of fdc cpu) |
| 75 | 83 | - Harakiri |
| 76 | 84 | - MakaiMura (attempts to r/w the sio ports, but it's clearly crashed) |
| r15850 | r15851 | |
| 718 | 726 | } |
| 719 | 727 | else // monochrome |
| 720 | 728 | { |
| 721 | | pal = (state->m_txt_color) ? 7 : 0; // TODO: annoyingly, Alpha color is currently black with this |
| 722 | | gfx_mode = 0; |
| 729 | pal = 7; /* TODO: Bishoujo Baseball Gakuen wants this to be black somehow ... */ |
| 730 | gfx_mode = (attr & 0x80) >> 7; |
| 723 | 731 | reverse = (attr & 4) >> 2; |
| 724 | 732 | secret = (attr & 1); |
| 725 | 733 | upper = (attr & 0x10) >> 4; |
| r15850 | r15851 | |
| 728 | 736 | pal|=8; //text pal bank |
| 729 | 737 | |
| 730 | 738 | if(attr & 0x80) |
| 739 | { |
| 731 | 740 | popmessage("Warning: mono gfx mode enabled, contact MESSdev"); |
| 741 | } |
| 732 | 742 | } |
| 733 | 743 | |
| 734 | 744 | pc8801_draw_char(machine,bitmap,x,y,pal,gfx_mode,reverse,secret,blink,upper,lower,y_size,monitor_24KHz,!width); |
| r15850 | r15851 | |
| 953 | 963 | |
| 954 | 964 | window_offset = (offset & 0x3ff) + (m_window_offset_bank << 8); |
| 955 | 965 | |
| 956 | | if((window_offset & 0xf000) == 0xf000) |
| 966 | if(((window_offset & 0xf000) == 0xf000) && (m_misc_ctrl & 0x10)) |
| 957 | 967 | printf("Read from 0xf000 - 0xffff window offset\n"); //accessed by Castle Excellent, no noticeable quirk |
| 958 | 968 | |
| 959 | 969 | if(((window_offset & 0xf000) == 0xf000) && (m_misc_ctrl & 0x10)) |
| r15850 | r15851 | |
| 972 | 982 | |
| 973 | 983 | if(m_misc_ctrl & 0x40) |
| 974 | 984 | { |
| 975 | | m_vram_sel = 3; |
| 985 | if(!space.debugger_access()) |
| 986 | m_vram_sel = 3; |
| 987 | |
| 976 | 988 | if(m_alu_ctrl2 & 0x80) |
| 977 | 989 | return pc8801_alu_r(space,offset & 0x3fff); |
| 978 | 990 | } |
| r15850 | r15851 | |
| 1012 | 1024 | |
| 1013 | 1025 | window_offset = (offset & 0x3ff) + (m_window_offset_bank << 8); |
| 1014 | 1026 | |
| 1015 | | if((window_offset & 0xf000) == 0xf000) |
| 1027 | if(((window_offset & 0xf000) == 0xf000) && (m_misc_ctrl & 0x10)) |
| 1016 | 1028 | printf("Write to 0xf000 - 0xffff window offset\n"); //accessed by Castle Excellent, no noticeable quirk |
| 1017 | 1029 | |
| 1018 | 1030 | if(((window_offset & 0xf000) == 0xf000) && (m_misc_ctrl & 0x10)) |
| r15850 | r15851 | |
| 1032 | 1044 | { |
| 1033 | 1045 | if(m_misc_ctrl & 0x40) |
| 1034 | 1046 | { |
| 1035 | | m_vram_sel = 3; |
| 1047 | if(!space.debugger_access()) |
| 1048 | m_vram_sel = 3; |
| 1049 | |
| 1036 | 1050 | if(m_alu_ctrl2 & 0x80) |
| 1037 | 1051 | { |
| 1038 | 1052 | pc8801_alu_w(space,offset & 0x3fff,data); |
| r15850 | r15851 | |
| 1263 | 1277 | |
| 1264 | 1278 | WRITE8_MEMBER(pc8801_state::pc8801_misc_ctrl_w) |
| 1265 | 1279 | { |
| 1280 | /* |
| 1281 | x--- ---- sound irq mask, active low |
| 1282 | --x- ---- analog (1) / digital (0) palette select |
| 1283 | */ |
| 1284 | |
| 1266 | 1285 | m_misc_ctrl = data; |
| 1267 | 1286 | |
| 1268 | 1287 | #ifdef USE_PROPER_I8214 |