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

"Raw" mode for BSAVE #157

Open
dansanderson opened this issue Aug 11, 2024 · 0 comments
Open

"Raw" mode for BSAVE #157

dansanderson opened this issue Aug 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dansanderson
Copy link
Collaborator

It is possible to load a SEQ file without a PRG-like two-byte header by requesting that it be loaded into "raw" mode:

BLOAD "FNAME,S",P($1600),R

There ought to be a symmetric equivalent for BSAVE. Right now, BSAVE "FNAME,S" does create a SEQ file, but it always writes the start address. It accepts but silently ignores the ,R flag. This issue requests that BSAVE notice and respect the R flag, symmetrically with BLOAD:

BSAVE "FNAME,S",P($1600) TO P($160F),R

Alternatives considered
The ,S in the filename business is not the nicest, but it's traditional and would take more work to invent a new API that does the same thing. E.g. an ,S flag to the command could append ,S to the filename sent to the DOS and imply ,R automatically.

@dansanderson dansanderson added the enhancement New feature or request label Aug 11, 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