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

Replace program name with REM> #2

Closed
tom-seddon opened this issue Jul 21, 2018 · 0 comments
Closed

Replace program name with REM> #2

tom-seddon opened this issue Jul 21, 2018 · 0 comments

Comments

@tom-seddon
Copy link
Owner

Might as well just always use the REM> name, if it's there. Make it work like (I think?) BASIC V - SAVE saves it to the REM> name if there is one, or error if not. SAVE XXX saves it to XXX.

(Just find the REM> suffix, and use that as the file name for OSFILE. It's CR-terminated, and the filing system can check the rest. Save 15 bytes of zero page and a bit of code.)

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