← コア一覧
gaiapolis (decoryah)
MAMEのドライバにない実基板の資料を引用 — 3
- README.md:301 The chain, from Franck78's schematic of this board: the K054338 colour chip (18F) puts 8-bit R, G and B on its pins, straight into three Konami K054573 DAC modu
- README.md:307 Traced from the Gerbers and BOM of a repro of it: each data bit drives an open-collector buffer (74LS07) that, while the bit is 0, pulls one summing node down t
- README.md:404 SiliconRE's [K054338 trace](https://github.com/furrtek/SiliconRE/tree/master/Konami/054338) and the same schematic's video DAC chain are, with the Gerbers and B
MAMEのドライバにもある実基板の情報・測定値を引用 — 1
MAMEとの相違点を記載 — 1
- rtl/k053936_roz.sv:26 Deliberate divergence from MAME: K053936GP_copyroz32clip advances its destination row before the loop body, so MAME paints raster row N with the transform for row N-1 and never writes the first visible row.
MAMEのソースを引用 — 62
- Gaiapolis.sv:179 keyboard: 1/2 start, 5/6 coin, F2 test (MAME's defaults)
- Gaiapolis.sv:431 Colours: the board's video DAC (a Konami 054573 per channel) is not linear: its output rises faster near the top, so mid tones come out darker than MAME's straight 8-bit palette.
- Gaiapolis.sv:432 Board DAC looks each channel up in the DAC's curve (tools/make_dac_table.py: black stays 0, 0xEF, the brightest the game writes, is 255); MAME passes the palette through.
- Gaiapolis.sv:507 Negative delays count from the frame length the module is built for (264 lines, MAME's); the board's is one line shorter
- rtl/er5911.sv:2 ER5911 serial EEPROM, 128 x 8, as MAME's eeprom_serial_er5911_device models it (eepromser.cpp): a start bit, a 2-bit opcode and a 9-bit address field (only the low 7 bits select a cell) on rising CLK while CS is high; READ shifts data out M
- rtl/er5911.sv:8 tools/eeprom_replay.py checks this protocol against MAME's pin traffic.
- rtl/er5911.sv:98 a 1 on DI at a rising clock is the start bit (edges that coincide with CS rising are ignored, as MAME does)
- rtl/gaia_core.sv:23 raster timing: 0 the board's (59.88 Hz), 1 MAME's (59.19 Hz)
- rtl/gaia_core.sv:268 The sprite table the renderers work from is a copy of the sprite RAM taken at the first blanking line, as the K053246's DMA into the K053247 does and as MAME's list is taken: the game writes its table during the visible frame as well (350-5
- rtl/gaia_main.sv:4 The CPU is TG68K.C, paced by a token bucket the way the S.T.U.N. Runner core paces its 68010 -- STEP_COST_BUS/STEP_COST_INT/STEP_GAIN set the step rate; the values are calibrated against MAME's frame timing (docs/hardware.md section 10, "68
- rtl/gaia_main.sv:269 MAME's test is (word offset & 0x78) == 0, i.e. A[7:4] all clear -- four bits, not three.
- rtl/gaia_main.sv:313 MAME's dddeeprom_r: an access that includes the high byte returns IN1 there with a zero low byte; only a low-byte access reads P2
- rtl/gaia_main.sv:356 IRQ5 is asserted at vblank and held until the kernel's interrupt-acknowledge cycle -- a *read* with FC = 111, which TG68K performs even with IPL_autovector (MAME's HOLD_LINE).
- rtl/gaia_sound.sv:197 MAME routes each chip's output 0 to the right speaker and output 1 to the left ("stereo channels are inverted", mystwarr.cpp; mystwarr(config) is also gaiapols's), which a comparison of this core's chips with MAME's own audio of Gaiapolis c
- rtl/gaia_video.sv:13 MAME (1): 512 x 264, 15.625 kHz, 59.1856 Hz -- MAME's fixed driver timing, which ignores the chip's registers (docs/hardware.md section 1).
- rtl/gaia_video.sv:30 MAME timing
- rtl/gaia_video.sv:50 0: board timing, 1: MAME's (read at the start of each frame)
- rtl/k053936_roz.sv:100 16.16, wraps as uint32 like MAME
- rtl/k053936_roz.sv:167 MAME (get_gai_936_tile_info) and this core before it had the two the other way round, which only shows where the colour changes between the two tiles of a byte: on the world map every place name and route line had a tile of the neighbour's
- rtl/k054000.sv:2 K054000 hitbox / collision chip, as MAME's k054000.cpp (the mapped-register path gaiapolis uses) models it.
- rtl/k054000.sv:6 Status is 1 when the boxes do NOT overlap on either axis: MAME checks the difference's magnitude against +511/-1024 and then its low 9 bits against the summed extents, which is an odd pair of tests but is what the game was written against.
- rtl/k054321.sv:6 MAME models the gain as 2^((volume - 40) / 10) with 40 as "normal"; gaia_core applies it.
- rtl/k054539.sv:3 Modelled on MAME's k054539.cpp.
- rtl/k054539.sv:16 Rendering follows sound_stream_update: per 48 kHz sample, each keyed channel steps its 16.16 position by the 24-bit delta, fetching 8-bit PCM, 16-bit PCM or 4-bit DPCM from the ROM (looping at the end marker if reg 0x201 bit 0 is set, else
- rtl/k054539.sv:25 While 0x22f bit 0 is set (MAME's UPDATE_AT_KEYON, its default) a write to a channel's position registers is held in a latch and only copied into the registers by that channel's key-on.
- rtl/k054539.sv:28 Volumes are Q2.14 tables from tools/gen_k054539_tables.py; the per-channel gain MAME applies at reset for this game (chip 1 channels 5-7 x2.0, the "voice" channels) comes in through GAIN_Q14.
- rtl/k054539.sv:78 UPDATE_AT_KEYON (MAME's default for every game, k054539.cpp): while the chip is enabled (0x22f bit 0) a write to a channel's position registers (0x0c-0x0e of its 0x20 block) is held in a latch and the register keeps its value; the key-on wr
- rtl/k054539.sv:260 Every position step fetches a sample, as MAME does, so a pitch above 1.0 costs one ROM read per step; DPCM depends on that.
- rtl/k054539.sv:309 the Q2.14 fraction bits of the product are dropped, as MAME does
- rtl/k054539.sv:353 16-bit samples are read as two bytes at cur_pos and cur_pos + 1, whatever the alignment (MAME: read_byte(pos) | read_byte(pos + 1) << 8); an odd start address is common in this game's music
- rtl/k054539.sv:430 a 16-bit sample steps two bytes (MAME: pdelta <<= 1)
- rtl/k054539.sv:475 MAME adds the ring position twice: rdelta = (delay + pos) & 0x3fff, then the entry is rbase[(rdelta + pos) & 0x1fff].
- rtl/k054539.sv:483 the ring holds int16; MAME truncates the scaled sample the same way
- rtl/k055555_mixer.sv:4 Built the way the silicon works -- every input compared per pixel -- rather than as MAME's sort-and-paint.
- rtl/k056832_tilemap.sv:86 gaiapolis per-layer pixel offsets (mystwarr_v.cpp, VIDEO_START gaiapols)
- README.md:77 World map colours (`gaiapolis_20261023`): the Pocket repository's frozen-state ROZ bench (`sim/run_roz.sh` there, 24 MAME states, the RTL against the reference
- README.md:82 Colours (`gaiapolis_20261024`): `sim/emu/run_emu.sh` run twice, with Colours on Board DAC and with `COLOURS_MAME=1`, and `sim/emu/dac_check.py` on the two pictu
- README.md:88 It boots through the self-test (the 68000's wait loop runs 19,287 iterations a frame where MAME's is 19,314; the PCM checksum through both K054539s from the SDR
- README.md:116 The earlier builds stay in `releases/` (`gaiapolis_20261004.rbf` is the first, without Flip Screen; `gaiapolis_20261005.rbf` adds Flip Screen and runs MAME's 59
- README.md:140 | Video timing | Board 59.88Hz, MAME 59.19Hz | The raster's size and sync widths. Board (the default) is what the board's K053252 timing chip produces from the
- README.md:141 | Colours | Board DAC, MAME | Board DAC (the default) puts R, G and B through the curve of the board's video DAC, darker mid tones as on a real board; MAME is t
- README.md:204 The picture is 376 pixels in a line of 508 (512 with MAME timing): it starts 104 pixels after the hsync pulse and ends 28 before the next one.
- README.md:215 **Video timing.** MAME runs this game on a fixed 512 x 264 raster (15.625 kHz, 59.1856 Hz) that ignores the values the game writes into the K053252 timing chip.
- README.md:223 SiliconRE's model of the chip, traced from the silicon, turns those into 508 x 263 clocks: 15.748 kHz and **59.88 Hz**, with a 48-pixel hsync and an 8-line vsyn
- README.md:226 The game's logic is locked to the vertical interrupt, so on the board it runs about 1.2 % faster than in MAME; the sound, which has its own clocks, does not.
- README.md:230 The part of this that cannot be checked without the real board is the exact phase of the vertical interrupt inside the chip's 386 x 225 active window; it stays
- README.md:234 **Sound.** The two K054539 PCM chips were compared with MAME's: a 130-second attract-mode run of `gaiapols` in MAME 0.289, with every Z80 write to both chips lo
- README.md:237 Four differences from MAME's chip, fixed in `rtl/k054539.sv`, bring it to 0.964 (one second below 0.9), and the fixed chip agrees with a line-by-line transcript
- README.md:243 MAME's `UPDATE_AT_KEYON`: while register 0x22f bit 0 is set, writes to a channel's position registers (0x0c-0x0e) are held and only copied in by that channel's
- README.md:246 the reverb ring's index adds the position twice, as MAME does;
- README.md:247 in `rtl/gaia_sound.sv`, the sum of the two chips saturates instead of wrapping, as MAME's mixer clips.
- README.md:249 **The left and right channels changed side.** MAME routes each chip's output 0 to the right speaker and output 1 to the left (`mystwarr.cpp`'s "stereo channels
- README.md:282 MAME shows the same (MAME Testers issue 00231 reported "black blocks in the map" in 2008 and suspected a bad dump of the ROZ ROMs), and every build of this core
- README.md:284 The ROMs are fine: the rotating background layer (the K053936 ROZ plane) takes each tile's palette from the map ROM, where one byte holds the palette numbers of
- README.md:291 A recording of a real board (a 1CC run, "Gaiapolis - Prince 10,102 - No Elixir 1CC [PCB]") confirms it: its map has no squares, and in the intro's flight over t
- README.md:297 **Colours.** A real board's picture has darker mid tones than MAME's. MAME shows the palette as straight 8-bit values, which is what the colour chip computes, a
- README.md:313 Solving that circuit for every code, with the brightness current as the one free value, fits the PCB recording's title screen to 0.7 of 255 (rms over its colour
- README.md:324 Switch MiSTer's own gamma correction (Video processing) off with Board DAC, or the curve is applied twice; with Colours on MAME a MiSTer gamma file can still be
- README.md:335 The ROZ plane's colour nibbles are read the other way round from the Pocket core (and MAME): see "World map colours" above.
- README.md:336 The colours go through the board's DAC curve by default (the Colours option, in `Gaiapolis.sv`; the Pocket core shows the palette as MAME does): see "Colours" a
- README.md:339 Open items inherited from the Pocket core (its README): the ROZ plane's lead when the game writes its registers late in vblank; a dozen frames of dropped tilema
- README.md:387 **plasticbugs** -- the Gaiapolis core for the Analogue Pocket (the machine, `rtl/`; the SDRAM controller `target/mister/sdram_ctrl.sv` and the memory test `mem_
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 4
- rtl/k056832_tilemap.sv:5 Semantics follow tools/render_model.py, which is pixel-exact against MAME across the frozen-state corpus; see docs/hardware.md section 6.
- README.md:5 This is a MiSTer platform layer around the Gaiapolis core that **plasticbugs** wrote for the Analogue Pocket ([analogue-pocket-gaiapolis](https://github.com/pla
- README.md:255 The whole-machine bench is silent for its first 110 frames, so these fixes were checked against MAME's audio at the chip level, not in the full machine's simula
- README.md:395 The K054539 and mixer fixes were worked out and checked against MAME in another core of the repository owner's that uses the same chip, and brought over here.
MAMEドライバと同じ文言を含む(出典の明記なし) — 3