Copyright : Olivier Landemarre November 15 2012
SELGEM is free software and can be use as you want

What is SELGEM? : SELGEM can choose GEM to start from Mint setup

How to use?
    Put in mint.cnf something like this:
    
setenv AES1 MyAES
setenv AES2 XaAES
setenv AES1PATH u:/g/myaes.tos
setenv AES2PATH u:/e/mint/1-18-cur/xaaes/xaloader.prg
setenv AES1ARG MYAES_PATH=u:/e/gemsys/
INIT=u:/e/gemsys/selgem.tos

1) you should add AESx with the name of the AES to choose in environment var with setenv,
where x is a number, you should start with 1 and you can add up to 9 values, SELGEM search 
in order, you should not set for example 4 if you have not set 3!
2) Then you should set in environment var AESxPATH with setenv to define the path to AES kernel, where x
is the number in your list of AES
3) You can add argument to send to AES if need adding AESxARG as for previous values

Other possible options :

AESxRUN : This option will launch a program before AES, where x is the number in your list of AES prcdamment. 
         Exemple : setenv AES1RUN u:/d/tools/fvdi/fvdi.prg

AESxRUNARG : You can add an argument when launch the program
         Exemple : setenv AES1RUNARG D:/fvdi.sys 

AESxRUNDRIVE : And change the default drive (Same as Dsetrive())
         Exemple : setenv AES1RUNDRIVE D


You can run another program before AES such as extern VDI like NVDI, fVDI

selgem create at each launch a small file C:\gemsys\selgem.inf of 2 bytes : 
first byte : number of second to wait before launch automatically an AES without waiting keyboard choice (you can patch once this byte to change the wait time value)
Second byte : The last AES choiced to launch it again in automatic next time if no keybaird is provided


Have fun
