PDA

View Full Version : [Mega Drive]I made some Z80 code...but...I dunno



segaloco
01-31-2010, 08:33 PM
psginit:
ld A, F9H
ld (7F11H), A

whitenoise:
ld A, E6H
ld (7F11H), A
jp whitenoise

This is supposed to just generate white noise through the PSG on the Mega Drive, what is missing? Is there some Z80 init code that it needs, like the vector table on the M68000? Any help would be greatly appreciated.:pray:

TmEE
02-01-2010, 01:54 AM
the code seems right, but the you keep on writing the 2nd byte and it might have something to do with your problem.... also, Spritesmind is better place to ask MD questions.

segaloco
02-01-2010, 07:08 PM
Ah, I will try again then. I registered over at Sega Xtreme, so I will just ask there.