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 > CSDb Discussions > Games that use VSP
2017-01-15 13:39
Comos

Registered: May 2004
Posts: 71
Games that use VSP

Firts of all, I wanted to start this thread as a small research,coz during the years I encountered few game titles,that keeps crashing for a not well reason to me,but regarding VSP and especially VSP bug,that few years back was discovered seems it might have an explanation.

Here are titles, that Im aware of,that might use this technique,because of in game random crashes.

Creatures 1,Mayhem in Monsterland, Fred's Back 4

Creatures 1

Crashes mostly during starting of the game,when the screen scrolled horizontaly from right to left.Usually when I pass this, the game runs okay.

Mayhem in Monsterland

Besides, that the use of VSP is well known here I guess, this game crashes rarely during the character movement,atleast in my case.

Fred's Back 4 (Fred's in Troubles)

Maybe it's also related to whole Fred's Back series,but mostly I had problem with the last one.20 years ago,when I played this game, the game crashed for me everytime at the same level at the same place so I considered it as a bad swapper's copy.20 years later,when I wanted to try to finish the game,I tried again the AVT crack,that I had from the beginning,but a copy from csdb,but this time, the game crashed allmost immediately when the first level got loaded.I tested several other cracks,but had the same result.WTF?

The possibilities like kill cart,remove cart, remove everything have been considered,but still no luck.
Does anyone had similar issues or knows more games,that might crash?
 
... 13 posts hidden. Click here to view all posts....
 
2017-01-18 17:10
Jammer

Registered: Nov 2002
Posts: 1288
Yeah, I know what happens exactly in parallax ;) It's just such complex areas initially seemed to me like serious rastertime and charbook overhead (but still to be handled in one frame apparently) ;)
2017-01-18 18:47
Hein

Registered: Apr 2004
Posts: 933
There are 3 frames available for updating the dubbel screen buffer, then 1 frame for updating the color ram. Quite doable, even rolled up, if the game screen isn't too high. Both Flimbo and Hawkeye don't have a multiplexer and sorting to do. H2 does have all that AND other cool features. So yeh, VSP is a good option to help with the fast 50fps scrolling.
2017-01-18 19:00
White Flame

Registered: Sep 2002
Posts: 136
Quoting Hein
Ah, my bad. I mixed up two discussions with Mario then.

It could be that they discussed or attempted VSP internally, before the GTW version that was eventually distributed, so you might not be wrong.
2017-01-18 19:07
Jammer

Registered: Nov 2002
Posts: 1288
Just for the record - VSP has to be updated every 8th line, right? :)
2017-01-18 19:18
Digger

Registered: Mar 2005
Posts: 420
Quote: Just for the record - VSP has to be updated every 8th line, right? :)

Nope. You only need to trigger it once :) You basically trick the VIC with changing $d011 on the right cycle, depending on the desired offset. Check out LFT's thread New VSP discovery
2017-01-18 19:19
Hein

Registered: Apr 2004
Posts: 933
Only the first badline if it's full-screen. Not each badline.
2017-01-18 19:20
Scan

Registered: Dec 2015
Posts: 110
@Jammer: No, only at the beginning of where you want to trigger the VSP effect. Only drawback is that 3 weird blocks appear which you need to mask out (in Insert Name Here I did it using an invalid graphics mode, but sprites could be used as well, I guess). Here's a screenshot of a work in progress phase. The three blocks could be masked black (the lower 4 bits of the next instruction after VSP triggering determine the color, a cpx #$00 would have it turned black). Unfortunately I also triggered redrawing the last line. Since I didn't know how to cope with it I decided to mask it out using the invalid graphics mode described above.)


2017-01-18 19:27
Jammer

Registered: Nov 2002
Posts: 1288
Thx guys! I was curious being rather unsuccessful with oneshot triggering myself ;)
2017-01-18 20:18
JackAsser

Registered: Jun 2002
Posts: 1987
@scan: normally you'd line crunch away that first row of chars with a simple inc $d011 immediatly after the dec $d011 you did to start the vsp. Then mask the single line of pixels under the upper border
2017-01-18 20:25
Count Zero

Registered: Jan 2003
Posts: 1810
Just to add to the examples above: Jim Slim +8H +ROTFL +PW also uses VSP.
Previous - 1 | 2 | 3 - 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
iAN CooG/HVSC
Sentinel/Excess/TREX
Mihai
St0rmfr0nt/Quantum
CommodoreBlog
Impetigo/Crescent
Andy/AEG
Scrap/Genesis Project
Mr. SID
icon/The Silents, Sp..
Brittle/Dentifrice^(?)
CA$H/TRiAD
Guests online: 379
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.8)
4 Acidchild  (9.7)
5 Starlight  (9.6)

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