| |
Dr. Jay Account closed
Registered: Jan 2003 Posts: 32 |
FPP - flexible pixel position
Anyone have a commented source example?
|
|
| |
Stryyker
Registered: Dec 2001 Posts: 468 |
Use an emulator or freeze monitor in a suitable demo part for uncommented source. FPP can have a few tricks so most won't let their methods out. |
| |
xIII Account closed
Registered: Dec 2001 Posts: 38 |
I found a great demopart featuring FPP and a lot of tricks (like stretching)... I could mail the part if u like...
|
| |
Dr. Jay Account closed
Registered: Jan 2003 Posts: 32 |
Please do so! That would be great (mail in my profile) |
| |
Stirf Account closed
Registered: May 2002 Posts: 26 |
didn't really knew fpp was flexible pixel position, but am now wondering what became out of your investigation, anything cool? |
| |
Oswald
Registered: Apr 2002 Posts: 5094 |
FPP is basically works so that with $d018 you can select which gfx line you want to display.
you need some gfx in a charset, and the screen.
1. you spread the original charset in the vicbank so, that charset #0 shows at the first byte of each char the first byte of the chars in the original charset, charset #1 shows at the first byte of each char the 2nd byte of the chars in the original charset, and so on.
2. you spread the original screen data so, that screen #0 first line holds line #0 of the original screen, screen #1 first line holds line #1 of the original screen, etc
3. you set up a fli routine, and tweak the place of the d011 write until it does stretching instead of fli.
4. now $d018 writes will select different line of your original gfx. |
| |
ferris Account closed
Registered: May 2011 Posts: 9 |
Oswald! Fucking hell!! Been trying to figure this one out for days, and finally, your explanation clears it up. Thanks :D |
| |
ferris Account closed
Registered: May 2011 Posts: 9 |
...9 years later. Bahaha! |
| |
CreaMD
Registered: Dec 2001 Posts: 3057 |
I learned how it works from some Crest demo in past. Neat idea, although kinda memory hungry. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
one essential "trick" regarding fpp is that you can do
lda #value
sta $d018
sta $dd00
(notice which bits in which register are actually used)
|
| |
ferris Account closed
Registered: May 2011 Posts: 9 |
Thanks, nice trick :) Hadn't thought of it, though it makes perfect sense. Good one! |
... 27 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 - Next |