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


Forums > C64 Coding > Detecting VICE 2.4 x64
2023-02-04 09:01
oziphantom

Registered: Oct 2014
Posts: 480
Detecting VICE 2.4 x64

Do we have any easy go to, we know that VICE 2.4 x64 will fail to handle X/Y/Z that we can detect to enable a "Mini 64 mode"?
2023-02-04 14:32
tlr

Registered: Sep 2003
Posts: 1727
In that case you’ll need to profile all emulators and versions of those you want to support with your program. This needs to be updated for every new release of an emulator to be supported.

I guess you could try to run the vice test suite on all of them and map out the differences.

Not a very maintainable approach IMO.
2023-02-04 15:54
Frantic

Registered: Mar 2003
Posts: 1630
I would just add a readme.txt to the release, saying that it will not work on some older emulator versions.
2023-02-04 16:52
iAN CooG

Registered: May 2002
Posts: 3137
What happened to the common way of saying: "Fuck emulamers, use the real thing or die" ? =)
2023-02-04 17:25
chatGPZ

Registered: Dec 2001
Posts: 11148
Yeah, whats the point? I smell an X/Y Problem here :)

(If you really want to do this for whatever reason, looking at the testbench results and picking the test of your choice should do the trick. There is no other "easy" way)
2023-02-04 21:07
cadaver

Registered: Feb 2002
Posts: 1154
Is it an option to just leave the Mini64 workaround permanently on? Or is it some significant performance degradation?
2023-02-05 06:06
oziphantom

Registered: Oct 2014
Posts: 480
Its more for Displaying A/B/C/D instead of Run/Stop F7 etc. Other UI things for "only have a virtual keyboard" but you don't want to not use the keyboard because its better. Other config items that set you up for a Mini automatically. Small things that are not really worth it to make a 2nd version but kinda of annoying if you have a mini, or BCM or Combian etc

I just figured 2.4 not SC would be rather easy to "trap" and switch. As long as it didn't fail on winVICE 3.2 sc or GTK X.X sc then it would be "good enough"
2023-02-05 09:34
tlr

Registered: Sep 2003
Posts: 1727
Discerning x64 from x64sc should be trivial but that wasn’t the question here.

If you only do that distinction, nothing guarantees some other emulator or re-implementation wont be detected as ”x64”.
2023-02-05 10:29
Compyx

Registered: Jan 2005
Posts: 631
Why not add an option at application start to select between "proper" mode and "mini64" mode?

Bonus points for defaulting to "proper" and making the "mini64" mode selectable with something the mini64 doesn't emulate.
2023-02-05 12:10
Krill

Registered: Apr 2002
Posts: 2855
If there is a title or splash screen, maybe you could check for something like any additional fire buttons the real C-64 usually doesn't have, then go on in "C-64 mini" mode on a press of one of those, or in realthing mode when the primary (only) fire button is pressed?
2023-02-05 13:31
chatGPZ

Registered: Dec 2001
Posts: 11148
For "The64" i'd really just make a seperate version. Way easier, way less error prone.
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
Grue/Extend
Freeze/Blazon
manganoid/Hokuto Force
Guests online: 94
Top Demos
1 Next Level  (9.8)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.7)
5 Edge of Disgrace  (9.6)
6 Aliens in Wonderland  (9.6)
7 No Bounds  (9.6)
8 Comaland 100%  (9.6)
9 Uncensored  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Happy Birthday Dr.J  (9.8)
2 Layers  (9.6)
3 It's More Fun to Com..  (9.6)
4 Cubic Dream  (9.6)
5 Party Elk 2  (9.6)
6 Copper Booze  (9.6)
7 TRSAC, Gabber & Pebe..  (9.5)
8 Rainbow Connection  (9.5)
9 Dawnfall V1.1  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.4)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 SHAPE  (9.3)
Top Fullscreen Graphicians
1 Joe  (9.7)
2 Facet  (9.6)
3 Veto  (9.6)
4 The Sarge  (9.6)
5 Carrion  (9.5)

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