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

Remove non-standard opcodes #23

Open
DavidKinder opened this issue Aug 20, 2024 · 0 comments
Open

Remove non-standard opcodes #23

DavidKinder opened this issue Aug 20, 2024 · 0 comments

Comments

@DavidKinder
Copy link
Owner

DavidKinder commented Aug 20, 2024

Git has two non-standard Glulx opcodes, git_setcacheram (0x7940) and git_prunecache (0x7941). These are never, to my knowledge, used. It seems wrong to have unused non-standard opcodes, so these should be removed.

The Glulx specification says

Opcodes 0x7900 to 0x79FF are (apparently) reserved for experimental features in the Git interpreter.

Once these opcodes are gone, a change should be pushed to the specifications repository to change this to something historical, e.g.

Opcodes 0x7940 and 0x7941 were available for cache control in the Git interpreter, however this is no longer supported and these opcodes should not be considered to be reserved.

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

No branches or pull requests

1 participant