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


Forums > C64 Coding > Why does the border collapse when you reset
2019-03-29 09:23
Bones99

Registered: May 2005
Posts: 29
Why does the border collapse when you reset

Silly question maybe, but I'm curious.

Why does the horizontal border collapse when you reset or sys64738 ?

It just sounds like something that might have an interesting story behind it :P
2019-03-29 09:55
Krill

Registered: Apr 2002
Posts: 2825
Mostly guessing here, somebody might have primary sources.

Referring to http://unusedino.de/ec64/technical/aay/c64/romfce2.htm and http://unusedino.de/ec64/technical/aay/c64/vic22.htm, it looks like $d016 was supposed to be set to $ff early on, and bit 5 is described as "Reset-Bit: 1 = Stop VIC (no Video Out, no RAM refresh, no bus access)".

Now, the latter is only true for very early (pre-release) VIC-II models, if stories that bit 5 ever really did anything are to be believed.

Turning off VIC action during reset might have sped up the initialisation phase, but i guess being able to disable RAM refresh from software was considered a bad idea soon after, if only for the RAM check at start-up.

Then, however, $d016 is not set to $ff but to whatever the cartridge check at http://unusedino.de/ec64/technical/aay/c64/romfd02.htm (which might have been added later) leaves in the X register, and that would be anything in 1..5, all of which leave bit 3 at 0, disabling 40-column display and collapsing the sideborders.

So i guess it's mostly a don't-really-care thing, and that Commodore engineers early on got used to the reset "effect" so much they might not even have noticed while working hard until the extremely tight release deadline.

Edit: Or they deliberately left it at collapsing as an easy sign to see whether the reset has been issued while the RAM check delays the "READY." prompt quite a bit.
2019-03-29 11:06
Oswald

Registered: Apr 2002
Posts: 5017
first I thought the border gets opened as its display "collapses" :)
2019-03-29 11:15
Krill

Registered: Apr 2002
Posts: 2825
Nope. Now get back to finding the global border disable bit! :)
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
Fred/Channel 4
Mr SQL
Bieno/Commodore Plus
Guests online: 108
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 The Ghost  (9.6)
10 Bromance  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.9)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 Rainbow Connection  (9.5)
6 TRSAC, Gabber & Pebe..  (9.5)
7 Onscreen 5k  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Oxyron  (9.3)
2 Nostalgia  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Graphicians
1 Sulevi  (10)
2 Mirage  (9.8)
3 Lobo  (9.7)
4 Mikael  (9.7)
5 Archmage  (9.7)

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