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 > Why does the border collapse when you reset
2019-03-29 09:23
Bones99

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

Registered: Apr 2002
Posts: 2980
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
Brittle/Dentifrice^(?)
Freeze/Blazon
rexbeng
e5frog
Krill/Plush
Guests online: 81
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 Party Elk 2  (9.6)
4 Cubic Dream  (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 Logo Graphicians
1 t0m3000  (10)
2 Sander  (9.8)
3 Mermaid  (9.5)
4 Facet  (9.4)
5 Shine  (9.4)

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