New IPF decoder ("capslib") supports loading of raw files

Post all your Kryoflux related topics in here. From questions about the hardware through to disks you've managed to image up and, probably most importantly, write back without any problems :)

Moderators: DrCoolZic, mr.vince, Moderator Team

IFW
Captain Atari
Captain Atari
Posts: 181
Joined: Fri Jul 22, 2011 4:53 pm

Re: New IPF decoder ("capslib") supports loading of raw file

Postby IFW » Mon Mar 24, 2014 4:54 pm

The idea is to keep all revolutions iterated and sent to the program so it can eventually find good data as long as it keeps on reading the same track, or can properly return weak bit areas changing.
At the same time avoid using the last revolution if possible as that is guaranteed to produce a read error if the data is not index synced.
In other words ALL revolutions must be iterated if the program continuously tries to read the same track, but we should start the iteration with the very first revolution sampled to delay accessing the last revolution as much as possible.

Here is the "enhanced rule" of the revolution restart trick:

1, Any kind of disk operation not accessing data (change track, side etc) should never attempt to reset the revolution.
2, For each drive, if there is any kind of disk data access attempt by the program (read pio, dma, command etc):
a, Check if the track and side is the same as the last disk data access
b, If same track.side, go to (e)
c, If different track.side, this is a new track, reset the revolution.
d, Save the current track and side information where the last data access happened for this drive.
e, Carry out the disk operation.

An additional rule is to count DMA with zero size as no access - but that might cause issues; so far none found.

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1982
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: New IPF decoder ("capslib") supports loading of raw file

Postby Steven Seagal » Mon Mar 24, 2014 6:55 pm

@IFW
I'll try to add support for this in Steem, but apparently I'll need some time.
Also the file extensions for each type.
And some example files somewhere to test and debug (I already have IPF files, and some raw that were uploaded here).
Does the set rev trick apply to IPF files as well?

IFW
Captain Atari
Captain Atari
Posts: 181
Joined: Fri Jul 22, 2011 4:53 pm

Re: New IPF decoder ("capslib") supports loading of raw file

Postby IFW » Mon Mar 24, 2014 7:19 pm

Imho allow RAW as well as CTR, so people wouldn't have to rename thousands of files... some of the members were quite busy with imaging these on this board ;)
Note that stream files as well CTR have RAW extension and no tools and emulators would work if RAW was renamed for streams, so you'd have to allow that anyway...

No, the revolution reset only applies to files that are effectively "played back" from continuously sampled tracks, ie. CTR, Stream, Draft - any raw format.
Another thing to keep in mind with raw formats is that with each revolution the number of data bits (bitcells) on a track can and does change; again this is due to drive speed wobble and index signal jitter, and the emulator should not assume that it's the same data and length always.

IPF has a single revolution recorded and is always seamlessly branching for data over index and gets randomized for weak bits, ie has "inifinite" number of revolutions (the library actually says so, if you query it), that always contain known good data. The track length does not change either, unlike raw data.

As for images, please email me.

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1982
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: New IPF decoder ("capslib") supports loading of raw file

Postby Steven Seagal » Fri Mar 28, 2014 8:54 pm

After having looked at it better, next version of Steem (3.6.1) should support capslib v5.0, that is CTRaw (CTR) files.
Notice that files may be zipped or rared, as usual.
Of course for v5.1 we must wait the h files, lib, binary dll etc.
Not sure supporting RAW files should be a priority though, as I see difficulties ahead in the disk manager.
Anyway, with CTR the Caps/Ipf project is getting some momentum on the ST scene. Good job.

User avatar
mr.vince
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 102
Joined: Wed Jun 09, 2010 2:22 pm

SPS Decoder Library 5.1 (formerly IPF Decoder Lib) released

Postby mr.vince » Sun Jun 22, 2014 8:25 am

This is the latest revision of the SPS Decoder Library which will enable IPF & CT RAW files in many emulators like WinUAE, FS-UAE, Caprice, Hatari, Steem etc.

