News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Con

Pages: [1]
1
Programming / [solved]zsnes hdma mosaic bugs
« on: September 04, 2016, 06:32:41 am »
Hi there,

I have troubles making a hdma mosaic effect bugfree with zsnes. It is for LoZ, but I hope that people can help me with it nevertheless:


It works great with bsnes/snes9x:


But zsnes seem to not like that mosaic effect


Can somebody help me with it? Here's the patch:
http://www.filedropper.com/mosaic
Just patch a "Legond of Zelda - A Link to the Past (USA)" without header with this patch and cheat with 7e009b-F0 to enable the mosaic effect

The original author is MathOnNapkins, and I have this code sniplet, in case it helps:

Code: [Select]

    !mosaic1 = $02, $02, $02, $12, $02, $02, $02, $12, $02, $02, $02, $12, $02, $02, $02, $12
    !mosaic2 = $12, $02, $02, $02, $12, $02, $02, $02, $12, $02, $02, $02, $12, $02, $02, $02
    !mosaic3 = $02, $12, $02, $02, $02, $12, $02, $02, $02, $12, $02, $02, $02, $12, $02, $02
    !mosaic4 = $02, $02, $12, $02, $02, $02, $12, $02, $02, $02, $12, $02, $02, $02, $12, $02

Chan4TableAddrs:

dw Chan4Table0, Chan4Table0, Chan4Table0, Chan4Table0
dw Chan4Table1, Chan4Table1, Chan4Table1, Chan4Table1
dw Chan4Table2, Chan4Table2, Chan4Table2, Chan4Table2
dw Chan4Table3, Chan4Table3, Chan4Table3, Chan4Table3
dw Chan4Table0, Chan4Table0, Chan4Table0, Chan4Table0
dw Chan4Table1, Chan4Table1, Chan4Table1, Chan4Table1
dw Chan4Table2, Chan4Table2, Chan4Table2, Chan4Table2
dw Chan4Table3, Chan4Table3, Chan4Table3, Chan4Table3
   
Chan4Table0:

db $F0
db !mosaic1, !mosaic1, !mosaic1, !mosaic1
db !mosaic1, !mosaic1, !mosaic1
db $F0
db !mosaic1, !mosaic1, !mosaic1, !mosaic1
db !mosaic1, !mosaic1, !mosaic1

db $00

Chan4Table1:

db $F0
db !mosaic2, !mosaic2, !mosaic2, !mosaic2
db !mosaic2, !mosaic2, !mosaic2
db $F0
db !mosaic2, !mosaic2, !mosaic2, !mosaic2
db !mosaic2, !mosaic2, !mosaic2

db $00

Chan4Table2:

db $F0
db !mosaic3, !mosaic3, !mosaic3, !mosaic3
db !mosaic3, !mosaic3, !mosaic3
db $F0
db !mosaic3, !mosaic3, !mosaic3, !mosaic3
db !mosaic3, !mosaic3, !mosaic3

db $00

Chan4Table3:

db $F0
db !mosaic4, !mosaic4, !mosaic4, !mosaic4
db !mosaic4, !mosaic4, !mosaic4
db $F0
db !mosaic4, !mosaic4, !mosaic4, !mosaic4
db !mosaic4, !mosaic4, !mosaic4

db $00

Pages: [1]