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 > Need help with coding VSP
2009-03-10 18:19
Nitro
Account closed

Registered: Aug 2008
Posts: 13
Need help with coding VSP

Hi there
I have a problem with coding a VSP routine, I can program it, but I can't remove the first or last(depending on how do I code it) line corruption problem. Searching this forum gives nothing but a clue to use linecrunch, sadly I don't know that technique :/
If anyone could help me I would be very grateful - there are three days to Forever and BS little prod isn't finished due to problems with this routine.
Here's my source code:
http://paste-it.net/public/t8b9ccd/
And here's pic, how it looks:
http://img.saaki.net/out.php/i6529_vsp.JPG
2009-03-10 19:31
Danzig

Registered: Jun 2002
Posts: 440
try fill 0x07e8 0x07ff with 0x20
2009-03-10 20:02
JackAsser

Registered: Jun 2002
Posts: 2014
Quote: Hi there
I have a problem with coding a VSP routine, I can program it, but I can't remove the first or last(depending on how do I code it) line corruption problem. Searching this forum gives nothing but a clue to use linecrunch, sadly I don't know that technique :/
If anyone could help me I would be very grateful - there are three days to Forever and BS little prod isn't finished due to problems with this routine.
Here's my source code:
http://paste-it.net/public/t8b9ccd/
And here's pic, how it looks:
http://img.saaki.net/out.php/i6529_vsp.JPG


What u have now is correct. The stuff you see lowest are the chars located at +1000 - +1023 for both the screen and the d800 area. So, simply, like Danzig said, clear that area.
2009-03-10 20:15
yago

Registered: May 2002
Posts: 333
You can also put the vic2 into an illegal mode (e.g. mcm=1,ecm=1), to cover the bugs with a black area.
2009-03-10 20:47
Mace

Registered: May 2002
Posts: 1799
That was very clear code.
Thanks.
I ripped it :-)
2009-03-10 20:53
Frantic

Registered: Mar 2003
Posts: 1648
Don't hesitate to put this code up on http://codebase64.org, once it works! :)

Short examples like this are always useful as instruction...

//FTC
2009-03-12 03:57
Martin Piper

Registered: Nov 2007
Posts: 722
There is some VSP code already at http://codebase64.org/doku.php?id=base:horizontal_screen_positi..
Although it isn't well commented or tidy.
2009-03-12 14:59
Nitro
Account closed

Registered: Aug 2008
Posts: 13
Thanks for help, now I Understand what is happening when doing the VSP. Last line, which data is read by VIC in strange way is still unusable for me, because of using fast pixel plotting, in other scenarios there are no problem to get it to work. Once again thanks.
Quote:
Don't hesitate to put this code up on http://codebase64.org, once it works! :)

Short examples like this are always useful as instruction...

//FTC

I'll put it when I'll be back from Forever.
2009-03-15 13:13
Martin Piper

Registered: Nov 2007
Posts: 722
I've updated the code at the codebase link to something more documented.
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
DeMOSic/MS^LSD^ONS
theK/ATL
Mike
Andy/AEG
kbs/Pht/Lxt
Tom/TRS
Acidchild/Padua
megasoftargentina
Jason Page/MSL
Tom-Cat/Nostalgia
Guests online: 111
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 No Listen  (9.6)
2 Layers  (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 Censor Design  (9.3)
5 Triad  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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