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

Improvements to 6502 emulation #5

Open
mzattera opened this issue Jan 2, 2021 · 1 comment
Open

Improvements to 6502 emulation #5

mzattera opened this issue Jan 2, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@mzattera
Copy link
Owner

mzattera commented Jan 2, 2021

  • Math and bitwise functions use a work area that is cleared at each call. It is to be checked how many cells are actually used in calls and clear only the bare minimum that is needed; do it with BF code directly -> Hint isolate the brainfuck code for each function in the C code, replace acces to m[] with functions to track which cell is accessed. -> replace clean_tape with required [-]>

  • Check performance of functions and use them accordingly; is mod X 255 faster than AND X 255? -Should we add a SHL call?

@mzattera mzattera added the enhancement New feature or request label Jan 2, 2021
@mzattera
Copy link
Owner Author

First bullet point above is fixed in v.2.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant