J.E.Lawrie HINTS-19. v.2 About BOOT.CLI When the Z88 gets a Hard Reset it looks to an EPROM in Slot 3 to see if it has a file called BOOT.CLI If it is there it EXecutes it. So what use can be made of this feature? What does it have to do? 1. After a hard reset the Panel and the PrinterEd revert to their "default" state, i.e. they have the values and attributes which are built into the operating chip. They are rarely exactly as we want them so we have probably changed them. We need to re-establish them after a hard reset. To facilitate this we need to have saved our settings as (say) PANEL and PRINT so that the BOOT.CLI can Execute them. 2. All sub-directories have to be re-created. 3. Files which are required immediately after a hard reset need to be brought from the EPROM 4. The clock has to be re-set. --------------------------------------- Our BOOT.CLI could be - which means :- #F|SV|D:RAM.1~E Go to the filer (which will be RAM.0) and switch to RAM.1 |CDUT~E|EFUT/xxxxx~E|EFUT/yyyyy~E Create sub-directory UT and fetch into i UT/xxxxx and UT/yyyyy |CDDATA~E|EFDATA/zzzzz~E Create another sub and fetch zzzzz |SV|D:RAM.0~E|EFPANEL~E~E|EFPRINT~E~E Go to RAM 0 and fetch PANEL and PRINT #S|FL:RAM.0/PANEL~E~E Go to the Panel and load PANEL #E|FL:RAM.0/PRINT~E|FU#I#T~R~E Go to the PrinterEd and load PRINT, then to the Clock, ready to reset it. Files xxxxx, yyyyy, and zzzzz will usually be files which you want in RAM immediately after you reset the Clock, and before you proceed to re-load all of the other files in the EPROM. Of course, you won't leave gaps between the lines of the CLI! Save it from Pipedream as :RAM.0/BOOT.CLI in plain text and then save it to your EPROM. Remember that this EPROM must also include PRINT and PANEL and the other files to be loaded into RAM. You should test it by doing a Hard Reset right away. No sense in waiting until you need it only to find that you have made a mistake ! Now you need another CLI. After BOOT.CLI has done its job there will be a file in RAM.- called "boot.cli" and it should not remain there. It is not a bad idea to use the following CLI periodically in case any other files, like S.sgn or K.sgn had crept in there. Call it CLEAR.CLI, put it in RAM.0 and <>EX it at any time:- |ER:RAM.-/*~EN~E|[ Of course the "BOOT.CLI" EPROM does not have to be in Slot 3 all of the time - only when you are about to do a Hard Reset. END Back to HINTS-INDEX