← コア一覧
blockhl (decoryah)
MAMEのドライバにない実基板の資料を引用 — 1
- rtl/blockhl_sound.sv:4 0000-7FFF ROM (973d01.g6), 8000-87FF RAM, A000 the sound latch (read), C000-C001 the YM2151; E00C-E00D writes go nowhere.
MAMEとの相違点を記載 — 1
- README.md:78 What the game counts from power-on keeps that offset in its phase: the logo's colour cycle on the coin screen is one step from MAME's, and from the first moves
MAMEのソースを引用 — 36
- Blockhl.sv:5 Written for MiSTer from MAME 0.289's driver (src/mame/konami/blockhl.cpp, with k052109.cpp and k051960.cpp).
- Blockhl.sv:134 keyboard: 1 / 2 start, 5 / 6 coin, 9 service, F2 the service mode (MAME's defaults; F2 holds the DIP's "On" while pressed)
- Blockhl.sv:156 MAME's P1 / P2 (1F95 / 1F96), active low: 0 left, 1 right, 2 up, 3 down, 4..6 buttons 1..3, 7 start.
- Blockhl.sv:156 The game reads its three buttons alike (measured in MAME 0.289: a game with any one of them pressed, tapped or held, is pixel for pixel the same), all three a shot: one Shoot button drives them all
- Blockhl.sv:162 the DIP switches (the MRA's <switches>, ioctl index 254): DSW1, DSW2, DSW3 as MAME reads them; MAME's defaults until they come.
- Blockhl.sv:246 the OSD's volume steps on MAME's own level
- rtl/blockhl_core.sv:2 Block Hole (Konami GX973, 1989) and Quarth: the board, from MAME 0.289's src/mame/konami/blockhl.cpp.
- rtl/blockhl_core.sv:9 4000-5FFF work RAM; 5800-5FFF is the palette RAM instead while bank bit 5 is clear 6000-7FFF the program ROM's bank (bits 1:0 of the CPU's SETLINES output: 0000, 2000, 4000, 6000) 8000-FFFF the program ROM's upper half SETLINES (the 0525
- rtl/blockhl_core.sv:30 MAME's ports, active low
- rtl/blockhl_loader.sv:5 The image (mra/*.mra, tools/blockhl_rom.py), the same layout for both sets, each ROM whole in MAME's order: 0x00000 maincpu 64 KB 973l02.e21 (Block Hole) / 973j02.e21 (Quarth) 0x10000 audiocpu 32 KB 973d01.g6 0x18000 k052109 128 KB 9
- rtl/blockhl_sound.sv:2 Block Hole's sound board (MAME 0.289 blockhl.cpp, audio_map): a Z80 at 3.579545 MHz (Guy Hutchison's tv80, modules/cpu-tv80) and a YM2151 on the same clock (jotego's jt51, modules/jt51).
- rtl/blockhl_sound.sv:5 The main CPU's write to 1F88 raises the Z80's IRQ, which MAME holds until the Z80 takes it (HOLD_LINE): here it is cleared at the interrupt acknowledge cycle (M1 with IORQ).
- rtl/blockhl_sound.sv:6 MAME's mix: both channels at 0.60 into mono.
- rtl/blockhl_video.sv:2 Block Hole's video: the K052109 / K051962 tilemaps and the K051960 / K051937 sprites (jotego's jt052109, jt051962, jt051960 with their jtaliens wrappers, modules/jtkonami), the graphics ROMs in block RAM, and the board's mix and palette as
- rtl/blockhl_video.sv:12 jtframe_vtimer's blanking leaves 320 x 224; MAME shows 288 x 224 (screen.set_raw: x 16..303 of the 320), which is what the core shows (the game draws nothing worth seeing outside it).
- rtl/blockhl_video.sv:85 the tile ROM: 32 K words of 32 bits, the word {colour bits 3:0, code, row}; byte lane k is MAME's byte 4n+k (ROM_LOAD32_BYTE 973f07, 08, 09, 10), which jt051962 wants in bits 8k+7:8k (its leftmost pixel {31,23,15,7}, MAME's plane order 24,1
- rtl/blockhl_video.sv:135 the sprite ROM: 32 K words of 32 bits (128 bytes a 16 x 16 sprite); lane k is MAME's byte 4n+k (973f06, 05, 04, 03), which jtframe_draw wants in bits 31-8k:24-8k (MAME's plane order 0,8,16,24: the first byte is the pen's top bit)
- rtl/blockhl_video.sv:175 ------------------------------------------------------------------ the mix (MAME's screen_update)
- rtl/blockhl_video.sv:201 xBGR_555 to 8 bits a channel (MAME's pal5bit), and MAME's shadow (PALETTE_DEFAULT_SHADOW_FACTOR 0.6, here 154 / 256)
- rtl/blockhl_video.sv:213 the picture two dots after the layers' pixels (the palette read, then one more dot: with it the picture sits on MAME's dots against the blanking, measured on the RAM test's screen), its blanking and syncs one dot after them; the 288-dot win
- README.md:5 Written from MAME 0.289's driver (`src/mame/konami/blockhl.cpp`), with MAME as the reference for everything.
- README.md:22 In simulation the whole machine runs the game's program and is compared with MAME 0.289 (see "What is verified": the RAM test and the title screen pixel for pix
- README.md:46 MAME lists three buttons, but measured in MAME 0.289 the game reads all three alike (each one shoots, tapped or held, the pictures pixel-identical whichever is
- README.md:57 | DIP switches | MAME's: Coin A, Coin B (Konami's table; 0 is Free Play, Coin B's 0 "Void"), Lives, Difficulty, Demo Sounds, Flip Screen, Service Mode |
- README.md:60 The video is the board's: a 6 MHz dot, 384 x 264, 15.625 kHz and 59.19 Hz, the picture 288 x 224 (MAME's visible area: dots 16-303 of the 320 between the blanki
- README.md:67 | Buttons | `tools/lua/buttons.lua` in MAME 0.289: a game played with button 1, 2 or 3 alone, tapped or held, gives the same pictures |
- README.md:68 | Whole machine | `sim/run_sys.sh`: the 052526 running the game's program, the ROM image downloaded through the loader, the video chips, the Z80 and the YM2151,
- README.md:69 | Sprites | jotego's 051960 zoomed differently from MAME: its asteroids came out up to 4 lines shorter and sampled other columns. The core now does MAME's zoom:
- README.md:70 | Sound | the bench's output (`AUDIO=1`) against MAME's `-wavwrite` recording of the same scripted play (`tools/audio_cmp.py`, RMS per frame): the level is MAME
- README.md:74 Where the core is not MAME
- README.md:76 **The CPU's speed.** jtkcpu's instruction timing was measured by jotego on a real 052001 / 052526; MAME counts 6809 cycles.
- README.md:76 The power-on RAM / ROM test is bound by the CPU, so it ends sooner in the core, which reaches the title screen 39 frames before MAME.
- README.md:78 From then on the game waits for the vertical blank every frame and the pictures are MAME's 39 frames later.
- README.md:80 A real board would follow its own CPU's timing, so neither the core nor MAME is the reference for this.
- README.md:95 | `docs/` | `hardware.md`: the hardware as MAME describes it and the measurements |
- README.md:122 **MAME**: the blockhl driver (Nicola Salmoria), the K052109 / K051960 devices, the Konami CPU; the hardware knowledge and the reference for every comparison.