#############################################################################
                           ____       __  _______ 
                          / __ \_____/  |/  / __ \
                         / / / / ___/ /|_/ / / / /
                        / /_/ / /  / /  / / /_/ / 
                       /_____/_/  /_/  /_/_____/ 
 
                             DrMD By Reesy
			     
          DrMD is a Genesis / MegaDrive emulator for the GP32.	
	                              Sponsered By GBAX www.gbax.com
	                              Support DrMD by donating via Paypal 
				      Paypal account: drsms_reesy@yahoo.co.uk
				      
				      
#############################################################################
 DISCLAIMER
     Delete functions have been added, I have tested them and I have not had
     any problems.  They have been added for convenience but if something goes
     wrong and your smc gets wiped I take no responsibility.  If your unsure
     just manually delete any files using the GP32 Manager program or use
     a smc card reader.
#############################################################################
 IMPORTANT - When upgrading from V1.0 to V2.0
     The save state format and menu options format have changed.
     
     Save States from version 1.0 will work on version 2.0, but version 2.0
     save states will not work on version 1.0.
     
     If a version 1.0 menu options file is detected when starting
     version 2.0 it will be ignored and the menu options will be
     set to the default settings.  This means that any BLU+ gp32
     users will have to change their LCD type again.
#############################################################################

What's New
Beta 9
       Some more Cyclone fixes, basically re-wrote all the changes I made
         before to the divu,divs,asl,asr etc.  Hopefully they work now :)
       Added Stop opcode to Cyclone - Fixes Thunderforce IV
       Added support for the Genesis display mode that allows different
         vertical scroll values for each column on the screen.  This fixes
	 the rocket level on Gunstar Heroes.
Beta 8
       The first of Cyclone fixes, divu,divs,asl,asr,lsl,lsr.
       Sensible soccer now works :)
Ver 2.0
       Rewrote sound rendering engine in order to make DAC emulation
          more accurate.  
       Fixed FM timer emulation - they were running to slowly, this 
          caused slow music in games such as Outrun.
       Added support for v1.0 save states
       Fixed pallet problems in Another World.  I was masking the 
          pallet data with #F000 rather than #0xF000.
Beta 7
       Removed a few of the sound options in order to speed up sound
          emulation.
       Added different sound rates 8Khz,11Khz,16Khz and 22Khz
          note: 16Khz was the original speed
       Major re-write of sprite routines - fixes Sonic start screen
       Fixed FM timer emulation - fixes the sound in lots of games
       Improved fixed frame skip options
       Improved DAC emulation
       
Beta 6
       Added rom delete option.
       Added save state delete option.
       Added save settings per game option.
       Added delete settings per game option.
       Added fixed frameskip options.
       Gamma correction now effects menu as well.
       Added finer control for gamma correction.
       Changed fast menu scroll to be LEFT and RIGHT rather than L and R.
       Added more cpu speed settings.
       Added stereo reverse option.
       
Beta 5
       Fixed slight bug in sound core, music in Sonic should now be correct again.
       Added Quick Load/Save button combination :) Very swish
           To save a state quickly to memory hold down L and press START
           To load a state quickly from memory hold down R and press START
           I've made sure that pressing START will not pause the game every time you 
	   load or save a state so it should be fine. Let me know what you think.
       I removed the L and R to page the main menu options. 
           It was proving to be more hassle than it was worth due to the fact 
	   that L and R are used to exit out of the menu.  So every time you exit 
	   from the menu you lose the last menu option you were on, 
	   which I find very useful.

Beta 4
       Added correct gamma control to emulator.  This only effects the games
            and not the menu system.
       Re-compiled with faster rendering code, beta 3 was compiled with some
            slightly slower test code I was working on.
	    
