Loading programs from casette tape
Posted: Sat Aug 19, 2017 8:17 am
I decided to later add a method to the operating system, what can transfer files in and out through a general jack connector.
such as like loading and executing programs played from a casette tape.
this practice was actively used in the 80s and early 90s, but later supressed by floppy, hdd, network cards, and pendrives.
i decided to add this method to have a timeless and cheap method of transfering data from/to dawn-os computers of the future, as we cant forsee types of disk interfaces will come, and so maybe if someone manufactures an sd card slot as the disk drive, but maybe after 5 years around we will use different connectors, and there will be no sd cards available, so who knows?
i didnt really found much informations about this topic, so i would like to ask about the oppinions of these:
-should i even use binary representation aniway, or should i try 3 bit or 4 bit?
-what is the ideal and safe encoding for a bit? i tought S(-s)S(-s)00 for 1 and 000S00 for 0. (basically a short WIII and a shrort P as its easy to detect it)
-what is the safe signal rate of a typical casette? obviously i should discard stereo, and only store mono signal. they say a casette is probably able to store up to 22 khz, which wouuld mean a theocretical 22 kilosignal per second, but in practice this is of course a bullshit. commodore, msx and soviet computers used much lower signal rate, probably around 50-300 byte/sec, which is around a maximum of 1200 signal per second. does this is a safe limit? in this case, however, i cant do this protocol, as a relatively complex game is typically 2-3 mbyte long, and thjat would mean 3 hour loading time, and one side of the casette is just 26 minute long aniway
such as like loading and executing programs played from a casette tape.
this practice was actively used in the 80s and early 90s, but later supressed by floppy, hdd, network cards, and pendrives.
i decided to add this method to have a timeless and cheap method of transfering data from/to dawn-os computers of the future, as we cant forsee types of disk interfaces will come, and so maybe if someone manufactures an sd card slot as the disk drive, but maybe after 5 years around we will use different connectors, and there will be no sd cards available, so who knows?
i didnt really found much informations about this topic, so i would like to ask about the oppinions of these:
-should i even use binary representation aniway, or should i try 3 bit or 4 bit?
-what is the ideal and safe encoding for a bit? i tought S(-s)S(-s)00 for 1 and 000S00 for 0. (basically a short WIII and a shrort P as its easy to detect it)
-what is the safe signal rate of a typical casette? obviously i should discard stereo, and only store mono signal. they say a casette is probably able to store up to 22 khz, which wouuld mean a theocretical 22 kilosignal per second, but in practice this is of course a bullshit. commodore, msx and soviet computers used much lower signal rate, probably around 50-300 byte/sec, which is around a maximum of 1200 signal per second. does this is a safe limit? in this case, however, i cant do this protocol, as a relatively complex game is typically 2-3 mbyte long, and thjat would mean 3 hour loading time, and one side of the casette is just 26 minute long aniway