Here's my modified version of Oopsware's PGM sources
Changes:
Added all of BisonSAS's changes
- Save State support
- pgmPalUpdate()
- Diagnostics Inputs
- Dipswitches "Music and Voice"
- Dipswitch "Disable Ba-Chieh" in sets orlegend, orlegnde and orlegndc
- Removed chinese title in orlegend, orlegnde and orld105k
- Save game configurations. (NVRAM)
Drawing, protection, decrypt, sound, drivers, etc are all in seperate files
All drivers for PGM games in MAME are added (though most, as in MAME, are not working)
- Killing Blade, The (Chinese) is working (though glitchy)
- Photoy2k & Real and Fake are working perfectly
- Puzzle Star is working (though glitchy, freezes after second stage)
- Dragon World 2 boots and runs, though the controls do not work (needs another irq?)
- PGM Homebrew (PGM Frog Feast, PGM Demo) are supported (in the source) and work Perfectly
All games have a shared loading routine (like CPS-2 and NeoGeo)
All games have a shared memory map (like CPS-2 and NeoGeo)
Improved Save states a little
Removed code meant for low-ram environment
Shortened and cleaned some code, removed a lot of 'printf's'
Added all decrypt routines