FMDrive VST can send MIDI out
viewtopic.php?t=1402
The user can attached any MIDI CC#, aftertouch etc.. to each an every register of the YM2612.
each instance of the VST will process 1 FM channel.
You could then stream the MIDI output to your dev kit in real time...
If you export the track as a MIDI file you can store the whole track easily.
It is up to you to choose the update rate of registers, FMDrive can output MIDI internally at sample rate if needed but still you will have to check the physical baud rate of MIDI if you transfers via MIDI cable (which should be enough in most cases for YM2612.)
There is a general standardized mapping for this that is implemented in a MID2VGM converter by ValleyBell (btw unreleased publicly yet), GenMDM MIDI device and Foobat's Dual YM2612 module.
Mapping is pretty linear , 0-127 range >> register range excepted TL which is reversed for convenience 0 - 127 >> 127 - 0
http://www.alyjameslab.com/tempdata/YM2 ... CC_MAP.txt
Still whatever you do, any controls can be mapped by the user with a simple right click assign on the GUI, so do what you want
FMdrive VST comes with a standalone host to, so it can be used to test a voice in real time, patch changing also sends all the assigned MIDI controls parameters.
As for using the ROM pointed to by this thread, there should be added a conversion routine to handle the note on/off, note number, and pitchbend MIDI data.
from where the MIDI stream comes in is up to the dev, for example Littlescale's GenMDM uses PORT#2