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 > $39FF instead of $3FFF as alternative bit-pattern for open border
2016-10-11 12:28
YPS

Registered: Oct 2012
Posts: 5
$39FF instead of $3FFF as alternative bit-pattern for open border

I thought it's ALWAYS the last byte of the VIC-bank, that is displayed in the open border area (upper and lower).
But with "Extended Backgroundcolor Mode" on, the value of $39FF (of the VIC-Bank) is shown instead.
A usecase might be, that you can use all spritepointer together with the highest videoram - with "Extended Backgroundcolor Mode" off, the pointer of sprite 7 would be displayed as garbage in the border. Of course, there are solutions to avoid this, but maybe someone else find this usefull.
 
... 1 post hidden. Click here to view all posts....
 
2016-10-11 14:11
JackAsser

Registered: Jun 2002
Posts: 1987
Quote: I thought it's ALWAYS the last byte of the VIC-bank, that is displayed in the open border area (upper and lower).
But with "Extended Backgroundcolor Mode" on, the value of $39FF (of the VIC-Bank) is shown instead.
A usecase might be, that you can use all spritepointer together with the highest videoram - with "Extended Backgroundcolor Mode" off, the pointer of sprite 7 would be displayed as garbage in the border. Of course, there are solutions to avoid this, but maybe someone else find this usefull.


A classic use case is to avoid having the IRQ-pointer ($ffff) end up in the idle-pattern...

A bit off topic:
But if that still is a problem, like it was for me one time, I resorted to KERNEL-ROM pointers and put $00 in $ffff (RAM) since the VIC always read RAM but the CPU reads ROM in that case.
2016-10-11 14:41
Radiant

Registered: Sep 2004
Posts: 639
Quoting JackAsser
A bit off topic:
But if that still is a problem, like it was for me one time, I resorted to KERNEL-ROM pointers and put $00 in $ffff (RAM) since the VIC always read RAM but the CPU reads ROM in that case.

Or just put the IRQ handler in zeropage. ;-)
2016-10-11 17:30
Peiselulli

Registered: Oct 2006
Posts: 81
Or use the NMI instead ..
2016-10-11 17:43
Oswald

Registered: Apr 2002
Posts: 5007
or jmp abs on zeropage..
2016-10-11 21:46
algorithm

Registered: May 2002
Posts: 702
or in the displayed area, change $ffff to your hearts content and then when in the non visible area, change it back to the irq hi pointer. Can be useful in particular if you are not planning on exiting irq during the ghostbyte displaying.
2016-11-03 02:32
mrmedic
Account closed

Registered: Jul 2007
Posts: 4
you can trick the vblank d012 into thinking its no at the end and have full screen.

you have to put a sprite on the end , and it opens it every 12 lines. borderless c64 screen. i done it in a demo for s xpress in grimsby i used the sprites from hawkeye ( that one with the hawns ) it ran across the screen jumping over the scrollers at random times.
2016-11-03 09:02
JackAsser

Registered: Jun 2002
Posts: 1987
Quote: you can trick the vblank d012 into thinking its no at the end and have full screen.

you have to put a sprite on the end , and it opens it every 12 lines. borderless c64 screen. i done it in a demo for s xpress in grimsby i used the sprites from hawkeye ( that one with the hawns ) it ran across the screen jumping over the scrollers at random times.


Wait! What?! (Oo)
2016-11-03 09:10
chatGPZ

Registered: Dec 2001
Posts: 11088
*plop*
2016-11-04 15:10
Radiant

Registered: Sep 2004
Posts: 639
LOL!
2016-11-05 18:49
Graham
Account closed

Registered: Dec 2002
Posts: 990
ECM mode pulls two bits to 0. This is why $3FFF is pulled to $39FF.
Previous - 1 | 2 - 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
Airwolf/F4CG
jmin
icon/The Silents, Sp..
hedning/G★P
Derision/Longshot
Brittle/Dentifrice^(?)
Dymo/G★P
MAT64
CopAss/Leader
encore
Knut Clausen/SHAPE/F..
Medicus
Operator Teleksu
Guests online: 328
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 Wonderland XIV  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (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.051 sec.