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: 429
try fill 0x07e8 0x07ff with 0x20
2009-03-10 20:02
JackAsser

Registered: Jun 2002
Posts: 1989
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: 332
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: 1627
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: 634
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: 634
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
zscs
psych
Apollyon/ALD
celticdesign/G★P/M..
icon/The Silents, Sp..
Krill/Plush
MAT64
Guests online: 101
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 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Logo Graphicians
1 Sander  (10)
2 Facet  (9.7)
3 Mermaid  (9.4)
4 Pal  (9.4)
5 Shine  (9.3)

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