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 > 100% versions..? Party versions..? etc..?
2018-11-19 22:21
Raistlin

Registered: Mar 2007
Posts: 555
100% versions..? Party versions..? etc..?

So, I was wondering ...

Both "Delirious 11" and "X Marks the Spot" have the RESTORE key crash... and "X Marks" has a last minute glitch that crept in...

For myself I'd love to release a 100% version ... but I also kinda wouldn't - because doing so "dirties" the CSDB releases somewhat ... there'd then be something like an "X Marks Party Version" and "X Marks 100% Version" sullying the charts ........

I know Comaland had a 100% version, I can see it right now sat nicely at #2 in the charts ... but that version has more changed since the party version than what I'd likely do...

What do others think? Leave the demos alone and move on .. or go back and fix them.
 
... 48 posts hidden. Click here to view all posts....
 
2018-11-20 08:15
JackAsser

Registered: Jun 2002
Posts: 1989
@Raistilin: Just don't bother. :)
2018-11-20 10:57
Krill

Registered: Apr 2002
Posts: 2839
Quoting Oswald
also not always blockable, sometimes you want to use nmi with timers for something.
NMI usage or not, it's always possible to prevent crashes when pressing restore.
2018-11-20 11:28
ChristopherJam

Registered: Aug 2004
Posts: 1378
While we're talking about post compo patches...

Slightly improved versions released after voting closes, but before results released, for an online compo... Out of compo but still at event? Or standalone release?

(obviously I have Reutastic 100% in mind as a case in point)
2018-11-20 12:28
MagerValp

Registered: Dec 2001
Posts: 1055
I've never understood the restore protection fetish. It's the system soft reset key, of course it causes a crash if you press it at the wrong moment. Heck, make it cleanly exit to basic if you feel the need to handle it somehow.

And if you're watching a demo, why the hell would you be pressing restore?
2018-11-20 12:30
chatGPZ

Registered: Dec 2001
Posts: 11113
i like to make it "crash gracefully". ie do something silly. perhaps format the disk. or something :)
2018-11-20 13:25
Peiselulli

Registered: Oct 2006
Posts: 81
Quote: Quoting Oswald
also not always blockable, sometimes you want to use nmi with timers for something.
NMI usage or not, it's always possible to prevent crashes when pressing restore.


Only with restrictions. If you want to get the NMI stable with the timer method (NMI vector pointing to $dd04), you will have 63 different addresses in the code that could be reached, not about 10 as in normal use case. And you need also an extra check to distinguish between a timer NMI and the restore key.
2018-11-20 14:14
MagerValp

Registered: Dec 2001
Posts: 1055
It's a waste of bytes, cycles, and brainwaves that are better spent making something interesting.
2018-11-20 20:08
Krill

Registered: Apr 2002
Posts: 2839
Quoting Peiselulli
Only with restrictions. If you want to get the NMI stable with the timer method (NMI vector pointing to $dd04), you will have 63 different addresses in the code that could be reached, not about 10 as in normal use case. And you need also an extra check to distinguish between a timer NMI and the restore key.
Set CIA2 timer A period to 9 cycles and set CIA2 timer B to count 7 timer A underflows (9 cycles * 7 = 63 cycles), then let timer B trigger interrupts, NMI vector still pointing to timer A counter ($dd04).

Et voilà, one timer NMI per rasterline with only 9 interrupt handlers (maximum variance is 8 cycles). No need to check for restore (i.e., rule out the timer interrupt condition). Glitches caused by pressing restore generally aren't avoidable anyways with active NMIs, but i still maintain that crashes are.

That said, i think it's a nice touch to handle restore gracefully (you might accidentally hit it), just like hidden parts, nice dir-art, shift lock to stay at the current part, or a user mode to play with. None of those are required for a good demo, of course.
2018-11-20 21:28
soci

Registered: Sep 2003
Posts: 473
I think I must ask the following rhetoric question:

What's the worst case interrupt latency of the following code sequences in cycles?
1.
clc
bcc *+2
rts

2.
ldx #1
bne *+2
lsr $1000,x

3. 
ldx #1
bne *+2
isb ($10,x)

No page boundary crossing.
2018-11-20 21:39
Krill

Registered: Apr 2002
Posts: 2839
Obvious rhetorical answer: 42.
Previous - 1 | 2 | 3 | 4 | 5 | 6 - 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
Moloch/TRIAD
TheRyk/MYD!
Andy/AEG
JEZ
cba
chronos/Therapy
Apollyon/ALD
Mr. SID
Guests online: 153
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 Bromance  (9.6)
10 Memento Mori  (9.6)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
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 Wafer Demo  (9.5)
9 Dawnfall V1.1  (9.5)
10 Quadrants  (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 Logo Graphicians
1 Sander  (10)
2 Facet  (9.7)
3 Mermaid  (9.4)
4 Pal  (9.4)
5 Shine  (9.3)

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