Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
87 user(s) are online (78 user(s) are browsing Forums)

Members: 1
Guests: 86

beworld, more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 »
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@BSzili

Quote:

PFS3 already supports 64-bit DOS packets (both the AmigaOS4 and MorphOS flavors):


Support for AmigaOS4's ACTION_EXAMINEDATA#? packets seems to be still missing according to the second link you posted.

Go to top
Re: Currently open projects
Quite a regular
Quite a regular


See User information
Ooops, you are right. Many of the new packets are not supported.

This is just like television, only you can see much further.
Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@Chris

Quote:

I'll give it a try when you get the PowerPacker client working (which IIRC is built-in). That's pretty much all I use XFD for these days.


I've made all the so far unported internal slaves compile as one giant external client file now that can be installed in LIBS:xfd.

Source code archive is available here:
https://dl.dropboxusercontent.com/u/26 ... /xfdmaster-os4-wip-src.7z

And binary archive is here:
https://dl.dropboxusercontent.com/u/26 ... /xfdmaster-os4-wip-bin.7z

Go to top
Re: Currently open projects
Amigans Defender
Amigans Defender


See User information
@salass00

Seems to work (with my xfd plugin for xad I can successfully unpack PowerPacked files with UnArc).
xfdLibInfo even works!
xfdList, sadly, just gives an out of memory error. I find that quite helpful sometimes for figuring out if stuff is packed.

Well done!

Quote:
xfdLibInfo 1.06 (29.5.97) © 1994-97 Georg Hörmann

Contents of xfdmaster.library 53.1:

Name | ID | MV | RB | DB | F1 | F2 | XFDPFF_#?
-------------------------------+------+----+----+----+----+----+-----------
XPK Packed | 8046 | 39 | ++ | ++ | ++ | ++ | DATA!RECOGLEN!USERTARGET
XPK Crypted | 8047 | 39 | ++ | ++ | ++ | ++ | DATA!PASSWORD!RECOGLEN!USERTARGET
Atomik (ATM4) Cruncher 3.4 | ---- | 39 | ++ | ++ | -- | -- | DATA!RECOGLEN!USERTARGET!EXTERN
(ArcR) Data Cruncher | ---- | 33 | ++ | ++ | -- | -- | DATA!EXTERN
(ArcD) Data Cruncher | ---- | 33 | ++ | ++ | -- | -- | DATA!EXTERN
(arcD) Data Cruncher | ---- | 33 | ++ | ++ | -- | -- | DATA!EXTERN
Alcatraz (ALC0) Data Cruncher | ---- | 33 | ++ | ++ | -- | -- | DATA!EXTERN


It's not important but it might be nice if there was a XFDPFF_ flag for PPC native that automatically gets added (or a 68k one that gets taken away!). XAD could do with that too.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@Chris

The xfdList not working is a little weird.

Using a debug version of xfdmaster.library I can see that it calls xfdAllocObject() twice, once to allocate an XFDOBJ_BUFFERINFO object and once to allocate an XFDOBJ_LINKERINFO object (both calls succeed). After this it apparently tries to allocate a huge chunk of memory because I can see the low memory handlers being invoked. Lastly it just frees the two objects allocated earlier and exits.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@Chris

xfdList should be working now with the version I just uploaded (download link is the same).

Turns out I had missed out a version check in the libInit() code which inits xfdm_MinBufferSize. Apparently slaves which have xfds_Version < 2 don't have a valid xfds_MinBufferSize field.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
I just ported the MMCMP external slave to PPC native (it was written in C so it was pretty easy to do) so loading of PPC native external slaves is now confirmed to be working.

Go to top
Re: Currently open projects
Just popping in
Just popping in


See User information
Nice work!

Seems I should dig into IDLTool to make xad/xfd/xpk-OS4 includes...

Edit: missed that they're already there on OS4Depot

Go to top
Re: Currently open projects
Amigans Defender
Amigans Defender


See User information
@salass00

xfdlist confirmed working!

Do you need to do anything special for PPC native slaves? I might try recompiling my lzma one... Erm, if I can find the source code.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@Chris

Instead of the library base pointer PPC functions get called with the interface pointer as their first parameter:
typedef BOOL (*xfdScanHookFunc)(struct xfdMasterIFace *, struct xfdScanHook *);
typedef BOOL (*xfdRecogBufferFunc)(struct xfdMasterIFace *, CONST_APTRULONG,
    
struct xfdRecogResult *);
typedef BOOL (*xfdDecrunchBufferFunc)(struct xfdMasterIFace *, struct xfdBufferInfo *);
typedef BOOL (*xfdRecogSegmentFunc)(struct xfdMasterIFace *, BPTR);
typedef BOOL (*xfdDecrunchSegmentFunc)(struct xfdMasterIFace *,    struct xfdSegmentInfo *);
typedef BOOL (*xfdScanDataFunc)(struct xfdMasterIFace *, CONST_APTRULONG);
typedef ULONG (*xfdVerifyDataFunc)(struct xfdMasterIFace *, CONST_APTRULONG);


