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: 2014
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: 5094
or jmp abs on zeropage..
2016-10-11 21:46
algorithm

Registered: May 2002
Posts: 705
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: 2014
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: 11386
*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
Flashback
Broti/DT/KRN
Alakran_64
rexbeng
Guests online: 103
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 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Rainbow Connection  (9.5)
7 Dawnfall V1.1  (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 Triad  (9.3)
5 Censor Design  (9.3)
Top Original Suppliers
1 Derbyshire Ram  (9.7)
2 Fungus  (9.3)
3 Black Beard  (9.2)
4 Baracuda  (9.2)
5 hedning  (9.1)

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