src/mess/machine/nes_pcb.c
| r9983 | r9984 | |
| 521 | 521 | { "UNL-KOF97", UNL_KOF97 }, |
| 522 | 522 | { "UNL-T-230", UNL_T230 }, |
| 523 | 523 | { "UNL-STUDYNGAME", UNL_STUDYNGAME }, // mapper 39 |
| 524 | { "UNL-OneBus", UNSUPPORTED_BOARD }, |
| 524 | 525 | // |
| 525 | 526 | { "BTL-SMB2A", BTL_SMB2A }, |
| 526 | 527 | { "BTL-MARIOBABY", BTL_MARIOBABY }, |
src/mess/machine/nes.c
| r9983 | r9984 | |
| 905 | 905 | if (state->pcb_id == NAMCOT_163) |
| 906 | 906 | state->mapper_ram = auto_alloc_array(image.device().machine, UINT8, 0x2000); |
| 907 | 907 | |
| 908 | if (state->pcb_id == FUKUTAKE_BOARD) |
| 909 | state->mapper_ram = auto_alloc_array(image.device().machine, UINT8, 2816); |
| 910 | |
| 908 | 911 | /* Position past the header */ |
| 909 | 912 | image.fseek(16, SEEK_SET); |
| 910 | 913 | |
| r9983 | r9984 | |
| 1086 | 1089 | |
| 1087 | 1090 | read_length += (chunk_length + 8); |
| 1088 | 1091 | } |
| 1092 | else if ((magic2[0] == 'T') && (magic2[1] == 'V') && (magic2[2] == 'S') && (magic2[3] == 'C')) // is this the same as TVCI?? |
| 1093 | { |
| 1094 | logerror("[TVSC] chunk found. No support yet.\n"); |
| 1095 | image.fread(&buffer, 4); |
| 1096 | chunk_length = buffer[0] | (buffer[1] << 8) | (buffer[2] << 16) | (buffer[3] << 24); |
| 1097 | |
| 1098 | read_length += (chunk_length + 8); |
| 1099 | } |
| 1089 | 1100 | else if ((magic2[0] == 'D') && (magic2[1] == 'I') && (magic2[2] == 'N') && (magic2[3] == 'F')) |
| 1090 | 1101 | { |
| 1091 | 1102 | logerror("[DINF] chunk found. No support yet.\n"); |
| r9983 | r9984 | |
| 1210 | 1221 | } |
| 1211 | 1222 | else |
| 1212 | 1223 | { |
| 1213 | | printf("Unsupported UNIF chunk. Please report the problem at MESS Board.\n"); |
| 1224 | logerror("Unsupported UNIF chunk or corrupted header. Please report the problem at MESS Board.\n"); |
| 1214 | 1225 | read_length = size; |
| 1215 | 1226 | } |
| 1216 | 1227 | } |
| r9983 | r9984 | |
| 1223 | 1234 | fatalerror("UNIF should have a [MAPR] chunk to work. Check if your image has been corrupted"); |
| 1224 | 1235 | } |
| 1225 | 1236 | |
| 1237 | if (!prg_start) |
| 1238 | { |
| 1239 | auto_free(image.device().machine, temp_prg); |
| 1240 | auto_free(image.device().machine, temp_chr); |
| 1241 | fatalerror("Unsupported UNIF chunk or corrupted header. Please report the problem at MESS Board.\n"); |
| 1242 | } |
| 1243 | |
| 1226 | 1244 | /* Free the regions that were allocated by the ROM loader */ |
| 1227 | 1245 | image.device().machine->region_free("maincpu"); |
| 1228 | 1246 | image.device().machine->region_free("gfx1"); |
src/mess/machine/nes_unif.c
| r9983 | r9984 | |
| 109 | 109 | { "UNL-SHERO", 0, 0, CHRRAM_8, UNSUPPORTED_BOARD /*SACHEN_SHERO*/}, |
| 110 | 110 | { "UNL-TF1201", 0, 0, CHRRAM_0, UNSUPPORTED_BOARD /*UNL_TF1201*/}, |
| 111 | 111 | { "UNL-DRIPGAME", 0, 0, CHRRAM_0, UNSUPPORTED_BOARD}, // [by Quietust - we need more info]} |
| 112 | { "UNL-OneBus", 0, 0, CHRRAM_0, UNSUPPORTED_BOARD}, |
| 112 | 113 | { "BTL-MARIO1-MALEE2", 0, 0, CHRRAM_0, UNSUPPORTED_BOARD}, // mapper 55? |
| 113 | 114 | { "BMC-FK23C", 0, 0, CHRRAM_0, BMC_FK23C}, |
| 114 | 115 | { "BMC-FK23CA", 0, 0, CHRRAM_0, BMC_FK23CA}, |