Check OCS/AGA

Discuss any general programming issues here
Post Reply
User avatar
fingus
Posts: 269
Joined: Fri Sep 16, 2011 9:53 am

Check OCS/AGA

Post by fingus »

Maybe this Question is related to the Plananarama-Plugin.

I´m trying to implement a recognition on which classic Chipset Hollywood is running (OCS oder AGA Machine).
So i didn´t need to bring two Versions of my Programm, it will choose and load the optimized palette based Graphics (32 or 256 Colors) depending on the recognized Chipset.

Getsysteminfos and such commands doesn´t offer a solution for this, maybe if have to do some kind of workaround for the recognizion.
Something like trying to readout the Kickstart-Version or trying to open a AGA-Palette and when that triggering an error, catching it by own errorhandler. Or maybe the amount of Chipram detected?
plouf
Posts: 467
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Check OCS/AGA

Post by plouf »

there is a command line uitility in aminet called identifyusr.lha
this can detect full hardware, its command line and output can be saved in text in ram...

alternative it support AREXX too..
Christos
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Check OCS/AGA

Post by airsoftsoftwair »

That sounds like a useful addition for Plananarama 2.0. I've just added it.

Code: Select all

- New: Added plananarama.HaveAGA() function for detecting whether or not the AGA chipset is
  available on the host machine
Post Reply