Short: Preset generator for CGX/P96 Author: megacz@usa.com Uploader: megacz usa com Type: util/cli Version: 0.3 Requires: See notes Architecture: m68k-amigaos; generic 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 - 'cgx' or 'p96[=bn[/mib][,bn[/mib]]]...' - input of makemonpreset data file - 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 '' 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 "" >Envarc:CyberGraphX/Monitor' (CGX expects monitor file to be in 'SYS:Prefs/Presets/Monitors') * P96 - Tooltype in info file of mon. init.: 'SETTINGSFILE=[path:][path/]' (Its up to you, where to store the settings file) --- megacz@usa.com