GithubHelp home page GithubHelp logo

Comments (11)

datajerk avatar datajerk commented on August 16, 2024

I'm sure it's possible, just takes time and physical access to HW.

from c2t.

vitasam avatar vitasam commented on August 16, 2024

I have the HW, but have little knowledge about MPF-II modulation scheme. Do you have an idea where to start from?

from c2t.

datajerk avatar datajerk commented on August 16, 2024

connect it to audacity (FOSS, but perhaps get an older version now since there's spyware in the latest version, you'll have to google for tips on getting a non-spyware version), write some data, look at the waveform

from c2t.

vitasam avatar vitasam commented on August 16, 2024

Yep, I did it, it looks like there is 1 kHz of pilot signal, followed by probably frequency modulated signal (I see 2 periods of waves).
image

from c2t.

datajerk avatar datajerk commented on August 16, 2024

Looks like zeros and ones to me.

from c2t.

vitasam avatar vitasam commented on August 16, 2024

Hi, I just found from the manual, that MPF-II supports saving data to cassette in Apple-II format:
image

However, I'm not sure how compatible that format with an actual Apple-II format. Could you kindly take a look in to attached zip file, where 8 bytes ( 0400: 89 91 00 00 00 00 00 00 ) have been stored to audio files (8-bit uncompressed PCM) from the real MPF-II computer? I was trying to generate the same mon's bytes to Apple-II .wav file with c2t, but MPF-II was not able to load that file.

MPF-II_two_formats_audio.zip

from c2t.

vitasam avatar vitasam commented on August 16, 2024

Wow, it works!
Mon-to-Apple-II_to_MPF-II

  1. I've converted Hello World monitor dump in to Apple-II .wav with your utility:
0400: A2 00 BD 11 04 C9 FF D0
0408: 01 60 20 ED FD E8 4C 02
0410: 04 C8 C5 CC CC CF A0 D7
0418: CF D2 CC C4 8D FF FF 00

c2t-96h.exe -2 hellow.mon,400 hello.wav

  1. Then I converted .wav file in to 1-bit .BAW file to use it with ZX-Taper (a digital "tape recorder" on AVR).
  2. Loaded .BAW file to MPF-II and run it:
 CALL -159
 400.41FRA
 400G

from c2t.

datajerk avatar datajerk commented on August 16, 2024

excellent news

from c2t.

vitasam avatar vitasam commented on August 16, 2024

Thanks!
By the way, do you know, is there a way to decode BASIC .wav file in to a text listing?

from c2t.

datajerk avatar datajerk commented on August 16, 2024

First you need to find a tool that will convert a basic binary dump to text listing. I do not know of any. Then you'll need to create a tool to read a wav and do the zero crossing detection so that you can extract the binary data for the 2nd tool; that should not be too hard, look at minimodem source as an example.

from c2t.

vitasam avatar vitasam commented on August 16, 2024

Yep, I guess such converter (BASIC binary to text) is a main problem. So, basically it should be a complete BASIC interpreter on a PC, able to load and list the program text.

About .WAV file - I'm using 1-bit .BAW format with ZXTapeRecorder2 device, it works very reliably with MPF-II (after HW modification of MIC port). My guess is that 1-bit format should be relatively easy to convert into binary dump.

from c2t.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.