Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Demos which load from tape ?
2004-09-04 11:38
yago

Registered: May 2002
Posts: 333
Demos which load from tape ?

After reading covert bitops rants about irq-tapeloader, i wondered if there are any Demos which load their next Part from Tape ?

Something like a castro ?

 
... 22 posts hidden. Click here to view all posts....
 
2004-09-08 09:04
Oswald

Registered: Apr 2002
Posts: 5094
for the "loading is not possible beside raster effects" problem, I got an idea:

why not save the files in an insane format ? so when the raster effect is displayed, no bits come off the tape ? :) then for the rest of the screen they can come as they used to :).
2004-09-08 09:13
Hoogo

Registered: Jun 2002
Posts: 105
@Graham:
But also tapes can only store a maximum frequency, afaik they drop at about 20 kHz. Though a human might not hear that, the digitized picture should change a lot. And something I'm very unsure about: I think that tapes store their data after modulation with a 20 kHz-Signal, just like AM-radio. At least these theories explained to me why I didn't get my turbotapes work some years ago. 4*22 cycles were very unstable, though the save-routine was nearly as accurate as a raster-routine. Now with PC-generated wavs 2*22 cycles work fine.
2004-09-08 09:15
Hoogo

Registered: Jun 2002
Posts: 105
@Oswald:
I can't imagine a way how to sync tape and screen. I don't believe that turning the motor on/off will do...
2004-09-08 10:45
Oswald

Registered: Apr 2002
Posts: 5094
hoogo: it depends on how accurately (in terms of timing) can the tape replay the recorded data. I did not mean to turn the motor on/off, just simply dont store data on the tape when the raster effect takes over. so there would be empty gaps on the tape, in synchron with the occurance and length of the raster effect per frame.
2004-09-08 15:33
Hoogo

Registered: Jun 2002
Posts: 105
Oswald: But when playing the demo you have to press play when the vic starts a frame. Otherwise you need a routine to sync the vic with the data from tape, only way I can imagine is by stopping/starting the motor. An dthe motor has to run very accurate for a long time, and I don't believe that it is.
2004-09-08 20:33
algorithm

Registered: May 2002
Posts: 705
Give maximum priority to the tape loader and resort to using flickering rastersplits (hide it by empty gfx etc)
2004-09-08 22:10
trident

Registered: May 2002
Posts: 91
You could also store every bit X times (for some good value of X), then synchronization would not have to be as perfect. Lets say that you choose X so that every bit is equivalent to 8 raster lines, then you would only need to sample the tape input once every 8 lines and it would not matter exactly when the sample took place.

I don't know how fast it would be and I know too little about tape loaders to know exactly how the bits would have to be encoded as pulses for this to work.
2004-09-09 06:31
Hoogo

Registered: Jun 2002
Posts: 105
Unfortunately the sampling is not done by the hardware, tape-loaders have to work even below that level. The irq-register that is used for the tape is not like the usual IO-Ports. It doesn't tell WHAT happend, it only tells IF something happened since your last check, and its left to your loader to decide if something happens fast, slow or whatever you invented. So if you write 8 Samples to tape and ignore 7 of them, the answer of the register will always be "yes, something happened"
2004-09-09 07:31
trident

Registered: May 2002
Posts: 91
Ok, so then we can use the "yes something happened" signal to encode a "1" and absence of the signal to encode a "0" :-)
2004-09-09 08:22
Oswald

Registered: Apr 2002
Posts: 5094
tapeloading sux
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
JEZ
Freeze/Blazon
Paulko64
Nordischsound/Hokuto..
Mr. Mouse/XeNTaX/G*P
Guests online: 120
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 No Listen  (9.6)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Triad  (9.3)
Top Diskmag Editors
1 Magic  (9.8)
2 hedning  (9.6)
3 Jazzcat  (9.5)
4 Elwix  (9.1)
5 Remix  (9.1)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.212 sec.