HomeForumsWhat's newResources 
 
 
VINT + scrollH
Kaneda - Feb 14, 2004
 Kaneda Feb 14, 2004
Hello!

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

Kaneda

 Mask of Destiny Feb 17, 2004
Horizontal scrolling should work fine during VBlank, I do it without any problems.

 Kaneda Feb 18, 2004
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

 Kaneda Apr 6, 2004
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