Search results
How to implement PSG BGM in a game?
Score: 132.85 %,
Type: Forum topic , Comments: 8 comments
of IDBYT0 (address 002BH). If it’s 0 then it’s 60 Hz otherwise it’s 50 Hz. On MSX2 and up you want to read ... Again 0 = 60 Hz, 1 = 50 Hz.
Some example code (untested):
IDBYT0: equ 2BH
IDBYT2: equ 2DH
RG9SAV: equ 0FFE8H
; f <- z: 60 Hz, nz: 50 Hz
GetVDPFrequency:
ld a,(IDBYT2)
cp 1
jr ...
Mapped RAM I/O port read enable strategy
Score: 132.74 %,
Type: Forum topic , Comments: 17 comments
and responds with D2..D0 to the page number reads (Yamaha violating standard?). All other bits D7..D3 ... I can safely identify the size of mapper (3 bits) by writing 0 into the port, and happily use D7..D3 ... when reading previously written values having 0 in D5.
I am interested hearing your thoughts ...
