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


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

Registered: May 2005
Posts: 27
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: 1165
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: 4377
first I thought the border gets opened as its display "collapses" :)
2019-03-29 11:15
Krill

Registered: Apr 2002
Posts: 1165
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
St0rmfr0nt/ExCeSs
DuncanTwain
Dymo/G★P
OEP
G-Force
leuat
TheEnemy/Excess/THD
Lexi
Dipswitch/Up Rough
SLC
iAN CooG/HVSC
Guests online: 57
Top Demos
1 Unboxed  (9.7)
2 Uncensored  (9.7)
3 Rivalry  (9.7)
4 Edge of Disgrace  (9.6)
5 Coma Light 13  (9.6)
6 Comaland 100%  (9.6)
7 The Shores of Reflec..  (9.6)
8 Lunatico  (9.6)
9 X Marks the Spot  (9.5)
10 Old Men in Used Cars  (9.5)
Top onefile Demos
1 Instinct  (9.7)
2 Smile to the Sky  (9.6)
3 Daah, Those Acid Pil..  (9.5)
4 Dawnfall V1.1  (9.4)
5 FMX Music Demo  (9.4)
6 Party Horse  (9.4)
7 Bad Boy  (9.4)
8 Crystal Gazer  (9.4)
9 Rewind  (9.4)
10 Pandemoniac Part 2 o..  (9.4)
Top Groups
1 Fossil  (9.9)
2 PriorArt  (9.7)
3 Oxyron  (9.5)
4 Booze Design  (9.4)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 S!R  (9.8)
3 Mr Zero Page  (9.8)
4 Mitch  (9.7)
5 Snacky  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2019
Page generated in: 0.055 sec.