Defence Force logotype

Contents of /public/pc/tools/osdk/main/TapTool/data/readme.txt

Parent Directory Parent Directory | Revision Log Revision Log

Revision 898 - (show annotations)
Sat Sep 29 18:40:02 2012 UTC (7 years, 5 months ago) by dbug
File MIME type: text/plain
File size: 6187 byte(s)
Fixed some issues on Visual Studio introduced by the posixification...
3 Here is a program that will allow you to load programs on your real Oric at
4 the amazing speed of 22050 baud... you can use it for direct transfers from
5 your PC to your Oric, or you can use it to build an Oric archive on a tape or
6 an audio-CD...
10 As with the standard Oric routines, the real speed depends on the pattern of
11 bits ('1' bits are faster than '0' bits), so let's consider a program that has
12 an equivalent amount of '1' and '0' bits : in such a case, the real speed is
13 12600 bps (vs ~1900bps with the standard Oric routines).
14 But unlike the standard Oric routines, this is the real speed you will get
15 when loading a program (because the program is loaded 256 bytes at once without
16 start, parity or stop bits for each byte).
17 In other words, my routine loads 1575 bytes per second, vs 150 bytes per
18 second with the ROM routines. 10 times faster !
20 Just imagine: you needed about 4'30" to load a program like Zorgons' Revenge,
21 it only requires 30" now... will you ever return to 2400 baud ?
23 This also means a 74-minutes CD offers a capacity of more than 6 MB for your
24 Oric programs (i.e. more than 200 programs of 30 KB each), or even twice this
25 number if you want to store programs on both left and right channels.
29 Tap2cd is a program that converts .TAP files to .WAV files (22kHz mono).
30 Just run tap2cd like this:
32 tap2cd gobbler.tap gobbler.wav
34 You will be prompted to enter an Oric filename for it because many TAP files
35 don't have one (as usual with the Oric, this should be no more than 16
36 characters, but you can't enter an empty name here: this is because you will
37 soon want to fill a CD track with several programs in sequence, and the expected
38 program has to be named if you want to find it). Let's say you reply GOBBLER
39 in this example. The program will then end, leaving a gobbler.wav file.
40 You can now load the program on your real Oric with the usual command (once
41 you have connected your PC soundcard to your Oric of course) :
43 or CLOAD"
47 Of course, a speed of 22050 baud is ideal for storing Oric programs on a CD.
48 Building an archive of all your programs on a CD will require you to plan
49 some strategy... If you have 200 programs or so, you are probably not going to
50 reserve a full track for each of them on the CD, right ? This means you have
51 to sort your programs and decide which of them you will append together on a
52 single track. In order to build a CD track, you will need a WAV tool that
53 allows you to append (concatenate) several WAV files.
55 For example, you may decide to append all arcade games together in a single
56 track, all adventure games in another track, etc.
58 Then, you must also decide how you are going to make your CD user-friendly...
59 This will require you to build some kind of menu, don't forget to read simple
60 hints and tips at the end of this file.
62 You are absolutely free to program either a small menu for each of your tracks
63 or a single big menu that you will record in track 1, allowing you to chose
64 among all your programs, and requesting the user to seek the CD to the track
65 that contains the chosen program...
69 This is the result of months of work, some of you might remember my first
70 Oric-CD (oops, was it really 3 years ago ?), with its standard 2400 baud tracks,
71 and experimental tracks written at 22050 baud. The encoding scheme for the
72 22050 baud tracks on this first Oric-CD didn't work, I then developed zillions
73 of other schemes before this one... To make a long story short, the first
74 encoding scheme was simply using the standard Oric format, at the maximum
75 possible speed on a CD : 22050 baud (because two 44100 Hz samples are needed
76 for a '1' bit). As I am rather obstinate, I decided I would succeed to reach
77 this speed. If you want to know how I finally arrived to this routine (which
78 takes into account the deformation that the signal suffers when travelling
79 through the input circuitry of the Oric), I have written a long article in
80 the Rhetoric magazine...
82 Of course, the standard Oric routines are not able to read this format, so
83 a small loader is prepended to the WAV file, and it automatically loads the
84 following 22050 baud program.
88 - Important: I forgot to say the loader routine is only compatible with the
89 Atmos rom, don't even try to load your program on an Oric-1 unless you have
90 upgraded its rom to an Atmos one.
91 - I would recommend to build a big menu program and to store it alone in
92 track 1. Additionnally, a simple menu at the beginning of each track allows
93 the user to quickly access a program if he knows which track it is on.
94 - I would suggest to sort the programs in a track in ascending size order and/or
95 decreasing popularity order... this way, you wouldn't wait minutes before a
96 small program loads. Conversely, you don't want to wait several programs before
97 loading your favorite program... It's possible a thematic sort of all your
98 programs might not be the best solution, after all. Perhaps it is better to
99 select the 15 or 20 most popular programs and place them each in first position
100 in their track, then select the 15 or 20 next popular programs and place them in
101 second position in the tracks, etc.
102 - don't ask me to provide you with a ready-made archive CD unless you want to
103 offer me a CD-writer (I don't have one yet).
104 - of course, tap2cd might fail to produce an usable file if the input .TAP
105 file contains a copy-protection scheme (e.g. an header with false addresses),
106 or if a multipart program uses its own loading routines.
107 Don't call me in such a case, YOU must unprotect it if you want to use tap2cd.
108 Don't call me either for any difficulty you have when converting a particular
109 file, YOU must examine your particular program and modify it yourself so that
110 tap2cd can convert it successfully...
111 - Don't forget to insert a few seconds of silence between the menu and the
112 following program if you want the user to have enough time to make his selection.
114 Happy CLOADing,
116 Fabrice

  ViewVC Help
Powered by ViewVC 1.1.26