I'll be mailing it in a few minutes. It's a .zip, you have to re-name it. Google won't mail zips.
OK, thanks I've got it.
My bad. I re-named it in the test directory. It's squirrel.c
OK, so it is the same file that I've been working with, and compiling successfully.
I didn't see you trying to build a cd version, with the mml in the right place. Bank 9 doesn't exist on a 2.0 card, and you don't appear to be re-building the mml....
Nope, I didn't rebuild the MML because I didn't need to ... there's already a working MML file.
And you already know that I need you guys to change mml2pce in order to add the "__" to the variable names.
So ... with your new version of mml2pce, I've built a working CD of squirrel.c, and I can see that "yes", there's a problem when you try to put the sound data in bank 6 ... but everything is happy if you change it to put the sound data in bank 5.
Err ... I'm not seeing any problem with that. The new HuC is a bit more strict about where it puts the trampoline code for banking in the .proc functions.
It now goes in the last bank in the ROM/ISO.
So if you build a regular CD, and put the sound data in bank 6 ... then the game code starts in bank 7 ... and the trampoline code goes into bank 8, which doesn't exist, and so everything fails.
The big question is why-on-earth put the sound data into bank 6???
You've got multiple wasted-banks with nothing in them much lower than that.
You should be putting the sound data into bank 4.
HuC puts all of its data first, bank-by-bank, and then it puts its code after the data banks.
By declaring that the sound data starts in bank 6 (or 5, or 9), you're just pushing all of the code into later banks and wasting space.
Nobody sent me anything. And I don't run Java unless absolutely required, so sropbox is out.
Luckily I have friends who send me things - that's how I grabbed the compiler. But it took a couple of weeks.
I sent you and Arkhan a link to the files on dropbox as part of our PM'd conversation at the time.
That seemed to be good-enough for Arkhan, and I didn't hear any complaint from you, or a request to have them sent by email instead.
Dropbox doesn't use Java (the programming language), it uses Javascript (aka ECMAscript), which is built into all web browsers. They are totally different technologies.
Now, if you choose to avoid all websites which use Javascript, then good-for-you ... but it would be helpful to know that.
BTW ... you can just install noscript or something like that to gain control over the execution of Javascript in your web browser.
****************
Anyway, I've emailed you the fully-working version of Squirrel (for both the old and new HuC).
It includes the latest change to use SOUND_BANK instead of PSG_BANK.