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 19:18
Digger

Registered: Mar 2005
Posts: 421
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: 1289
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: 1819
Just to add to the examples above: Jim Slim +8H +ROTFL +PW also uses VSP.
2017-01-18 20:31
algorithm

Registered: May 2002
Posts: 702
Also Phobia by ratt used vsp. Great graphics, what a hard game it was however.
2017-01-18 20:53
Hein

Registered: Apr 2004
Posts: 933
Quote: Also Phobia by ratt used vsp. Great graphics, what a hard game it was however.

Thanks for the tip, looks very cool. Hadn't seen it before.
2017-01-18 21:22
Jammer

Registered: Nov 2002
Posts: 1289
Ok, I figured out it's 49/50th line where magic happens ;)
2017-01-18 21:50
Oswald

Registered: Apr 2002
Posts: 5017
Quote: Only the first badline if it's full-screen. Not each badline.

afaik, VSP can only be done on an idle line, that is either top / bottom border, or tear yourself one with "fld".

caused me big headaches when I wanted a vsp also in the middle of the screen.

basically its a dec/inc d011 iirc, and the horizontal timing of it is where the first screen column should start (or offsetted if you want) around where the dec happens will be column 0.
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
Paladin/G★P
CA$H/TRiAD
Toxic/Code7
Matt
rambo/Therapy/ Resou..
Guests online: 177
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.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (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 Diskmag Editors
1 Jazzcat  (9.4)
2 Magic  (9.4)
3 hedning  (9.2)
4 Newscopy  (9.1)
5 Elwix  (9.1)

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