Unpacker source for ICE2.4 in C?

C and PASCAL (or any other high-level languages) in here please

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 5102
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Unpacker source for ICE2.4 in C?

Postby simonsunnyboy » Fri Apr 18, 2014 10:18 am

I remember that Nyh did a depacker for ICE 2.4 packed data in plain C. Where can I find this, the forum search turned up with nothing.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: Unpacker source for ICE2.4 in C?

Postby Nyh » Sat Apr 19, 2014 6:31 am

simonsunnyboy wrote:I remember that Nyh did a depacker for ICE 2.4 packed data in plain C. Where can I find this, the forum search turned up with nothing.

Here is is.
You do not have the required permissions to view the files attached to this post.

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 5102
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Re: Unpacker source for ICE2.4 in C?

Postby simonsunnyboy » Sat Apr 19, 2014 11:49 am

Thank you very much!

*EDIT* What data type size for "int" do you use, esp as gcc for m68k can use both 16 and 32bit for int? I will convert it to use stdint.h to ensure it is always working correct, regardless how int is set.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

User avatar
Nyh
Atari God
Atari God
Posts: 1496
Joined: Tue Oct 12, 2004 2:25 pm
Location: Netherlands

Re: Unpacker source for ICE2.4 in C?

Postby Nyh » Sat Apr 19, 2014 11:00 pm

simonsunnyboy wrote: What data type size for "int" do you use, esp as gcc for m68k can use both 16 and 32bit for int? I will convert it to use stdint.h to ensure it is always working correct, regardless how int is set.

It will work with any int that is conform the C standard (at least 16 bits) it will also work on little and big endian machines.

Hans Wessels


Social Media

     

Return to “C / PASCAL etc.”

Who is online

Users browsing this forum: No registered users and 2 guests