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 > Detecting VICE 2.4 x64
2023-02-04 09:01
oziphantom

Registered: Oct 2014
Posts: 454
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: 1628
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: 1605
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: 3012
What happened to the common way of saying: "Fuck emulamers, use the real thing or die" ? =)
2023-02-04 17:25
Groepaz

Registered: Dec 2001
Posts: 10589
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: 1145
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: 454
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: 1628
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: 630
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: 2534
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
Groepaz

Registered: Dec 2001
Posts: 10589
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
TheRyk/MYD!
Mason/Unicess
fandenvoldsk
d0c
Luca/FIRE
Airwolf/F4CG
syntaxerror
Dwangi/Fairlight
Fabs/Onslaught
Guests online: 100
Top Demos
1 Edge of Disgrace  (9.6)
2 Coma Light 13  (9.6)
3 Uncensored  (9.6)
4 Comaland 100%  (9.6)
5 Lunatico  (9.6)
6 Bromance  (9.5)
7 E2IRA  (9.5)
8 Unboxed  (9.5)
9 The World Is Not Eno..  (9.5)
10 Memento Mori  (9.5)
Top onefile Demos
1 Party Elk 2  (9.9)
2 Copper Booze  (9.6)
3 Barry Boomer - Trapp..  (9.5)
4 Dawnfall V1.1  (9.5)
5 Daah, Those Acid Pil..  (9.5)
6 Onscreen 5k  (9.5)
7 POKE 56576,1 for Unl..  (9.5)
8 No Mercy for the Tro..  (9.4)
9 Offering  (9.4)
10 Selbuvotter Latitudes  (9.4)
Top Groups
1 Booze Design  (9.4)
2 Censor Design  (9.3)
3 Crest  (9.3)
4 Oxyron  (9.2)
5 Maniacs of Noise  (9.2)
Top Musicians
1 Rob Hubbard  (9.7)
2 Mutetus  (9.7)
3 Jeroen Tel  (9.7)
4 Jammer  (9.6)
5 Linus  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2023
Page generated in: 0.065 sec.