Difference between revisions of "Sega Mega Drive/Quirks"

From Sega Retro

(Moved to Sega Retro on request.)
 
(→‎TAS instruction support: Games that use TAS and hence break on Genesis 3)
Line 13: Line 13:
 
* Emulators that do not implement TAS: Probably all.
 
* Emulators that do not implement TAS: Probably all.
 
* Emulators that do implement TAS: '''Unknown'''
 
* Emulators that do implement TAS: '''Unknown'''
 +
 +
Games that use the TAS instruction:
 +
* [[Gargoyles]] by Buena Vista Interactive
 +
* [[Ex-Mutants]] by Sega
  
 
[[Category:Sonic Community Hacking Guide]]
 
[[Category:Sonic Community Hacking Guide]]

Revision as of 00:47, 28 December 2010

This is a list of several MD hardware quirks that don't exactly fit in any other categories.

CLR on VDP data port

If the VDP is set to VRAM/CRAM/VSRAM Write, using the clr instruction on the VDP data port will result in a system crash: clr.w $C00000 This is because the clr instruction is treated as a Read-Modify-Write instruction on the MC68000 and MC68008 CPUs. The CPU first attempts to read the value located at $C00000, but the VDP's in data write mode, so the system hangs. This was fixed in the MC68010 CPU, which does not read the address before writing 0.

  • Emulators that implement this quirk: Unknown

TAS instruction support

The MC68000 has an instruction, TAS (test-and-set), that is used for synchronizing multiple MC68000s in a multi-CPU system. The TAS instruction uses a different bus cycle than other instructions, and isn't supported by either the MD1 or MD2 hardware. However, the Majesco Genesis 3 does support TAS, which breaks a few games that incorrectly use the TAS instruction.

  • Emulators that do not implement TAS: Probably all.
  • Emulators that do implement TAS: Unknown

Games that use the TAS instruction: