← All cores
silvmil (decoryah)
Cites MAME source — 47
- Silvmil.sv:3 Para "Silver Millennium" hardware (1994-1995): Silver Millennium, PuzzLove, PuzzLove (Korea) -- MAME's f32/silvmil.cpp -- for MiSTer.
- Silvmil.sv:6 Written for MiSTer from MAME 0.289's driver (src/mame/f32/silvmil.cpp) and its sprite chip (src/mame/dataeast/decospr.cpp).
- Silvmil.sv:59 the MRA's configuration bytes (sm_mem.sv; tools/silvmil_image.py): byte 0 bit 0 PuzzLove's sprite format, byte 1 bit 0 the 4 MB tile ROM, byte 2 the sound clocks, byte 3 bit 0 a vertical game (Silver Millennium, MAME ROT270), byte 4 bit 0 a
- Silvmil.sv:179 ioctl index 254: byte 0 = SW1 (MAME's DSW port bits 7:0), byte 1 = SW2 (bits 15:8); a 1 is "off" (the switches are active low).
- Silvmil.sv:188 keyboard: 1/2 start, 5/6 coin (MAME's defaults)
- Silvmil.sv:206 No service button: the way into the test mode is the OSD's Service Mode DIP switch and a reset, as in MAME.
- Silvmil.sv:213 the board's inputs, active low (MAME's INPUT_PORTS silvmil / puzzlove): P1_P2: bit 0 up, 1 down, 2 left, 3 right, 4 button 1, 5 button 2, 6 button 3, 7 start 1; bits 8..15 the same for player 2 COIN: bit 8 coin 1, bit 9 coin 2 DSW: SW1 /
- Silvmil.sv:340 MAME mixes both chips into one speaker: the YM2151's two outputs at route 0.25 each, the OKI at 0.25.
- Silvmil.sv:340 The OKI's output in MAME's units is 16 times jt6295's 14-bit sum of the voices (measured on the owner's ohmygod-mister core), so the mix is (L + R) / 4 + 4 x pcm, clipped to 16 bits as MAME does.
- Silvmil.sv:449 MAME's ROT270 = rotate_ccw.
- rtl/sm_cen.sv:1 The board has three crystals (silvmil.cpp: "OSC on Silver Millennium are 12MHz, 14.31818MHz & 4.096MHz"; the PuzzLove boards have 4 MHz in place of 4.096 MHz, the Korean one 15 MHz in place of 14.31818 MHz):
- rtl/sm_core.sv:8 the picture shows the video RAMs as they were at the start of vertical blank (MAME)
- rtl/sm_core.sv:113 ---------------------------------------------------------------- the line renderer decospr hides a flashing sprite when the frame number is odd: the parity flips at every vertical blank (its phase against the board's cannot be known; the fr
- rtl/sm_main.sv:1 Para "Silver Millennium" board (MAME src/mame/f32/silvmil.cpp, silvmil_state::mem_map): the 68000 side.
- rtl/sm_main.sv:18 Unmapped addresses read as 0 and swallow writes (MAME's defaults).
- rtl/sm_main.sv:38 vertical blank (MAME); 0: as they are while each line is drawn
- rtl/sm_main.sv:75 level 6 interrupt, held until acknowledged (MAME: irq6_line_hold)
- rtl/sm_main.sv:130 The CPU's tile and sprite RAMs are copied into the renderer's copies of them (`*_d`) by a sweep of 2048 clocks: once at the start of vertical blank when `vsnap` (MAME draws the whole frame at that moment, before the interrupt routine rewrit
- rtl/sm_main.sv:178 ------------------------------------------------------------------ registers The raw scroll registers (100000-10000F as last written) and the sound latch are plain latches: the machine's reset does not clear them (MAME's tilemap scrolls kee
- rtl/sm_main.sv:181 `wv` marks a register that has been written: until then its scroll contribution is 0, as the MAME tilemap's. The tile banks and the bank select are cleared by the machine's reset (silvmil_state::machine_reset), not by the bench's CPU hold.
- rtl/sm_main.sv:195 MAME hands a byte write to a 16-bit handler as the byte on both lanes (the 68000 puts it there); the handlers ignore the mask
- rtl/sm_mem.sv:8 100000-4FFFFF tile ROM, MAME's "tiles" region SDRAM word 080000 (remapped, below: a tile row is 4 words)
- rtl/sm_mem.sv:15 In MAME's layouts (tlayout, tlayout_alt: 16 x 16, 4 planes, planes in the two halves of the region, 64 bytes per tile and half, two 8-pixel column groups 32 bytes apart, a row = 2 bytes) a word of the region at word offset r of half h is (t
- rtl/sm_render.sv:1 Line renderer: MAME's silvmil_state::screen_update for one line (the one after the line being shown).
- rtl/sm_render.sv:11 Sprite placement (decospr.cpp draw_sprites_common, the 320-wide branch): y' = ((w0 & 1FF) + 7) & 1FF, signed 9 bit; yb = 240 - y'; a sprite of M + 1 tiles covers the lines yb - 16 * M ...
- rtl/sm_render.sv:17 Line n of the raster is drawn from line 239 - n of the board's picture, and dot x of it goes to x 319 - x of the line buffer: the same pixels as MAME's picture, turned.
- rtl/sm_render.sv:22 byte is bit 7 - x. tiles: pen = {w0[hi], w0[lo], w1[hi], w1[lo]} sprites: pen = {w1[hi], w1[lo], w0[hi], w0[lo]} (MAME's tlayout_alt / tlayout)
- rtl/sm_render.sv:171 the sprite code the ROM sees: the row's tile, or the second tile of a wide sprite (tile - (M + 1)) (the sprite ROM holds 16384 tiles in all three sets: the code is taken modulo that, as MAME's gfx element does)
- rtl/sm_sound.sv:1 The sound board (MAME silvmil_state::sound_map): a Z80 (4.096 MHz; PuzzLove 4 MHz), its program in block RAM (written by the loader; the Z80 sees 0000-BFFF of it), 2 KB of RAM, a YM2151 (jt51, Jose Tejada; 3.579545 MHz, PuzzLove Korea 3.75
- rtl/sm_sound.sv:8 (MAME's unmapped reads are 0; the YM2151's even address reads 0xFF, its odd one the status, as ymfm's ym2151::read)
- rtl/sm_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.
- rtl/sm_video.sv:5 A line is drawn (sm_render) while the one before it is shown, into the other half of the line buffer; the display reads the buffer, then the palette RAM (a 10-bit pen, MAME's numbers: 0..511 sprites, 256..511 FG tiles, 512..767 BG tiles), a
- rtl/sm_video.sv:33 simulation only (sim/run.sh VFLAGS=-DSIM_RASTER_60HZ): MAME's exact 60.000 Hz, 96 MHz / 16 / 400 / 250, to tell the effect of the frame rate on the games' CPU-paced effects from anything else
- rtl/sm_video.sv:84 palette entry: xRGB555 (MAME palette_device::xRGB_555)
- README.md:3 The games of MAME's `f32/silvmil.cpp` driver, Para's "Tumble Pop"-derived board (68000 at 12 MHz; Z80 with a YM2151 and an OKI M6295; two 64 x 32 tilemaps of 16
- README.md:19 Written for MiSTer from MAME 0.289's driver and its sprite chip (`decospr.cpp`), on the owner's Cross Pang core (the same family of boards: `rtl/UPSTREAM.md`).
- README.md:54 The names come from pressing each button in MAME (`docs/status.md`).
- README.md:54 MAME 0.289 gives both games a third button; neither game reacts to it, so the MRAs leave it out.
- README.md:57 There is no service button: for the test mode set the **Service Mode** DIP switch and reset the core (as in MAME).
- README.md:64 **Orientation** (Silver Millennium only): *Vert* (default) turns the picture for the HDMI output through a frame buffer in the DDR3 (the framework's `screen_rot
- README.md:74 **DIP switches**: each game's, as MAME 0.289 defines them, with MAME's defaults.
- README.md:75 **Volume**: Normal is MAME's mix (the YM2151's two outputs and the OKI, each at MAME's route 0.25, clipped to 16 bits), then 6 / 12 / 18 dB lower.
- README.md:77 **Video RAM**: *At vblank (MAME)* (default) copies the tile and sprite RAMs and the scroll / bank registers at the start of vertical blank and draws the next fr
- README.md:86 MAME gives a 320 x 240 window at exactly 60 Hz with no vertical blank time; the board's real timing is not known.
- README.md:97 sim/run.sh <image> 2 <out> +state=<MAME state prefix> +first=1 +foff=-1 [+flip] # one frozen MAME state, vs MAME's pixels sim/run.sh <image> <frames> <out> +i
- README.md:102 `tools/capture.py` with `tools/lua/dump_state.lua` makes MAME 0.289's states and input replays; `tools/silvmil_ref.py`, `tools/corpus_rtl.py`, `tools/sys_match.
- README.md:116 fx68k (Jorge Cwik), TV80 (Guy Hutchison), jt51 and jt6295 (Jose Tejada), MiSTer-CRT-Adjust (rmonic79), the Pocket Gaiapolis core's SDRAM controller and `mra_bui
Says it matches, follows or was checked against MAME — 2
- README.md:17 Pictures as the core's simulation draws them (identical to MAME 0.289's).
- README.md:30 See `docs/status.md` for what was checked and how, against MAME 0.289, in simulation and in the Quartus tool flow.
Shares text with the MAME driver without saying so — 2