emustudio / emuStudio

Universal emulation platform and framework.
https://www.emustudio.net/
GNU General Public License v3.0
40 stars 9 forks source link

Byte Memory: Ability to load tap and tzx files #318

Open vbmacher opened 1 year ago

vbmacher commented 1 year ago

It is really useful to be able to load tape files in memory. They are similar to hex files in that they are aware of addresses. User doesn't need to specify address.

vbmacher commented 1 year ago

TAP and TZX files are meant to be loaded by ZX spectrum machines through audio line which, when timing is correct, temporarily sets/clear EAR bit in ULA. While the TAP/TZX data is ofcourse easily parseable, it is usually very BASIC-specific, ie.:

Therefore it is really dangerous to load TAP/TZX at user-specific (or somehow detected) address. Maybe it can be allowed at own risk, but the TAP/TZX must be implemented probably in ZX spectrum "device". TAP/TZX parsers can be put to emuLib.