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

Release 201 corrections #510

Merged
merged 7 commits into from
Sep 1, 2024
Merged

Release 201 corrections #510

merged 7 commits into from
Sep 1, 2024

Conversation

nbriggs
Copy link
Collaborator

@nbriggs nbriggs commented Aug 29, 2024

Corrections to code and improvements to build infrastructure to enable building older releases of Maiko compatible with older Medley sysouts.

  • makeright will use the value of the environment variable RELEASE to select the version to build (default current, 351)
  • CMake option MAIKO_RELEASE selects the version to build if using that tool (default current, 351)
  • corrects a parameter type in modify_big_reference_count to reflect that the size of a GC table entry depended on the version.

The build artifacts and directories do NOT include the release version number, so be careful to clean before building. An enhancement here could be to add the version for non-current build directories and executable names.

While the code now compiles, attempting to run an older (2.0) sysout does not work, so more investigation and fixes remain to be done.

nbriggs added 7 commits August 5, 2024 16:20
Version 201 does not have BIGVM, so SWA_FNHEAD requires swapx
which is defined in byteswapdefs.h
Version 201 did not have NEWCDRCODING, so the implementation of
N_OP_rplcons requires definitions from gcdata.h and address.h
…rsions

The makeright script and the makefile-* slices it depends are modified
to allow easily specifying the RELEASE version number of the Maiko emulator
to be built.  The default version remains 351, but can be changed with e.g.

RELEASE=201 ./makeright x

The object directories and executables are NOT named with the version.
…pendence on GCENTRY size differences between releases
@pamoroso
Copy link

It would be useful to have some notes on the new build options, for example by copying this PR's description to the Maiko README.

@nbriggs
Copy link
Collaborator Author

nbriggs commented Aug 30, 2024

A complete update of the README.md would be good. There's no SDL, Networking, or CMake info there either.

However, building for an old release is not (yet) interesting for anyone who isn't pretty familiar with the history of Medley releases, the various changes that the different versions implied (big atoms, bigvm, bigbigvm, etc.) and helping debug the Maiko code.

Copy link
Member

@masinter masinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there value in merging this without the additional documentation. I suppose so.

@nbriggs nbriggs merged commit aa4df51 into master Sep 1, 2024
@nbriggs nbriggs deleted the release-201-corrections branch December 3, 2024 17:51
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.

None yet

3 participants