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

IMPORT should be direct mode only #182

Open
dansanderson opened this issue Nov 25, 2024 · 0 comments
Open

IMPORT should be direct mode only #182

dansanderson opened this issue Nov 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dansanderson
Copy link
Collaborator

Test Environment (required)
You can use MEGA65INFO to retrieve this.

  • ROM Release: 920409

Describe the bug
The IMPORT command modifies the current BASIC program and should therefore only be a direct mode command. However, as of ROM 920409, it lacks a check for direct mode and does attempt to modify the currently running BASIC program if the program contains an IMPORT statement. This almost works but has undefined behavior. We should add the direct mode check and error to the beginning of this command.

(Historically, IMPORT has had very poor error reporting. We only recently fixed it to report disk errors.)

@dansanderson dansanderson added the enhancement New feature or request label Nov 25, 2024
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