pete-gordon / oricutron

Portable Oric-1/Atmos/Telestrat and Pravetz 8D emulator
http://www.petergordon.org.uk/oricutron/
GNU General Public License v2.0
69 stars 25 forks source link

Converting from ORT to TAP #123

Open laurentd75 opened 6 years ago

laurentd75 commented 6 years ago

Hi there,

I'm trying to convert a program typed in Oricutron and saved as an .ORT file, to a .TAP file, so that I can then use the Bas2Tap utility by Fabrice Frances to save it to a text file so I can edit it on my PC...

So really I'm trying to achieve an ORT --> TAP --> TXT conversion.

Unfortunately, I haven't suceeded in doing this, as I didn't find any utility to convert from ORT to TAP format.

Looking at the "tape.c" source and the functions to write files in ORT format, I stumbled upon this function:

// This converts oric standard encoded waveforms to decoded TAP sections static int tapsections( unsigned char ortbuf, int ortbuflen, unsigned char scratch, SDL_bool slow )

I'm not sure whether/how it could be adapted to write a small, standalone utility to convert an ORT file to a TAP file?

Could you please give me some advice, and/or tell me whether there actually is an existing means of converting an ORT file to a TAP file (or even to a WAV file?).

Thanks in advance, Laurent

PS - I am not sure it is appropriate to raise an issue for this question, as this question is not related to any bug... Please consider this a a question / enhancement/feature request for an ORT to TAP converter, either built in Oricutron or packaged as a standalone executable... :-)

nekoniaow commented 6 years ago

I am not an Oricutron developer but it seems to me that you would be better off asking this question on the defence-force forums (if you did not already 😉).