AminetAminet
Search:
84736 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/batch/getbestmode.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:get best screen ID for a given spec
Author: lombi at iprimus.com.au (Lorence Lombardo)
Type:util/batch
Version:1.2
Architecture:m68k-amigaos
Date:2012-08-03
Download:util/batch/getbestmode.lha - View contents
Readme:util/batch/getbestmode.readme
Downloads:1018

getbestmode v1.2  (c) 2012  Lorence Lombardo.

WTF is getbestmode ?

"getbestmode" obtains the best screen mode ID for a given specification in
a manner which is suitable for shell scripts.

Usage:- getbestmode <width> <height> <depth> [hex|0x|U]

A negative one ID is returned if no suitable ID was found.


"gbm_test" is a demonstration script which can be run from the WorkBench.

Also see "moon-buggy_68k.lha" on the Aminet for another example of using 
getbestmode.


URL's of related interest:-

http://aminet.net/package/game/jump/moon-buggy_68k
http://aminet.net/package/util/moni/GetModeID
http://aminet.net/package/util/batch/f-req
http://aminet.net/package/util/moni/listID


Feeling bored ?  :)
Why not check out this URL ?

http://home.iprimus.com.au/lombi/1/homepage.htm



Contents of util/batch/getbestmode.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]                  397    1090  36.4% -lh5- 4a15 Jul 30 12:04 gbm_test
[unknown]                  227     460  49.3% -lh5- c139 Jul 19 20:15 gbm_test.info
[unknown]                 6638    6764  98.1% -lh5- 5415 Aug  1 19:47 getbestmode
[unknown]                  529     997  53.1% -lh5- 8475 Jul 30 15:16 getbestmode.readme
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         4 files    7791    9311  83.7%            Aug  2 19:31
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>