Skip to main content

TZXDuino 1.7

TZXDuino 1.7
This fixes issues with pause lengths that we never noticed before. It should fix games like Top Gun and Street Hawk for the Spectrum and make CDT files behave as they should for the Amstrad CPC.

Changes.
*Maximum pause length of 8.3 seconds due to the TimerOne library has been worked around.
*ID20 Pause Block fixed.
*Temporary fix for pause after motor control removed.

https://mega.nz/#!aEt1VJKZ!ZFw-fP3bkNTtiPlbG_IllmR94Xni3KvIGUn6Jggfof8

Comments

  1. Hi there I was wondering if you could help me I have a 2 x TZXDuino I bought from a sellmyretro seller, one with motor control, and they both play spectrum games fine, But I cannot play Amstrad cpc games none work, I have tried different cpc 6128's with or with out motor control, they start loading but none seem to play it just says stop on the LCD screen, I have tried different firmwares as well, any help would be appreciated.

    thanks

    Brian

    ReplyDelete
  2. There should be nothing wrong with the firmware as 1.7 is working a lot better and works very using my design of TZXDuino and motor control. Certainly most CDT files work for me.
    Do you get the "Loading xxxxxxx block xxx" message?
    Did you type |TAPE before typing RUN"?
    Did you press play before or after you typed RUN" and pressed enter?

    In theory the SMR TZXDuino should load at least some CDT files even without Motor Control.

    ReplyDelete
    Replies
    1. I did do |TAPE then RUN", I've tried pressing play and enter and other combinations and I game screen start loading, I get the "Loading xxxxxxx block xxx" message but then at the end of the I look at the LCD it says stopped, but the game screen is there but doesn't kick into the game at all, maybe you can if you don't mind send me a test file or point me in the right direction, where to get a cdt file you have tried. On the spectrum haven't had any problems at all all games work. Thanks for designing a great product saves me as loads of my spectrum tape games don't load from tape any more.

      Delete
  3. I get my CDTs from CPC-Power, https://cpcrulez.fr/index.php , or here cngsoft.no-ip.org/cpc_lzx.htm

    It does sound to me as though the SMR doesn't have their Motor Control connected correctly though or something is wrong.

    try https://cpcrulez.fr/GamesTest/head_over_heels.htm as that should load.

    ReplyDelete
    Replies
    1. Duncan can't believe it head over heels worked, I also tried a few more and they worked I've used the cpcrulez before on manic miner but it didn't load, but the other site you gave me worked a treat cngsoft.no-ip.org/cpc_lzx.htm the manic miner worked from that site.
      If you can try this I can't get this game Magical Drop to work http://www.cpcmania.com/NewGames/MagicalDropCPC/MagicalDropCPC.htm.
      But much happier now thanks if you can try Magical Drop out or tell me how to convert it thanks.

      Brian

      Delete
    2. Okay. Tried both Magical Drop CDT files and neither would load in WinAPE so I edited the CDT and added a 1024ms pause at the beginning and then tested and it loaded. I haven't tried it on TZXDuino yet but it should work in theory.
      You can download it from here.
      https://mega.nz/#!bIcyUAYC!2jsfcWVNgdFBr_CpRfRc9ONVrB19fYg1CyqnjJgJxbA

      Delete
    3. Hi there I tried Magical Drop on the TZXDuino and I still got error on drive b, just after the loading screen, but I also tried it in winape and it loaded, what program do you use to add the pauses, and where do you know where do you put the pauses etc.. thanks for your help

      Brian

      Delete
    4. I've tested it on my 464 and it works fine.

      Do you mean you get "read error b" or "error drive b"?

      If you're getting "read error b" then it sounds like you Motor Control isn't working. Is your motor control port a 2.5mm socket of 3.5mm? Do you have the REM jack connected to it?

      I use ZX Block Editor and just change the file extension on the tape from .CDT to .TZX

      Delete
    5. Sorry been working didn't get time to try it out, I loaded Magical Drop without the rem and with and it still doesn't load I think it gets to block 29 I think listening to the tape sound through the tv and then I get the read error b, and thats it, I have tried the game on Winape and it loads every time.

      thanks

      Brian

      Delete
    6. I've tried it on a couple of my TZXDuinos and it works fine so it's not the firmware or the CDT which would lead me to hardware error of either your TZXDuinos or your CPC6128 but as other CDTs seem to load fine on the 6128 I think it's the TZXDuino. How are you powering it? Are you using a USB connected to the computer or a USB charger? What class SD card are you using?

      Delete
    7. I've tried that one on a Zaxon TZXDuino and with REM it works, without rem it doesn't so I've adjusted the cdt again so that it will work on TZXDuino without Motor Control and it does work. If this doesn't work then I would suggest you get in touch with the manufacturer.

      https://mega.nz/#!bQk0FQZL!J1MVEEWL02h4tQzqwYT5ssUK_EsOl0XIJF6QQTyaxFI

      Delete
    8. I didn't remove the REM in the file all I did was look at when there needed to be a pause by watching WinApe as to which block it was and then added one.

      The parts list is almost identical except for the 2.5mm jack and the right angled 12x12x7.3mm push buttons (it's designed to fit in a PP9n case) but that is an old PCB design and there are a few things wrong with it. I haven't released an updated version as I've never had chance to make any prototypes yet.

      It's easy enough to add a REM socket to one of those TZXDuino by getting a 2.5mm socket and wiring the rear to pin 6 on the underside and the side to a GND.

      However you should make the manufacturer aware as there may well be others with the same problem and if he doesn't fix it then future customers will have the same problem.

      Delete
    9. Hi there if I made one of the PCB's up would the motor control work on a CPC, thats all It's going to work on.
      Ive been looking on eBay but can't find the 2.5mm jack pcb version only this version unless you know where I can buy them .

      http://www.ebay.co.uk/itm/PCB-Mount-3-Terminals-2-5mm-Mono-Jack-Socket-Female-Connector-Black-10-Pcs-/361350065264?epid=1338744591&hash=item5422246c70:g:nsgAAOSwGJlZNtwd

      thanks

      Brian

      Delete
    10. The holes in the PCB design are not in the correct place as I had to design them from scratch without having the actual parts in my hand and the holes are too small as well.

      Those 2.5mm jacks are the sort that I use in the standard build and what I added to my Zaxon build but are not suitable for the PCB.
      I've had a look on Aliexpress and ebay and it looks like they're no longer available.

      Delete
    11. Wait. I've just found some F236D mono socket chassis mount.

      https://www.ebay.co.uk/p/5-X-Pieces-Electrovision-F236D-2-5mm-2-Pole-Mono-Socket-Chassis-Mount/1104796208?_trksid=p2047675.m4096.l9055

      Delete
    12. Hi Duncan thanks for that, the reason I want to build my own TZXduino is the one I bought from SMR the mono socket is wrong side of the ear socket and my lead doesn't fit properly, I put your design into diptrace but if I altered it to fit the components do you think it would work, including the motor control ? but I'm not very good at designing things but I can have ago if you could tell me what to alter to make the motor control working on the pcb you desingned.


      thanks

      Brian

      Delete
    13. The motor control works and is all wired up correctly but the holes are out of position and too small for the components. It doesn't sound much but if you resize the holes then you need to reposition things to keep it within acceptable parameters. The same thing goes with the buttons. Plus producing a one off PCB is actually quite expensive. I wouldn't recommend it.

      Delete
    14. HI Brian Underhill. Why you not ask me , i'm seller , via SMR?

      Delete
    15. Hi zaxon i didnt think of asking you ive already bought 2 of these units from you but wanted to make a few boards of my own i was wonfering if you email the file for the pcb. as i have lots of spectrums and cpc's i want to make the tape players for.

      thanks

      brian

      Delete
  4. Is there any plan to implement also a Recorder to let us save the programs from ZX Spectrum to tzx file?

    ReplyDelete
    Replies
    1. We are looking into it but it may require a complete redesign of the firmware and the boards to fit it all in.

      Delete
  5. I tried the TZXDuino today with both a TZX file and a TAP file. After several seconds of loading ok, the Duino starts making some popping sounds and then the screen shows "Stopped" and the ZX show "R Tape loading error". I tried this several times and I cannot make the TAP/TZX play till the end no matter what. What is wrong? I tried dizzy 2 and manicminer iff that matters.

    ReplyDelete
    Replies
    1. There could be many reasons as to why that isn't working.
      What firmware revision are you on?
      Where did you get your TZXDuino?
      Where did you get the TZX or TAP files from?
      What type of Spectrum do you have?

      Delete
    2. 1. The current firmware, v1.7
      2. I've built it myself on a breadboard based on Arduino Nano and using the Serial terminal display. So I have only attached the buttons, the microSD card (not class 10) and the 3.5mm audio jack.
      3. The Tape images are from WorldOfSpectrum and they play fine through PC converted to WAV.
      4. The spectrum model is irrelevant as it the problem is not related to the speccy, but it is a 48K model.

      Hope you can point me in the right direction to debug!

      Delete
    3. It sounds like it's more than likely the serial monitor causing the problem. It's only there as a debugging tool and should not be used as a display.

      Delete
    4. I also tried an OLED display... the same thing.

      Delete
    5. I noticed that no more files are displayed on the screen after the popping sounds and the screen stays at "Stopped". If I press play I get No file selected.
      If I reset everything works again.

      Delete
  6. Definitely the memory getting full.
    You should try changing the font to 7x14 on the OLED1306. That will save about 10% memory on the build. That should fix the problems using the OLED.

    ReplyDelete
    Replies
    1. If the low memory is the problem, why does it manifest also when running with serial terminal instead of OLED?

      Delete
    2. Because using the serial terminal eats at the free memory and the speed as it affects the interrupts

      Delete
    3. Thanks, I will try tomorrow.

      Delete
  7. Thank you for sharing valuable information. Nice post. I enjoyed reading this post.

    ทองดีฟันขาว

    ReplyDelete

Post a Comment

Popular posts from this blog

TZXDuino Firmware 1.16, 1.17, and an updated TZXDuino Instruction Manual

  TZXDuino 1.16 In TZXDuino 1.15.3 I added a bug that lowered the volume of some Spectrum TZX files and all ZX80/81 TZX, O, and P files so they didn't work for many people. I fixed this for 1.16. You can download TZXDuino 1.16 from here.   TZXDuino 1.17 The MAXDuino team added ORIC TAP playback functionality to their firmware which I have adapted to TZXDuino. I don't have an Oric Atmos to test it on so I have been recording the playback and loading on Oricutron and everything I have tried has worked. Obviously things may be different on a real machine. Team MAXDuino have also added a speed up function for Oric TAP files which I will add to TZXDuino 1.18 but so far I have been unable to get it to work correctly. You can download TZXDuino 1.17 from here.   And finally there is the updated instruction manual which now tells you how to access Turbo mode for the Electron, ZX80, and ZX81. It also says for Oric but that has not been implemented yet. You can download the pdf of v...

And Now For Something Completely Amazing.

 When Andrew Beer and I came up with this idea the intention was for people to build their own and many people have but once in a while someone comes up with something so amazing it really needs to be shared. JamHamster came up with the idea of fitting a TZXDuino in a cassette. Originally it was powered by USB and had a 3.5mm Ear socket but it looked amazing. Then he added a battery so that it was self powered. Then he added a head from a CD to cassette adapter. Then he added a switch under that head so that when you press play on the Cassette Recorder it plays the file you've selected. And the TZXCassette was born Because he is a great guy he's also uploaded the instructions on how to build one to Github and you can download the instructions and build your own. Now at the moment there is no REM control it may not work as well with a CPC 464 as it does with with a Spectrum +2 but it is a stunning piece of electrical engineering and a work of art in my opinion.

New CAS/TZXDuino firmware

New firmware . TZXDuino 1.15.3 Adapted the MAXDuino ID19 code and TurboMode for ZX80/81. To access Turbo Mode for ZX80/81 and Electron please switch Turbo Mode On in the menu Also added UEF Chunk 117 which allows for differing baudrates in BBC UEFs. Added a Spectrum Font for OLED 1306 users converted by Brendan Alford. Option added to userconfig.h Added File scrolling by holding up or down buttons. By Brendan Alford. Download from here. CASDuino 1.24 Added a Spectrum Font for OLED 1306 users converted by Brendan Alford. Option added to userconfig.h Added File scrolling by holding up or down buttons. By Brendan Alford. Download from here.