Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user eightbitswide ! (Registered 2024-12-24) You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > How to disable default charsets in bank 0 and 2
2006-01-07 13:18
MRT
Account closed

Registered: Sep 2005
Posts: 149
How to disable default charsets in bank 0 and 2

Is there any way to disable the default charsets in video bank 0 and 2?

A similar question would be... Are al interlaced fli images put in bank 1 and 3?

I mean... for a normal fullscreen fli image you allready need $2000 for the bitmap data and $400 * 8 = $2000 for all the fli color data. Totals $4000, which is exactly the size of one video bank.

So, if you would do this interlaced then you would need two of these video banks, because you have to switch banks every rasterline and flip banks every frame.

So, two complete video banks are needed... Isn't it possible to use... say, bank 1 and 2 ($4000-$7fff and $8000-$bfff)?

Or are all interlaced fli images put at $4000-$7fff and $c000-$ffff???
And if so... Can you still use the last two bytes (sprite pointer registers OR bitmapdata in case of fli) as IRQ vectors??

Questions, questions... so many questions, so few answers... ;-)
 
... 20 posts hidden. Click here to view all posts....
 
2006-01-11 15:28
JackAsser

Registered: Jun 2002
Posts: 2014
@WVL: Exactly what Graham said... and what I also mentioned in my post in the timer interrupt thread. =)
2006-01-11 15:35
MRT
Account closed

Registered: Sep 2005
Posts: 149
Quote: @WVL: $FFFE/$FFFF is displayed if you do VSP/AGSP stuff :)

What is VSP/AGSP stuff???

Do you mean opening the borders? That would display the $ffff byte when the VIC bank is set to 3
2006-01-11 15:59
Oswald

Registered: Apr 2002
Posts: 5094
$fffe also can be displayed in a sprite

just my 2 smartass cents :D
2006-01-11 16:13
WVL

Registered: Mar 2002
Posts: 902
Quote: $fffe also can be displayed in a sprite

just my 2 smartass cents :D


to be even an übernerd smartass : $ffff can also be displayed in a sprite if you use dirty spritecrunching techniques.. yuck :)

@ graham : ofcourse I was talking about a normal FLI screen :).. tell me about all those problems with sprite-pointers showing up as colors.. blllrrr!! that's even way more horrific than $fffe/$ffff problems..

btw, you can easily-peasily solve $fffe/$ffff by using $0314/$0315 :)
2006-01-12 11:14
Copyfault

Registered: Dec 2001
Posts: 478
Quote: "If this works (it should!) we could do some quatrolace-FLI-Pics (and let our eyes bleed, yeah)."

Fullscreen??? And where would you put your code then??? ;-)


If we're speaking about a "normal" FLI (without any VSP/AGSP-whatsoever-action), you have $c0 bytes at the end of each bitmap - this should be enough for an FLI-routine, even if it utilizes all four banks. A little bit more complicated is to use the mem around $0000-$0200 as the stack and the data direction reg is mapped there...

But basically it works. Just set $DE00 to #$0b before the FLI starts and reset it to #$08 after it (or take care of the IRQ-vectors as set by the RetroReplay), and u can use all of the RAM for the VIC. Note that your FLI_rout must run in some mem_location < $1000, as this is the only available RAM during Ultimax. Should work on AR, too, though I didn't test it.
2006-01-12 13:40
chatGPZ

Registered: Dec 2001
Posts: 11386
mmmh that said, the compo machine on BP will have a retro replay....go and write a demo that exploits that feature :=P
2006-01-12 16:33
Ninja

Registered: Jan 2002
Posts: 411
@smartass WVL: $3f means always end of sprite, even when sprite-crunching, no? ;)
2006-01-12 18:28
JackAsser

Registered: Jun 2002
Posts: 2014
@ninja: if byte $3e (starting with $00) is detected on the third byte on a sprite line, then it's considered complete and will finish, otherwise it will just continue ALWAYS (cheap ass sprite multiplexing).

Perhaps it was this you meant considering you above all people should know this, considering the part in Darwin. =)
2006-01-13 10:02
Ninja

Registered: Jan 2002
Posts: 411
The problem with extreme smartassing is that you sometimes don't see the woods because of so many trees ;)
2006-01-13 10:17
WVL

Registered: Mar 2002
Posts: 902
Quote: The problem with extreme smartassing is that you sometimes don't see the woods because of so many trees ;)


:D
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
Skate/Plush
Sulevi/Virtual Dreams
Magic/Nah-Kolor
Jazzcat/Onslaught
Stryyker/Tide
Guests online: 75
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 X-Mas Demo 2024  (9.5)
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.176 sec.