Z80 ERROR: Difference between revisions

From NeoGeo Development Wiki
Jump to navigation Jump to search
(Created page with "A generic error that occurs when the 68k doesn't receive a response from the Z80 when required. Command byte $01 is sent to the Z80 when its program ROM needs to be changed, suc...")
 
mNo edit summary
Line 1: Line 1:
A generic error that occurs when the 68k doesn't receive a response from the Z80 when required. Command byte $01 is sent to the Z80 when its program ROM needs to be changed, such as power-on ([[SM1]] to cart [[M1 ROM]]) or when switching the active slot (changing which cart M1 ROM is selected). This command mutes [[YM2610]] audio and jumps to an infinite loop in RAM where it is then safe to switch the Z80 program ROM.  The Z80 sends the 68k $01 right before jumping to signal that it is safe to switch.  If the $01 byte is never received, "Z80 ERROR" is displayed on screen.
A generic error that occurs when the 68k doesn't receive a response from the Z80 in time.
 
Command byte $01 is sent to the Z80 when its program ROM needs to be changed, such as at power-on (switch from onboard [[SM1]] to cart [[M1 ROM]]) or when switching the active slot (changing which cart M1 ROM is selected). This command mutes [[YM2610]] audio and jumps to an infinite loop in RAM where it is then safe to switch the Z80 program ROM.  The Z80 sends the 68k $01 right before jumping to signal that it is safe to switch.  If the $01 byte is never received, "Z80 ERROR" is displayed on screen.


==Testing==
==Testing==
Line 8: Line 10:


This board displays this error with no cart inserted since it has no SM1 to control the Z80.
This board displays this error with no cart inserted since it has no SM1 to control the Z80.
[[Category:Audio system]]

Revision as of 16:50, 13 December 2011

A generic error that occurs when the 68k doesn't receive a response from the Z80 in time.

Command byte $01 is sent to the Z80 when its program ROM needs to be changed, such as at power-on (switch from onboard SM1 to cart M1 ROM) or when switching the active slot (changing which cart M1 ROM is selected). This command mutes YM2610 audio and jumps to an infinite loop in RAM where it is then safe to switch the Z80 program ROM. The Z80 sends the 68k $01 right before jumping to signal that it is safe to switch. If the $01 byte is never received, "Z80 ERROR" is displayed on screen.

Testing

The Z80 doesn't test the SM1, its RAM or the YM2610. This error only covers bad 68k/Z80 communication, but if any of those components are bad, it can stop the Z80 from being able to reply which will then cause the error to be displayed.

MV-1C

This board displays this error with no cart inserted since it has no SM1 to control the Z80.