Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user maak ! (Registered 2024-04-18) 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: 465
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: 5017
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: 3034
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: 11101
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
Dr. Doom/RAD
Didi/Laxity
Endurion
Guests online: 82
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.8)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 Wafer Demo  (9.5)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Onscreen 5k  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.5)
2 Black Beard  (9.4)
3 hedning  (9.2)
4 Baracuda  (9.1)
5 Irata  (8.5)

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