← All cores
cojagr3k (decoryah)
Cites hardware documentation that MAME's driver does not — 2
- rtl/cojag_main020.sv:3 TG68K has a 16-bit bus, as the console's 68000; Tom is kept in its 16-bit (68000) host mode (modules/jagnetlists Tom/abus.v), so long words go as two words, as the console's 68000 does them.
- rtl/cojag_mainr3k.sv:10 Tom's host bus: Tom stays in its 16-bit (68000) host mode as on the 68EC020 board (modules/jagnetlists Tom/abus.v), and the 32-bit CPU's accesses are 68000 bus cycles: a word as two (its high half first, both marked as a long word's for the
Cites MAME source — 48
- CoJag.sv:2 Atari CoJag (MAME atari/jaguar.cpp: Area 51, Maximum Force, ...) for MiSTer: cojag020, the 68EC020 board
- CoJag.sv:306 MAME's ports, active low: P1_P2 D24 Start 1, D8 Start 2; SYSTEM D0-3 coins, D4 / D5 (MAME: volume down / up; the gun games' test mode shows them as the coin slots AUXL / AUXR: half a credit each, and a step of the game's volume; the joystic
- CoJag.sv:313 The board byte's bits 3-2 (MRA index 1) choose the layout: 0 the light guns (Area 51, Maximum Force); 1 joysticks and three buttons (Freeze, Fishin' Frenzy), 2 and six (Vicious Circle): a player's up, down, left, right, B3, B2, B1, Start in
- rtl/cojag_guns.sv:3 cojag_guns.sv: the two light guns of Area 51 / Maximum Force (MAME 0.289 jaguar.cpp, cojag_gun_input_r and get_crosshair_xy), the owner's s2_guns.sv (seta2-mister) with CoJag's ports.
- rtl/cojag_guns.sv:13 The ports, as MAME's: x = left + v * width / 256, y = top + v * height / 256 in screen pixels, over the visible area Tom's registers give (all the disk sets: HDB 0068, HDE 0520, VDB 0020 / VBE 0022, VBB 0202: left 52, top 17, 320 x 240); th
- rtl/cojag_guns.sv:26 MAME's F16004 / F16000
- rtl/cojag_ide.sv:1 cojag_ide.sv: the VIA VT83C461 IDE controller and its drive (MAME's vt83c461_device with its generic hard disk), on Tom's ROM0 chip select (E00000-EFFFFF, 32 bits wide), the disk image from the HPS (hps_io, WIDE = 1, 512-byte blocks).
- rtl/cojag_ide.sv:6 E00030-E0003F the controller's configuration (stored, as MAME: E00038 index, E0003C data).
- rtl/cojag_ide.sv:9 The data port: a 32-bit read of E001F0 (the GPU's) is two drive words, the first in D15-0 (MAME's ide_controller_32_device).
- rtl/cojag_ide.sv:13 The drive: IDENTIFY DEVICE (EC) from MAME's template with the image's geometry (16 heads, 63 sectors, cylinders = size / 516,096), READ SECTORS (20 / 21; CHS, or LBA if drive / head bit 6), the rest (set features, initialize parameters, rec
- rtl/cojag_ide.sv:83 "MAME Compressed Hard Disk"
- rtl/cojag_ide.sv:213 no image (the ROM board sets, or nothing mounted): no drive on the cable, every drive register reads 1s (MAME's ATA interface with an empty slot; the games take FF as "no drive")
- rtl/cojag_l2.sv:6 After each reset (zero) it writes zeros over the RAM (ZQW qwords from ZBASE) and forgets its lines before it serves the CPU again (zbusy holds the CPU): DDR3 keeps whatever the last game or run left, and the R3000 sets' boot reads its work
- rtl/cojag_machine.sv:64 inputs, active low as MAME's ports
- rtl/cojag_machine.sv:203 misc control D7 written low: MAME halts the GPU and the DSP (go_w(false)); the games do it before reloading them (Fishin' Frenzy at frames 21 and 210), and Tom ignores a new G_PC while the GPU runs
- rtl/cojag_machine.sv:288 The GPU RAM's mirror F0B000-F0BFFF (MAME: .mirror(0x8000)) is, in Tom, the path for a 32-bit host: one cycle writes D31-0.
- rtl/cojag_machine.sv:438 (the R3041 board copies nothing: MAME's machine_reset)
- rtl/cojag_main020.sv:14 The local regions (CONSOLE = 0) answer beside Tom's bus, so the CPU keeps running from them while Tom holds the bus: the program ROM 800000-9FFFFF (rom_* port: a cache over DDR3 in the core), RAM A00000-A1FFFF (block RAM), the EEPROM A20000
- rtl/cojag_main020.sv:17 Until the game has written Tom's MEMCON1 (Tom maps everything to its ROM chip select before that, and that's the IDE here), reads of 000000-0003FF come from the program ROM: the exception vectors (MAME copies them to DRAM at reset; the core
- rtl/cojag_main020.sv:66 a clock at each write of misc (D7 written low halts the GPU and DSP, as MAME)
- rtl/cojag_main020.sv:117 (each byte its own block RAM: Quartus 17 makes flip-flops of a part-select write) After each reset the RAM is zeroed (a word a clock, 0.6 ms) while TG68K waits, as at power-up (MAME starts with it zeroed; a reset keeping it would look to a
- rtl/cojag_main020.sv:143 blank is all 1s (MAME's DEFAULT_ALL_1)
- rtl/cojag_main020.sv:311 MAME: misc as written, D5 inverted
- rtl/cojag_mainr3k.sv:4 MAME's r3000_map (physical addresses): 04000000-04FFFFFF the Jaguar space through Tom's host bus (DRAM, the IDE, Tom, Jerry, the inputs: Tom's 68000 space + 0x04000000); 06000000 misc control; 10000000-1007FFFF and 12000000-120FFFFF RAM (51
- rtl/cojag_mainr3k.sv:12 The bus cycle's timing and arbitration are cojag_main020's. Tom's interrupt is the R3041's Int4 (MAME: INPUT_LINE_IRQ4).
- rtl/cojag_mainr3k.sv:59 a clock at each write of misc (D7 written low halts the GPU and DSP, as MAME)
- rtl/cojag_mainr3k.sv:246 A write to the RAM is posted: the CPU has its acknowledge at once and the cache (cojag_l2) finishes it meanwhile (l_post); the next access waits for it (a store was ~7 clocks the CPU waited out; MAME's R3041 has no bus time at all).
- rtl/cojag_mainr3k.sv:291 MAME: as written, D5 inverted
- rtl/cojag_r3000.sv:1 cojag_r3000.sv: the IDT R3041 of CoJag's R3000 board (MIPS I: no TLB, no FPU), big-endian, as MAME 0.289's mips1.cpp (r3041_device) runs it: one instruction at a time, no load delay (a load's register is written at once, as MAME does), the
- rtl/cojag_r3000.sv:35 MAME's m_branch_state: 0 NONE, 1 BRANCH, 2 DELAY
- rtl/cojag_r3000.sv:150 a load's result from the word read, as MAME's load / lwl / lwr
- rtl/cojag_r3000.sv:180 ---- fetch: interrupts first (MAME checks them as an instruction is fetched), then the instruction
- rtl/cojag_r3000.sv:216 the next instruction's cache read, now: its address is known before this one executes (a branch only changes the one after next: the delay slot), unless this one is a load / store (the cache's port), COP0 (Status: KU, SwC), or a branch in a
- rtl/cojag_r3000.sv:253 by zero: HI and LO as they were (MAME)
- rtl/cojag_r3000.sv:345 RFE, as MAME's (KUo / IEo cleared)
- rtl/cojag_r3000.sv:360 the bytes: big-endian, be[3] = byte 0 (D31-24); SWL / SWR as MAME's
- rtl/cojag_r3000.sv:457 a store, written through: a word allocates its line; SB / SH update a hit; SWL / SWR update a hit and invalidate a miss's line (MAME's cache_lookup with invalidate for 32-bit stores)
- rtl/cojag_r3000.sv:478 ---- the instruction done: the branch state and the PC as MAME's execute_run; an exception: its vector
- rtl/cojag_romboard.sv:1 cojag_romboard.sv: the ROM board of Fishin' Frenzy and Freeze (MAME's cojagr3k_rom): 16 MB of 64-bit ROM on Tom's ROM1 select (800000-DFFFFF in Tom's space: the GPU's and DSP's, and the R3041's at 04800000), from the image in DDR3 (byte 0x3
- rtl/cojag_romboard.sv:5 MAME's banks: 800000-BFFFFF graphics, the board's 0x800000 + 4 MB x the latch's bit 0 (GPIO4, F17800); C00000-DFFFFF sound, the board's 2 MB x misc control D3-1.
- README.md:3 MAME's `atari/jaguar.cpp` arcade driver, Atari Games' CoJag boards of 1995-1998: the Jaguar console's chipset (Tom: GPU, blitter, object processor, video and DR
- README.md:19 All nineteen CoJag sets of MAME 0.289.
- README.md:36 These pictures come from MAME 0.289 (`tools/capture.py`): the title screens from attract mode, the others from a game started with a coin and Start (Area 51's f
- README.md:52 In MAME it is only 1-2 dB below Area 51 and Maximum Force (and Vicious Circle 8 dB above all three); each game scales its sound by the volume in its EEPROM, abo
- README.md:74 Make them from MAME's CHDs with MAME's `chdman`:
- README.md:101 Only the buttons the games read are mapped; the MRAs name them (from each game's own controls test in MAME, and play).
- README.md:154 The machine bench runs the whole board without the MiSTer framework: the SDRAM chip, DDR3 with latency, the HPS's disk from the raw image (`DISK=`); it logs the
- README.md:167 **MAME** (the jaguar driver and devices by Aaron Giles, Nathan Woods, Angelo Salese, Robbbert and others; BSD-3-Clause): the hardware knowledge and the oracle.
Says it matches, follows or was checked against MAME — 3
- README.md:56 What was checked besides, in simulation (Verilator) against MAME 0.289 (details and numbers in `docs/design.md`, `docs/testing.md`):
- README.md:59 The ROM path: the nineteen sets' images assembled from the MRAs are byte-identical to those built from MAME's ROM tables.
- README.md:60 The whole machine from reset: the R3041's instructions against MAME's trace (667,004 of them, Area 51's boot); Area 51's boot from its disk into the FMV intro a
Says it was translated, ported or taken from MAME — 1
- rtl/cojag_machine.sv:11 At reset, before Tom and the CPU start, the program ROM's first 1 KB is copied into DRAM 000000-0003FF (MAME's machine_reset for the 68EC020: the exception vectors).
Shares text with the MAME driver without saying so — 1