       Title: PreOs History
     Version: See last entry.
 Platform(s): TI-89, TI-92+
      Author: PpHd (and some routines by Kevin Kofler)
    Web Site: http://www.timetoteam.fr.st
      E-Mail: ppelissi@caramail.com
Release Date: See PreOs.txt

v0.52:	* First Public Release

v0.53:	* Fix bugs in ZipLib (It was a too old version).
	* Fix bug in ProgFormat.txt (_exit)
	* Improve docs about font in RamCalls.txt
	* Fix some errors about LibsBegin in RamCalls.txt
	* Improve userlib::exec to use version 1 of ziplib.
	* Fix bugs in userlib::getfreearchive and improve it.
	* Fix a bug about ROM_CALL in RamCalls.txt
	* If you hit 'ESC' during the lib version detection, you will skip the detection.
	* Get rid of SHIFT indicator as soon as possible (with SHIFT+ON).
	* During the call of SHIFT+ON, some info of the supervisor stack will be saved too.
	* Move the reset of the vector ER_throw from 'kernel_install_int' to 'reinstall_tios_var'
	* Warning: I suppose than EX_patch doesn't modify the stack argument.
	* Warning: I suppose than HLock doesn't modify the stack argument.
	* Now you can call tictex with SHIFT+ON
	* Update uninstall program : messages + the vector table isn't completly clear : the traps aren't reseted (and only them !) So Hw2Tsr shouldn't be uninstalled.
	* Fix an incredible bug in the Uninstall program (Address Error).
	* Preos + Uninst won't run if their aren't called from the Ti-Home. (From TicTex, for example). But if it simulated a call from the ROM, the detection won't work.
	* Hot-Reboot now calls OSLinkReset
	* Rewritten the reset of the windows list : it now works on AMS 2.03, and it should be more stable.
	* Hot-Reboot resets the SHIFT+ON indicator	

v0.54:	* dont crush the auto-int 6 when a nostub crash occurs
	* when it redraws the screen, the border of the window aren't draw anymore.
	
