CPCWiki forum

General Category => Amstrad CPC hardware => Topic started by: morcar on 19:34, 02 May 12

Title: quicker loading
Post by: morcar on 19:34, 02 May 12
I have an amstrad cpc464 and i would like to know how i can load games in quicker. Like use an SD card on some device and such.


Is there anything like that for the CPC464 at all and if so where can i get one from.
Title: Re: quicker loading
Post by: Bryce on 20:04, 02 May 12
The HxC Floppy Emulator, but you'll need a DDI-1 to connect it to the 464.

Bryce.
Title: Re: quicker loading
Post by: morcar on 21:00, 02 May 12
yeah i have been unable to get the dd-1 from anywhere. In fact i cant find one to even look at lol
Title: Re: quicker loading
Post by: Bryce on 21:28, 02 May 12
They turn up on ebay (UK, DE, FR) regularly, sometimes alone, sometimes with FD-1 Floppy Drive, which usually goes for a bit more obviously. Here's one on offer with the drive: [ebay]230783587959[/ebay]

Bryce.
Title: Re: quicker loading
Post by: OCT on 00:30, 04 May 12
Quote from: morcar on 19:34, 02 May 12
I have an amstrad cpc464 and i would like to know how i can load games in quicker.
Even sticking with tape-like solutions, there are several approaches:

