diff options
author | 2025-01-30 23:11:21 +0100 | |
---|---|---|
committer | 2025-01-30 23:11:34 +0100 | |
commit | 15cbbfd3d00024d3f8b61ab8e4ba5b2555e07a48 (patch) | |
tree | b1d1157bcc7c590f3820395e3ac9f5ab5721d277 | |
parent | dac3a100a0dc380293ea53f752d0891e9636b414 (diff) |
nec/pc8001.cpp: grant a slot for DIY expansion ROMs
-rw-r--r-- | hash/cdi.xml | 1 | ||||
-rw-r--r-- | src/mame/amiga/amigaaga.cpp | 6 | ||||
-rw-r--r-- | src/mame/nec/pc8001.cpp | 10 |
3 files changed, 13 insertions, 4 deletions
diff --git a/hash/cdi.xml b/hash/cdi.xml index 4252165134c..f986126f0eb 100644 --- a/hash/cdi.xml +++ b/hash/cdi.xml @@ -10321,6 +10321,7 @@ license:CC0-1.0 <!-- Origin: Redump http://redump.org/disc/88153/ + http://redump.org/disc/88154/ --> <description>Validation Disc (Version 1.0)</description> <!-- '89 for disc 1, '90 for disc 2 --> diff --git a/src/mame/amiga/amigaaga.cpp b/src/mame/amiga/amigaaga.cpp index db6e2b65580..bca76c368a6 100644 --- a/src/mame/amiga/amigaaga.cpp +++ b/src/mame/amiga/amigaaga.cpp @@ -88,7 +88,7 @@ VIDEO_START_MEMBER(amiga_state,amiga_aga) { video_start_common(); - // fill the AGA dblpf table, taking bplcon3:pf2pri into account for offset values + // fill the AGA dblpf table, taking bplcon3:pf2ofx into account for offset values m_separate_bitplanes[0].resize(256 * 8); m_separate_bitplanes[1].resize(256 * 8); @@ -641,10 +641,12 @@ void amiga_state::aga_render_scanline(bitmap_rgb32 &bitmap, int scanline) // In practice we need to separate bitplane delays & drawing first. //shres = CUSTOM_REG(REG_BPLCON0) & 0x0040; - // offset table for pf2 when in dualpf (note: ) + // offset table for pf2 when in dualpf // - alfred_a, gameplay background // - slamtilt, main menu cursor + // NOTE: val << 8 so we don't need to adjust per-pixel pf2ofx = ((CUSTOM_REG(REG_BPLCON3) >> 10) & 7) << 8; + // bplam applies xor to bitplane colors (i.e. acting as pal bank) // - aladdin, status bar in gameplay // TODO: implement for ham and dualpf, below diff --git a/src/mame/nec/pc8001.cpp b/src/mame/nec/pc8001.cpp index 73b4ec5168b..1c0ac0ae430 100644 --- a/src/mame/nec/pc8001.cpp +++ b/src/mame/nec/pc8001.cpp @@ -670,14 +670,13 @@ void pc8001_state::machine_start() { case 16*1024: membank("bank3")->configure_entry(0, ram); - program.unmap_readwrite(0x6000, 0xbfff); program.unmap_readwrite(0x8000, 0xbfff); program.install_readwrite_bank(0xc000, 0xffff, membank("bank3")); break; case 32*1024: membank("bank3")->configure_entry(0, ram); - program.unmap_readwrite(0x6000, 0xbfff); + program.unmap_readwrite(0x8000, 0xbfff); program.install_readwrite_bank(0x8000, 0xffff, membank("bank3")); break; @@ -812,13 +811,20 @@ void pc8001mk2sr_state::pc8001mk2sr(machine_config &config) ROM_START( pc8001 ) ROM_REGION( 0x8000, Z80_TAG, ROMREGION_ERASEFF ) + ROM_DEFAULT_BIOS("v110") // PCB pictures shows divided by 3 ROMs (and 4th socket unpopulated) + // D2364C ROMs from a pc8001b PCB: + // - p12019-106.u10 072NBASIC + // - p11219-105.u11 073NBASIC + // - p12029-106.u12 171NBASIC ROM_SYSTEM_BIOS( 0, "v101", "N-BASIC v1.01" ) ROMX_LOAD( "n80v101.rom", 0x00000, 0x6000, BAD_DUMP CRC(a2cc9f22) SHA1(6d2d838de7fea20ddf6601660d0525d5b17bf8a3), ROM_BIOS(0) ) ROM_SYSTEM_BIOS( 1, "v102", "N-BASIC v1.02" ) ROMX_LOAD( "n80v102.rom", 0x00000, 0x6000, BAD_DUMP CRC(ed01ca3f) SHA1(b34a98941499d5baf79e7c0e5578b81dbede4a58), ROM_BIOS(1) ) ROM_SYSTEM_BIOS( 2, "v110", "N-BASIC v1.10" ) ROMX_LOAD( "n80v110.rom", 0x00000, 0x6000, BAD_DUMP CRC(1e02d93f) SHA1(4603cdb7a3833e7feb257b29d8052c872369e713), ROM_BIOS(2) ) + // empty socket, cfr. notes in header for usage instructions + ROM_LOAD_OPTIONAL( "exprom.u13", 0x6000, 0x2000, NO_DUMP ) ROM_REGION( 0x800, CGROM_TAG, 0) ROM_LOAD( "font.rom", 0x000, 0x800, CRC(56653188) SHA1(84b90f69671d4b72e8f219e1fe7cd667e976cf7f) ) |