VINT + scrollH

Hello!

before i go into deeper debugging, someone knows why the GEnny freeze when i make a scrollH during VBlank ?

Kaneda
 
i got update stuff during VBlank and i'm unable to made my prog works on the real hardware if i let this scrollH...

if i scroll H outisde, no problem...

what i do during the vblank :

- disable interrupt

- scroll

- redraw screen

- read joy

- update sprites according joy

- re enable interrupt

well...what a shame i don't have my own tototek... :(

Kaneda
 
forgot to share the info, someone points me the bug : SGCC made a clear a3, where move 0,a3 is needed...and clear write AND READ!!

it's the read at the readonly mem which made the crash

in SGCC don't use

*pw = 0;

but

register uint tmp;

tmp = 0;

*pw = tmp

Kaneda
 
Back
Top