http://www.kryoflux.com/download/spsdec ... binary.zip
http://www.kryoflux.com/download/spsdec ... source.zip

More binary builds to follow. If you want to help comiling the lib for other platforms, let us know so we can post binaries here.

The source will soon be moved to a public repository.

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1982
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: SPS Decoder Library 5.1 (formerly IPF Decoder Lib) relea

Postby Steven Seagal » Sun Jun 22, 2014 9:06 am

mr.vince wrote:This is the latest revision of the SPS Decoder Library which will enable IPF & CT RAW files in many emulators like WinUAE, FS-UAE, Caprice, Hatari etc.


Thanks for including Steem in the "etc.", at least it's been released for a while.

User avatar
mr.vince
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 102
Joined: Wed Jun 09, 2010 2:22 pm

Re: New IPF decoder ("capslib") supports loading of raw file

Postby mr.vince » Sun Jun 22, 2014 9:39 am

Really, no offence intended. I just picked some names randomly. Hatari came to mind, because Nicolas helped so much during the development of this major rewrite.

Actually, we started compiling a of all emulators we know of before you complained which will be used for a separate sticky on our forums.

So, again, please accept my apologies and let's not make it (the issue) bigger than it is.

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1982
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: New IPF decoder ("capslib") supports loading of raw file

Postby Steven Seagal » Sun Jun 22, 2014 6:47 pm

There's no issue, no need to apologise.
It's not about me, it's about people knowing IPF/CTR is officially supported by Steem (since v3.5 for IPF, v3.6 for CTR).
I would get angry only if you forget Steem in your list. You don't want that, you've seen the movies.

User avatar
mr.vince
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 102
Joined: Wed Jun 09, 2010 2:22 pm

Re: New IPF decoder ("capslib") supports loading of raw file

Postby mr.vince » Sun Jun 22, 2014 8:59 pm

Cool, we better don't MESS with STEEM Steve, otherwise committing HATARIkiri might be our last resort.

[smilie=greencolorz4_pdt_12.gif]

AtariZoll
Fuji Shaped Bastard
Fuji Shaped Bastard
Posts: 2904
Joined: Mon Feb 20, 2012 4:42 pm
Contact:

Re: New IPF decoder ("capslib") supports loading of raw file

Postby AtariZoll » Mon Jun 23, 2014 7:27 am

Off topic, but guys, you pulled my tongue :D Actor in question is now 62 years old, and slow. Hollywood should really stop with making action movies with those grandpa's (including Arnold, Bruce, Silvester, etc . Just sad to watch.
Negative feedback has usually positive effect.

IFW
Captain Atari
Captain Atari
Posts: 181
Joined: Fri Jul 22, 2011 4:53 pm

Re: New IPF decoder ("capslib") supports loading of raw file

Postby IFW » Mon Jun 23, 2014 9:22 am

Hard to Kill and a few others were awesome, the rest... :roll:

User avatar
npomarede
Atari God
Atari God
Posts: 1178
Joined: Sat Dec 01, 2007 7:38 pm
Location: France

Re: New IPF decoder ("capslib") supports loading of raw file

Postby npomarede » Mon Jun 23, 2014 9:30 am

Yes, I think he really softened too much since working on Steem :lol: :lol:

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1982
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: New IPF decoder ("capslib") supports loading of raw file

Postby Steven Seagal » Mon Jun 23, 2014 5:51 pm

Those dinosaurs are still active because there's no new generation.

Image

Image

But let's not derail the thread.

User avatar
Steven Seagal
Atari God
Atari God
Posts: 1982
Joined: Sun Dec 04, 2005 9:12 am
Location: Undisclosed
Contact:

Re: New IPF decoder ("capslib") supports loading of raw file

Postby Steven Seagal » Mon Jun 30, 2014 10:08 am

Seriously now, the new "single sided drive" feature seems to work OK (Dragonflight CTR).


Social Media

     

Return to “Kryoflux”

Who is online

Users browsing this forum: No registered users and 1 guest