In the archive I found we have a small 5Kb 68k object only with the needed code for RLE & LZW, I suppose it will be the easier to start with (a structure of workshop binary .o will help also).
But maybe we may find what is needed in darwin open source code. I do not know exactly how DART images where mounted in OSX until 10.2.X. It seems that hdiutil is the new utility starting from 10.3 but I do not know if it is in the open source part or the closed source part (I did not find it yet).
Le vendredi 19 janvier 2018 17:26:16 UTC+1, Natalia Portillo a écrit :
>
> Hi gilles,
>
> The good thing is that Apple just copy pastes its code up to today.
> DART LZH and RLE's algorithms can be disassembled from DART itself,
> DiskCopy 6 or any Mac OS X version from 10.0 to 10.3, so anyone up to
> the task can choose which assembly he is more confident with (68k,
> ppc32, ppc64, ia32, ia32-mmx, x86-64).
>
> Same for the KenCode algorithm introduced in DiskCopy 6.
>
> Regards,
> Natalia Portillo
>
> On 19/01/18 13:09, gilles wrote:
> > I suppose the pascal code and object (compiled from C) is in this
> > http://macgui.com/downloads/?file_id=17958 (Mungeimagexxx.hqx). (I
> found
> > (and lost) this archive long time ago when I planned to integrate DART
> > files support in IDLE).
> >
> > An option can be to run the object with a 68k emulator that quits on
> > RTS. You can even recompile the .p source with the lisa workshop and run
> > the full code in original form.
> >
> >
> > the object also tells some details (function names and original code is
> > in C, that is probably why it was provided as a .o while target language
> > is Pascal).
> > %GlobalData
> > :DartLib.c.o
> > bufgetc
> > Main
> > bufputc
> > GetBit
> > GetByte StartHuff
> > reconst
> > update
> > DecodeChar
> > DecodePosition
> > Decode
> > InitHuffmanTables
> > LZHEXPANDBLOCK
> > RLEEXPANDBLOCK
> >
> > 5kb of 68k code is not that much and can be converted in C even without
> > a total knowledge of the original C source code.
> >
> > --
> > --
> > -----
> > 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 lisa..._at_email.domain.hidden
> <javascript:>
> > To leave this group, send email to lisalist+u..._at_email.domain.hidden
> <javascript:>
> > 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+u..._at_email.domain.hidden <javascript:>
> > <mailto:lisalist+u..._at_email.domain.hidden <javascript:>>.
> > 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-19 13:42:43
- text/html attachment: alternate version of message
This archive was generated by hypermail 2.4.0 : 2020-01-13 12:15:17 EST