Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed compile and linking problems: #4

Merged
merged 2 commits into from
Apr 27, 2024
Merged

Fixed compile and linking problems: #4

merged 2 commits into from
Apr 27, 2024

Conversation

joley-gh
Copy link

There were a few problems when compiling:

Fixed wrong BOZ usage:
At some Points the literal constant definition was defined as a suffix, which is no longer supported
-> changed ''X to Z'' for hex data
-> BOZ usage must be inside a data block, fixed aswell

Fixed link usage to linkup and removed wrong external Fixed etime usage and removed wrong external
-> 2 times the function link was used instead of linkup
-> external was used to supress the error, which is not correct
-> the same for etime, here a dummytime is added, to satisfy the parametercount of the function

Added compilerflag to allow carriagcontrol (-fdec)

Modified scratch array initialization to match the datatype.
Before, the integer array was initialized with the strings 'scra' 'tchx', which is not valid and resulted in garbage
Now it is initialized with two zeros, which solves the compiler error. The resulting behavior is unknown.
As the initialization was wrong before, the behavior should not change.

Fixed wrong BOZ usage
Fixed link usage to linkup and removed wrong external
Fixed etime usage and removed wrong external
Added compilerflag to allow carriagcontrol
Modified scratch array initialization to match the datatype. Initialization with 0, before string -> most likely resutled in garbage (behavior unknown)
@joley-gh joley-gh changed the title Fixed compile and linking probelms: Fixed compile and linking problems: Apr 27, 2024
@Foadsf Foadsf merged commit 51336d6 into Foadsf:dev Apr 27, 2024
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