| |
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 |
|
| |
Danzig
Registered: Jun 2002 Posts: 440 |
try fill 0x07e8 0x07ff with 0x20 |
| |
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. |
| |
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.
|
| |
Mace
Registered: May 2002 Posts: 1799 |
That was very clear code.
Thanks.
I ripped it :-) |
| |
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 |
| |
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.
|
| |
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. |
| |
Martin Piper
Registered: Nov 2007 Posts: 722 |
I've updated the code at the codebase link to something more documented. |