Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 1, 2012 8:54:50 GMT -5
If you put in your vblank routine "hblank 0", you get a fraction of a delay. That doesn't make much sense .. as quoted from the BEX manual: Anyway .. it's very easy in pure ASM, i just don't know what the intended way of doing this in BEX is ( if there is any ).
|
|
|
Post by Mairtrus on Oct 1, 2012 8:55:26 GMT -5
Guys, you are confusing the hblank command with sleep2. HBLANK is used for setting the number+1 of scanlines drawed before an horizontal interrupt occurs.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 1, 2012 8:59:04 GMT -5
I'm not confusing anything. My Mega Drive project makes extensive use of the horizontal interrupt ( think Axelay .. but different ), so i understand how these things work ( in ASM at least ).
|
|
|
Post by Mairtrus on Oct 1, 2012 9:24:30 GMT -5
I got in now, sorry, I was the confused one Yeah, you're right, in BEX is almost impossible to do something in every one of the 224 lines. The time you have between each interrupt is really short.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 1, 2012 18:19:33 GMT -5
If you put in your vblank routine "hblank 0", you get a fraction of a delay. That doesn't make much sense .. as quoted from the BEX manual: Anyway .. it's very easy in pure ASM, i just don't know what the intended way of doing this in BEX is ( if there is any ). It worked with what he showed me for an example (though, not much else could work with it aside from working in either the hblank or vblank. It was basically this: hblank 0 hb_sub: if b = 0 then scroll down, 1 b++ else b=0 return vblank_sub: scroll2 up, 0 hblank 0 b=0 return It increased the background image by about 1.5 times, where as, in ASM code blocks, it increased it by 2 times.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 5, 2012 12:06:55 GMT -5
I had a thought. Isn't there some scroll mode that goes horizontal tile row by tile row? Something like the HSCROLL_CELL mode?
Why not fake a raster effect by scrolling individual tile rows? I bet full screen it should make for an acceptable wavy title screen effect.
|
|