YM2612: Difference between revisions

From MegaDrive Development Wiki
Jump to navigation Jump to search
(Created page with "=Port= ==Writing== {|class="regdef" |'''Description''' |'''Zone''' |'''Address''' |- |rowspan="2"|Part I address (A0) |Z80 |$4000 |- |M68K |$A04000 |- |rowspan="2"|Part I ad...")
 
mNo edit summary
Line 1: Line 1:
=Port=
==Registers==


==Writing==
[[YM2612 Registers]]
 
==Port==
 
===Writing===


{|class="regdef"
{|class="regdef"
Line 37: Line 41:
|}
|}


==Reading==
===Reading===


Reading from any of the port will return the status register.
Reading from any of the port will return the status register.

Revision as of 01:25, 4 August 2012

Registers

YM2612 Registers

Port

Writing

Description Zone Address
Part I address (A0) Z80 $4000
M68K $A04000
Part I address (D0) Z80 $4001
M68K $A04001
Part I address (A1) Z80 $4002
M68K $A04002
Part I address (D1) Z80 $4003
M68K $A04003

Reading

Reading from any of the port will return the status register.

Bit 7 6 5 4 3 2 1 0
Def 1 : Busy

0 : Ready for new data

Unused 1 : Timer A Overflow

0 : Not overflow

1 : Timer B Overflow

0 : Not overflow