driver
driver segaorun.c
source segaorun.c (segaorun.c on mamedev.org)
games Limited Edition Hang-On
Out Run (bootleg)
Out Run (deluxe sitdown)
Out Run (sitdown/upright, Rev A)
Out Run (sitdown/upright, Rev B)
Super Hang-On (mini ride-on, Rev A, FD1089B 317-0034)
Super Hang-On (mini ride-on?, FD1089B 317-0034)
Super Hang-On (sitdown/upright, FD1089B 317-0034)
Super Hang-On (sitdown/upright, unprotected)
Turbo Out Run (cockpit, FD1094 317-0109)
Turbo Out Run (cockpit, FD1094 317-unknown)
Turbo Out Run (Out Run upgrade, FD1094 317-0118)
Turbo Out Run (upright, FD1094 317-unknown)
information 0.90u1 [Aaron Giles]


TODO:

- Verify analog input min/max

- Verify protection


NOTES:

- Outrun hardware: System 16b tilemaps, frame buffered sprites with better zooming capabilities, and a road generator able to handle two roads simultaneously.

- Super Hang-On hardware: Outrun lite, with System 16b sprites instead of the frame buffered sprites, and only one of the two roads is actually used.


WIP:

- 0.116u2: Changed visible area to 320x224.

- 0.114u1: Aaron Giles updated video timing in the Outrun driver games according to measurements from the boards. Changed visible area to 321x224 and VSync to 59.637405 Hz or 60.054389 Hz.

- 0.113u4: Fixed crash in System 16 games (machinesegaic16.c).

- 0.113u2: Zsolt Vasvari updated a number of Sega games to use the new video timing code.

- 0.111u6: Brian Troha cleaned up dipswitches and added documentation to the Outrun driver.

- 0.108: Brian Troha added more extensive documentation to several of the Sega 16-bit drivers.

- 0.107u2: Massive cleanup/fixing of 16-bit Sega drivers [AWJ]: Many corrections to descriptive set names, adding revision letters, cabinet types, etc. Fixed many dipswitches and added PORT_DIPLOCATION support. Adjusted min/max values for analog controls to improve response. Cleaned up a number of ROM names and fixed some incorrect guesses. Actually disabling 8751 in games that have a fake replacement. Hooked up 8255 PPI correctly now that it has mode 2 support. Fixed behavior of NMI line in later sega sound boards. Fixed addressing in the SegaPCM sound system. Some hardware/documentation cleanup.

- 0.105u5: Aaron Giles fixed a memory_set_bankptr called NULL base in the segaorun.c driver.

- 0.105: Aaron Giles fixed crash in System 16 games introduced by last update.

- 0.94u2: Aaron Giles connected some outputs via 8255 PPI, fixed IRQ handling to match schematics, hooked up watchdog, global mute, fixed IRQ2 timing (many tweaks based on schematics). Found missing 8th bit in Outrun/X-board sprite pitch. Implemented Outrun/X-board road priorities according to logic dump from Leopardcats. Hooked up road RAM double buffering that was missing for Outrun/X-board.

- 0.93: Added clock parameter to Sega_PCM sound (15625 Hz).

- 0.91u1: Compiler fixes [Lawrence Gold]: Returning a value from a void function in drivers/segaorun.c.

- 0.90u4: Aaron Giles updated YM2151 mixing volume. Note: The break LED no longer functions.

- 0.90u1: Added segaorun.c driver and vidhrdwsegaorun.c. Moved all games (except shangonb) from outrun.c to segaorun.c driver. Aaron Giles unified all memory mapping code and moved it into machine/segaic16.c, unified all tilemap, sprite and road code and moved it into vidhrdw/segaic16.c and improved documentation on the various register layouts on the video side. Note that in the process, I broke the title screen animation for Laser Ghost, and there is now a 1-pixel column error on ddcrew's attract mode. These are known issues that I will try to address soon.

