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

From: Ray Arachelian <ray_at_email.domain.hidden>
Date: Sun, 21 Jan 2018 10:34:34 -0500

On 01/21/18 09:36, Al Kossow wrote:
> On 1/20/18 10:35 PM, David Ryskalczyk wrote:
>> Not being clear there — the Lisa disk images on BitSavers are all
>> DC42, so I’d expect them to have a format byte of 0x12 (DC42) or 0x2
>> (DART); not 0x02 (DC42) or 0x1 (DART, but there are no DART images).
>
> I'll see if I can whip something up to check the values at 0x51 in
> every DC42 I've archived and see what I come up with.
>
Here you go: gcc check-dc42-format-byte.c:

int main(int argc, char *argv[])
{
 for (int i=1; i<argc; i++)
 {
   FILE *f;
   unsigned char c;
   f=fopen(argv[i],"rb");
   if (!f) {fprintf(stderr,"Could not open %s ",argv[i]); perror("\n"); }    else
   {
     fseek(f,0x51,SEEK_SET);
     c=fgetc(f);
     printf("%s format byte @0x51: %02x\n",argv[i],c);      fclose(f);
   }
 }
}

compile as usual: gcc check-dc42-format-byte.c -o check-dc42-format-byte

And sample output on some images off bitsavers

$ check-dc42-format-byte *.dc42

682-0073-A_Pascal_2.0_1_cpy1.dc42 format byte @0x51: 02
682-0073-A_Pascal_2.0_1_cpy2.dc42 format byte @0x51: 02
682-0074-A_Pascal_2.0_2_cpy1.dc42 format byte @0x51: 02
682-0075-A_Pascal_2.0_3_cpy1.dc42 format byte @0x51: 02
682-0075-A_Pascal_2.0_3_cpy2.dc42 format byte @0x51: 02
682-0076-A_Pascal_2.0_4_cpy1.dc42 format byte @0x51: 02
682-0076-A_Pascal_2.0_4_cpy2.dc42 format byte @0x51: 02
682-0077-A_Pascal_2.0_5_cpy1.dc42 format byte @0x51: 02
682-0077-A_Pascal_2.0_5_cpy2.dc42 format byte @0x51: 02
mac_supp_1.dc42 format byte @0x51: 02

mac_supp_2.dc42 format byte @0x51: 02
mac_supp_3.dc42 format byte @0x51: 02
ws2.0_1.dc42 format byte @0x51: 02
ws2.0_2.dc42 format byte @0x51: 02
ws2.0_3.dc42 format byte @0x51: 02
ws2.0_4.dc42 format byte @0x51: 02

label_list_for_7_7.dc42 format byte @0x51: 02
lisa_calendar_for_7_7.dc42 format byte @0x51: 02
lisa_macnosy2.55.dc42 format byte @0x51: 02
lisa_phone_book_for_7_7.dc42 format byte @0x51: 02

twiggy$ check-dc42-format-byte *.dc42

t001_Office_System_I.dc42 format byte @0x51: 01
t004_Smalltalk-80.dc42 format byte @0x51: 01
t008_Office_System_II.dc42 format byte @0x51: 01
t021_Lisa_Draw.dc42 format byte @0x51: 01
t025_Lisa_Guide.dc42 format byte @0x51: 01
t044_Lisa_Project.dc42 format byte @0x51: 01
t046_Lisa_Write.dc42 format byte @0x51: 01
t058_Lisa_Graph.dc42 format byte @0x51: 01

BTW: any reason bitsavers doesn't have Lisa Office System 3.x and apps?

-- 
-- 
-----
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 10:40:27

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