

;	----------------------
;	AmiMasterGear Emulator	(Diseo Basado en AmiMSX2 Emulator)
;	----------------------

;	Diseado y Programado por: Juan Antonio Gmez Glvez
;	1997-2002  RED Soft S.L.  Barcelona, Spain
;	(Martes 28 de Enero de 1997) => (???)


* Change log:

* Unused bits of Port $00 (Start Button) are now cleared.  Fixes Pop Breaker.

* Added instruction modes 8IX and 9IX which properly affect the mapper
* registers.  Used in SET/RES (HL/IX/IY).  Fixes Defenders of Oasis,
* Shining Force Gaiden, and possibly others.

* Second page of SRAM added.  This fixes Shining Force 2 & 3 (still not
* working 100% correctly)





;	Menu para AmiMasterGear Emulator.
;	Por: Juan Antonio Gmez Glvez


* Change log:

* Fixed a bug in the default preferences, the offsets were wrong ($128
* instead of $12A) which caused incorrect default preferences for
* older/no pref files.

* Implemented a directory string buffer for the Screen/RAM dump requester

* New version of the prefs file

* Country Code and Screenmode On Exit are now mutually exclusive

* Some GUI attributes are now patched on the fly so that the generated
* gui code can be used without modification (except for the END directive
* which was patched in the GadToolsBox executable directly).

* PAL/NTSC screen mode preference for the menu screen added.  Using the
* Set PAL/NTSC command will also change the preference which can then
* be saved.  Now the menu screen will always be in the mode you choose.

* Fixed a bug, the program was not allocating extra space for a ROM header
* for DirCart.  This wasn't a problem for larger roms due to the extra bank
* padding but caused invalid memory accesses for 32kB roms with headers.

* Now supports roms with $40 byte footers (rare)

* Now the battery-ram will only be loaded from disk if the file size is
* exactly 16kB.  This prevents the battery ram from being incorrectly
* loaded when the file system cannot distinguish between the battery ram
* file name and the rom file name (which can happen sometimes with certain
* file names).

* Similarly, the battery-ram will not be saved if the file exists and
* is not the correct size.  Two error meassages will be displayed elsewise.

* XPK_MARGIN added to the allocation size

* BuscaExt file name buffer expanded and range checking added

* XAD support added

* AntiCrack code disabled.  Permits the screen title bar and other things
* to be changed.

* Support for a second page of SRAM was added.  Note that dumping the
* ram will only save the first page of SRAM, as usual.

* CalCheckSum sums both pages of SRAM

* ReadBatt will now read in a second page of SRAM, if available.  This has
* the unfortunate side-effect of also loading in 32kB rom files under
* certain situations (see above).

* WriteBatt will check the second SRAM page and, if non-zero or non-ones,
* write it out in addition to the first page.

* Added a few more possible keyfile locations

