The way I was doing it originally was to have two instances of GHD open at the same time, viewing the PM7 rom with GHD 1.03, and making changes to Ghettotune.bin with GHD 1.6. All the data entry was done manually, just punching in the numbers from the PM7 rom into the ghettotune.bin. Someone (Carsten Schmidt) posted a simple OBD0 editor a few weeks ago, and it supports PM7 roms...so I used it instead of GHD 1.03 to view the PM7 bin, which lead to my discovery.
As far as I can tell, the only errors in GHD's calculation is in the two fuel columns listed in my last post...all other data is correct, so I suspect you've got the formula right, but maybe those columns are in a different location (offset? Still learning this shit
in the PM7 roms than the PM6 ones. I dunno...either way, he's probably the one to ask, cause it looks like he's already got the answers you're looking for.
One great idea that he implemented in his editor is the ability to export/import maps, which makes setting up your base tune SO much easier...I could see how this wouldn't be a big deal for someone running a D16a6 with a PM6 ECU (nothing to be done but tweak the stock rom), but in my case (and others like me) where I've swapped engines, it's a huge advantage, b/c instead of having to manually type in all the entries, you can instead open your template, export the settings to a file, open your GHD bin, import the settings, and you're done. I imagine that it wouldn't be that hard to do programatically, but hey, I'm not a developer, I just play one on TV.
Hope that helps a little, sorry I can't offer more insight. If I can help in any other way (beta testing, etc...) let me know. I'm more than happy to contribute where I can. -Z
P.S - I've attached a copy of the editor I referenced, as well as my completed GHD 1.6 bin, complete with PM7 fuel and timing maps in case you're curious. -Z