Beta 3
       A few cyclone core fixes - Paperboy now works, Time in Mortal Combat 
            and Streets of rage now works correctly.  Riders in Road Rash now 
	    lean in correct direction.  Still lots more Cyclone bugs to find 
	    though ;)
       Corrected emulation of Hcount - fixes Road Rash Series.
       Fixed palette problems in Sonic games as well as others.
       Added Quick Save/Load function.  This saves only to memory so when you 
             switch off the gp32 the save is lost, but it is usefull when you 
	     want to make quite a few saves when making your way through a 
	     difficult game.
       Added reset game option - saves having to reload the whole rom.
       Removed 16bit rendering option to free up memory as it was hardly ever used.
       Fixed tile 0 rendering problem - fixes Battle Squadron.
       Add R and L quick scroll to main menu.
       
ver 1.0
       Split screen bug fixed...Hopefully
       ...But if its not, at least you can save your game. :)
       Added LCD type selection screen.  This is for those new gp32s with
          different LCD's
       ****************************************
       Important, if you have a new blu ( BLU+ as they're being called)
       When you first start DrMD the screen will be corrupted, simply go
       to the menu and then scroll down to the LCD menu option.  Then
       press A or B, this will switch the LCD settings.  The screen should
       now be fine.  You should then save the settings, by using the save
       options function near the bottom of the menu       
       ****************************************
       Now using Mr Mirko's SDK 
       Zipped rom support 
          - using ZLIB 2.1 and
	  - UNZIP.H by Gilles Vollant
       Animated zipped save states
          - compression done using ZIP.H by Gilles Vollant
       
       User definable Genesis pad configuration
       Triple buffering fixed - hopefully :)
       FPS monitor option
       Menu has been tarted up
       Menu options can now be saved
       Rom selection screen now uses long filenames found in zip files or 
          filename found using a CRC lookup on the GoodGEN database.
       Auto region detection fixed
       Irq callback support added to Cyclone core
       
ver 0.001
       Initial Release
       smd & bin rom support
       Decent PSG & FM Sound Emulation  - By Rob "Cobbleware"
       sound on/off option
       8Bit or 16Bit Rendering modes
       Cpu speed selection
       Triple Buffering option
       Region Selection

#############################################################################

What is it?
-----------
    DrMD is a Sega Megadrive / Gensis Emulator for the GamePark GP32.
    This basically means it will allow you to play games originally 
    designed for the Sega MegaDrive / Genesis on your GamePark GP32.
    
#############################################################################

How to use it?
--------------
    Firstly copy the DrMD.fxe to your GP32.  It can be run from any directory
    but usually most of the programs on the GP32 go in the GPMM directory.
    
    Now you need to copy some Genesis games to your GP32.  These *MUST* go
    in the GPMM\GENESIS directory on your gp32.  This is to simplify the
    rom selection process and it also makes my life alot easier. :)
    
    DrMD supports BIN and SMD Genesis rom formats
    DrMD also supports the above formats while stored in compressed ZIP files.
    *NOTE*
       DrMD only has limited zip file support.  It does not support more
       than one genesis rom stored in a zip.  DrMD will only load the first
       file it finds stored in the zip file.       

Basic Menu Commands
-------------------            
    Exit menu:              L and R buttons together
    Select menu option:     A or B 
                              - on some menu options
				B goes down the list of options
				A goes up the list of options
    Page menu up:           LEFT
    Page menu down:         RIGHT
    
In Game Commands
----------------
    Enter Menu:             L and R buttons together
    Quick Load:             L and START buttons together.
    Quick Save:             R and START buttons together.

