← コア一覧
ohmygod (decoryah)
MAMEとの相違点を記載 — 4
- rtl/omg_main.sv:12 800000 P1 800002 P2 A00000 DSW1 A00002 DSW2 (16 bit, active low) 900000 control (w): low byte = OKI bank (bits 7:4 Oh My God!, 3:0 Naname), high byte bits 12 / 13 coin counters B00001 OKI M6295 (byte, low lane) C00000
- README.md:35 The Flip Screen DIP of Naname de Magic!: the game's own data (MAME does not emulate the hardware's flip) give MAME's normal picture exactly once the flip's fixe
- README.md:81 Naname de Magic!'s **Flip Screen** turns the whole picture, tiles and sprites, through 180 degrees: the game then sets bit 14 of the sprite bank register (which
- README.md:92 On MAME's own states (`tools/omg_bank_effect.py`) *At vblank* differs from MAME's picture in 18 of 60 sampled frames of Oh My God!
MAMEのソースを引用 — 31
- OhMyGod.sv:3 Atlus "Oh My God!" (1993) and "Naname de Magic!" (1994) -- MAME's atlus/ohmygod.cpp -- for MiSTer.
- OhMyGod.sv:5 Written for MiSTer from MAME 0.289's driver (src/mame/atlus/ohmygod.cpp).
- OhMyGod.sv:153 ioctl index 254: byte 0 = the high byte of MAME's DSW1 port, byte 1 = the high byte of DSW2; a 1 is MAME's default.
- OhMyGod.sv:163 keyboard: 1/2 start, 5/6 coin, 9 service credit, F2 test switch (MAME's defaults)
- OhMyGod.sv:186 the two service inputs are different switches (MAME: P2 "Service 1", key 9; P1 "Service Mode", key F2) and the program treats them differently: P2 bit 9 is a service credit, P1 bit 9 makes the vertical-blank interrupt enter the test menu.
- OhMyGod.sv:192 the board's inputs, active low (MAME's INPUT_PORTS ohmygod, naname): P1: bit 0 up, 1 down, 2 left, 3 right, 4 button 1, 7 start 1, 8 coin 1, 9 service mode (the test switch, no toggle) P2: the same, bit 7 start 2, 8 coin 2, 9 service 1 (a c
- OhMyGod.sv:308 MAME's output is exactly 16 times jt6295's 14-bit sum of the OKI's voices (measured on MAME's own recording of the same OKI writes: envelope correlation 1.000 at lag 0, a constant -24.0 dB), clipped to 16 bits as MAME does: "Normal" is that
- rtl/omg_core.sv:122 A chip that reads the flag live shows the old list above the flip and the new one below it; MAME, drawing the frame at its end, shows the new one throughout.
- rtl/omg_main.sv:3 The 68000 (fx68k, 12 MHz), its memory map (MAME src/mame/atlus/ohmygod.cpp, ohmygod_state::main_map), the RAMs the video reads, the inputs, the OKI M6295 port, the registers and the watchdog.
- rtl/omg_main.sv:20 Unmapped addresses read as 0 and swallow writes (MAME's defaults).
- rtl/omg_main.sv:27 clocks without a kick before the reset: 3 s (MAME's time) = 288000000 at 96 MHz
- rtl/omg_main.sv:83 level 1 interrupt, held until acknowledged (MAME: irq1_line_hold)
- rtl/omg_main.sv:180 ------------------------------------------------------------------ registers (the driver's COMBINE_DATA on the scroll words; the sprite bank is bit 15 of a write that reaches the high byte; the control word's low byte holds the OKI bank) Th
- rtl/omg_render.sv:1 Line renderer: MAME's ohmygod_state::screen_update for one line (the one after the line being shown).
- rtl/omg_render.sv:10 The picture's window is x 96..415 of MAME's 512-dot bitmap; tile scroll: source x = x + 96 + (scrollx - 0x81ec), y + (scrolly - 0x81ef).
- rtl/omg_sound.sv:2 Its sample ROM is the 2 MB in SDRAM: the chip's 18-bit address space is a fixed 128 KB (0..1FFFF) and a window (20000..3FFFF) onto one of 16 banks of 128 KB, chosen by the control register (MAME: oki_map / m_okibank).
- rtl/omg_sound.sv:6 The output is MAME's level (OKIM6295 route 1.0: the sum of up to four 12-bit voices, here already scaled the same by jt6295: 14 bit).
- rtl/omg_video.sv:4 MAME gives the board's picture as 320 x 240 at 60 Hz (a 512 x 256 total); the totals here are the usual 15 kHz arcade ones.
- README.md:3 Atlus' **Oh My God!** (1993) and **Naname de Magic!** (1994), the two games of MAME's `atlus/ohmygod.cpp` driver (68000 at 12 MHz, one OKI M6295, one 64 x 64 ti
- README.md:6 Written for MiSTer from MAME 0.289's driver.
- README.md:19 What was checked besides, in simulation and in the Quartus tool flow, against MAME 0.289 (details and numbers in `docs/status.md`):
- README.md:27 The whole machine from reset (68000, cache, SDRAM controller, cold-start watchdog reset) with MAME's inputs replayed: frames 230 and 280 of both games pixel-ide
- README.md:29 The sound path against MAME's own OKI samples: same samples, MAME's level (x16), residual 0.01 %.
- README.md:49 **A cold start shows a grid-patterned / black screen for 3 seconds** before the ATLUS logo: the game fills its RAM, writes a signature and waits for the watchdo
- README.md:85 **Volume**: Normal is MAME's level (the OKI's output is exactly 16 times jt6295's 14-bit sum of voices, clipped to 16 bits; fitted against MAME's own samples, r
- README.md:91 MAME, drawing a frame at its end, shows the new list throughout.
- README.md:101 MAME's own totals are 512 x 256 at exactly 60 Hz; the board's real timing is not known.
- README.md:111 sim/run.sh <image> <frames> <out> +state=<MAME state prefix> +first=2 # one frozen state, vs MAME's pixels sim/run.sh <image> <frames> <out> +inputs=<r
- README.md:114 `tools/lua/dump_state.lua` makes the states and the replay inputs with MAME 0.289 (see its header); `tools/omg_ref.py`, `tools/omg_diff.py`, `tools/omg_corpus.p
- README.md:126 They expect a scratch folder `work/` next to the repository (MAME's dumps and the ROM images; never committed).
- README.md:137 fx68k (Jorge Cwik), jt6295 (Jose Tejada), MiSTer-CRT-Adjust (rmonic79), the Pocket Gaiapolis core's SDRAM controller (plasticbugs), the MiSTer framework (Sorgel
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 2
- README.md:22 The ROM path: both sets' images are byte-identical to the regions MAME loaded (`tools/omg_rom.py check`), and the MRAs assemble to the same images (`tools/mra_b
- README.md:24 The video, against a reference renderer (`tools/omg_ref.py`) that is MAME's `screen_update` written out literally: pixel-exact on 120 MAME frames of scripted pl
MAMEの近似をそのまま採用 — 1
- rtl/omg_main.sv:207 ------------------------------------------------------------------ watchdog (MAME: 3 s, "a guess, and certainly wrong")