Skip to content

Don't load DFS by default #57

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

Open
wants to merge 1 commit into
base: mastodon
Choose a base branch
from
Open

Don't load DFS by default #57

wants to merge 1 commit into from

Conversation

ojwb
Copy link
Collaborator

@ojwb ojwb commented Nov 26, 2022

DFS was an add-on to the original hardware and isn't really useful with the bot. Loading it by default 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.

Support enabling DFS via an emoji, which is probably only really useful as a way to allow easily running programs written for older versions of the bot which assume the value of PAGE or the screen contents.

Owlet ideally needs updating to match - happy to do that too.

DFS was an add-on to the original hardware and isn't really useful with
the bot.  Loading it by default 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.

Support enabling DFS via an emoji, which is probably only really useful
as a way to allow easily running programs written for older versions of
the bot which assume the value of PAGE or the screen contents.
@8bitkick
Copy link
Owner

8bitkick commented Nov 27, 2022

Make sense. The only thing that concerns me is there are tweets with Owlet links out there that may break if we change the DFS default.

How about we give Owlet different default DFS behavior based on data URL version :

We make a v:1 the Twitter era (DFS is included)

We make a v:3 for Mastodon era (no DFS by default)

I started down this path with my URL shortener which is now live

"v":3, // Mastodon era

@ojwb
Copy link
Collaborator Author

ojwb commented Nov 27, 2022

Good point, and the solution you suggest makes sense.

A new window really needs to default to v3 so that people writing new programs get something that matches the live bot.

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

Successfully merging this pull request may close these issues.

2 participants