Tape to EPROM possible ?

Discussions about Sinclair ZX80 and ZX81 Hardware
momo54180
Posts: 2
Joined: Wed May 29, 2024 5:49 pm

Tape to EPROM possible ?

Post by momo54180 »

Hello,

How can I transfer a program recorded on an audio tape to an eprom type 2716 or 2732?
Thanks for your help

Christian
User avatar
Paul
Posts: 1551
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: Tape to EPROM possible ?

Post by Paul »

That depends on what the program is doing and from where.
First thing to do is to put it into a file on a modern machine.
With the help of a ZXPand or vDrive.
If you don't have something like this you can try to use eightyone emulator and read via audio and save via zxpand emulation or via virtual tape.
In case nothing of is possible for you can ask here for someone willing to help
Ideally living in the same country as you because posting into foreign countries has become very expensive. You will need to mail the tape.
In theory, there is no difference between theory and practice. But, in practice, there is.
User avatar
XavSnap
Posts: 1994
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Tape to EPROM possible ?

Post by XavSnap »

Hi Christian,

Welcome aboard.
The "Timex Store Demonstrator" card able to run a tape image, at the startup.
Here: https://www.sinclairzxworld.com/viewtop ... 092#p46092

But all ASM routines had to be fixed to the $2000 memory offset, instead off $4000 (factory setup).
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
momo54180
Posts: 2
Joined: Wed May 29, 2024 5:49 pm

Re: Tape to EPROM possible ?

Post by momo54180 »

Merci Paul et XavSnap pour vos réponses.
Si je grave le contenu d'un fichier .P dans une EPROM ainsi qu'un petit programme loader en LM pour
transferer son contenu en RAM (avec LDIR), cela peut-il marcher ?
Merci pour votre aide

Thank you Paul and XavSnap for your responses.
If I burn the contents of a .P file in an EPROM with a small loader program in machine code to
transfer its contents to RAM (with LDIR), can this work?
Thanks for your help
User avatar
Paul
Posts: 1551
Joined: Thu May 27, 2010 8:15 am
Location: Germanys west end

Re: Tape to EPROM possible ?

Post by Paul »

Yes, that's the Idea
In theory, there is no difference between theory and practice. But, in practice, there is.
jdfan1000
Posts: 86
Joined: Tue Aug 02, 2016 8:06 pm
Location: Buffalo, NY
Contact:

Re: Tape to EPROM possible ?

Post by jdfan1000 »

Do you need it to autorun or are you ok with something like RAND USR 8192 to start it?

The Timex/Sinclair 1510 cartridge dock was reverse engineered a while back and a couple folks in the US are working on updating it. They’ve managed to make cartridges with up to 4 images and code to convert a P file to the binary the EPROM needs, even accounting for weird issues with the program itself.
My archive.org collection, containing many Timex/Sinclair related publications.

TimexSinclair.com, my website about Sinclair computers in the US.
User avatar
XavSnap
Posts: 1994
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Tape to EPROM possible ?

Post by XavSnap »

HI,
Yes, you had to launch the binary using a USR or a simple RUN on the TS1000 demonstrator card.

Only the Memotech MemoCalc & MemoText are an autorun device.
Both cards patch the ZX81 ROM and change a "JP" in the BASIC ROM segment.

Better use my EEPROM Server, no ? : https://forum.system-cfg.com/viewtopic. ... 00#p196400

Edit: The Timex/Sinclair 1510 cartridge dock isn't an autoload system.
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
kolbeck
Posts: 48
Joined: Sat May 02, 2020 3:10 pm

Re: Tape to EPROM possible ?

Post by kolbeck »

XavSnap wrote: Sun Jun 09, 2024 1:23 am Edit: The Timex/Sinclair 1510 cartridge dock isn't an autoload system.
I have investigated this a little in relation to my own take on an external ROM interface for the ZX81. From my understanding, 1510 Cartridge will only autoload on a TS1500 as the ROM is modified to do a simple check for a ROM expansion at $2000 (combined with the fact that TS1500 does not mirror the ROM in this area).

Code: Select all

; Start expansion ROM at $2000 if byte != $FF

        ld      hl, $2000       ; first address in the expansion ROM
        dec     (hl)            ; decrement it; if it was $FF (i.e. no ROM present)
                                ; decrements to zero
                                ; the TS-1500 does full-address decoding, i.e. there is no copy
                                ; of the base 8K rom at $2000
        jr      nz, INITIAL     ; no ROM present - continue to setup memory

; Jump into expansion ROM

        jp      (hl)

        defb    0               ; spare byte
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
User avatar
XavSnap
Posts: 1994
Joined: Sat May 10, 2008 4:23 pm
Location: 'Zx81 France' Fb group.

Re: Tape to EPROM possible ?

Post by XavSnap »

Hi kolbeck,

I don't remember the TS1500 setup, but in my mind, this computer host an additional ROM in $2000 with a FastLoad and a Fast Save routine.
The TS1510 seem to replace this memory segment ?
Xavier ...on the Facebook groupe : "Zx81 France"(fr)
User avatar
kolbeck
Posts: 48
Joined: Sat May 02, 2020 3:10 pm

Re: Tape to EPROM possible ?

Post by kolbeck »

XavSnap wrote: Mon Jun 10, 2024 10:07 am Hi kolbeck,

I don't remember the TS1500 setup, but in my mind, this computer host an additional ROM in $2000 with a FastLoad and a Fast Save routine.
The TS1510 seem to replace this memory segment ?
Hi,
Never had the chance to get a TS1500 :-) But from info found around, yes in this case with the TS1510 - the memory is replaced with the content of the cartridge. But also, the TS1500 ROM has been changed to handle this as well.
https://api.zxinfo.dk/v3/ - ZXDB API for developers
zxinfo-file-browser - Cross platform app to manage your files
https://zxinfo.dk - another ZXDB frontend
Post Reply