
Info:
====

   This is was the very first NES2PCE project I did way back in 2007. There is no save game support.
  The audio is bit off and not CD audio. I had plans to update it but never got around to it.


 How:
 ===

   Since the CPU in the PCE is backwards compatible with the PCE, all the main game code runs as-is.
  The video and audio are quite different between the two systems, so I wrote some on-the-fly
  emulation/conversion in realtime. The game is writing to what it thinks is NES hardware, but I
  convert that to PCE hardware compatible dat on the fly. This takes time; I need to do this for the
  MMC1 mapper, the gamepad IO reads, the audio chip, and the video chip. But because the PCE runs the
  native game code at 4x the speed of the NES, there's enough left over CPU resource to convert the
  data for the additional hardware in realtime. Actually, from all my tests it still comes out ahead
  of the original NES in terms of speed - which amazed me.

   This Dragon Warrior project was primitive and not modular. I went on to make it a framework to be
  used for other NES games.

Cheats:
======

   Because there is no save feature (nothing is written to PCE BRAM), I decided to add a cheat. If
  you press/hold run+select+right, the game will give you 10k gold and level 15. You will see the gold
  immediately, and this is let you know it worked, but you won't see the level increase until you
  encounter an enemy (because the game does the level check during combat) - you will then be level 15
  will all the spells for level 15. Warning: if you are a higher level and use this cheat, it will
  revert you back to level 15 with 10k gold. But if you still level 15 and spent most of your gold,
  you can use this trick to replenish your gold. It does not give you new items or such - just gold
  and level 15.

   Dragon Warrior is a short enough that anyone can beat it in one sitting, but I wanted to give the
  option of... 'sort of' picking up near halfway through the game.


-TurboXray 2022
