I am getting invalid vari name when I bracket an if statment, take them off and error goes away.
Also my program goes nuts if I multiply a simple word, do plus minus and it works fine. I am however into bank 2 now for my vari, so I delete a bunch so it all is in bank one, still have the errors/issues.
I do not understand, this is confusing now.
Mz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you please post the program here, or email it to me if it's too long? I'll have a look and see what's causing the trouble.
I've been able to deal with the double call bug and a function bug (both were added in the last update). Still haven't been able to deal with the banking bug, that will take a bit longer. I'll upload a new version once these bugs have been dealt with.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for responding Hugh, I solved this math one, I had some intense code.
Doing to much math inline, as soon as I broke it out to multiple formulas it worked as expected so I assume it was to complex for gcb to sort out.
I think it is a none issue.
As for the banking one, at this time without that working properly I am at a stand still on almost all my projects now.
Not even doing arrays for the varibles will work, the program always just jets off to some unknown location (my guess) and the programs go crazy.
When I add Z to them they all go to the end of the defines and the program runs fine until I encounted a vari that is in another bank and then poof.
Gets real interesting when you have a word that is split between the banks, yikes. lol I have tried alot of things but none seem work.
I'll wait and see what the next update holds for me.
Mz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think there are still some bugs in CGB?
I am still under the 2k limit.
I am getting invalid vari name when I bracket an if statment, take them off and error goes away.
Also my program goes nuts if I multiply a simple word, do plus minus and it works fine. I am however into bank 2 now for my vari, so I delete a bunch so it all is in bank one, still have the errors/issues.
I do not understand, this is confusing now.
Mz
Ok, after looking at the asm, I noticed none of the multiply commands where there.
So I deleted all my vari up to just at bank one full before it overflowed into bank two. Now when I compile I see the math statements.
And they work, it also got rid of the invalid vari prob with the bracketed if statment. Huh?
So is there a problem also with math crossing banks?
Mz
Can you please post the program here, or email it to me if it's too long? I'll have a look and see what's causing the trouble.
I've been able to deal with the double call bug and a function bug (both were added in the last update). Still haven't been able to deal with the banking bug, that will take a bit longer. I'll upload a new version once these bugs have been dealt with.
Thanks for responding Hugh, I solved this math one, I had some intense code.
Doing to much math inline, as soon as I broke it out to multiple formulas it worked as expected so I assume it was to complex for gcb to sort out.
I think it is a none issue.
As for the banking one, at this time without that working properly I am at a stand still on almost all my projects now.
Not even doing arrays for the varibles will work, the program always just jets off to some unknown location (my guess) and the programs go crazy.
When I add Z to them they all go to the end of the defines and the program runs fine until I encounted a vari that is in another bank and then poof.
Gets real interesting when you have a word that is split between the banks, yikes. lol I have tried alot of things but none seem work.
I'll wait and see what the next update holds for me.
Mz