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

Loading WAV files #1

Open
shokre opened this issue Sep 16, 2021 · 0 comments
Open

Loading WAV files #1

shokre opened this issue Sep 16, 2021 · 0 comments

Comments

@shokre
Copy link
Owner

shokre commented Sep 16, 2021

Loading .wav files by name supplied from LMEM or LOAD currently does not make any sense.

Example

Let's say that you want to load SPACEINV.WAV which is a tape recording of a Space Invaders clone by PELsoft (Barišić Krunoslav - KMI Borovo).

You would type in BASIC:

LMEM"SPACEINV"

Emulator would open wav/SPACEINV.WAVtape file, but BASIC's LMEM would not load Space Invaders, because it expects that a tape contains file named SPACEINV, yet file (BASIC loader) on tape file is actually named S.INVADERS, so LMEM ignores it.

Renaming a file to wav/S.INVADERS.WAV, and loading with LMEM"S.INVADERS", also doesn't help, because file name recorded in .wav file header still doesn't match file name requested in LMEM argument.

Workaround

Actually, renaming wav/SPACEINV.WAV to just wav/.WAV works when loading with LMEM"", because LMEM loads first thing found on tape.

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