← コア一覧
Arcade-ITech8 (Gm0rk)
「実機」で確認したと記載 — 2
- README.md:94 Bowling board [########--] 8/10 sections confirmed on hardware
- README.md:95 6809 blitter board [########--] 8/10 sections confirmed on hardware
MAMEのソースを引用 — 99
- Arcade-ITech8.sv:14 The bowling games are vertical (MAME ROT270); screen_rotate turns them for a horizontal screen.
- Arcade-ITech8.sv:174 An optional second byte carries more 6809 layout bits: bit 0 MAME's common_lo_map (TMS34061 at 0000, I/O at 1100; Golden Tee Golf II joystick); bits 2-1 the display (0 two layers, 1 2 page large at 8 MHz, 2 one 8-bit page, 3 Grudge Match's
- Arcade-ITech8.sv:448 NVRAM, MiSTer side: filled at ROM load (FF; Bowl-O-Rama 00, as MAME; Hot Shots Tennis 00, board byte 2 bit 6: from all FF it hangs at the first game start, in MAME too, D-041), then the saved file (index 4); for Ninja Clowns a file of all z
- Arcade-ITech8.sv:559 A game without a trackball reads 0 there, as MAME (read_safe(0)): the stick, which also drives cb_trackball, must not show up in it.
- Arcade-ITech8.sv:747 A page is written once a frame from the start of vertical blanking, and turned to read upright with the game: cp_rot is how the viewer sees the raster, turned anticlockwise for MAME ROT270 (as screen_rotate, or a monitor on its side), clock
- Arcade-ITech8.sv:1290 Bowling games are vertical (MAME ROT270): screen_rotate turns the picture 90 degrees anticlockwise into the DDRAM frame buffer for a horizontal screen; the ROT90 games (Hot Shots Tennis, Peggle, Poker Dice) clockwise.
- rtl/board/it8_main09.sv:6 Memory map (MAME itech8.cpp common_hi_map, the Strata Bowling layout):
- rtl/board/it8_main09.sv:12 MAME)
- rtl/board/it8_main09.sv:14 01A0 W NMI acknowledge (no effect, as MAME)
- rtl/board/it8_main09.sv:26 map_gtg2 selects the 1992 board of Golden Par Golf (MAME gtg2_map), the same devices at other addresses:
- rtl/board/it8_main09.sv:37 map_lo selects MAME's common_lo_map (Golden Tee Golf II joystick, v1.0): the TMS34061 at 0000-0FFF and the I/O registers of the table above at 1100-11FF, everything else in place.
- rtl/board/it8_main09.sv:42 rr selects Rim Rockin' Basketball's board (MAME rimrockn_map, D-047): the layout above with
- rtl/board/it8_main09.sv:52 and the CPU at 3 MHz: an HD6309 at 12 MHz in MAME.
- rtl/board/it8_main09.sv:52 The game runs the 6309 as a 6809 (no 6309-only instruction or register in about 100 million traced in MAME, D-047), where the 6309 takes the 6809's cycles, so mc6809is runs it on a 16-clock E cycle.
- rtl/board/it8_main09.sv:63 tb_horiz gives the trackball the horizontal games' axes (MAME gtgt: register 12 is X, right positive; 13 is Y, up positive); without it the vertical games' (stratab: 12 is Y and 13 X, counting down for up and right).
- rtl/board/it8_main09.sv:68 dial_mode puts a spinner on register 13 (MAME analog D) instead, the trackball's X counter, counting up to the right; the other registers read 0.
- rtl/board/it8_main09.sv:70 1: the counter itself (Wheel Of Fortune, which works out the movement itself; MAME: no PORT_RESET), 2: the count since the last write to register 12, as the trackball (Peggle's trackball set reads 13 and then clears it there, once a frame;
- rtl/board/it8_main09.sv:75 Interrupts: NMI at the start of vertical blank (held for two E cycles, about MAME's 1 us), IRQ from the TMS34061's vertical interrupt, FIRQ from the blitter.
- rtl/board/it8_main09.sv:92 MAME init_invbank: bank bit inverted
- rtl/board/it8_main09.sv:253 MAME stratab: analog C is the trackball's Y, analog D its X reversed, both counting down for up / right; gtgt (tb_horiz): C is X and D is Y reversed, counting up for right / up.
- rtl/board/it8_main09.sv:302 MAME video_start
- rtl/board/it8_main09.sv:388 NMI: low from the start of vertical blank for two Q falling edges (the CPU samples it there; MAME holds it for 1 us), however long a late access stretches the cycle.
- rtl/board/it8_nvram.sv:7 Contents are FF from configuration (MAME: nvram DEFAULT_ALL_1), before the loader's fill runs.
- rtl/board/it8_ports09.sv:7 Unused and unknown bits read 1, DIP switches their MAME defaults.
- rtl/board/it8_ports09.sv:10 layout 0, the games added before build 020, from p1/p2 (the Ninja Clowns order the top level makes) and the board byte's bits: MAME stratab and gtgt: port 40 service, cabinet (Upright), feedback; port 60 coins, starts, both players' hooks (
- rtl/board/it8_ports09.sv:107 Wheel Of Fortune (MAME wfortune): port 40 cabinet bit 3 (Upright); port 60 bit 3 Blue, 4 Yellow, 5 Red, 6 coin 1, 7 coin 2.
- rtl/board/it8_ports09.sv:114 Poker Dice (MAME pokrdice): port 40 bit 1 Lower Right, 3 cabinet (Upright), 4 a switch (MAME default on); port 60 bit 0 Upper Right, 1 coin 2, 2 Middle, 3 Lower Left, 4 Raise, 5 Upper Left, 6 Play, 7 coin 1.
- rtl/board/it8_ports09.sv:123 Hot Shots Tennis (MAME hstennis): port 40 bit 3 cabinet (Upright), 4 a switch (default on); port 60 player 1, port 80 player 2: bit 1 Soft, 2 right, 3 left, 4 down, 5 up, 6 Hard, 7 the coin (bit 0, coins 3 and 4, unused).
- rtl/board/it8_ports09.sv:143 Arlington Horse Racing (MAME arlingtn): port 40 bit 3 a switch (default on); port 60 bit 2 Place, 3 Win, 4 down, 5 up, 7 coin 1; port 80 bit 3 Show, 4 Start Race, 5 Collect, 7 coin 2.
- rtl/board/it8_ports09.sv:152 Peggle (MAME peggle, pegglet): port 60 bit 2 right, 3 left (stick set only), 6 Start, 7 coin 1; port 80 bit 7 coin 2.
- rtl/board/it8_ports09.sv:161 Rim Rockin' Basketball (MAME rimrockn): port 60 bit 0 Service 1 (a service credit, not used here), 1 the service menu switch, 2-5 coins 1-4, 7 the sound board's feedback; ports 40 and 80 unused (ports 161-165 below).
- rtl/board/it8_ports09.sv:170 Neck-N-Neck (MAME neckneck): port 40 bit 3 a switch (default off); port 60 bit 2 Horse 3, 3 Horse 2, 4 Start, 5 Horse 1, 7 coin 1; port 80 bit 3 Horse 4, 4 Horse 6, 5 Horse 5, 7 coin 2.
- rtl/board/it8_ports09.sv:189 Port 165: bits 0-2 Service 2-4 (service credits, not used), then MAME's default switches: Cabinet 4 players (bits 4-3 = 0), Coin Slots Individual (bit 5 = 0), Video Sync Negative (bit 6 = 0).
- rtl/board/it8_top.sv:5 Memory map (MAME itech8.cpp ninclown_map):
- rtl/board/it8_top.sv:23 cpu09 turns the board into a 6809 board of Strata Bowling style (MAME itech8.cpp stratab_hi): the 68000 is held in reset and it8_main09 drives the same video section (in its two_layer mode, 6 MHz dots), the NVRAM (8 KB of it) and the sound
- rtl/board/it8_top.sv:26 Input ports as MAME's stratab: port 40 service, cabinet and the sound board's feedback bit; port 60 hooks, starts and coins; trackball on blitter registers 12-15.
- rtl/board/it8_top.sv:29 Golden Tee Golf uses the same board: its trackball sets the same ports (MAME gtgt, tb_horiz for its axes), its joystick sets (joy09, MAME gtg) the stick and the swing button on port 60 bits 0-4, both players' together.
- rtl/board/it8_top.sv:32 gtg2 is Golden Par Golf's 1992 board (MAME gtg2): it8_main09's other I/O layout, the sound board in its YM3812 mode (as Ninja Clowns'), the sound command's bits rewired, and its own ports (MAME gpgolf; with a trackball, tb09, MAME gtg2: Gol
- rtl/board/it8_top.sv:35 map_lo is MAME's common_lo_map (Golden Tee Golf II joystick, v1.0).
- rtl/board/it8_top.sv:38 From build 020 the 6809 board also takes a display mode (disp_mode: 0 two layers, 1 Ninja Clowns' 2 page large at 8 MHz with the page bit inverted, MAME hstennis; 2 one 8-bit page, MAME pokrdice), a sound board (snd_mode: 0 as above, 1 the
- rtl/board/it8_top.sv:80 6809: MAME common_lo_map (it8_main09)
- rtl/board/it8_top.sv:262 blitter: a word write ends with the lower byte, as MAME
- rtl/board/it8_top.sv:484 MAME's 6809 2 page large shows the page whose bit 7 of the page register is clear (Ninja Clowns writes it inverted, so it8_video takes bit 7 set as page 1).
- rtl/board/it8_top.sv:580 Golden Par Golf's board wires the sound command's bits in another order (MAME gtg2_sound_data_w).
- rtl/cb/cb_sound.sv:6 Map (MAME capbowl.cpp sound_map):
- rtl/cb/cb_sound.sv:15 YM2203 port A bit 7 reads the ticket dispenser's sensor (inverted), port B bit 7 drives its motor; with the motor on the sensor toggles every 100 ms (MAME ticket.cpp).
- rtl/cb/cb_sound.sv:18 Mix as MAME: each SSG channel 0.07, FM 0.75, DAC 0.5.
- rtl/cb/cb_top.sv:6 Map (MAME capbowl.cpp):
- rtl/cb/cb_top.sv:26 NMI starts the setup menu: MAME pulses it every VBLANK while the service key is held.
- rtl/cb/cb_top.sv:29 Watchdog: a 555 timer, 16 periods, about 0.32 s (MAME), restarted by every write to 6800.
- rtl/cb/cb_top.sv:126 555 astable, R1 = R2 = 100k, C = 0.1u: T = 0.693 * 300k * 0.1u = 20.79 ms; MAME: 16 T - T/2 = 322.2 ms = 15,467,000 clocks at 48 MHz.
- rtl/cb/cb_top.sv:412 MAME: ((d & 0x0c) >> 1) + (d & 1), i.e. {d[3:2], d[0]}
- rtl/cb/cb_trackball.sv:9 The reads are not evenly spaced, though: one gap a frame is 5.2 ms (three of 3.8 ms in the core, 4.1 in MAME, and up to 6.6 ms now and then), long enough for 8 or 9 counts at that rate, which the game took as a move the other way.
- rtl/cb/cb_trackball.sv:22 Directions as MAME (capbowl.cpp): Y is reversed, so moving the mouse or stick up counts Y up; right counts X up.
- rtl/cb/cb_video.sv:6 Its first 32 bytes are that line's palette, 16 colours of two bytes (0000RRRR, GGGGBBBB); the other 224 bytes hold 448 pixels, two per byte, high nibble first (MAME capbowl.cpp screen_update).
- rtl/cb/cb_video.sv:15 MAME shows 360 pixels, bytes 32-211: with the game's raster that is counts 46-225, ending a count before START BLANK, with an 8 us back porch after sync.
- rtl/debug/it8_dbg_page.sv:28 rot says how the viewer sees the raster: 0 as it is, 1 turned 90 degrees anticlockwise (MAME ROT270), 2 turned clockwise (ROT90).
- rtl/mem/it8_loader.sv:17 NVRAM is filled with FF when a ROM download starts (MAME: all 1s); a saved NVRAM file, if any, is loaded after the ROMs and overwrites it.
- rtl/mem/it8_loader.sv:44 grom_bytes is the length of that last part: the blitter's graphics ROM region (MAME wraps source addresses at the region's length).
- rtl/video/it8_blitter.sv:22 The status bit and the completion interrupt follow MAME's timing: busy for (width x height + 12) ticks of 3 MHz, or until the drawing engine has actually finished, whichever is later.
- rtl/video/it8_blitter.sv:44 graphics ROM region in bytes (MAME: offset % length)
- rtl/video/it8_blitter.sv:71 blits where drawing outlasted MAME's timing
- rtl/video/it8_blitter.sv:94 MAME busy time, in 48 MHz clocks
- rtl/video/it8_blitter.sv:260 Drawing and the MAME busy period are both over.
- rtl/video/it8_blitter.sv:288 Bring the source offset into range (MAME: offset % grom length).
- rtl/video/it8_blitter.sv:357 Fetch the next source pixel (MAME fetch_next_raw / fetch_next_rle), one source byte per clock while the window has it.
- rtl/video/it8_blitter.sv:468 ----- consume cons_n source bytes (MAME consume_raw / consume_rle) -----
- rtl/video/it8_blitter.sv:505 Drawing still running when the MAME busy period ends.
- rtl/video/it8_tms34061.sv:5 Register file, raster counters, XY address unit and the CPU-side VRAM functions, as wired on the IT boards (MAME itech8_v.cpp / tms34061.cpp):
- rtl/video/it8_tms34061.sv:23 CB = 1 selects the wiring of the earlier Capcom Bowling board (MAME capbowl.cpp): offset[9:8] is the function (0/2 register, 1 XY, 3 direct), the direct-access row comes from the board's row latch (op_row), VRAM is 64 KB (address bits above
- rtl/video/it8_tms34061.sv:149 XY address adjustment (MAME tms34061_device::adjust_xyaddress)
- rtl/video/it8_tms34061.sv:277 IT 8-bit boards: row hard-wired to 0xFF, and only writes add the CONTROL2 page bits (as MAME).
- rtl/video/it8_tms34061.sv:300 VRAM -> shift register: MAME keeps a pointer to the row.
- rtl/video/it8_video.sv:8 * Ninja Clowns, "2 page large" (MAME screen_update_2page_large): two 512 x 256 pages, each byte holding two 4-bit pixels whose upper colour nibbles come from the latch byte.
- rtl/video/it8_video.sv:10 The display column for character count h is (h - HESYNC): the serial port starts shifting when horizontal sync ends, which puts the first visible byte at column 32 with the game's settings (MAME's visarea 64).
- rtl/video/it8_video.sv:15 * two_layer, Strata Bowling (MAME screen_update_2layer): one byte per pixel, 256 x 256.
- rtl/video/it8_video.sv:18 6 MHz dots, one per character count; column 0 is shown at the first visible count (END BLANK), as MAME.
- rtl/video/it8_video.sv:21 * page8, Poker Dice (MAME screen_update_2page): one byte per pixel, 256 x 256, the page chosen by page_sel; timed as two_layer (6 MHz, column 0 at END BLANK).
- rtl/video/it8_video.sv:32 A line starting at column c of a row runs on into the next row (MAME reads the bytes in a row, as here: 200 bytes from c).
- rtl/video/it8_vram.sv:8 MAME addresses this as an 18-bit space: bit 17 selects the page, bits 15:8 the row, bits 7:0 the column.
- README.md:17 It worked from MAME's source and from a disassembly of the game's own
- README.md:31 The table lists every game MAME runs on Incredible Technologies' 8-bit hardware: the bowling games in its `capbowl` driver, the rest in its `itech8` driver.
- README.md:59 ¹ The earlier IT bowling board (MAME's `capbowl` driver): TMS34061 video with a 16-colour palette on every line but no ITV4400 blitter, a trackball, a vertical
- README.md:62 The other games are in MAME's `itech8` driver.
- README.md:65 ² The 6809 blitter board (MAME's `itech8` driver): the same TMS34061, ITV4400 blitter and RAMDAC as Ninja Clowns with a 6809 main CPU, and a 6809 sound CPU with
- README.md:84 ³ Not planned for now: Dyno Bop, Slick Shot and Super Strike Bowling, and the Strata Bowling v1 set built on Super Strike Bowling's board (MAME's `stratabs`).
- README.md:87 MAME lists all three as mechanical games.
- README.md:239 Those two games take a sideways roll at half the rate of a forward one, by design (the original board and MAME do the same), and start the ball at the edge of t
- README.md:308 **[MAME](https://www.mamedev.org/)**, the reference for essentially all hardware behaviour:
- README.md:313 | `itech8.cpp`, `itech8.h` | Aaron Giles | memory map, machine configuration, interrupts, input ports, sound board map |
- README.md:314 | `itech8_v.cpp` | Aaron Giles | blitter, page select, TMS34061 wiring, the 2-page-large, 2-page and two-layer displays |
- README.md:315 | `tms34061.cpp` | Zsolt Vasvari, Aaron Giles | TMS34061 registers, XY addressing, shift-register transfers |
- README.md:316 | `tlc34076.cpp` | Philip Bennett | RAMDAC register protocol |
- README.md:317 | `6522via.cpp` | Peter Trauner, Mathis Rosenhauer | 6522 timers and interrupts |
- README.md:318 | `6821pia.cpp` | Aaron Giles, Nathan Woods | 6821 registers (sound board of Hot Shots Tennis style) |
- README.md:320 | `capbowl.cpp` | Zsolt Vasvari | bowling board: memory maps, row palettes, turbo board, trackball, watchdog |
- README.md:321 | `ymfm` (`ymfm_opn.cpp`, `ymfm_adpcm.cpp`) | Aaron Giles | the YM2608's rhythm and ADPCM-B sections, and the reference its FM was checked against |
- README.md:322 | `ticket.cpp` | Aaron Giles | ticket dispenser sensor |
- README.md:324 MAME is a reference for *behaviour*; no MAME code is compiled into this core.
MAMEと一致する、MAMEに合わせた、またはMAMEで確認したと記載 — 4
- rtl/board/it8_main09.sv:57 gm selects Grudge Match's board (MAME grmatch_map, D-048): the layout above, but a write to 0160 sets the palette control (palctl, bit 7: the TMS34070s load their palettes) instead of the display page, a write to 0180 the X scroll (xscroll)
- rtl/board/it8_ports09.sv:133 Grudge Match (MAME grmatch): port 40 bit 3 Adjustments Lockout (off), 4 Coinage (1 coin 1 credit), 5 Difficulty ("1"); port 60 player 1, port 80 player 2: bit 0 Button 2, 1 Button 1, 2 right, 3 left, 4 down, 5 up, 6 Start, 7 the coin.
- rtl/board/it8_top.sv:47 Build 027 adds Grudge Match (MAME grmatch): snd_mode 3, the YM2608 sound board; disp_mode 3, two 4-bit layers coloured by two TMS34070 palettes that the hardware loads from video RAM, with a horizontal scroll (it8_main09 writes 0160 and 018
- rtl/video/it8_video.sv:25 * gm, Grudge Match (MAME grmatch_state::screen_update, D-048): two 4-bit layers, two pixels a byte (upper nibble first) as 2 page large, and timed as it (8 MHz, column 0 at END BLANK).
MAMEから移植・書き写した、または取り入れたと記載 — 1
MAMEドライバと同じ文言を含む(出典の明記なし) — 1