PCB information
outrun Out Run (sitdown/upright, Rev B)
[Jun/27/2005]
 
 Out Run (bootleg)  
 
 CPU:
 The upper board contains:
 2x 68000 cpus
 1x z80 cpu
 1x ym2151
 1x 20mhz osc (near 68k)
 1x 16mhz osc (near z80)
 2x pots
 1x PHILKO custom chip quad package soldered (gfx chip?). it's marked "Philko PK8702 8717".
 
 Mid board contains:
 many TTLs and rams
 1x NEC D8255AC-2 (I/O chip?)
 5x Philko custom chips dip package (little as a ttl). They are all marked "Philko PK8701 8720"
 
 Lower board contains:
 lots of rams
 1x custom Philko chip the size of a z80. it's marked "Philko PK8703"
 1x custom Philko chip the size of a z80. it's marked "Philko PK8704"
 1x custom Philko chip the size of a z80. it's marked "Philko PK8705"  
 
 ROMs:
 The upper board contains:
 eproms from a-1 to a-14
 
 Mid board contains:
 eproms a-15, a-16 and a-17
 
 Lower board contains:
 eproms from a-18 to a-33  
 
 Dumped 27/06/2005  
 
 -
 
 [MAME]
 
 Out Run
 
 CPU: 68000
 GAME BD  834-6065-02 (or 834-6065-04)
 CPU BD   837-6063-02
 VIDEO BD 837-6064-02
 
 Note: GAME BD 834-6065-01 (or 834-6065-03) & CPU BD  837-6063-01
       Use EPR-10331 to EPR-10334 for the Main 68000 code, it's unknown if they are the same... they are not currently dumped
 
 -
 
 Out Run (deluxe)
 
 CPU: 68000 (317-????)
 GAME BD  834-6065 Rev A
 CPU BD   837-6063
 VIDEO BD 837-6064-01
  
 Sega Outrun Japan version
 -------------------------
 
 GAME Board (834-6065 Revision A)
 CPU Board (837-6063)
 ---------
 EPR10173 - IC66 - 5826
 EPR10174 - IC67 - 1817
 EPR10175 - IC68 - EAE0
 EPR10176 - IC69 - 05F3
 EPR10178 - IC86 - 5494
 EPR10179 - IC87 - E63D
 EPR10180 - IC88 - 14C5
 EPR10181 - IC89 - 999E
 
 EPR10183 - IC115 - 089E
 EPR10184 - IC116 - 1CD2
 EPR10258 - IC117 - 40FE
 EPR10259 - IC118 - 9CBF
 EPR10261 - IC130 - 7DCE
 EPR10262 - IC131 - 43C1
 EPR10263 - IC132 - 905E
 EPR10264 - IC133 - 8498
  
 Video Board (837-6064-01)
 -----------
 EPR10194 - IC26 - 8C35
 EPR10195 - IC27 - 4012
 EPR10196 - IC28 - C4D8
 EPR10197 - IC29 - FD47
 EPR10198 - IC30 - BF34
 EPR10199 - IC31 - DD89
 EPR10200 - IC32 - A707
 EPR10201 - IC33 - E288
  
 EPR10203 - IC38 - 3703
 EPR10204 - IC39 - 861B
 EPR10205 - IC40 - 36C5
 EPR10206 - IC41 - 5F40
 EPR10207 - IC42 - F500
 EPR10208 - IC43 - D932
 EPR10209 - IC44 - D464
 EPR10210 - IC45 - 4D74
 
 EPR10212 - IC52 - 707D
 EPR10213 - IC53 - 8204
 EPR10214 - IC54 - 79C4
 EPR10215 - IC55 - 0236
 EPR10216 - IC56 - 5738
 EPR10217 - IC57 - E265
 EPR10218 - IC58 - 9571
 EPR10219 - IC59 - A8C9
 
 EPR10221 - IC66 - 224E
 EPR10222 - IC67 - 4677
 EPR10223 - IC68 - D3BF
 EPR10224 - IC69 - 03A7
 EPR10225 - IC70 - 1215
 EPR10226 - IC71 - C3B8
 EPR10227 - IC72 - 5595
 EPR10228 - IC73 - 934B
 
 -
 
 
