-
Notifications
You must be signed in to change notification settings - Fork 20
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
Reduce calls to mega65_io_enable()
#43
Comments
To the last point, the following parts of core and utilities do enable mega65_io:
So I gather we are save on that side. As you have added versions, this is a good change as it reduces repetition, which makes the program slower, so if someone forgot to enable MEGA65 IO at the start of the program, they can fix it after reading the release notes. Additrional idea: If we add a real startup for MEGA65 C programs to the various compilers, then the startup should do that and the user does not need to remember, right? |
Is this habit still the case? Line 557 in 0f7bdab
|
good question, lets ask @dansanderson |
The Compendium warns that DOS operations reset the KEY register. I don't see where this happens in code. ( There are only a few direct references to I have tried and failed to set a watchpoint on a VIC register, so I don't know if there's an easy way to interrogate this. Ideas welcome. Let me know how else i can help. |
To ensure that MEGA65 expanded features are availbel,
mega65_io_enable()
is called from many functions, for examplememory.c::do_dma()
and multiple places infcio.c
, see e.g. the call graph produces by Doxygen:The text was updated successfully, but these errors were encountered: