IPF DECODER LIBRARY sourcecode released

All news about KryoFlux go here.
User avatar
mr.vince
Posts: 1870
Joined: Tue Oct 05, 2010 5:48 pm

Re: IPF DECODER LIBRARY sourcecode released

Post by mr.vince » Sat Oct 22, 2011 8:44 am

Yes, we know. ;) It's taken some time, but this is another promise fullfilled.

Would love to see some source for your tools released in return. :D

User avatar
DrCoolZic
Posts: 164
Joined: Tue Jul 26, 2011 10:44 am

Re: IPF DECODER LIBRARY sourcecode released

Post by DrCoolZic » Sat Oct 22, 2011 10:13 am

There are already some sources available from my site but not for all programs
I guess I need to publish on KryoFlux forum ;)

Reason I did not publish yet the libraries is because code is not yet stable (beta state). I just found today a nasty bug on the KFEmul library thanks to Gothmog to report the problem.
Problem is fixed and when test confirm by Gothmog I will release

User avatar
DrCoolZic
Posts: 164
Joined: Tue Jul 26, 2011 10:44 am

Re: IPF DECODER LIBRARY sourcecode released

Post by DrCoolZic » Mon Nov 21, 2011 6:08 pm

I am just glancing at the IPF source code for no specific reason yet ;)

Few initial questions:
  • any documentation ? even minimal ? :mrgreen:
  • I am using VStudio 2010 :o
  • conversion of project file was done without problem 8-)
  • stdint.h does not compile (Lots of error). Googling for file seems to indicate it comes from cygwin so downloaded v1.13 now code compile but later some warning like "conversion from 'ULONGLONG' to 'int', possible loss of data" :idea:
  • several sources do not compile because variables used out of scope (e.g. for (int x=4; x; x--) z++; x++; ) in the last statement x is used out of scope. This can be fixed with /Zc:forScope- but this is not good idea :ugeek:
  • with the above workaround compilation still fail with 'CCapsLoader::Swap' : cannot convert parameter 1 from 'uint32_t *' to 'PUDWORD :shock: '
Nothing major so far but
  • did you try VS2010 Ultimate?
  • Any Doc
This code also includes a cycle exact, low level WD177x emulator that works at the signal (not command) level. This took quite some investigative work digging up the appropriate datasheets, and a huge number of hours by multiple people in testing, including many many hours spent verifying the behaviour of real hardware. It was very important to us, so we spent a long time on it. There is a lot of information in the WIPs about it in fact. We think it is pretty neat!
Indeed the CapsEFDC.cpp source is quite interesting :geek:

User avatar
mr.vince
Posts: 1870
Joined: Tue Oct 05, 2010 5:48 pm

IPF DECODER LIBRARY sourcecode released

Post by mr.vince » Mon Nov 21, 2011 6:17 pm

We promised releasing it, but time was an issue. So no docs for now, but e.g. looking at WinUAE should give you a good start.

I think IFW uses VS2006 or 2008 for a reason.

phi2x
Posts: 3
Joined: Sat Feb 12, 2011 12:15 pm

Re: IPF DECODER LIBRARY sourcecode released

Post by phi2x » Fri May 11, 2012 11:08 am

Are there any plans to release the low level FDC765 emulator sourcecode too?
It would be a very interesting read to improve emulators ;)

User avatar
Interceptor
Posts: 58
Joined: Wed Oct 06, 2010 10:17 am

IPF DECODER LIBRARY sourcecode released

Post by Interceptor » Sun May 13, 2012 7:09 pm

There isn't 765 emulation, hasn't yet been implemented. Just WD1772.

User avatar
IFW
Posts: 2634
Joined: Mon Nov 08, 2010 2:42 pm

Re: IPF DECODER LIBRARY sourcecode released

Post by IFW » Mon May 14, 2012 12:36 am

...and the source code of that has been released, and it's a safe bet lots of recent emulator updates took hints from it ;)

User avatar
DrCoolZic
Posts: 164
Joined: Tue Jul 26, 2011 10:44 am

Re: IPF DECODER LIBRARY sourcecode released

Post by DrCoolZic » Wed Mar 19, 2014 12:06 pm

Is there a link to sources for IPF library 5.0

User avatar
mr.vince
Posts: 1870
Joined: Tue Oct 05, 2010 5:48 pm

Re: IPF DECODER LIBRARY sourcecode released

Post by mr.vince » Wed Mar 19, 2014 12:23 pm

Let me quote the news for you:
mr.vince wrote:(binary for Windows only, source and more ports coming soon)

User avatar
DrCoolZic
Posts: 164
Joined: Tue Jul 26, 2011 10:44 am

Re: IPF DECODER LIBRARY sourcecode released

Post by DrCoolZic » Wed Jun 04, 2014 11:26 am

Any date planned for 5.1 Source :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest