← All cores
Rampart
Cites hardware documentation that MAME's driver does not — 18
- rtl/main/rampart_decode.sv:3 Main CPU address decode: GAL 12C and the two LS138s, 10C and 11C.
- rtl/main/rampart_decode.sv:67 10C 74LS138: enabled by /A22; C B A = pins 19 18 17.
- rtl/main/rampart_decode.sv:80 11C 74LS138: enabled by A22 and /IOSEL; C B A = A21 A20 A19.
- rtl/main/rampart_eeprom.sv:3 EEPROM at 13F (2K x 8, 2816 class) and its write-unlock flop.
- rtl/main/rampart_gal12c.sv:8 The board build decides which part is fitted: variant 0 = 136082-1006 (set rampart, trackballs: 2 x 64K + 2 x 512K ROMs) variant 1 = 136082-1056 (set rampart2p, joysticks: 2 x 128K + 2 x 512K ROMs) variant 2 = 136082-1005 (sets rampart2pa a
- rtl/main/rampart_inputs.sv:3 Switch inputs IN0/IN1: the 74LS257 pair at 10B/11B, read at 0x640000.
- rtl/main/rampart_latch.sv:3 Output latches at 0x640000: 7B 74LS273 (D15-8) and 6C 74LS174 (D5-0).
- rtl/main/rampart_main.sv:88 ---- latch 7B/6C ----
- rtl/main/rampart_watchdog.sv:3 Reset counter and watchdog: the 74LS197 at 7D.
- rtl/video/rampart_gal4l.sv:7 Generated from the chip's fuse map (jedutil -view), one assign per output, terms in the fuse-map order.
- rtl/video/rampart_gal7k.sv:7 Generated from the chip's fuse map (jedutil -view), one assign per output, terms in the fuse-map order.
- rtl/video/rampart_gal8j.sv:7 Generated from the chip's fuse map (jedutil -view), one assign per output, terms in the fuse-map order.
- rtl/video/rampart_gal8m.sv:7 Generated from the chip's fuse map (jedutil -view), one assign per output, terms in the fuse-map order.
- rtl/video/rampart_lb.sv:3 Rampart motion-object line buffer: the Lb custom 137536-001 at 1F/H.
- rtl/video/rampart_mix.sv:7 The priority PAL socket at 2J is empty on production boards, so the mux takes the motion object whenever its pen is not 0.
- rtl/video/rampart_mob.sv:3 Rampart motion-object processor: the MOB 137593-001 at 2K/L.
- rtl/video/rampart_sos2.sv:3 Rampart raster counters: the H count that feeds the 7K GAL and the vertical side of the SOS-2 sync generator (Atari 137550-001, 11K/L).
- README.md:15 The address decoding and the video timing are transcribed from the board's own GAL chips, and the inputs, reset and watchdog, sync, colour output and sound circ
Cites hardware references or measurements that MAME's driver also gives — 14
- Arcade-Rampart.sv:153 0x460800 0x000002 12C GAL variant code, input panel code — also in MAME: 12C atari/rampart.cpp:531
- rtl/main/rampart_gal12c.sv:3 GAL16V8 at 12C: the main CPU address decoder. — also in MAME: 12C atari/rampart.cpp:531
- rtl/main/rampart_slapstic.sv:16 /CS = A18 & /A19 & A20 & /A21 (from the 12C GAL): 0x140000- 0x17FFFF and its mirrors. — also in MAME: 12C atari/rampart.cpp:531
- rtl/mem/rampart_rom_loader.sv:24 Which CPU addresses select which pair is decided by the 12C GAL, which differs between board variants, so the config byte names the variant: 0x06 = 136082-1006, 0x56 = 136082-1056, 0x05 = 136082-1005. — also in MAME: 12C atari/rampart.cpp:531, 136082-1006 atari/rampart.cpp:531, 136082-1056 atari/rampart.cpp:558, 136082-1005 atari/rampart.cpp:589
- rtl/mem/rampart_rom_loader.sv:57 12C GAL variant code — also in MAME: 12C atari/rampart.cpp:531
- rtl/rampart_core.sv:200 12C part: 0x06 = 136082-1006, 0x56 = 1056, 0x05 = 1005 — also in MAME: 12C atari/rampart.cpp:531, 136082-1006 atari/rampart.cpp:531
- rtl/video/rampart_bitmap.sv:20 WAIT_MODEL = 1 adds the board's slot timing: the 8J GAL (clocked at 14 MHz) holds the CPU until its one slot per group while the raster fetches (8J pin 11 = 7K pin 15 low), and releases it at once in the fetch-free window. — also in MAME: 8J atari/rampart.cpp:529, 8J atari/rampart.cpp:529, 7K atari/rampart.cpp:528
- rtl/video/rampart_gal4l.sv:3 4L GAL 136082-1001: motion-object RAM arbiter (GAL16V8, registered). — also in MAME: 4L atari/rampart.cpp:527, 136082-1001 atari/rampart.cpp:527
- rtl/video/rampart_gal7k.sv:3 7K GAL 136082-1002: horizontal timing decode (GAL16V8, registered). — also in MAME: 7K atari/rampart.cpp:528, 136082-1002 atari/rampart.cpp:528
- rtl/video/rampart_gal8j.sv:3 8J GAL 136082-1003: bitmap DRAM sequencer (GAL20V8, registered). — also in MAME: 8J atari/rampart.cpp:529, 136082-1003 atari/rampart.cpp:529
- rtl/video/rampart_gal8m.sv:3 8M GAL 136082-1004: motion-object RAM address mux (GAL20V8). — also in MAME: 8M atari/rampart.cpp:530, 136082-1004 atari/rampart.cpp:530
- rtl/video/rampart_moram.sv:18 WAIT_MODEL = 1 uses the 4L GAL (14 MHz) for the CPU wait: its pin 18 releases a CPU access only while no next-line work is pending. — also in MAME: 4L atari/rampart.cpp:527
- rtl/video/rampart_video.sv:150 graphics ROM 2N, 128K x 8, loaded as dumped — also in MAME: 2N atari/rampart.cpp:516
- README.md:33 The sets differ in their control panel and program-ROM layout, and so in the address-decode GAL fitted at 12C. — also in MAME: 12C atari/rampart.cpp:531
Notes where it differs from MAME — 1
- README.md:156 Attract-mode and demo timing can differ from MAME by a frame or two; the game plays the same.
Cites MAME source — 29
- Arcade-Rampart.sv:24 The MRA also carries MAME's factory EEPROM image, used when there is no save yet.
- Arcade-Rampart.sv:84 Colour DAC: the board's resistor network (default) or MAME's linear table.
- Arcade-Rampart.sv:265 IRQ_MODEL 0 is MAME's timing instead (see rtl/main/rampart_irq.sv).
- rtl/main/rampart_irq.sv:15 The default, -3, lines the interrupts up with MAME's emulation of this board, the only timing reference there is: fx68k needs the request about three clocks earlier than MAME's 68000 to take it at the same instruction.
- rtl/main/rampart_slapstic.sv:7 The state machine follows MAME's slapstic.cpp (BSD-3-Clause), class 111-118, used here as the functional reference.
- rtl/main/rampart_slapstic.sv:68 Set to 1 to reset them on every board reset instead, as MAME does.
- rtl/main/rampart_slapstic.sv:86 Current state in MAME's numbering (0 idle ...
- rtl/mem/rampart_nvram_io.sv:13 Two load paths: ioctl index 2 is the .nvm restore/save channel; index 0 (the ROM stream) carries MAME's factory EEPROM image at 0x460000 as a seed (seed_we).
- rtl/rampart_core.sv:25 The defaults follow MAME's timing; Arcade-Rampart.sv changes only IRQ_MODEL.
- rtl/rampart_core.sv:61 0 = board DAC levels, 1 = MAME's
- rtl/video/rampart_dac.sv:14 mame = 1 selects the plain linear scale instead, (code << 2) | (code >> 4), with no clamp.
- README.md:17 Atari never published the pages for the CPU, the video RAMs and the custom chips, so MAME's Rampart driver filled those gaps.
- README.md:19 Where the board and MAME differ, the core follows the board; the differences you may notice are listed below.
- README.md:45 Put the ROM zips in `games/mame/` (see below).
- README.md:53 The factory EEPROM image that MAME keeps in the set is used the first time a set is run.
- README.md:98 | Colour levels | Board DAC, MAME | Board DAC | see below |
- README.md:109 `Board DAC` reproduces the board's colour output circuit: each gun is a resistor ladder with a pull-up and a black clamp, so black is true black but every lit l
- README.md:113 `MAME` uses MAME's plain linear scale instead.
- README.md:134 Differences from MAME you may notice
- README.md:136 **Colours.** With `Board DAC`, colours follow the board's resistor network: dark colours are brighter and contrast is lower than with MAME's linear palette.
- README.md:141 The sound is therefore softer at the top end than MAME's unfiltered mix.
- README.md:142 When the game lowers the ADPCM level, the board attenuates it rather than muting it as MAME does.
- README.md:145 MAME draws the picture in four bands, so a change made mid-frame can appear a few lines lower, or a frame later, in MAME than on the board.
- README.md:150 MAME resets the SLAPSTIC on every reset.
- README.md:152 The core uses the one Atari drew for the closely related Klax board, which interrupts at lines 64, 128 and 192 and at the start of vertical blank (line 240); MA
- README.md:158 **CPU timing.** The 68000 is a cycle-exact model of the real chip, so instruction timing can differ slightly from MAME's 68000.
- README.md:167 whether the board adds CPU wait states for its slower chips (the core, like MAME, adds none);
- README.md:169 where two motion objects overlap, which one is drawn on top (the core follows MAME: the later one in the list);
- README.md:199 The MAME team: the Rampart driver served as a functional reference, and the MAME sets preserve the GAL fuse maps the core's address decoding and video timing ar
Says it matches, follows or was checked against MAME — 2