Menu Options Explained
----------------------
    Return to Game       This will exit the menu ( same as L and R together )
    Select Rom           This will take you to the game selection screen.
    Delete Rom           This will take you to the rom deletion screen.
    Quick Load           This will load a temperary save state from memory,
                         if one exists.
    Quick Save           This will create a temperary save state in memory.  
                         These saves are much quicker than normal saves but
			 as soon as the gp32 is switched off they are lost.
    Load State           This will load a save state stored on your smc.
    Save State           This will save a save states to your smc, these
                         are very slow as it takes time to store the data
			 on the smc card.  But these type of save states
			 are not lost when you switch off your gp32.
    Delete State         This allows you to remove a save state from your smc.
    Sound                This allows you to switch sound on or off
    Frameskip            This allows to changes how many frames are skipped
                         when emulating the genesis graphics hardware. You can
			 either have a fixed frameskip or let DrMD automatically
			 skip frames when emulation speed becomes too slow.
    Cpu Speed            This will allow you to set the cpu speed of the GP32 
                         when emulating the genesis system. Obviously the higher
			 the cpu speed the better the emulator performs.
    Configure Controls   This will take you to a screen that will allow you to 
                         assign different gp32 buttons to genesis buttons.
    Region               This allows you to select the region of the genesis
                         hardware you want to emulate. When this is set to AUTO
			 DrMD will try to guess the best hardware depending on
			 what rom is loaded
    Show FPS             This allows you to see how many frames per second are 
                         being rendered by the emulator. It is usefull when
			 trying to find the best options for a particular rom.
    Brightness           This allows you to control the brightness of the 
                         emulator.  This is mainly usefull for NLU ( non lit
			 GP32 units )
    LCD                  This allows you to select between different LCD types
                         ie BLU and BLU+.  If when you start DrMD the screen
			 does not appear correctly, change this option to fix
			 the problem.
    Save Settings for this game
                         This allows you to define menu settings for the currently
			 loaded rom only.  Once you have set these are they will
			 automatically be loaded everytime you load the rom.
    Delete Settings for this game
                         This allows you to delete any per rom menu settings you
			 may have saved
    Save Settings
                         This allows you to change the default menu options of DrMD.
			 Once these have been saved, DrMD will use these settings 
			 the next time you start it.
    Reset Game           This allows you to restart a rom without having to re-load it.
    Exit DrMD.           This will restart the GP32.
    
#############################################################################

What's currently emulated:

  68000 : Yes
  Emulated using the Cyclone M68K cpu core by Dave "FinalBurn"

  VDP
    Scroll A/B  : Yes
    Line Scroll : Yes
    Sprites     : Yes
    Window      : Sort of
    H-Ints/HV Counter : Sort of

  Sound:
    Z80    : Yes 
    Emulated using DrZ80 Z80 cpu core by Reesy (me!)
    YM2612 : YES
    PSG    : YES
    The sound cores were originally from Mame but were superbly optimized
    by Rob Brown "CobbleWare" for use in Fgen(www.retrodev.info) and DrMD.
    DAC emulation was added by me.

  Compatibility: ? I have no idea, not too bad...It plays Sonic !! :)
  
#############################################################################

Thanks To

    TheHiVE for just being da man - hope your well "Old Git" ;)
    Dave "FinalBurn" for releasing the source code for Gigadrive.  
       I've basically learn't how to code in C from using your source code,
       DrMD simply would not exist without all of the work you put into
       GigaDrive and Cyclone.  Thanks your da man as well!
    Rob Brown for your work on the sound core and also for your web page on
       how to overclock your GP32.  My BLU now goes 200MHZ, ave some of that!
    Craigx - for sponsering DrMD 
    Mr. Spiv for his compression utility b2fxec and also for helping to find 
       the correct LCD settings for the BLU+
    Mr. Mirko for his excellent SDK    
    Gilles Vollant for his ZIP/UNZIP functions which made adding zip support
        DrMD a breeze. 
    Antiriad for the DrMD icon graphics.
    All of the beta testers   
    And everybody else I've forgotten...

###############################################################################

                                    __                                   
 _      ___      ___      __ ____ _/ /_  ____ __  __ _________  ____ ___ 
| | /| / / | /| / / | /| / // __ `/ __ \/ __ `/ |/_// ___/ __ \/ __ `__ \
| |/ |/ /| |/ |/ /| |/ |/ // /_/ / /_/ / /_/ />  <_/ /__/ /_/ / / / / / /
|__/|__/ |__/|__/ |__/|__(_)__, /_.___/\__,_/_/|_(_)___/\____/_/ /_/ /_/ 
                          /____/                                         

                              www.gbax.com	
			    Sponsers of DrMD
################################################################################
