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

util/cli/makemonpreset.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Preset generator for CGX/P96
Author: megacz at usa.com
Uploader:megacz usa com
Type:util/cli
Version:0.3
Architecture:m68k-amigaos,generic
Date:2010-03-20
Requires:See notes
Download:util/cli/makemonpreset.lha - View contents
Readme:util/cli/makemonpreset.readme
Downloads:1259

makemonpreset-0.3
------------------

---

This is 'makemonpreset', an ARexx script that allows to create CGX or P96
preset files. This way, you do not need to spend hours with unpleasant GUI
just to setup screenmodes. But the best part is that both gfx kernels will 
be affected by exactly same monitor settings, so switching from CGX to P96
and vice versa is like a dream ;-) .

   NOTE TO PPL WHO WROTE TO ME LAST YEAR IN OCTOBER: Im very sorry, but 
   i was unable to read any messages from you back then... I try to reply 
   as soon as possible!

---

NEWS:
     [18-Mar-2010]   0.3   Certain 'P96' related params were set
                           wrongly, fixed now. Also added a 16 bit
                           position skew fix(see data file).
     [26-Jan-2010]   0.2   Removed 'CGX' modeid compatibility from 
                           'P96' config generator.

---

NOTES:

[*]
Requires 68020(no FPU)+, OS 2.04+, 128+ KiB of free memory, RexxMast, rx,
rexxsyslib.library, rexxsupport.library, mathieeedoubbas.library

[*]
Please note, while CGX preset structure has no secrets to me, P96 one does,
so if you have multiple gfx boards installed and you decide to generate
one big configuration for all of them then board detection may fail(may!).
I didnt test that simply because i have only one graphics board. If you
would like to help in development of this thingie, then please send me your
multiboard configuration file as made with 'Picasso96Mode'. Thanks!

[*]
I did this script by observing hex dumps of original configurations only,
plus consider this script very dangerous to your CRT monitor! Generally
dont pass random numbers anywhere!

[*]
This package comes with one dataset i use daily, and it is compatible to
most CRT and TFT monitors around.

[*]
For binary like usage 'protect makemonpreset +se'.

---

USAGE:

 *** template: makemonpreset <type/k/a> <input/a> <output/a>

             <type/k/a>  -  'cgx' or 'p96[=bn[/mib][,bn[/mib]]]...'
              <input/a>  -  input of makemonpreset data file
             <output/a>  -  CyberGraphX or Picasso96 output


   (!)'p96[=bn[/mib][,bn[/mib]]]...' - bn = board name, mib = modeid base.
   Passing board name(s) here will override these in data file. Modeid base
   after the board name will change first two bytes of the modeid(for ex.
   'p96=test/7E57' will res. in something like this: 0x7E571000, 0x7E581001
   and so on). Fyi, hacking last two bytes is pointless, as P96 will detect
   that and refuse to work properly.

   (!)'p96=#?' will include all the boards defined in data file. By default
   the very first board will be used, unless not overriden manually.

   (!)'%s' somewhere in the '<output/a>' will instruct 'makemonpreset' to
   create per board configuration(separate files!).

---

EXAMPLES:

   ; generate CGX configuration that can be used per/with any board
   makemonpreset cgx CRT_TFT_Compatible.data CRT_TFT_Compat-Monitor

   ; generate P96 configuration for the very first board in data file
   makemonpreset p96 CRT_TFT_Compatible.data CRT_TFT_Compat-P96S-%s

   ; generate P96 configuration with native(5000) modeid base for 'CVision3D'
   ; (it may still work with other boards but will be having that 'CVision3D'
   ; preffix beside each screenmode)
   makemonpreset p96=CVision3D CRT_TFT_Compatible.data CRT_TFT_Compat-P96S-%s

   ; generate P96 configuration files for manually passed boards with custom
   ; modeid bases
   makemonpreset p96=CVision3D/C3D0,CyberVision/C640 CRT_TFT_Compatible.data CRT_TFT_Compat-P96S-%s

   ; generate per board P96 configuration getting all board names from data file
   makemonpreset p96=#? CRT_TFT_Compatible.data CRT_TFT_Compat-P96S-%s

   ; generate single P96 configuration for multiple boards(experimental)
   makemonpreset p96=#? CRT_TFT_Compatible.data CRT_TFT_Compat-P96S-Multi


   (!)If you want to change the name of the settings file, then dont forget to 
   apply changes to(in case of):

      * CGX - Do: 'echo "<monitorfilename>" >Envarc:CyberGraphX/<boardname>Monitor'
              (CGX expects monitor file to be in 'SYS:Prefs/Presets/Monitors')

      * P96 - Tooltype in info file of mon. init.: 'SETTINGSFILE=[path:][path/]<settingsfile>'
              (Its up to you, where to store the settings file)

---
megacz@usa.com


Contents of util/cli/makemonpreset.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  897    1904  47.1% -lh5- b180 Jan 24 01:12 makemonpreset-0.3/bonus/compcrc32_3.c
[generic]                  343     839  40.9% -lh5- 8488 Jan 24 01:33 makemonpreset-0.3/bonus/computecrc32_3.readme
[generic]                 1399    2773  50.5% -lh5- de0f Jan 24 01:36 makemonpreset-0.3/bonus/computecrc32_3_fast.rexx
[generic]                 2331    4256  54.8% -lh5- 8458 Jan 24 00:56 makemonpreset-0.3/bonus/computecrc32_3_slow.rexx
[generic]                  248     432  57.4% -lh5- e0d7 Jan 24 02:18 makemonpreset-0.3/bonus/SMakefile
[generic]                  970    1957  49.6% -lh5- eda8 Mar 18 02:19 makemonpreset-0.3/CRT_TFT_Compatible.data
[generic]                 4341   17021  25.5% -lh5- cd66 Mar 18 01:34 makemonpreset-0.3/makemonpreset
[generic]                 1945    4307  45.2% -lh5- 9fef Mar 18 01:45 makemonpreset-0.3/makemonpreset.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         8 files   12474   33489  37.2%            Mar 19 21:25
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>