Possible to use a tzxduino or tap dancer to play games into Lynx?

cypher007
Mensajes: 2
Registrado: 07 Ene 2021 23:02

Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor cypher007 » 21 Ene 2021 00:18

Is it possible to play the Tap files into a Lynx using a tzxduino? Maybe converting them to wav then to tzx? Or using tap dancer to play them directly?

BlackHole
Mensajes: 1231
Registrado: 03 Ago 2011 23:07
Ubicación: Aluche, Madrid
Agradecido : 13 veces
Agradecimiento recibido: 286 veces

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor BlackHole » 21 Ene 2021 00:36

Yes, it is possible to convert Lynx TAP to TZX. I started coding a project to do so 6 years ago, but I never finished it -frustrated

Eternal procrastination -blush2

rcmolina
Mensajes: 17
Registrado: 12 Oct 2019 06:05
Agradecimiento recibido: 7 veces

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor rcmolina » 21 Ene 2021 07:18

@cypher007, there is a general workaround for unsupported native formats, so @blackhole and orhers go with no pressure. I explain this procedure in my last youtube video for AppleII and others:

1) convert your file to wav, square wave is almost a must to get later good results. This wave should not have a very high sampling freq to be error free. 11KHz is good, but with 5,5Khz you get a half size file. Obviously, this depends on freqs used on your file.
2) get your 8 bit voc, I use Audacity for this but other like ffmpeg or sox sould be ok.
3) Use DIRECT utility to resample and get a tzx with id15.

I can focus on some tests if you want cause I have lynx core for sidi and zxuno, but this has been verified for other computers as Sharp mz, etc

Ps. Other procedures possible, with Natalia Pujol tools, etc.

Regards,

Rafa

cypher007 escribió:Is it possible to play the Tap files into a Lynx using a tzxduino? Maybe converting them to wav then to tzx? Or using tap dancer to play them directly?

Avatar de Usuario
Mike
Mensajes: 54
Registrado: 20 Jun 2020 00:13
Agradecido : 135 veces
Agradecimiento recibido: 53 veces
Contactar:

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor Mike » 21 Ene 2021 10:49

I have a version of my utility that outputs square waves but it's still work in progress. I'll look into the tzx format too but I've never used tzxduino so I need to read up on it.

I am also thinking about transfers via the joystick interface - but that's for another thread. (I haven't managed to get serial input via the serial port working - only serial outputting).

jltursan
Mensajes: 3412
Registrado: 20 Sep 2011 13:59
Agradecido : 331 veces
Agradecimiento recibido: 935 veces

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor jltursan » 21 Ene 2021 13:08

3) Use DIRECT utility to resample and get a tzx with id15.

I can focus on some tests if you want cause I have lynx core for sidi and zxuno, but this has been verified for other computers as Sharp mz, etc

Ps. Other procedures possible, with Natalia Pujol tools, etc.

I'm also interested in this subject, where can I find DIRECT utility or related Natalia tools?

I am also thinking about transfers via the joystick interface - but that's for another thread. (I haven't managed to get serial input via the serial port working - only serial outputting).

Yep, it deserves a new thread...and I presume it'll turn into a hot one :-D

Definitely I need more spare time!

rcmolina
Mensajes: 17
Registrado: 12 Oct 2019 06:05
Agradecimiento recibido: 7 veces

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor rcmolina » 21 Ene 2021 16:15

@jltursan

DIRECT: you can get it in my github, but its not mine, it' from Tomaz Kac:
https://github.com/rcmolina/z802tzx3
or here:
https://github.com/rcmolina/AppleII_tools/tree/main/c2t

Maketsx: https://tsx.eslamejor.com/

jltursan escribió:
3) Use DIRECT utility to resample and get a tzx with id15.

I can focus on some tests if you want cause I have lynx core for sidi and zxuno, but this has been verified for other computers as Sharp mz, etc

Ps. Other procedures possible, with Natalia Pujol tools, etc.
I'm also interested in this subject, where can I find DIRECT utility or related Natalia tools?

BlackHole
Mensajes: 1231
Registrado: 03 Ago 2011 23:07
Ubicación: Aluche, Madrid
Agradecido : 13 veces
Agradecimiento recibido: 286 veces

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor BlackHole » 21 Ene 2021 19:28

jltursan: Well, the "Direct Recording" (ID 15) block is way overkill, it's like embedding a WAV file into the TZX itself. Even the "CSW Recording" (ID 18) which could be about 1/10th of the size of ID 15 (since CSW only stores square pulses and can be gzipped), is also too much, and both of them completely defeat the whole purpose of TZX format itself. Those two blocks are designed to include chunks of data or strange modulations which are impossible to be defined with the other TZX blocks. That's obviously NOT the case of Lynx, as it has a simple structure that can be easily replicated with a standard ID 11 block with the proper timings.

Obviously, TZX creates square WAVs, but the couple of examples I sent to ron in 2014 were able to load even if they weren't sine waves. In those 2014 tests I was even able to create a Level 9 game TZX tape (I didn't send that one to ron because it wasn't complete: only had the first load of three), but however I spent too much time trying to create a reliable TAP parser, and didn't finish the tool. As I said above, my procrastination is to blame.

Avatar de Usuario
Mike
Mensajes: 54
Registrado: 20 Jun 2020 00:13
Agradecido : 135 veces
Agradecimiento recibido: 53 veces
Contactar:

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor Mike » 21 Ene 2021 21:23

I can confirm that square waves work on real lynx hardware. I've done that with wavs.

Avatar de Usuario
ron
Mensajes: 19535
Registrado: 28 Oct 2010 14:20
Ubicación: retrocrypta
Agradecido : 2446 veces
Agradecimiento recibido: 2232 veces

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor ron » 21 Ene 2021 21:31

I think I remember that the trick is to use a hidden option in the step from .TAP to .WAV that what it did was use square waves.
And then from .WAV to .TSX use the -b15 option

rcmolina
Mensajes: 17
Registrado: 12 Oct 2019 06:05
Agradecimiento recibido: 7 veces

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor rcmolina » 22 Ene 2021 18:10

For testing anyone else ... OK for me with lynx core and SiDi FPGA

EDIT: Using BlackHole timing for TAPE 5: 578 T-states

TAPE5
LOAD"AIR RAID"

TAPE5
MLOAD"ECHECS"

TAPE5
LOAD"JSW"
Adjuntos
Logichess v2.2 (1983)(Danielsen, Kaare - Ekner, Hartvig)(96K)_6KHz.tzx
(59.36 KiB) No descargado aún
Jet Set Willy (1984)(Tynesoft)(Matthew Smith)(96K)_6KHz.tzx
(111.52 KiB) No descargado aún
AIRRAID_TAPE5_6KHz.tzx
(11.45 KiB) No descargado aún

cypher007
Mensajes: 2
Registrado: 07 Ene 2021 23:02

Re: Possible to use a tzxduino or tap dancer to play games into Lynx?

Mensajepor cypher007 » 29 Ene 2021 00:54

Thanks all will have to do some experiments.


Volver a “Camputers Lynx”

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 1 invitado