Previous in Forum: Converting .asm (Assembly) into C/C++ File   Next in Forum: Flame Malware Makers Send 'Suicide' Code
Close
Close
Close
8 comments
Rate Comments: Nested
Power-User

Join Date: Jan 2011
Location: Scotland
Posts: 361

Program for Converting Files to Pulses

06/08/2012 11:19 AM

I was wanting to create a program that could convert any file to a series of pulses like what spectrum tapes use. I have a program that can load spectrum tapes through the sound card, but I was wanting something that could actually convert any file the same way spectrum tapes are made. The programs I have only work with the tzx roms but I was wanting to experiment with converting bitmaps to store on tape also.

Register to Reply
Pathfinder Tags: zx spectrum loading
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#1

Re: Program for Converting Files to Pulses

06/08/2012 12:12 PM

Isn't that how they work now?

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Power-User

Join Date: Jan 2011
Location: Scotland
Posts: 361
#2
In reply to #1

Re: Program for Converting Files to Pulses

06/08/2012 1:06 PM

No, the programs only accept tzx files. I have tried renaming file extensions and trying again and it still does not work.

Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#3
In reply to #2

Re: Program for Converting Files to Pulses

06/08/2012 1:38 PM

So you want to convert from digital to analog signal?

http://en.wikipedia.org/wiki/Digital-to-analog_converter

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Power-User

Join Date: Jan 2011
Location: Scotland
Posts: 361
#4
In reply to #3

Re: Program for Converting Files to Pulses

06/08/2012 4:09 PM

I have actually started on a program to do this. The language I am using though, is lacking functions.

Register to Reply
Guru

Join Date: Mar 2007
Location: by the beach in Florida
Posts: 33392
Good Answers: 1817
#5
In reply to #4

Re: Program for Converting Files to Pulses

06/08/2012 4:44 PM

You might find something you can use here, but I'm guessing...

http://www.analog.com/en/audiovideo-products/video-codecs/products/index.html

__________________
All living things seek to control their own destiny....this is the purpose of life
Register to Reply
Guru

Join Date: Jul 2006
Location: Eastern Kansas USA
Posts: 1503
Good Answers: 128
#6
In reply to #3

Re: Program for Converting Files to Pulses

06/09/2012 3:18 AM

Friend, I don't believe this is a digital to analog conversion. If I understand the question correctly, it is a desire to convert a given file into a pulse stream of binary 0's and 1's that follow a given format. Therefore, our original poster needs to know the particular format or syntax for the tzx format. Then he can convert his bitmaps into this format. Both are binary data, but the syntax has to be exact. If not, then the interpreter that is reading the data will see invalid characters or erroneous characters in many places in the data stream.

Sorry, but I do not know this format. I suspect that the strong support that existed for this early computer and its continuing language means that people are out there who can answer this question.

--JMM

Register to Reply
Power-User

Join Date: Apr 2007
Posts: 414
Good Answers: 19
#7

Re: Program for Converting Files to Pulses

06/09/2012 5:16 AM
Register to Reply Score 1 for Good Answer
Power-User

Join Date: Jan 2011
Location: Scotland
Posts: 361
#8
In reply to #7

Re: Program for Converting Files to Pulses

06/09/2012 4:09 PM

I have created a program that writes 1 and 0 as pulses to a wav file when you press 1 and 0. All I need is a program that can view a file in binary and not hex. I could then copy the binary digits into my software to create the analogue signal.

Register to Reply
Register to Reply 8 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

bubbapebi (1); hydrogenhead (3); jmueller (1); SolarEagle (3)

Previous in Forum: Converting .asm (Assembly) into C/C++ File   Next in Forum: Flame Malware Makers Send 'Suicide' Code

Advertisement