| |
AmiDog
Registered: Mar 2003 Posts: 97 |
160x100 pixels screenmode
Is it possible to trick the VIC into displaying every line of the bitmap twice, creating a 160x100 pixels screenmode? If this is possible, can it be combined with FLI? |
|
... 10 posts hidden. Click here to view all posts.... |
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
@MRT: Monocrome bitmap are 320x200. Multiplexed monochrome spritelayer can be 160x100 using sprite HW double pixels... |
| |
MRT Account closed
Registered: Sep 2005 Posts: 149 |
Quote: @MRT: Monocrome bitmap are 320x200. Multiplexed monochrome spritelayer can be 160x100 using sprite HW double pixels...
:-)
I know dude, but that all depends on how you fill the pixels. Just fill 'm up with 2x2 pixels and you're done.
Depending on what you want to do, you could also make it fli every 2nd line, and swap front/back colors to switch 2x2 pixels on and off...
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
@mrt: of course an expanded sprite layer is easier and cheaper to pixel in than an every 2nd line fli bitmap layer, don't you think? (assuming monochrome pixels) :D |
| |
Jetboy
Registered: Jul 2006 Posts: 337 |
And with multicolor y expanded sprites you can get 92x100(or more verticaly) in 4 colours.
All depends what you need it for... |
| |
Melkor Account closed
Registered: Apr 2006 Posts: 11 |
Quoting JackAsser@Melkor: Sorry but no. What they mean is that when VCBASE isn't incremented the next char row (8 lines) is a copy of the first. If VCBASE IS increased then you get a new char row. The only possible bitmap stretching/line repeating is to repeat line 7 of each char row.
Aha. I see. That makes sence. I tought thats what FLD did but i guess FLD only creates a empty line then?
If i have graphics on the screen and i remove the 2nd badline i get a 1 pixel gap between the first and second char rows, is that how it works? |
| |
enthusi
Registered: May 2004 Posts: 677 |
heh, I remember that I was a bit shocked when I realized 'how much more complex' a strecher is compared to FLD...
|
| |
Radiant
Registered: Sep 2004 Posts: 639 |
MRT: Sprites are way easier than doing FLI, and leave more free raster time. Only problem there is timing the Y multiplexing and sprite data switch, but that's not too hard either. Using FLI for monochrome 2x2 gfx is just a waste of cycles and coding time.
EDIT: And a normal bitmap consumes way more memory than a layer of sprites. :-) |
| |
Jetboy
Registered: Jul 2006 Posts: 337 |
But for bitmap its easier to calculate actual byte you need to change for given coordinates.
And for sprites, if you start each sprite one (two in that case)line later than you need only change one sprite per raster line. Of course you waste some sprite gfx, and you make calcualting actual byte to set pixel even harder in this way.
Sprite alignment:
111
111222
111222333
|
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
lol, well I think amidog was looking for a 'real' 160x100 mode. However we dont have such. IMHO the most simple way of this is only update every 2nd line of the gfx, and voila you have it for nothing. :D
But besides what I have used in a zillion of effects: update alternatively the odd and even pixel rows of your effects, and voila it looks like a full 200 lines high fx, and you even have a neat motion blur like extra effect :) Cheap, effective, you get twice the gfx updated for almost free. |
| |
MRT Account closed
Registered: Sep 2005 Posts: 149 |
Oswald... You cheat you... ;-) |
Previous - 1 | 2 - Next |