v0.55:	* reinstall tsr with use 'ev_hook' after a hot_reset
	* org_stack now uses only 2 bytes
	* Improve the kernel protection
		* only save d3-d7/a2-a6 (=> tests ret_val : done )
		* only save a5 during the call of the program
		* in clean_up, only saves register a4 and calls 'install_int' after calling exit function.
		* 'exit_function' is now called in supervisor mode
		* preos has now its own 'trap #12' for stability reasons (100% compatible with tios 'ones)
		* kernel crash works now in supervisor mode
		* save and restore all the vector table in kernel mode (and ev_hook).
		* ER_throw now really works fine (I hope) (Doesn't use of ER_catch, but save the ER_throw list ref)
	* now the copy of the auto-ints and ev_hook (for nostub programs) are saved in the vector $E0 - $FF
	* add 'kernel_vectors' file.
	* forget of exporting version number in genalib.h and util.h
	* Clean-up of the not-completly relocated libraries if a relocation failed (So that in a shell, it won't use useless memory). Doorsos and teos don't do it. I don't know for Unios.
	* No more crash when you call a kernel program inside a ti-basic program which doesn't init its local variable (For info, it was because theses variables don't have any handle, so when it derefs it, it crashs). But these bug may be found in other programs.
	* Vti is always detected as an hw1 :(
	* Completly change the way of detecting the calc and the hardware : it should be V200 compatible now. Even the couple Vti+V200 doesn't work.
	
v0.56:	* Fix bug of return value
	* Little change in Line1111 emulator By Francesco (-4bytes)
	* After a Hot-reset, it displays now "Crash intercepted"
	* Fix bug on ti-92+ ams 1.00 : OSqclear doesn't exist. I cannot call it after a hot reset :(
	* Completly rewritten Line1111 emulator : - 20 bytes
	* Bss section is now also in the ghost space if some program needs to write code in bss section...
	* If a Hot-reset occurs, resets Supervisor stack
	* Add a5 / a6 as global registers during the install part (-100 bytes).
	* Add Line1111 Special Value $FFF0 & $FFF2
	* Completly rewrite the restoration after a hot reset (By Kevin Kofler)
	* Add / Change EQU to compile preos :
		+ Hw2tsr
		+ ShiftOn (No Shell, Doors or TicTex)
		+ RestoreTSR (Restore the TSR after a hot-reset ?)
		+ NoWindow (Display windows during the installation part)
	* Fix a bug in userlib::lockcalc if there is no password

v0.57:	* Add LCD_MEM / font_small / font_large and SYM_ENTRY structure as _RAM_CALL to preserve compatibility (with older and newer hardware)
	* As a consequence : move.w #LCD_MEM/8,$600010 does not work anymore.
	* Add HW_DISPLAY_VERSION / EMULATOR as RAM_CALL (See RamCalls.txt)
	* Add Compiled Flag CheckCalc to test if the program is designed to run on the current calculator.
	* Reserved Flags 4 & 5 to test if program is designed to run on ti-92 and on v200 .
	* Fix bug in LibBegin/LibsEnd/LibsCall/LibsExec (Forget load Data ptr).
	* graphlib functions allow non-even screen ptr (FlashZ games use this feature a lot, even it is a non-sens to have an odd screen ptr).
	* ziplib now needs only filelib.
	* Fix bugs in large_font and small_font.

v0.58:	* Add Pack / Archive
		kernel::ExtractFile
		kernel::ExtractFileFromPack
		Auto-extractible program ($50 vector) using kpack !
		Libraries can now be compressed and packed in one file !
	* Rewrite and fix bugs in ziplib.
	* Add zpack / zunpack programs.
	* Add stdlib
	* Add function 12 to ziplib, and function 3 to shrnklib.
	* Fix bug in kernel::exec in case we call a nostub program which returns a value.
	* Fix bug in kernel::LibsPtr (bhi instead of bge).
	* Hot Reset now only lost 192 bytes instead of 7000 bytes.
	* Hot Reset in program editor doesn't lose edited program anymore.
	* kernel programs compiled with (xdef _install_preos) will install preos if there is no kernel before running.
	* Improve Hot reset by checking if the current step has already crashed.
	* Restore the original AMS auto-ints in case the saved auto-ints are corrupted.

v0.59:	* Ported brwselib / ugplib to Ti-92+/Ti-89
	* Created a new program : Preos Browser
	* Ported JpLib / Fargray to Ti-92+/Ti-89 HW1&2
	* Uses H220xTsr v1.10 with AMS 2.07 supports.
	* Kernel Shift+ON calls now the program 'shell' instead of 'doors'.
	* Create stdlib (based on shrnklib)
	* Fix a bug when you want to use a compressed library and there is another file with the same name (But not a kernel library).
	
v0.60:	* 'Extracting' message is erased.
	* 'Reloc' vector functions return now right value in a0 in case of an error.
	* Fix some bugs about EXTRA_RAM_CALL in 'Ramcalls.txt'(Thanks to Pen^2).
	* Improve the detection of Vti (Now V200 rom + Vti works).
	* Fix a bug on V200 (Shift+On didn't work).
	* Fix bug of macro SetFont
	* Optimize codes (- 10 bytes).
	* Optimize Handle Protection in speed (53911 / 40985 instead of 56041 / 61538) and in size (- 4 bytes).
	By the Way, here are the cycles of a standard program :
		+ Init : 55455
		+ Reloc: 473 (No reloc in program / No library / No Archived / No compression)
		+ Unreloc: 4876
		+ Quit : 804164 (Redraw) or 48973 (No Redraw)
	* Fix Crash Bug when you change your batteries on HW2 if there is no Hw2Tsr (By JM).
	* Update uninstall program.
	* Fix Illegal Program Reference on AMS 2.08
	* Fix Extram Ram bug on V200
	* Fix a bug in Check Calc on V200 (Bit 4 was used instead of bit 5).
	* 92+ emulation on V200 : if the program is not designed to run on V200, Preos will tell to the program that it is a 92+, instead of a V200. Of course, if the program is designed to work on V200 (Bit 5 set), then Preos tells to it that it is a V200 ! It allows some programs (Txtrider for example) to run fine on V200.

v0.61:	* Fix graphlib::horiz bug in case of an odd address (The line was too small, and it may crash if you called with abs(x2-x1)<8 and an odd address. Thanks to Squale92 for reporting me this bug.
	* Fix hw2tsr version so that it applies hw2patch even in this version (For compatibility reason). Thanks to Kevin Kofler for this advice.
	* Fix hw2tsr + crash, Home Screen restore bug (If you installed the hw2tsr version and have a crash inside kernel program, the Home Screen won't be restored like it should be).
	* Fix SHIFT+ON and args program bug (Preos pushes END_tag before calling the program).
	* Display "Folder Name" instead of "Preos version" if Preos detects a wrong lib.
	* If there are several libraries with the same name in the calculator, Preos will detect it and inform you (You should erase old versions since they may introduce various problems). It doesn't support Pack Archive yet.
	* Reinstall kernel vectors in case of a nostub crash (To avoid crashing when you call Kernel prgms if the kernel vectors are corrupted).
	* Genlib now allows ESC+ON to interrupt the program.
	* Optimize in size Relocation Error (-34 bytes).
	* Fix a bug on HW1 (On HW1, HW_VERSION was equal to 0 :() Thanks to Squale92 for reporting this.

v0.62:	* Fix a bug in tictex version if tictEx isn't here (Thanks to Kevin for reporting this).	
	* Home History handles aren't freed anymore when you quit your program (if program uses HomeStore or anything like that). Thanks to Samuel Stearley for the code.
	