Skip to content

Conversation

@TC01
Copy link
Contributor

@TC01 TC01 commented Mar 19, 2016

The documentation says that MIN_AMS defaults to 1.01, but new TPR files are still created with MIN_AMS = 1.00. This creates a confusing situation where the IDE compiles code directly but attempting to use tprbuilder on Linux will fail, because it reads "Minimum AMS Version" out of the tpr as 1.00.

The documentation says that MIN_AMS defaults to 1.01, but new
TPR files are still created with MIN_AMS = 1.00. This creates a
confusing situation where the IDE compiles code directly but
attempting to use tprbuilder on Linux will fail, because it
reads "Minimum AMS Version" out of the tpr as 1.00.
@kkofler
Copy link

kkofler commented Jan 22, 2023

1.01 is the default in TIGCCLIB, due to backwards source compatibility with code written before MIN_AMS was introduced. Such backwards compatibility concerns obviously do not apply to new projects, so the TIGCC IDE has always defaulted to MIN_AMS 1.00. If you want to use newer versions' ROM_CALLs, you should set the version you require explicitly. (1.01 is not necessarily sufficient either.)

If the GCC4TI IDE really compiles code assuming MIN_AMS 1.01 out of the box as a new project, that would be a regression. Especially if it then writes 1.00 into the TPR. But at first glance, I do not see any change in the IDE's code that would cause such a regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants