Mr. SID
Registered: Jan 2003 Posts: 421 |
It's dynamic, it sucks.
Search for the second occurence of 9D 00 D4
The three bytes before that are e.g. B9 XX YY
Take YYXX and add $0080, that's the base of the freq lo-byte table.
Add $0060 to get to the freq hi-byte table (that one should start with 01 01 01 01).
Patch it for NTSC to this:
FreqLo:
$0c,$1c,$2d,$3f,$52,$66,$7b,$92,$aa,$c3,$de,$fa,$18,$38,$5a,$7e
$a4,$cc,$f7,$24,$54,$86,$bc,$f5,$31,$71,$b5,$fc,$48,$98,$ee,$48
$a9,$0d,$79,$ea,$62,$e2,$6a,$f8,$90,$30,$dc,$90,$52,$1a,$f2,$d4
$c4,$c4,$d4,$f0,$20,$60,$b8,$20,$a4,$34,$e4,$a8,$88,$88,$a8,$e0
$40,$c0,$70,$40,$48,$68,$c8,$50,$10,$10,$50,$c0,$80,$80,$e0,$80
$90,$d0,$90,$a0,$20,$20,$a0,$80,$00,$00,$c0,$00,$20,$a0,$20,$40
FreqHi:
$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$02,$02,$02,$02
$02,$02,$02,$03,$03,$03,$03,$03,$04,$04,$04,$04,$05,$05,$05,$06
$06,$07,$07,$07,$08,$08,$09,$09,$0a,$0b,$0b,$0c,$0d,$0e,$0e,$0f
$10,$11,$12,$13,$15,$16,$17,$19,$1a,$1c,$1d,$1f,$21,$23,$25,$27
$2a,$2c,$2f,$32,$35,$38,$3b,$3f,$43,$47,$4b,$4f,$54,$59,$5e,$64
$6a,$70,$77,$7e,$86,$8e,$96,$9f,$a9,$b3,$bd,$c9,$d5,$e1,$ef,$fd
|