The xfdMasterBase structure now also contains pointers to opened IExec, IDOS and IUtility interfaces for convenience.

The last major thing is that the xfdForeMan structure variable should be called xfdForeMan and this symbol should not be stripped from the generated executable.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
In the just uploaded version the file LIBS:xfd/XFD-68K is no longer needed and should be deleted as the 68k slaves are compiled in as data in the PPC library.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
THX. Downloaded and tested (xfd m68k commands).

#xfdLibInfo 
xfdLibInfo 1.06 (29.5.97© 1994-97 Georg Hörmann

Contents of xfdmaster
.library 53.1:

Name                           |  ID  MV RB DB F1 F2 XFDPFF_#?
-------------------------------+------+----+----+----+----+----+-----------
BOND Cruncher                  807D 39 | ++ | ++ | -- | -- | DATA
TrashEliminator 1.0            
8075 39 | ++ | ++ | -- | -- | ADDR
ByteKiller 1.3                 
8011 39 | ++ | ++ | -- | -- | ADDR
ByteKiller 2.0                 
8012 39 | ++ | ++ | -- | -- | ADDR
ByteKiller 3.0                 
8013 39 | ++ | ++ | -- | -- | ADDR
ByteKillerPro 1.0              
8014 39 | ++ | ++ | -- | -- | ADDR
ByteKillerPro 1.0 Pro          
8015 39 | ++ | ++ | -- | -- | ADDR
ByteKiller 97                  
8089 39 | ++ | ++ | -- | -- | ADDR
DragPack 1.0                   
8016 39 | ++ | ++ | ++ | ++ | RELOC!RELMODE
...
SMF Compacker                  8092 39 | ++ | ++ | -- | -- | ADDR
XPK Packed                     
8046 39 | ++ | ++ | ++ | ++ | DATA!RECOGLEN!USERTARGET
XPK Crypted                    
8047 39 | ++ | ++ | ++ | ++ | DATA!PASSWORD!RECOGLEN!USERTARGET
(MMCMPData Cruncher          | ---- | 39 | ++ | ++ | -- | -- | DATA!RECOGLEN!USERTARGET!EXTERN

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
Creating a file with 7za v4.65 and unarchiving/reading with UnArc I get a GR/crash pointing to xfdmaster_lib:

Crash log for task "APPDIR:UnArc"
Generated by GrimReaper 53.19
Crash occured in module kernel.debug at address 0x018841FC
Type of crash: DSI (Data Storage Interrupt) exception
Alert number: 0x80000003

Register dump:
GPR (General Purpose Registers):
0: 01C90DBC 608E64F8 25050750 60A54BA0 0228E9B0 6FEF0000 60A54BA0 60A54BE0
8: 00000254 60A55030 A40840AF 00000001 FFFFFFFC 60230000 01884674 00000001
16: 6FF33000 60A54BA4 00000000 01884264 52057050 602970FC 60A54BC0 00000254
24: 00000254 0228B1E0 0228B250 60B2AF10 6FFEC000 61C499DC 02146C60 42842088


FPR (Floating Point Registers, NaN = Not a Number):
0: nan 255.5 0.99999 4.5036e+15
4: 0 0.5 nan 3.375
8: 65536 1.67772e+07 1e+61 1e-59
12: 26 68 -1.37485e+11 -8.83127e+217
16: -3.12495e+231 -2.07278e+289 8.95667e+62 -9.08035e-87
20: 1.31369e+145 1.76184e+212 -1.43064e+177 -3.07384e+39
24: -2.93033e-180 -6.38987e-58 -1.47207e+222 -1.32435e+217
28: 1.07595e+180 1.25358e+291 -7.24803e-251 -5.92484e+67

FPSCR (Floating Point Status and Control Register): 0xA2804100


SPRs (Special Purpose Registers):
Machine State (msr) : 0x0002F030
Condition (cr) : 0x85027002
Instruction Pointer (ip) : 0x018841FC
Xtended Exception (xer) : 0x0000FFFF
Count (ctr) : 0x6041EA64
Link (lr) : 0x60580348
DSI Status (dsisr) : 0x605520F8
Data Address (dar) : 0x6057EF1C



680x0 emulated registers:
DATA: 00000080 00000080 00000000 00000000 00000000 00000000 00000000 00000000
ADDR: 60A9C748 608E66F0 00000000 00000000 00000000 00000000 61C499DC 608E64F8
FPU0: 0 0 0 0
FPU4: 0 0 0 0



Symbol info:
Instruction pointer 0x018841FC belongs to module "kernel.debug" (HUNK/Kickstart)

Stack trace:
native kernel module kernel.debug+0x000841fc
native kernel module kernel.debug+0x0008433c
module LIBS:xfdmaster.library at 0x60297100 (section 4 @ 0x40DC)

68k Stack trace:
602970fa (68k IP) - "LIBS:xfdmaster.library" Hunk 0004 Offset 000040fa (SegList: 1819c4f5)
60297100 - "LIBS:xfdmaster.library" Hunk 0004 Offset 00004100 (SegList: 1819c4f5)
0183f7d4 - "Kickstart/kernel.debug" Hunk 0000 Offset 0003f7d4
02179d14 - "Kickstart/kernel.debug" Hunk 0001 Offset 00049d14
0228dff2 - "Kickstart/kernel.debug" Hunk 0001 Offset 0015dff2
602970fa - "LIBS:xfdmaster.library" Hunk 0004 Offset 000040fa (SegList: 1819c4f5)
00000001 - "SYS:System/GrimReaper" Hunk 0000 Offset 00000000 (SegList: 1817df01)
0183faac - "Kickstart/kernel.debug" Hunk 0000 Offset 0003faac
02013c03 - "Kickstart/kernel.debug" Hunk 0002 Offset 00013c03
01845290 - "Kickstart/kernel.debug" Hunk 0000 Offset 00045290
0186f4f4 - "Kickstart/kernel.debug" Hunk 0000 Offset 0006f4f4
02150000 - "Kickstart/kernel.debug" Hunk 0001 Offset 00020000
020063fc - "Kickstart/kernel.debug" Hunk 0002 Offset 000063fc
02298620 - "Kickstart/kernel.debug" Hunk 0001 Offset 00168620
02179d14 - "Kickstart/kernel.debug" Hunk 0001 Offset 00049d14
02298654 - "Kickstart/kernel.debug" Hunk 0001 Offset 00168654
02298470 - "Kickstart/kernel.debug" Hunk 0001 Offset 00168470
01853f54 - "Kickstart/kernel.debug" Hunk 0000 Offset 00053f54
02295980 - "Kickstart/kernel.debug" Hunk 0001 Offset 00165980
02150000 - "Kickstart/kernel.debug" Hunk 0001 Offset 00020000
02179d14 - "Kickstart/kernel.debug" Hunk 0001 Offset 00049d14
0185e400 - "Kickstart/kernel.debug" Hunk 0000 Offset 0005e400
02000000 - "Kickstart/kernel.debug" Hunk 0002 Offset 00000000
02295980 - "Kickstart/kernel.debug" Hunk 0001 Offset 00165980
02179d14 - "Kickstart/kernel.debug" Hunk 0001 Offset 00049d14
02179d14 - "Kickstart/kernel.debug" Hunk 0001 Offset 00049d14
602970fa - "LIBS:xfdmaster.library" Hunk 0004 Offset 000040fa (SegList: 1819c4f5)

68k disassembly:
602970f2: 6962 bvs.b 0x60297156
602970f4: 7261 moveq #0x61,d1
602970f6: 7279 moveq #0x79,d1
602970f8: 00004eb9 ori.b #0xb9,d0
602970fc: 00000254 ori.b #0x54,d0

System information:

Machine
Machine name: Sam460ex
Memory: 2097152 KB
Extensions: bus.pci bus.pcie

Libraries
0x62e76ec8: ISO-8859-15.charset V52.1
0x62bccc58: spanish_ISO-8859-15.language V52.1
0x0228dff2: exec.library V53.63
0x6ff52a98: cgxvideo.library V42.1
0x61c499dc: xfdmaster.library V53.1
0x6022f0bc: xadmaster.library V13.1
0x60af8170: fuelgauge.gadget V53.8
0x60a95848: threads.library V1.5
..

Go to top
Re: Currently open projects
Amigans Defender
Amigans Defender


See User information
@jabirulo

Add xfdmaster.library to the Compatibility Prefs JIT blacklist. The 68k parts probably still need this.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@Chris
If I try to BlackList xfdmaster_lib it says it's not possible (now) it's not a m68k library.

Maybe revert to previous version that had clients in a single file, instead of embedded on xfdmaster_lib?


@salass00
Where can I re-download previous version?

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@jabirulo

Try this version:
https://dl.dropboxusercontent.com/u/26 ... /xfdmaster-os4-wip-bin.7z

The previous one was a little broken because the 68k code wasn't position independent.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@salass00

Yep, this one works fine. UnArc doesn't crash.

Go to top
Re: Currently open projects
Home away from home
Home away from home


See User information
Guys, perhaps it would be best to shift the OS4 xfdmaster discussion/debugging to a dedicated thread.

Hans

Join Kea Campus' Amiga Corner and support Amiga content creation
https://keasigmadelta.com/ - see more of my work
Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
@Hans

Ok, noted. If I have another problem/bug I'll post it in HP dev forum.

Go to top
Re: Currently open projects
Just can't stay away
Just can't stay away


See User information
I've opened a new topic for the xfdmaster.library rewrite here:
http://www.amigans.net/modules/xforum ... hp?topic_id=6639&forum=25

Go to top

  Register To Post
« 1 (2) 3 »

 




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




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project