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

Add Python version #6

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

dtwilliamson
Copy link

@dtwilliamson dtwilliamson commented Jul 6, 2023

This is a fairly straightforward port to Python made without knowledge of how the simulator works. It has nothing to do with the Commodore 64, but provides a variant of the code that may prove valuable to some. It provides some contrast to the limitations present in a 40+ year old dialect of BASIC.

More detailed variable and function names could be a next step. The functions that perform swaps could use some work. There's probably plenty of other room for improvement.

I implemented the fall-through discussed in issue #5 but if that's changed, the call to y0 can be removed from x1.

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.

1 participant