Difference between revisions of "Mega Drive cartridges"

From Sega Retro

Line 97: Line 97:
 
** 16×32 (512-pixel) polygons: 10,000 polygons/sec{{ref|1603 cycles/polygon{{intref|SVP Register Guide (2008-02-06)}}|group=n}}
 
** 16×32 (512-pixel) polygons: 10,000 polygons/sec{{ref|1603 cycles/polygon{{intref|SVP Register Guide (2008-02-06)}}|group=n}}
 
** ''[[Virtua Racing]]'': 9000 polygons/sec{{ref|[http://www.ign.com/games/virtua-racing/gen-6398 Virtua Racing] ([[wikipedia:IGN|IGN]])}}
 
** ''[[Virtua Racing]]'': 9000 polygons/sec{{ref|[http://www.ign.com/games/virtua-racing/gen-6398 Virtua Racing] ([[wikipedia:IGN|IGN]])}}
* 3D texture mapping: 3000 polygons/sec (8×16 texel textures){{ref|1=5189 cycles per 8×16 texel polygon (4642 cycles texture mapping per 8×16 texel polygon)
+
* 3D texture mapping: 3000 polygons/sec (8×16 texel textures){{ref|1=5477 cycles per 8×16 texel polygon (4642 cycles texture mapping per 8×16 texel polygon)
 
**258 cycles per 8×16 texel texture: 2 block moves, 2 cycles per texel (1 byte per texel), 2 cycles access
 
**258 cycles per 8×16 texel texture: 2 block moves, 2 cycles per texel (1 byte per texel), 2 cycles access
 
**4384 divide cycles per 8×16 texel polygon: 73 divides per 8×8 texel polygon, 288 vertex divide cycles per polygon ([https://books.google.co.uk/books?id=teMHqC2BnuYC&pg=PA110 9 divides] per polygon), 4096 texel divide cycles per 8×16 texel polygon (128 divides, [https://books.google.co.uk/books?id=teMHqC2BnuYC&pg=PA110 1 divide] per texel) }}
 
**4384 divide cycles per 8×16 texel polygon: 73 divides per 8×8 texel polygon, 288 vertex divide cycles per polygon ([https://books.google.co.uk/books?id=teMHqC2BnuYC&pg=PA110 9 divides] per polygon), 4096 texel divide cycles per 8×16 texel polygon (128 divides, [https://books.google.co.uk/books?id=teMHqC2BnuYC&pg=PA110 1 divide] per texel) }}

Revision as of 13:39, 6 November 2016

Super Thunder Blade (Japanese version), the first commercially available Sega Mega Drive cartridge (alongside Space Harrier II)

Mega Drive cartridges are the primary storage medium for the Sega Mega Drive.

Design

The Mega Drive runs games housed in plastic cartridges uniquely shaped to fit the system. Though the technology exists within the console to run Sega Master System games, the Power Base Converter is required to convert between the differing pin connections and slot sizes.

Official Mega Drive cartridges are smaller than their Master System/Mark III counterparts, with rounded edges and bigger labels layered over the top and front of the cartridge.

As with the Master System, Sega-manufactured Japanese, Korean and Asian cartridges are shaped differently to those seen in North America, South America, Europe and Oceania, however the differences largely concern the aesthetics - "Eastern" Japanese-style cartridges opting for a more rounded approach with ridges, while "Western" cartridges being more angular and simplistic. Unlike the Master System, the Mega Drive has end-labels for easier reading and storage in Western regions.

Pin layout is the same between the two types, however the base of the cartridge determines whether it can be safely inserted into the system - two extra pieces of plastic prevent Japanese cartridges from being inserted in western systems - these can be removed with modification, or as mentioned above, circumvented with adapters. This extra plastic is not present in systems such as the Genesis 3 and Sega 32X, nor does it exist in Japanese Mega Drives.

One interesting feature of Japanese cartridges is a inclusion of a cartridge "lock", which prevents the cartridge from being removed when the system turns on. A plastic piece from the system is slid across to a gap on the left hand side of a Japanese cartridge, securing it in place when the power switch is moved (similar tricks can be found on the Super NES and the TurboGrafx-16). This locking mechanism is only present in Japanese Model 1 Mega Drives and is absent in all western models - the vast majority of Western cartridges lack the gap required for cartridge locking, with exceptions being the likes of "special" cartridges, e.g. Sonic & Knuckles.

The lack of cartridge lock can be exploited, for example, to gain access to the level selection screen in Sonic 3D Blast.

Official cartridge designs

Cartridge designs for Altered Beast - though labels would change dramatically over the console's run, the physical shape would remain consistent.

Alternative cartridge designs

Though Sega manufactured the bulk of Mega Drive cartridges, many were created externally by the likes of Electronic Arts, Accolade, Sunsoft and Codemasters.

Technical information

  • Cartridge memory: 512–8224 KB
  • Cartridge ROM chips: 16‑bit[5]
    • Most cartridges: MROM, 5 MHz, 200 ns cycles[6][7][8]
    • Some cartridges: MROM/EPROM, 7.670453 MHz (NTSC), 7.600489 MHz (PAL), 130–131 ns cycles[7][4][9]
  • Cartridge ROM bandwidth: 10 MB/s (most cartridges), 15.200978–15.340906 MB/s (some cartridges)

Special cases

Sonic & Knuckles

Sonic & Knuckles famously introduced so-called "lock-on" technology to the Mega Drive library, in which a second cartridge could be stacked on top to create a new game. While there were rumours of other lock-on games in development, Sonic & Knuckles is the only example which made it to market.

While the vast majority of games will communicate with Sonic & Knuckles, the end result will be a randomised variant of Blue Sphere. To access Blue Sphere in full, Sonic the Hedgehog must be "locked-on", and Knuckles the Echidna in Sonic the Hedgehog 2 and Sonic the Hedgehog 3 & Knuckles can be accessed by locking on Sonic the Hedgehog 2 and Sonic the Hedgehog 3, respectively.

If a cartridge with a more than 2MB of storage is locked on to the cartridge, Blue Sphere will not load, and the setup will revert to the standard Sonic & Knuckles game. This is due to a quirk in how the game reads data from its locked-on segment - rather than reading from the first 2MB of the locked-on ROM, it will read from the last 2MB and subsequently not detect a correct header. Sonic Classics is the only exception to this rule - a compilation seemingly designed so that data from the original Sonic the Hedgehog would be detected in the right place for Blue Sphere to load.

While Sonic the Hedgehog 3 is a region-locked game, Sonic & Knuckles is not, nor does it care what region Sonic 3 is from. As such, the subsequent creation of Sonic the Hedgehog 3 & Knuckles will also be region free.

J-Cart

Created by Codemasters, J-Carts break the norm by including two extra joystick ports built into the cartridge. This permitted four-way gameplay without a multitap adapter. Only six J-Carts were released: Pete Sampras Tennis, Pete Sampras Tennis 96, Micro Machines 2, Micro Machines 96, Micro Machines Military Edition, and Super Skidmarks. Several were also released as standard cartridges.

Sega Virtua Processor

Virtua Racing contains a custom-designed DSP chip, known officially as SVP, or Sega Virtua Processor. It allows for enhanced graphics and sound capabilities. This chip essentially serves as an extra processor, allowing the game to produce a significantly higher number of polygons than would be possible on a standard Mega Drive. It was also significantly more powerful than the Super Nintendo's Super FX chip. However, Virtua Racing released with a more expensive retail price.

The SVP chip was revealed for the Mega Drive in Summer 1993, before the Mega Drive version of Virtua Racing released in 1994.[10] Interestingly, Virtua Racing was the first to showcase the power of the SVP chip - plans were underway to produce more games using this chip, using a "Modular Converter" cartridge to cut production costs. This converter would contain the SVP chip, with the enhanced game designed to use the SVP chip plugging into the top of the unit.[11] However, due to the costs of production against the Mega Drive/Genesis' age and falling popularity, the project was dropped. Virtua Racing also has a cartridge roughly one-and-a-half times the size of a usual Mega Drive cartridge due to the added chip, and is incompatabile with the Sega 32X add-on.

Technical specifications

See Sega Mega Drive technical specifications for standard Mega Drive hardware specifications
See also Blast processing for SuperFX comparison

The SVP chip adds the following capabilities to the Mega Drive hardware.

  • GPU: Sega 315-5750[12] (Samsung SSP1601) DSP[13][14] @ 23.01136 MHz[12] (25 MIPS)[15][14]
    • DSP core: 16-bit fixed-point arithmetic, 32-bit output, 16-bit word size, 25 registers (8 general, 8 external, 8 pointer, 1 status)
    • ALU: 32-bit, status register
    • Multiplier: 32-bit output, 16x16-bit pipelined multiplication
  • DSP buses: 6 buses[14]
    • 32-bit internal data buses: Data (D) bus (16-bit), subsidiary (S) bus (16-bit)
    • 16-bit program data bus: Program data (PD) bus
    • 16-bit external data bus: External (EXT) bus
    • 16-bit address bus: Program address (PA) bus
    • 32-bit arithmetic bus: Multiplier (M) bus
  • Audio: 2 PWM channels[15]
Graphics
  • DSP performance:
    • MAC operations: 1 MAC (multiply-accumulate) per cycle,[14] 23.01136 million MACs per second
    • Fixed-point calculations: 2 calculations (multiply and add) per cycle,[13] 46.02272 million calculations (23.01136 million multiplies, 23.01136 million adds) per second
  • Framebuffer: 320×192, double-buffered, 30 FPS, 60 KB (dual 30 KB) buffers in FPM DRAM (1.8432 MB/s, 1.8432 MHz DSP cycles), 30 KB buffer in Mega Drive VRAM (921.6 KB/s DMA transfer, equivalent to 2.7648 MHz DSP cycles), 4.608 MHz DSP cycles for framebuffer
  • 3D polygon T&L geometry calculations: 40,000 polygons/sec[18]
  • 3D flat shading:[n 1]
    • 8×16 (128-pixel) polygons: 20,000 polygons/sec[n 2]
    • 16×32 (512-pixel) polygons: 10,000 polygons/sec[n 3]
    • Virtua Racing: 9000 polygons/sec[23]
  • 3D texture mapping: 3000 polygons/sec (8×16 texel textures)[24]
Memory
  • Memory: 2179 KB (2.128 MB)[13]
  • RAM bandwidth:
    • FPM DRAM: 34.679066 MB/sec (16-bit, 18.181818 MHz, 55ns cycles, 80ns access)[16][17]
    • SRAM cache: 92.04544 MB/sec (32-bit, dual 16-bit banks,[14][22] 23.01136 MHz, 43ns)[13][14]

Region encoding

The majority of home consoles usually see the platform holder choose to either apply strict region encoding to their systems, or to avoid the practise altogether. The Mega Drive is different in that some games are region locked, while others are region free.

In an attempt to control Mega Drive content, Sega invented the TradeMark Security System (TMSS), officially documented as early as 1989 but not truly enforced until late 1992. TMSS was designed to stop Japanese software from running on Western "export" consoles, although was not implemented in any console produced prior to 1991, and became more of an anti-piracy measure than a means of region locking.

As most Japanese games cannot physically fit in a Western system (or vice versa), this was perhaps presumed sufficient in the early days of the system's lifespan. However some Mega Drive variants will accept both Western and Japanese games without modifications, so those serious about region encoding were forced to implement it in software. Support for the feature is mixed - some publishers such as Konami usually implemented region locking in full, while others such as Electronic Arts usually ignored it altogether. The Japanese version of Namco's Rolling Thunder 2 was reporetedly the first Mega Drive game to be region locked[25].

Whether a message is displayed was also up to the developer. The majority of region locked games state which type of Mega Drive is needed, however some publishers such as Virgin Interactive are more vague, and Konami games simply display the Konami logo. Others such as Zoop show only a blank screen.

Other games will adapt to the hardware detected. For example, if Sonic the Hedgehog 2 detects a Japanese machine, all instances of "TAILS" will be replaced with "MILES".

Virtually all games produced prior to 1993 (as do many made since) will run on any console. The following lists games known to have compatibility issues when played in the "wrong" region (although in rare cases, Game Genie or Action Replay codes can alleviate some of the problems).

NTSC-J consoles

Locked

Known issues

NTSC-U consoles

Locked

Known issues

PAL consoles

Locked

Known issues

PAL optimisations

Mega Drive consoles sold officially in PAL regions are adapted to the differing video standard. PAL offers a 50Hz screen refresh rate but the possibility of a higher resolution 320x240 display, while NTSC refreshes at 60Hz and typically offers a maximum resolution of 320x224 (exceptions include games which make use of the "interlaced" screen mode - Sonic the Hedgehog 2 and Combat Cars).

If a game designed for an NTSC unit is run on a PAL machine, the difference in refresh rate means the game will run 17.5% slower and will have extra horizontal borders surrounding the top and bottom of the image. Knowing this, some developers (particularly those based in Europe) chose to optimise their games for PAL regions, typically by speeding up the music and gameplay. On rare cases this also meant utilising the extra 16 rows of pixels.

Unlike newer consoles such as the Sega Dreamcast, the Mega Drive does not natively support any PAL60 modes. It is not, however, uncommon to see modified hardware to circumvent these issues.

Fully optimised

Partially optimised

NTSC optimisations

Though rare, some NTSC Mega Drive games, typically those which originated in Europe, were not optimised for the hardware and so run faster than they should:

  1. 1.0 1.1 Truxton (Tatsujin in Japan) pre-dates the release of a PAL Mega Drive, yet is more faithful to the arcade game in 50Hz.

References

  1. 2010's Sega Mega Drive RPG Pier Solar coming to Xbox 360, PC and Mac in HD, Eurogamer
  2. SSFII Genesis Technical Information (2000-07-26)
  3. MegaDrive/Genesis Pinouts
  4. 4.0 4.1 Second Dimension R&T DxS-GEN24STH-01
  5. ROM Part Numbers
  6. File:MB834200A datasheet.pdf
  7. 7.0 7.1 File:MB838200B datasheet.pdf
  8. Ben Heck’s 16-Bit Console Wars! (6:07) (The Ben Heck Show)
  9. File:M27C322 datasheet.pdf
  10. File:CVG UK 150.pdf, page 50
  11. File:GamePro US 057.pdf, page 160
  12. 12.0 12.1 12.2 12.3 12.4 SVP Reference Guide (2008-02-06)
  13. 13.0 13.1 13.2 13.3 SVP documentation (2014-09-23)
  14. 14.0 14.1 14.2 14.3 14.4 14.5 14.6 File:SSP1601 datasheet.pdf
  15. 15.0 15.1 Sega's SVP Chip: The Road Not Taken
  16. 16.0 16.1 Virtua Racing (Euro)
  17. 17.0 17.1 File:TC511664B datasheet.pdf
  18. [501 cycles/polygon (213 multiplies/polygon, 9 divides/polygon), 32 cycles per divide 501 cycles/polygon (213 multiplies/polygon, 9 divides/polygon), 32 cycles per divide]
  19. Algorithms for Parallel Polygon Rendering (pages 33-36)
  20. Transformation Of Rendering Algorithms For Hardware Implementation (page 53)
  21. Algorithms for Parallel Polygon Rendering (page 35)
  22. 22.0 22.1 22.2 SVP Register Guide (2008-02-06)
  23. Virtua Racing (IGN)
  24. [5477 cycles per 8×16 texel polygon (4642 cycles texture mapping per 8×16 texel polygon)
      • 258 cycles per 8×16 texel texture: 2 block moves, 2 cycles per texel (1 byte per texel), 2 cycles access
      • 4384 divide cycles per 8×16 texel polygon: 73 divides per 8×8 texel polygon, 288 vertex divide cycles per polygon (9 divides per polygon), 4096 texel divide cycles per 8×16 texel polygon (128 divides, 1 divide per texel) 5477 cycles per 8×16 texel polygon (4642 cycles texture mapping per 8×16 texel polygon)
      • 258 cycles per 8×16 texel texture: 2 block moves, 2 cycles per texel (1 byte per texel), 2 cycles access
      • 4384 divide cycles per 8×16 texel polygon: 73 divides per 8×8 texel polygon, 288 vertex divide cycles per polygon (9 divides per polygon), 4096 texel divide cycles per 8×16 texel polygon (128 divides, 1 divide per texel)]
  25. File:SegaPro UK 03.pdf, page 67


Sega Mega Drive
Topics Technical specifications (Hardware comparison) | History | List of games | Magazine articles | Promotional material | Merchandise | Cartridges | TradeMark Security System
Hardware Japan | North America | Western Europe | Eastern Europe | South America | Asia | South Korea | Australasia | Africa
EZ Games | Genesis 3 | LaserActive | Mega Jet | Mega PC | Mega Play | Mega-Tech System | Mega 6 | Nomad | Teradrive | Mega Drive Mini | Mega Drive Mini 2
New Mega Drive | Tianli VCD/DVD Players | "Consoles on a chip" | Licensed clones (Magic 2 | Mega Game II | Power Pegasus | Super Bitman)
Unlicensed clones
Add-ons Game Box | Power Base Converter | Mega-CD | 32X (Mega-CD 32X) | Mega Modem | Demo System DS-16
Cases Sega Genesis Nomad Carrying Case | System Carry Case
Controllers Control Pad | Six Button Control Pad | 6 Button Arcade Pad | Arcade Power Stick 6B | Konami Justifier | MK-1470
Action Chair | Activator | Arcade Power Stick | Keyboard | MegaFire | Mouse | Mega Stick | Menacer | Remote Arcade System | Ten Key Pad | Third Party Controllers
Accessories 4 Way Play | AC adaptor | Cleaning System | Control Pad Extension Cord | Game Factory | Genesis Speakers | Headset | HeartBeat Catalyst | Microphone | Region converter cartridges | Mega Terminal | Nomad PowerBack | RF Unit | SCART Cable | Stereo Audio Video Cable | Team Player | Video Monitor Cable | Third-party AC adaptors | Third Party Accessories
Network services Sega Channel | Sega Game Toshokan | Mega Anser | Mega Net | TeleBradesco Residência | XB∀ND
Development tools ERX 308P | ERX 318P | Sprobe | SNASM68K | SNASM2 (Mega Drive) | SNASM2 (32X) | PSY-Q Development System (Mega Drive) | PSY-Q Development System (32X) | 32X CartDev | Sega Mars Development Aid System | Sega 32X Development Target
Unreleased Edge 16 | Floppy Disk Drive | Mega Play 1010 | Sega VR | Teleplay System | Video Jukebox


Cite error: <ref> tags exist for a group named "n", but no corresponding <references group="n"/> tag was found, or a closing </ref> is missing