Blast processing

From Sega Retro

Blast Processing was a marketing term coined by Sega to advertise the faster processing performance of the Mega Drive/Genesis. Sonic the Hedgehog 2 was the posterboy for this campaign, being faster than any other platform game at the time. The ad campaign featured commercials with races between two vehicles, with the SNES strapped to one and the Mega Drive strapped to the other.

Origins of term

<mediaplayer>File:Blast Processing Commercial.flv</mediaplayer>

According to Sega staff involved in its development and marketing, it was the high-speed DMA controller, rather than the CPU MHz, that the term was actually referring to. According to Sega of America's former technical director Scot Bayless: [1]


the PR guys interviewed me about what made the platform interesting from a technical standpoint and somewhere in there I mentioned the fact that you could just "blast data into the DAC's". Well they loved the word 'blast' and the next thing I knew Blast Processing was born.

— Scot Bayless


One of the specific DMA programming techniques he was referring to was the mid-frame palette swap, where the color could be changed every scanline, increasing the colors displayed on screen, a technique that was used in Sonic 2: [2]


Marty Franz [Sega technical director] discovered that you could do this nifty trick with the display system by hooking the scan line interrupt and firing off a DMA at just the right time. The result was that you could effectively jam data onto the graphics chip while the scan line was being drawn – which meant you could drive the DAC's with 8 bits per pixel. Assuming you could get the timing just right you could draw 256 color static images. There were all kinds of subtleties to the timing and the trick didn't work reliably on all iterations of the hardware but you could do it and it was cool as heck.

— Scot Bayless


Many of these DMA programmable techniques were originally intended by the Mega Drive's original product designer Masami Ishikawa: [3]


the sprite size could be changed to fill the whole display. It could also display the background screen behind the scrolling window and could change the color of each line. The number of available colors was limited compared to comparable arcade systems, but it could create shadows that matched each character's shape and was also capable of semi-transparency.

— Masami Ishikawa


Technical details

For more technical details on Mega Drive/Genesis, see Mega Drive: Technical specifications and Mega Drive: Blast Processing

The term was used to refer to the following technical details that gave the Mega Drive/Genesis a faster performance:

CPU

The fact that the main CPU processor was clocked over two times faster than the one in its rival product, the Super NES. Sega's Motorola 68000 processor was clocked at 7.67 MHz, compared to the 3.58 MHz clock speed of Nintendo's Ricoh 5A22 processor. However, this was slightly misleading. This idea of simply comparing CPU clock rates to determine performance, regardless of other characteristics, is commonly known as the "megahertz myth". While Nintendo's 5A22 did run slower in clock cycles per second, it would put out more instructions per clock cycle, giving it a similar MIPS (million instructions per second) performance to Sega's 68000. The 68000's faster performance came from other advantages, such as a wider 16-bit data bus (the SNES CPU had an 8-bit data bus), faster memory bus bandwidth, more registers, 32-bit instructions,[4] and shared codebase with arcade games (where the 68000 saw widespread use).

Console Sega Mega Drive / Genesis [5] Super Nintendo Entertainment System [6][7]
Main CPU Motorola 68000 Ricoh 5A22
Clock rate 7.67 MHz internal, 5.263157 MHz external 3.58 MHz internal, 2.68 MHz external
Data bus width 32-bit internal, 16-bit external 16-bit internal, 8-bit external
Internal registers 16x 32-bit registers 4x 16-bit registers, 4x 8-bit registers
Internal instruction set 16-bit, 32-bit 8-bit, 16-bit
Internal instruction rate 1.3423 MIPS (16/32-bit instructions) 1.5 MIPS (8/16-bit instructions)
External main RAM 64 KB 128 KB
External main RAM bandwidth 10.526314 MB/s,
171–204 KB access (2–3×) per frame
2.68 MB/s,
43 KB access (33%) per frame

DMA

The fact that the Sega Mega Drive's Yamaha YM7101 VDP graphics chipset had a powerful DMA controller that could handle DMA (direct memory access) operations at a faster speed than the Super Nintendo.[4] The Mega Drive/Genesis could write to VRAM during active display and VBlank,[8] and had a faster VRAM bandwidth than the SNES. The quicker DMA transfer rates and bandwidth gave the Mega Drive/Genesis a faster performance over the SNES.[7] This included a higher fillrate, higher gameplay resolution, faster scrolling, high frame-rate with many moving objects on screen, and programmable capabilities such as mid-frame palette swaps (increasing colors per scanline), direct color mode (increasing colors on screen), scaling and rotation effects, ray casting, bitmap framebuffer, and 3D polygon graphics; the stock Mega Drive hardware (without needing any enhancement chips) could render 3D polygons with a performance comparable to the Super FX enhancement chip [9][10] (itself outperformed by the Mega Drive's optional Sega Virtua Processor enhancement chip).

Console Sega Mega Drive / Genesis [5] Super Nintendo Entertainment System [6][7]
DMA controller Yamaha YM7101 VDP Ricoh 5A22
Clock rate 13.3 MHz internal, 6.711648 MHz external 3.58 MHz internal, 2.68 MHz external
Data bus width 16-bit 16-bit internal, 8-bit external
Video RAM 64 KB VRAM, 792 bytes VDP cache 64 KB VRAM, 1056 bytes PPU cache
Video RAM bandwidth 13.423296 MB/s (16-bit, 6.711648 MHz),
218–260 KB access (3–4×) per frame
7.16 MB/s (16-bit, 3.58 MHz),
116 KB access (1×) per frame
DMA transfer rate 3.21845 MB/s VRAM,
6.4369 MB/s VDP cache
2.68 MB/s
DMA transfer during active display 1.213812 MB/s VRAM,
2.427624 MB/s VDP cache
343.2 KB/s
Read fillrate 6.711648 MPixels/s (104,869 tiles/sec),
427 pixels (53 tiles) per scanline
5.369317 MPixels/s (83,895 tiles/sec),
341 pixels (42 tiles) per scanline
Write fillrate 6.4369 MPixels/s (100,576 tiles/sec)
410 pixels (51 tiles) per scanline
5.36 MPixels/s (83,750 tiles/sec),
340 pixels (42 tiles) per scanline
Write fillrate during active display 1.6384 MPixels/s (NTSC),
2.427624 MPixels/s (PAL)
686,400 pixels/s
Tile transfer during active display 37,931 tiles/sec,
753 tiles per frame
10,725 tiles/sec,
178 tiles per frame
Sprite transfer during active display 4793 sprites/sec,
80 (16×16) sprites per frame
7692 sprites/sec,
128 (8×8) sprites per frame
Sprite read fillrate 4.90887 MTexels/sec,
320 texels (20× 16×16 sprites) per scanline
4.030947 MTexels/s,
256 texels (32× 8×8 sprites) per scanline
Sprite write fillrate during active display 1.6384–2.427624 MTexels/sec,
27,341–48,243 texels per frame
686,400 texels/sec,
11,421 texels per frame
Direct color mode 256–512 colors on screen 256–512 colors on screen
Maximum color palette 1536 colors (Shadow/Highlight mode) 32,768 colors
3D polygon geometry 3333 polygons/sec (no enhancement),
9000 polygons/sec (Sega Virtua Processor)
<100 polygons/sec (no enhancement),
<1000 polygons/sec (Super FX)
3D polygon rendering 1500 polygons/sec (no enhancement),
9000 polygons/sec (Sega Virtua Processor)
<100 poygons/sec (no enhancement),
<1000 polygons/sec (Super FX)

References

External links