New tool needed:Tap File splitter/concat & k7 questions
Posted: Sat Jul 14, 2007 12:19 pm
Yesterday, while using OSDK, I faced up a very little challenge.
On one hand I had my welcome picture, alone on a tap file(colored via euphoric since pictconv failed with the -f1 switch, and then saved via Euphoric). Let's say I called it picture.tap
On the other hand I had my Introduction program : it is written in Basic in a text file (thus to be built with OSDK), this same program is suppose to load the picture.
Thus on the K7 Tap file, I needed two files in this order :
1) intro.bas
2) picture.s
What I missed a lot was a tool to put in the same tap file what I obtained in two separate tap files (the intro.bas in the intro.tap built with the osdk), and the picture.s in the picture.tap built with Euphoric (with CSAVE)
I did my small tool in Delphi in order to concatenate the two tap files. It is working, but...
This kind of tool could be very usefull in the OSDK
Here are my questions ?
I have concatenated my two files without removing any tep header or tap trailer, is it correct ?
I did not put any "silence" between my two files : should I put one ? If yes, how many byte length should it be ? Is it made of 0 values or some others ?
thanks for help
On one hand I had my welcome picture, alone on a tap file(colored via euphoric since pictconv failed with the -f1 switch, and then saved via Euphoric). Let's say I called it picture.tap
On the other hand I had my Introduction program : it is written in Basic in a text file (thus to be built with OSDK), this same program is suppose to load the picture.
Thus on the K7 Tap file, I needed two files in this order :
1) intro.bas
2) picture.s
What I missed a lot was a tool to put in the same tap file what I obtained in two separate tap files (the intro.bas in the intro.tap built with the osdk), and the picture.s in the picture.tap built with Euphoric (with CSAVE)
I did my small tool in Delphi in order to concatenate the two tap files. It is working, but...
This kind of tool could be very usefull in the OSDK
Here are my questions ?
I have concatenated my two files without removing any tep header or tap trailer, is it correct ?
I did not put any "silence" between my two files : should I put one ? If yes, how many byte length should it be ? Is it made of 0 values or some others ?
thanks for help