Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
178 user(s) are online (164 user(s) are browsing Forums)

Members: 0
Guests: 178

more...

Support us!

Headlines

 
  Register To Post  

(1) 2 »
xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
As I posted already in another thread I am doing a rewrite/port of the xfdmaster.library for AmigaOS 4.1.

As all of the library code was in 680x0 assembler much of the work has been spent decoding this code and rewriting it in C. As rewriting in this way all of the decruncher slaves would be way too much work I am concentrating on simply porting the main API functions and leaving pretty much all the rest to the 680x0 emulator in the OS.

As I have already implemented support for PPC native slaves (both internal and external) slaves can be ported to native code one at a time (already ported slaves are XPK and MMCMP).

While almost all of the API functions should already be working the following are still on my "To Do" list before I will make my first non-WIP release of this library:
- xfdRelocate()
- xfdStripHunks()
- xfdTestHunkStructure[|New|Flags]()

FWIW I might end leaving these for the 680x0 emulator to handle as most people will probably not be needing them.

22.8.2014:
What is new since the last WIP version is that the xfdRecogLinker() function is now enabled and working. It was crashing before because I didn't use ET_SaveParamRegs, so the contents of register A5 were trashed when returning to a 680x0 library user.

24.8.2014:
Removed WIP download links as the first release version is now up (OS4Depot download is not yet available):
http://www.a500.org/downloads/libraries/xfdmaster_lib_7z.readme


Edited by salass00 on 2014/8/24 9:28:28
Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@salass00

Thanks !!

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just popping in
Just popping in


See User information
@salass00

Thanks a lot !

Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]
Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@salass00

13 years later, XFD lives again. Thanks Fredrik.

Now we need a patch of Open() to automatically use XFD when loading a file

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
Excuse my ignorance but what is XFD ?

Thank you

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Home away from home
Home away from home


See User information
@zzd10h

Quote:

Excuse my ignorance but what is XFD ?


My thoughts exactly



Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Home away from home
Home away from home


See User information
@broadblues

Ah, it's for decrunching files. Why would anyone crunch files in the first place in this day and age? But dealing already crunched files is useful I suppose.


Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@broadblues

Considering the amount of wasted space in native exe's being able to crunh them would save an awful lot of space, eg mplayer crunches to half it's size. something that automatically crunched anything going to a specific device like a usb stick would mean faster writing speeds and far greater capacity on small/slow devices. using xpkrake for example takes 3 seconds to pack mplayer, far less time than it would take to copy the 8mb it saves. I really miss powerpacker and powerdata...

But the real point of XFD is it decrunches a lot of data diles in old games and demos, stuff on old pd disks etc without having to find the original crucher program, very handy for classics running os4.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
Progress update (23.8.2014):
Rewrote the functions xfdGetHunk() (internally used function) and xfdTestHunkStructureFlags() in C code.

This means that only the following two API functions are remaining to be implemented:
- xfdRelocate()
- xfdStripHunks()

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
Salass00, GREAT!
A native SQSH decoder would be cool! (used for protracker modules).

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Amigans Defender
Amigans Defender


See User information
@spotUP

I have some code for that.... but SQSH is an XPK sub-format, so it would be far better to write a native xpkSQSH.library. Things could get *seriously* confused otherwise.

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
First release version is now uploaded to OS4Depot as well as my own website:
http://www.a500.org/downloads/libraries/xfdmaster_lib_7z.readme

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Not too shy to talk
Not too shy to talk


See User information
great work salass00

“The best thing about a boolean is even if you are wrong, you are only off by a bit.”
Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@zzd10h

Quote:

Excuse my ignorance but what is XFD ?


To put it simply, XFD is to single file crunchers (gzip, bz2, lzma, xpk, powerpacker, imploder, ...) what XAD is to archivers (lha, 7z, rar, zip, ...).

XFD also allows to scan a file to see if it contains crunched data sections (not all slaves support this functionality but some do, like XPK slave for instance).

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Amigans Defender
Amigans Defender


See User information
XFD was on my hard drive on amiga 2000 years ago.. :) i remember i was using a txt cruncher in one partition.. ah! memories!

i'm really tired...
Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
Just uploaded version 53.2:

53.2 (25.8.2014)
- Recompiled CPic external slave.
- Recompiled PacPic external slave.
- Ported SZDD external slave.
- Sets new XFDPFF_M68K flag for all slaves containing 680x0 code.
- Wrote a replacement xfdLibInfo command.

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just popping in
Just popping in


See User information
gr8 work

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
Can you port commands too? xfdDecrunch, xfdScan..?

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@Elwood

They can't be ported as the source code isn't available but replacements can be written from scratch as I did for xfdLibInfo.

Go to top
Re: xfdmaster.library C rewrite/port for AmigaOS 4.1
Just can't stay away
Just can't stay away


See User information
@salass00

Oh OK, thanks

Philippe 'Elwood' FERRUCCI
Sam460ex 1.10 Ghz
http://elwoodb.free.fr
Go to top

  Register To Post
(1) 2 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project