Updated elfos_final.inc and caOS.bat to generate Elf/OS programs with… - #3
Open
fourstix wants to merge 1 commit into
Open
Updated elfos_final.inc and caOS.bat to generate Elf/OS programs with…#3fourstix wants to merge 1 commit into
fourstix wants to merge 1 commit into
Conversation
… version information
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated code in elfos_final.inc to add the current date information, build number and "LCC1802" identification string. The change includes the initial branch statement to branch over the build information to the new program code location (CODELOC) which is now immediately after the build information at 0x2010.
The batch file caOS.bat to update CODELOC with the new value of 0x2010.
This code has been tested with helloworld.c which works as expected. Running the Elf/OS version command against this binary, with the command "ver helloworld", yields the expected string "1/29/2022 Build: 1 LCC1802" with the correct date string.