Quarth - Fixes
--------------
v1.0 (c) 2011 by FRS, all rights reserved

This patch implement the following enhancements and fixes:

- TurboFix: The game can now be run on turbo machines without any glitch
  - Fixed the splitscreen routine
  - Fixed the places where the CPU didn't wait for the blitter to finish
- The turbo will be enabled via CHGCPU BIOS call on machines that support this
- Correct handling of non-VDP interrupts, that are now passed along to the
  interrupt chain.
- The game now passes the MSX Acid2Test: fixed routines on the Jukebox and
  battle-mode splitscreen
- 50Hz video mode can be forced at boot by keeping the "5" key pressed.
- The Button-2 of the joysticks can now be used to pause the game.
- Partial Game Master 2 support. The ingame Game Master menu functions are
  glitchy, but the rest works fine.

==============================
How to apply the patch

First, make sure you have the last release of the original japanese ROM,
which has the following checksum:

SHA1(QUARTH.ROM)= 0c62591033aa4e5e6b9eeb21eb2e5e60dcd8ee8e

You can use the following tools to verify the SHA1 checksum:
- Windows:
  -MD5 & SHA-1 Checksum Utility 1.1
  - HashTab
- Mac OS-X:
  - DropHash
  - HashTab
  - (or use the Linux solution below)
- Linux:
  - Just type "openssl dgst -sha1 MYGAME.ROM" on a shell (without the quotes,
    off course).

Secondly, there are two versions of this patch: The IPS version and the XPC
version.

- For the IPS version, select an IPS patcher like IPSWin, LunarIPS or UIPS and
  use it following to the tool's instructions. The IPS patch is more
  recommended for emulator users.

- For the XPC version, on-the-fly patching: just place the XPC patch under the
  same directory of your ROM and make sure both have the same name
  (i.e: MYGAME.ROM and MYGAME.XPC). The bugfix will be applied automatically
  by ExecROM and you will be asked if you want to apply any optional patches
  included (usually cheating/trainer patches).


==============================
Special Thanks

- OpenMSX team, for their excellent emulator and debugger
- MRC crew, for the place where MSX hobbysts can meet and exchange ideas
- Sjoerd Mastijn and Aprisobal, for the SjASMPlus assembler
- FiXato, for compiling openMSX snapshots and many development tools I use on
  Mac OS-X


==============================
FAQ
---

Q: Will the patched game run on non-turbo machines?
A: Yes, the patch implements a new timing routine that supports any CPU speed,
   including of course the standard 3.57MHz Z80A.

Q: I applied the patch and the resulting ROM doesn't work! What is wrong?
A: You're probably trying to apply the patch on a ROM with the incorrect
   checksum. If you used the XPC version, try the IPS version instead.

Q: I applied the XPC patch using XPCTools and some undesired features (like
   invulnerability) are being enabled by default! How can I select which
   patches will be applied?
A: You forgot to add the "-ask" parameter to the xpcapply command-line.

Q: Why there are IPS and XPC patches? Do I need to apply both?
A: Its the same patch in two different formats. You only need to use the format
   you think is more suitable to your needs. IPS files only support one single
   patch per file and need to be pre-applied, while XPC files support multiple
   different patches in a single file and can be used for on-the-fly patching.
   Usually emulator users should choose the IPS patches.


===========================================================================
	                     License
                           Terms of use
---------------------------------------------------------------------------

1) This patch is gratis for non-commercial purposes, and the author retains
   its copyright. You only can run and make backup copies of the patch
   while observing the non-commercial restriction.

2) You are only allowed redistribute the patch files (online or on a removable
   media) under the following conditions:
   2.1) No commercial transaction of any kind is involved
   2.2) All the included files are distributed together inside the same
   compressed file.
   2.3) This README must be included unmodified inside the same compressed file.

3) If you want to use this patch for commercial purposes you MUST contact me
   first to negotiate the terms and conditions. Send an e-mail to
   sdsnatcheralpha@gmail.com to contact me.

4) You cannot distribute games with this patch pre-applied.

5) This patch is provided ‘as-is’, without any express or implied warranty.
   In no event will the author be held liable for any damages resulting from the
   use of this patch or the software patched with it.

6) USE THIS SOFTWARE SOLELY AT YOUR OWN RISK.


===========================================================================
                          Donations
---------------------------------------------------------------------------
 If you like the enhancements and fixes here presented and want to show your
 appreciation by donating any amount, or MSX software/hardware, it will be very
 welcome and will help future developments.
 Donations can be done via PayPal to sdsnatcheralpha@gmail.com, and for MSX
 hardware, try contacting me on this e-mail address too.

 Have a look at my wishlist in the following link:
 http://frs.badcoffee.info/wishlist.html