shangon Super Hang-On (sitdown/upright, unprotected)
[Dec/16/97]
 
 Super Hang-On (bootleg)
 Sega
 
 
 
 CPU: 2 x 68000 (10Mhz)
      1 x Z80
 SND: YM2151
 
 
 Filename        Checksum        Function
 
 S-HANGON.29      daf2            Prog A
 S-HANGON.30      8a9d            Prog A - part 0
 S-HANGON.31      e028            Prog A
 S-HANGON.32      9122            Prog A - part 0
 
 S-HANGON.04      9223            Prog B
 S-HANGON.05      b00a            Prog B - part 0
 S-HANGON.08      847a            Prog B
 S-HANGON.09      98f7            Prog B - part 0
 
 S-HANGON.06      f350            Object 0
 S-HANGON.10      656c            Object 0
 S-HANGON.11      809d            Object 0
 S-HANGON.12      3ee8            Object 0
 S-HANGON.13      f3b1            Object 0
 S-HANGON.14      71e1            Object 0
 S-HANGON.15      5348            Object 0
 
 
 S-HANGON.07      2360            Object 1
 S-HANGON.16      7c7b            Object 1
 S-HANGON.17      2812            Object 1
 S-HANGON.18      8574            Object 1
 S-HANGON.19      8100            Object 1
 S-HANGON.20      71c8            Object 1
 S-HANGON.21      974e            Object 1
 
 S-HANGON.01      9477            Speech
 S-HANGON.02      de01            Speech
 
 S-HANGON.03      12ad            Sound program
 
 S-HANGON.23      167c            Screen 0
 S-HANGON.24      61f9            Screen 1
 S-HANGON.25      acab            Screen 2
 
 S-HANGON.26      40cc            Road data
 
 
 
 [Apr/25/2000]
 
 Super Hang On
 Sega 1987
 834-6277-07
 
 
   video bd
 
               10650                     10798 10794
    315-5197   10651       315-5196      x     x
               10652                     10799 10795
                                         x     x
                                         10800 10796
                                         x     x
                                         10801 10797
                                         x     x
 
   cpu bd
 
 
                                  x
                                  10642   
 
     x  10791 10790                     10643 10644 10645 10646 x x
     x  10793 10792     68000-10         10649
                                                Z80   315-5218
                                         YM2151
     x  10885 10889
     x  10887 10886     68000-10
 
                                           315-5195
 
 
 -
 
 [MAME]
 
 Super Hangon
 
 CPU: 68000 (317-????)
 CPU BD SUPER HANG-ON   837-6278-01 (or 837-6278-03)
 VIDEO BD SUPER HANG-ON 837-6279-01
 
 -
 
 Super Hangon
 CPU: FD1089B (317-0034)
 CPU BD SUPER HANG-ON   837-6278-01 (or 837-6278-03)
 VIDEO BD SUPER HANG-ON 837-6279 (or 837-6279-02, roms would be "OPR")
 
 -
 
toutrun Turbo Out Run (cockpit, FD1094 317-0109)
[04/07/97]
 
 Turbo Out-Run
 
 CPU 68000
 
 Main Program:
 -tor409 = $0FAE
 -tor410 = $625F
 -tor411 = $4377
 -tor412 = $B685
 -tor292 = $0ABE
 -tor293 = $BDFC
 
 Sub Program:
 -tor294 = $6ED0
 -tor295 = $3C53
 -tor296 = $3CA9
 -tor297 = $6652
 
 Road Data:
 -tor298 = $5A76
 -tor298b = $5A76
 
 Sound Program (Z-80):
 -tor300 = $01C3
 
 Sound Data:
 -tor301 = $836D
 -tor302 = $9549
 -tor303 = $389B
 -tor304 = $D271
 -tor305 = $152D
 -tor306 = $407F
 
 Object Data:
 -tor307 = $041B
 -tor308 = $DC44
 -tor309 = $EAEB
 -tor310 = $4A76
 -tor311 = $0D36
 -tor312 = $7C77
 -tor313 = $8DE4
 -tor314 = $D4DC
 -tor315 = $E0E6
 -tor316 = $77B9
 -tor317 = $033A
 -tor318 = $E134
 -tor319 = $9D71
 -tor320 = $39B7
 -tor321 = $2F75
 -tor322 = $B022
 
 Scroll Data:
 -tor323 = $CC65
 -tor324 = $2145
 -tor325 = $9ABE
 
 -
 
 [MAME]
 
 Turbo Outrun (Out Run upgrade set)
 
 CPU: FD1094 (317-0118)
 CPU BD   837-6905-12
 VIDEO BD 837-6906-02
 
 -
 
 Turbo Outrun
 
 CPU: FD1094 (317-????)
 CPU BD   837-6905-12
 VIDEO BD 837-6906-01
 
 -
2004-2008 MAWS all copyrights belong to their respective owners