MZ2TAPE: Fast transfer 100ko / min through the tape socket / MZ2TAPE : Transfert rapide 100ko/min par la prise cassette

Buleste
Posts: 3
Joined: Sat Sep 15, 2018 2:41 pm

Re: MZ2TAPE: Fast transfer 100ko / min through the tape socket / MZ2TAPE : Transfert rapide 100ko/min par la prise casse

Post by Buleste »

It's the old version.
I've only just installed Visual Studio 2017 and haven't had much of a play with it yet tbh.

However all I've done is change a little bit in wav.c

Code: Select all

byte header[44] = { 'R', 'I', 'F', 'F',   // File description header.
                    0x0, 0x0, 0x0, 0x0,   // Filesize - 8.
                    'W', 'A', 'V', 'E',   // "WAVE" Description header.
                    'f', 'm', 't', ' ',   // "fmt " Description header.
                    0x10, 0x0, 0x0, 0x0,  // Size of WAVE section chunck.
                    0x1, 0x0,             // Wave type format.
                    0x1, 0x0,             // Mono or stereo.
                    0x22, 0x56, 0x0, 0x0, // Sample rate. 0x40 0xad for 44100Hz, 0x22 0x56 for 22050Hz, 0x40 0x38 for 14400Hz, 0x80 0x25 for 9600Hz
                    0x22, 0x56, 0x0, 0x0, // Bytes per second. 0x40 0xad for 44100Hz, 0x22 0x56 for 22050Hz, 0x40 0x38 for 14400Hz, 0x80 0x25 for 9600Hz
                    0x1, 0x0,             // Block alignment.
                    0x8, 0x0,             // Bits per sample.
                    'd', 'a', 't', 'a',   // "data" Description header.
                    0x0, 0x0, 0x0, 0x0 }; // Size of data chunk.
As you can see you can change it to what Frequency you want the output at. At least that is the theory. Until I get a chance to compile it I can't test it out.


EDIT
Okay managed to compile it now and it works to output at 22050Hz.
User avatar
rel2009
Posts: 18
Joined: Sun Jan 13, 2019 8:26 pm
Location: Manchester
Contact:

Re: MZ2TAPE: Fast transfer 100ko / min through the tape socket / MZ2TAPE : Transfert rapide 100ko/min par la prise casse

Post by rel2009 »

Update on this: me, Buleste and Jeron Laros have a solution for you: MZF2WAVGUI + ArduiTape = happy MZ700:

Watch how we did it: https://www.youtube.com/watch?v=ccbH-aJPW7A&t=2s
hlide
Posts: 681
Joined: Thu Jan 25, 2018 9:31 pm

Re: MZ2TAPE: Fast transfer 100ko / min through the tape socket / MZ2TAPE : Transfert rapide 100ko/min par la prise casse

Post by hlide »

First, you're hijacking the thread for another project with no link to MZ2TAPE.

Second, I really doubt your project is able to load a 48KByte binary in 20s unlike MZ2TAPE.
User avatar
rel2009
Posts: 18
Joined: Sun Jan 13, 2019 8:26 pm
Location: Manchester
Contact:

Re: MZ2TAPE: Fast transfer 100ko / min through the tape socket / MZ2TAPE : Transfert rapide 100ko/min par la prise casse

Post by rel2009 »

@hilde my bad I should have read the rest of the thread. It's no competition, we are all community guys wanting to help. In fact, I came across your solution quite late in the game. I had started my own solution called DigiWAVuino but abandoned it after realising someone was doing to better. I don't necessarily want to own or take credit for the problem. I just want a solution. In fact, I'd probably end up using MZ2TAPE myself.
hlide
Posts: 681
Joined: Thu Jan 25, 2018 9:31 pm

Re: MZ2TAPE: Fast transfer 100ko / min through the tape socket / MZ2TAPE : Transfert rapide 100ko/min par la prise casse

Post by hlide »

Just a small precision: MZ2TAPE is not my solution but Pacman's while it is true it was first inspired by my project.
User avatar
Pacman
Posts: 172
Joined: Mon Feb 05, 2018 2:59 pm

Re: MZ2TAPE: Fast transfer 100ko / min through the tape socket / MZ2TAPE : Transfert rapide 100ko/min par la prise casse

Post by Pacman »

Indeed, I was inspired by the project of hlide using my notes dating back twenty years.
By the way, I will make a small update to enable or not the quick mode.
In addition I integrated profiles allowing, in theory, to make it work on other machines of the series MZ. ;)
Post Reply