Back in 1993, a friend of mine who had just bought an AGA Amiga asked me to write a program that he could use to determine the numbers of colors of the WB screen in startup-files. He simply wanted to automate the proccess of starting some programs if the depth of the WB screen was 6 (64 colors).
Being a helpful friend, I wrote ScreenDepth for him. ScreenDepth is basically a simple program with a simple CLI interface that outputs the numbers of colors or the depth of the asked screen. The outputed result can be used in script files.
SCREEN: Name of the screen that the porgram should query. If omitted the default public screen will be used.
DEPTH: (default option), ScreenDepth outputs the depth of the screen.
COLORS: ScreenDepth outputs the numbers of colors of the screen.
ScreenDepth outputs the depth of the default public screen.
ScreenDepth outputs numbers of colors of the the default public screen.
ScreenDepth SCREEN "This is a screen" COLORS
ScreenDepth outputs numbers of colors of the screen "This is a screen".
Version 1.1 Now requires AmigaOS v39 or better.
Version 1.0 First public release.
Download latest version of ScreenDepth, v1.1 (2 KB) here.
COPYRIGHT NOTICE AND DISCLAIMER:
ScreenDepth, version 1.1 © 1993-1997 Bahman Moallem
ScreenDepth.doc © 1996-1997 Bahman Moallem
All Rights Reserved Worldwide
ScreenDepth is freely distributable.
Use it at your own risk.
Unlimited non-commercial use is encouraged.
AMIGA is a registred trademark of AMIGA International.
All program names mentioned in this document are either Copyright or Trademark of respective owners.
Copyright © 1995-1997 CTOOLS. Last Modified 22-Nov-97.
For comments, suggestions, questions E-Mail firstname.lastname@example.org