Repair & Schematics
Sega Mega-Tech Arcade

Mega Drive 68k (Sega Mega-Tech)

10min

If you are suspecting issues with the Mega Drive system and want to check the 68k operation, this guide will take you through the expected behaviour and bring-up.

Make sure to have at least one game in the slot when doing any of these tests.

68k Operation

Start with the minimum required to see some activity on the 68k

  • VCC must be 5V
  • Valid CLK pulse
  • !RESET must be high (to come out of reset)
  • !HALT must be high (to not be halted)

E signal output

With this, you should see the E pin pulsing at 767kHz. This is a free running internal clock output so should be present regardless.

Bus Control

Then next thing to look for is that the 68k is being configured for the bus control, otherwise it will not attempt to do anything.

The following all need to be true to start the 68k toggling the address bus.

  • IP0 / IP1 / IP2 must be high (stating no interrupts)
  • BERR must be high (stating no bus error)
  • !BR must be high (allowing bus control)
  • !BGACK must be high (indicating no other bus master)

If all the above is true, you should see the address pins toggle at least for a cycle, as the 68k attempts by default to read data from the data bus.

NOTE: During the first out of reset when the SMS reads the game headers, the 68k is disabled because the !BGACK is sunk low, indicating there is another bus master.

68k Pinout
68k Pinout
īģŋ

Out of Reset

When powering up, the 68k should be brought out of reset on pin 18 by the SMS while it reads game titles, then back to low held in reset, and finally released again ready to load and play games.

The reset pin is controlled by the PLA 315-5347 IC31 on pin 11.

Here is the typical reset cycle when the console is working. Note the initial short out of reset as game headers are loaded, then the permanent out of reset after.

You will also see the quick in and out of reset on the second rise. This is typical when a game successfully loads.

Document image
īģŋ

Clock

The next thing to check is you have a valid 7.67MHz clock on pin 15.

This clock should be there all the time regardless of reset or state of the system.

Address Strobe

The !AS pin 6 indicates to the 68k there is a valid address on the address bus.

68k RAM

Some basic checks that the two RAM chips for the 68k are getting controlled right during the out of reset pulse is to monitor for the following:

  • VDD is 5V
  • R/!W is 5V
  • All address pins toggle constantly during out of reset.
  • !OE toggle constantly during out of reset
  • !CE is 5V (this toggles once a game loads later on)
TC51832 Pinout
TC51832 Pinout
īģŋ

NOTE: The TC51832 can be substituted with the HM65256BLP.

Traces

Here you can check for continuity between the 68k and its RAM.

Document image
īģŋ

īģŋ