Re: Searching for an assembly guru -- DART disk utility

From: David Ryskalczyk <d235j.1_at_email.domain.hidden>
Date: Sun, 21 Jan 2018 01:33:30 -0500

At this point I have 1:1 decompression from all the images that Natalia sent to me, both RLE and LZH. The code is in the aforementioned BitBucket repository and branch.

There’s an odd issue, though: one of the DC42 files has 0x12 in the format byte (at 0x51), and the equivalent DART images have format byte 0x2, which means Lisa disk. However, all the various Lisa disks I’ve found on BitSavers have 0x02 as the format byte. This makes me wonder — how were those Lisa disks imaged? Does a popular imager maybe miss something?

David

> On Jan 20, 2018, at 10:03 PM, David Ryskalczyk <d235j.1_at_email.domain.hidden> wrote:
> 
> Fixed the RLE hookup and pushed to BitBucket at
> https://bitbucket.org/david_rysk/theunarchiver/commits/abe75473b0b8c2301821d2b8097d0cf351cd9516?at=DART
> 
> David
> 
>> On Jan 20, 2018, at 9:49 PM, David Ryskalczyk <d235j.1_at_email.domain.hidden> wrote:
>> 
>> Well I hooked up the DART implementation I wrote (but didn’t complete) for XADMaster 4.5 years ago and it seems to decompress LZH DART images fine, including the "problem" ones.
>> I’ve attached a diff against current XADMaster (repo linked below)
>> 
>> Note that RLE decompression is not correctly hooked up in this implementation.
>> 
>> David
>> 
>> <XADDART_20180120.patch>
>> 
>>> On Jan 20, 2018, at 4:14 PM, David Ryskalczyk <d235j.1_at_email.domain.hidden> wrote:
>>> 
>>> I was able to disassemble DartLib.o, with ksherlock’s mpw (https://github.com/ksherlock/mpw) and the DumpObj tool that comes with MPW.
>>> I’m not sure if there is a policy on posting such disassemblies to this list. If this is OK, I can post it, or alternatively I can send it to someone who asks.
>>> That said, it is not particularly difficult to do this yourself.
>>> 
>>> Now it comes down to determining the differences between the DART LZH implementation and Dynamic LZH as implemented in http://bitbucket.org/kosovan/theunarchiver/src/9648ef3e389b77ece47f55f031e9468e4dae03b4/XADMaster/XADLZHDynamicHandle.m , which seems to work in most but not all cases.
>>> 
>>> David
>>> 

>>>> On Jan 20, 2018, at 9:21 AM, Natalia Portillo <claunia_at_email.domain.hidden> wrote:
>>>>
>>>> hdid and hdiutil are just frontends to the PrivateFramework
>>>> DiskImages.framework. There's the algorithm
>>>>
>>>> On 20/01/18 10:15, gilles wrote:

>>>>> After some code reading the disc image does not seem to be present in open source code from macos/darwin. The code should be in hdid (10.0 -> 10.2) or hdiutil (10.3+) . 
>>>>> 

>>>>
>>>> --
>>>> --
>>>> -----
>>>> You received this message because you are a member of the LisaList group.
>>>> The group FAQ is at http://lowendmac.com/lists/lisa.html
>>>> To post to this group, send email to lisalist_at_email.domain.hidden
>>>> To leave this group, send email to lisalist+unsubscribe_at_email.domain.hidden
>>>> For more options, visit this group at http://groups.google.com/group/lisalist
>>>> ---
>>>> You received this message because you are subscribed to the Google Groups "LisaList" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send an email to lisalist+unsubscribe_at_googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>> 
>> 
> 

-- 
-- 
-----
You received this message because you are a member of the LisaList group.
The group FAQ is at http://lowendmac.com/lists/lisa.html
To post to this group, send email to lisalist_at_email.domain.hidden
To leave this group, send email to lisalist+unsubscribe_at_email.domain.hidden
For more options, visit this group at http://groups.google.com/group/lisalist
--- 
You received this message because you are subscribed to the Google Groups "LisaList" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lisalist+unsubscribe_at_googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Received on 2018-01-21 01:36:39

This archive was generated by hypermail 2.4.0 : 2020-01-13 12:15:14 EST