1. "Fast-loader lead" (joyport cable with separate Data and Clock lines driven by the stereo channels) as used for Codemasters CD (1991 approx., still around anywhere BTW?): D.I.Y "Codemasters CD" (http://www.cepece.info/amstrad/docs/audiocd2.html)

2. Speed-up in PC audio editor: Amstrad CPC CD Fast Load. Convert Cassette games into CD Fast Loading Games 464 6128 664 (http://www.youtube.com/watch?v=9bv3d3pmA9U#)
3. Open-source project to create speedloaders from files, for the tape port connected to a PC sound card's output - too late at night to remember the name right now, but someone surely will (as it's been discussed here before and also has a nice YouTube video somewhere).
Title: Re: quicker loading
Post by: TotO on 07:59, 04 May 12
Quote from: Bryce on 21:28, 02 May 12
They turn up on ebay (UK, DE, FR) regularly, sometimes alone, sometimes with FD-1 Floppy Drive, which usually goes for a bit more obviously. Here's one on offer with the drive: [ebay]230783587959[/ebay]

Bryce.
The best way to speed-up 464 loadings.
With that, he can plug 3.5" or HxC drives too. :)
And if he don't need the big 3" external floppy disc drive alone, it can be sold for 6128 users to save money.
Title: Re: quicker loading
Post by: arnoldemu on 09:02, 04 May 12
Quote from: morcar on 19:34, 02 May 12
I have an amstrad cpc464 and i would like to know how i can load games in quicker. Like use an SD card on some device and such.


Is there anything like that for the CPC464 at all and if so where can i get one from.
There are some sd-card devices which are being designed, these can help.
They connect to printer port.
Title: Re: quicker loading
Post by: MiguelSky on 11:07, 04 May 12
Quote from: OCT on 00:30, 04 May 12
3. Open-source project to create speedloaders from files, for the tape port connected to a PC sound card's output - too late at night to remember the name right now, but someone surely will (as it's been discussed here before and also has a nice YouTube video somewhere).
I think you mean the OTLA project otla - Tool for loading programs into vintage computers via their cassette (http://code.google.com/p/otla/) and the video is this:
Fast loading for Amstrad CPC (http://www.youtube.com/watch?v=zOk5wY9pMhg#)
Title: Re: quicker loading
Post by: morcar on 18:24, 27 May 12
Quote from: MiguelSky on 11:07, 04 May 12
I think you mean the OTLA project otla - Tool for loading programs into vintage computers via their cassette (http://code.google.com/p/otla/) and the video is this:
Fast loading for Amstrad CPC (http://www.youtube.com/watch?v=zOk5wY9pMhg#)


I could never get that to work for some reason as i always got the loader to work and then and error message when the data was being loaded.
Title: Re: quicker loading
Post by: MiguelSky on 19:45, 27 May 12
Did you tried the tips on the FAQs file?
QuoteFor the  high speed loading must be finely adjust the volume (to calibrate
the best thing is to use testin screens (.hst)). Compare what you see on an
emulator with what you see on the actual machine.

VERY IMPORTANT deactive in digital players any strange equalization, 3D
effect, etc...
Title: Re: quicker loading
Post by: morcar on 22:39, 27 May 12
Quote from: MiguelSky on 19:45, 27 May 12
Did you tried the tips on the FAQs file?


yeah the program the faq is on about is for the zx spectrum only and all the effects are off on my pc
Title: Re: quicker loading
Post by: ralferoo on 11:36, 28 May 12
Quote from: morcar on 18:24, 27 May 12
I could never get that to work for some reason as i always got the loader to work and then and error message when the data was being loaded.
A while back I was doing some experiments with loading, and I reckoned I could probably achieve about 4Kbits/s with some funky encoding with enough time left to do some kind of intro thing whilst loading, but kind of got distracted by other things and never finished that demo experiment.

At one point I did look at otla, and whilst I think it's true it's probably about the quickest it's possible to load data, I don't believe it'd ever survive transfer via a real tape (which was what I was interested in) and there are some questionable assumptions. The one that might well be tripping you up is that the code relies on the polarity of the bitstream, so you need a correctly wired up cable, whereas tape loaders generally only care about changing polarity.
Title: Re: quicker loading
Post by: morcar on 12:00, 28 May 12
One problem I have is when i try and load up Arkanoid 2 and Rainbow Islands.


I get to the loader to work but before the loading screen starts they always fail and either lock or resets the computer.


I have tried all types of settings and such and cant get these loaders to load anything.


I think they use Speedlock V2
Title: Re: quicker loading
Post by: Cholo on 14:34, 28 May 12
Shouldnt really try to speed up the protected games as they quite often depend on timing as well. An example is you may have noticed that the tape sometimes pauses (or not but still decrypts code) so if the game exspect a empty 4 second pause on the tape and it only gets 2 seconds it goes horrible wrong. This is quite often a trouble for 6128 users who try to load a protected game from tape using just a walkman (really need a proper datarecorder and a proper cable to be able to do that).

Probably should only try speed up loading with unprotected "block/record" games like Amsoft/Elite.

Saving fast = loading fast. Using the basic commands "SPEED WRITE 0" and "SPEED WRITE 1" will set either the "normal" slowest 1000 baud and the slightly faster 2000 baud. Alas this dosnt make the tape run faster, it just save back the data more squeezed together. Its actually possible set reliable "speeds" between 700 and 3600 baud yourself, but need to be done in machine code. What most people look for is probably the 3600 baud one that you can patch with a type-in like the one here (second last typein on that page):
&#9733 CPCRULEZ &#9733 CODING &#9733 LA BIBLE DU CPC 6128 (http://cpcrulez.fr/codingBOOK_bible6128_1-10-4.htm)

Another way to "save faster" is by altering the block length (usually of the second block) to contain all the remaining data in one. Quite handy as removing all the pauses between blocks do count .. especially on the larger early games like Command with something like 23-24 blocks at 1000 baud converted to 2-3 blocks at 3600.

As you may have noticed most protected games also has few data parts as well and most probably run at 2000+ baud as well, so there isnt much speed gain from those.

If you really want to play a game but cant get the official one to load, you can try looking at the unofficial disk version instead. Most of the "cracked disc games" is infact just tape games being put on DSK so it would be easier to load in emulators etc. So you can simply try coping the files back to tape. Quite often the files is also labeled so you know what order they need to be saved like: Rainbow.bas, Rainbow0.bin, Rainbow2.bin, Rainbow3.bin etc.

If you want to fool around copying normal unprotected "block" tape data on your 464 i recommend JL-COPY program as it does both the 3600 baud and block altering. Also its quite easy to get hold of as its included on the Amstrad Action cover tape no. 22 and most people already have that tape or you can get it on Ebay for £0,5-1 easy (its the black one with the picture of a tank on it).

Of cause speeding up things is always at the cost of reliability .. and dont forget to add the time it takes to convert as well  :)
Title: Re: quicker loading
Post by: ralferoo on 14:56, 28 May 12
Quote from: Cholo on 14:34, 28 May 12
Another way to "save faster" is by altering the block length (usually of the second block) to contain all the remaining data in one.
I noticed that 2cdt offered support for generating this kind of cdt file and just put it down to some kind of weirdness. Is there any reason why a long second block would be preferred over a long single block?
Title: Re: quicker loading
Post by: Cholo on 15:57, 28 May 12
Well, im sure someone will post the real answer to why its in 2 blocks and not in just 1. Im purely guessing that its a basic software limitation .. like the usual RUN" command expect to load a block of "normal" size/lenght that contains the information about the remaining block(s). Doing some noughty poking around in the initial first block probably allows for setting the length/number of the next block(s).

I dont think its a hardware limitation as you can read/write quite lenghty "hearderless records" using the firmware or you can even access the hardware directly (both in machine code). Of cause doing this still require you doing a machine code loader first.

Also im guessing compatability/userfriendliness also is an issue .. the 2 block save dosnt require any additional knowledge of the user and its usually compatible with copy programs etc as it follow the "standard".
Title: Re: quicker loading
Post by: trocoloco on 16:03, 28 May 12
i have used a version of that program called 2cdt2 and it always creates CDTs of 2 blocks. I dont remember any game loading in one single block tho. If there is a way for a single block loading that i did not find out how to do it with this program.

The fastest i have got to load games is using compresed games from cngsoft's web and 3500 bauds, but on real tape at that speed, it fails quite often and the fastest possible is around 3200.

I tried otla as well but i only got to run Batman and 2 or 3 more games, for this of course I used an ipod nano and not a real tape
Title: Re: quicker loading
Post by: arnoldemu on 17:50, 28 May 12
The 2 block method is compatible with the standard block loader. The reason there isn't 1 block is that the standard block loader doesn't support this but does allow any block after the first to be variable length.

I think there is also a restriction with the first block, it's best to use all 2k to maximize the storage.
I think the loader expects it to be at least 256 bytes long (because the operating system writes them this way with padding).

If you wanted 1 block you have to use "headerless" but then you need a file to load that, so you've not gained anything ;)
This method works as it is :)
Title: Re: quicker loading
Post by: morcar on 20:13, 28 May 12
Another game i just found that stops me from playing it is ATV Simulator. Agin loader loads and then once it starts the loading screen it locks up.
Title: Re: quicker loading
Post by: morcar on 20:26, 28 May 12
I am getting pissed off with this  >:(
Title: Re: quicker loading
Post by: mr_lou on 21:23, 28 May 12
Quote from: morcar on 20:13, 28 May 12Another game i just found that stops me from playing it is ATV Simulator. Agin loader loads and then once it starts the loading screen it locks up.

If you are loading the games from your PC by simulating a tape, then I think the reason might be what Cholo describes.

Tape-games often loads e.g. a loader or a screen, then stops tape while it displays the loader or screen, then starts tape and loads on.
If you're playing the audio from your PC, obviously the "tape" isn't stopped. Instead the audio just keeps on playing, meaning the CPC will miss the beginning of the next data.
Title: Re: quicker loading
Post by: morcar on 01:59, 29 May 12
well i shuold be getting a brand new tape recorder as my old one was far too noisy when i used it to record. Fingers crossed
Title: Re: quicker loading
Post by: McKlain on 12:08, 29 May 12
Are you recording the .cdt images to real cassete tapes or are you using some kind of cassete adaptor like this one to load the games on the 464?

(http://img.alibaba.com/photo/12234399/mp3_cd_cassette_player_adapter.jpg)
Title: Re: quicker loading
Post by: morcar on 12:25, 29 May 12
I tried both but my tape recorder is not very good and i am getting a better one soon
Title: Re: quicker loading
Post by: McKlain on 12:32, 29 May 12
You are going to change all the cassete mechanism? Wouldn't it be better to just get a new 464?
Title: Re: quicker loading
Post by: morcar on 12:45, 29 May 12
no not going to change the 464 but the tape recorder I am using to put the cdt to tape.




This one i have here seems to record a lot of noise when the data is not playing.
Title: Re: quicker loading
Post by: McKlain on 12:58, 29 May 12
Personally I use one of those cassete adaptors on my 464. I convert the .cdt tape to a .wav file and play it on my mobile phone connected to the cassete adaptor. That method it's a lot more reliable than recording cassete tapes, I think. And let's not talk about the physical space that you are saving  ;D
Title: Re: quicker loading
Post by: mr_lou on 13:22, 29 May 12
Quote from: McKlain on 12:58, 29 May 12Personally I use one of those cassete adaptors on my 464. I convert the .cdt tape to a .wav file and play it on my mobile phone connected to the cassete adaptor. That method it's a lot more reliable than recording cassete tapes, I think. And let's not talk about the physical space that you are saving  ;D

Agreed! I've been doing exactly that two days ago for a mate, because I'd bought him a Amstrad CPC464's at a market, and the tape-drive doesn't work. But with the car-adapter and my cellphone it's easy to load games.
That's the solution you want! It's brilliant.
Title: Re: quicker loading
Post by: McKlain on 13:30, 29 May 12
Also creating wav files from cdts is incredibly easy using javacpc (thanks markus!).  ;D
Title: Re: quicker loading
Post by: mr_lou on 13:41, 29 May 12
Quote from: McKlain on 13:30, 29 May 12Also creating wav files from cdts is incredibly easy using javacpc (thanks markus!).  ;D

I've been using his CDT2WAV tool. Works great. Don't quite know what the Low,Medium,High settings mean, but it works with it on and 44100 hz. Haven't tried other settings.
Title: Re: quicker loading
Post by: TotO on 13:43, 29 May 12
Taking a look to AMSTRAD TODAY (thanks iXien), I found this utility to create WAV from CDT files...
Need to rename CDT to TZX before. That work.


(http://www.amstradtoday.com/elements/upgrade/k7/tzx2wav.gif)
http://www.amstradtoday.com/elements/upgrade/k7/tzx2wav.zip (http://www.amstradtoday.com/elements/upgrade/k7/tzx2wav.zip)



Title: Re: quicker loading
Post by: ralferoo on 14:01, 29 May 12
I use PlayTZX from here: World of Spectrum - Utilities (http://www.worldofspectrum.org/utilities.html)

Mostly because it integrates nicely into my build process as it can be run from a command line...
Title: Re: quicker loading
Post by: McKlain on 14:40, 29 May 12
I prefer to do it in 3 clicks with a gui. Call me lazy  ;D
Title: Re: quicker loading
Post by: trocoloco on 15:21, 29 May 12

As McKlain says, the simplest thing is a drag and drop program - > Tape2WAV for the win - > ftp://ftp.worldofspectrum.org/pub/sinclair/tools/pc/tape2wav1.8.zip (ftp://ftp.worldofspectrum.org/pub/sinclair/tools/pc/tape2wav1.8.zip)
Title: Re: quicker loading
Post by: Cholo on 17:18, 29 May 12
Well, im rooting for TAPIR (as mentioned in here):
CDT to real tape on CPC? (http://www.cpcwiki.eu/forum/general-discussion/cdt-to-real-tape-on-cpc/)

It has a nice windows compatible interface as well  :)

Also if you are having a lot of troubles running original tape games as well, then you probably should look into cleaning/aligning the azimuth of the tape head of the 464.
Title: Re: quicker loading
Post by: morcar on 21:48, 29 May 12
Quote from: Cholo on 17:18, 29 May 12
Well, im rooting for TAPIR (as mentioned in here):
CDT to real tape on CPC? (http://www.cpcwiki.eu/forum/general-discussion/cdt-to-real-tape-on-cpc/)

It has a nice windows compatible interface as well  :)

Also if you are having a lot of troubles running original tape games as well, then you probably should look into cleaning/aligning the azimuth of the tape head of the 464.


yeah I think I have to as i had my new tape recorder (Sony TCM-939) and it still wont load rainbow islands and arkanoid 2. I am going to try other games though too just in case its down to the freaking loader.
Title: Re: quicker loading
Post by: Cholo on 16:53, 30 May 12
Well, one of the advantages of the slow old amstrad block load is that is helps load tapes with errors. Unlike other systems, the amstrad dosnt crash if it runs into a read error, but lets you retry as many times as needed (aka you can rewind the tape and try again). This feature makes it easier for tape data transfer as you can try recording the game multiple times on the same tape and even if all of the recordings has 1 error each then it will load (as long as its not a error on the same number block of cause). Does take a lot of time with all the rewinding/reloading. Its no help with the protected games of cause.
Powered by SMFPacks Menu Editor Mod