Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > FPP - flexible pixel position
2003-02-04 15:39
Dr. Jay
Account closed

Registered: Jan 2003
Posts: 32
FPP - flexible pixel position

Anyone have a commented source example?
2003-02-04 21:55
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.
2003-02-05 20:22
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...

2003-02-06 11:59
Dr. Jay
Account closed

Registered: Jan 2003
Posts: 32
Please do so! That would be great (mail in my profile)
2006-03-10 22:12
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?
2006-03-10 22:48
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.
2011-06-30 09:59
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
2011-06-30 10:00
ferris
Account closed

Registered: May 2011
Posts: 9
...9 years later. Bahaha!
2011-06-30 10:53
CreaMD

Registered: Dec 2001
Posts: 3057
I learned how it works from some Crest demo in past. Neat idea, although kinda memory hungry.
2011-06-30 12:20
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)
2011-06-30 14:38
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Freeze/Blazon
Chesser/Blazon
Alakran_64
YPS
algorithm
Ben Breton/Absence o..
Guests online: 123
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Webmasters
1 Slaygon  (9.6)
2 Perff  (9.6)
3 Sabbi  (9.5)
4 Morpheus  (9.4)
5 CreaMD  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.041 sec.