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

Stop loading DFS #50

Open
ojwb opened this issue Nov 16, 2022 · 0 comments
Open

Stop loading DFS #50

ojwb opened this issue Nov 16, 2022 · 0 comments

Comments

@ojwb
Copy link
Collaborator

ojwb commented Nov 16, 2022

Currently the bot loads DFS, which seems entirely useless but raises PAGE by 2816 bytes. Even in the best case of MODE7 and rocket mode, that's a 10% reduction in the available RAM to BBC BASIC. In MODE2 and with the GXR loaded it's a whopping 35% reduction.

I've butted up against this restriction and been annoyed by it multiple times, but I didn't propose changing it before as doing so would break programs which assume the value of PAGE (and while you really shouldn't assume the value of PAGE in general, in the context of squeezing the most out of every byte of code for the bot it's often handy to do so).

However the move to mastodon gives us a good opportunity to reconsider this - it seems more reasonable that existing programs from the bot may not work unmodified in this brave new world.

If there are some genuine uses for having DFS loaded (or if we just want to provide a simple way to run old programs which assume PAGE without reworking them), we could support a floppy disk emoji to reenable it.

Happy to provide a patch, though that really requires git to be up to date.

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