home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.development      Operating system development chatter      4,255 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 3,494 of 4,255   
   mutazilah@gmail.com to All   
   Re: different MZ extension   
   25 Nov 22 12:13:42   
   
   From: muta...@gmail.com   
      
   One change that may be appropriate for MZ is for the   
   start identifier to be of type "int" rather than a character   
   string, and to have two of them.   
      
   So if the identifier is x'1234' then on a 32-bit big-endian   
   system you would see:   
      
   00 00 12 34 00 00 12 34   
      
   That way you can tell that it is 32 bits instead of e.g. 1024 bits.   
      
   If it was little-endian you can't tell where the integer stops   
   unless you have a second one.   
      
   So the loader would first compare two "int" and then say   
   "wrong size int" if an executable for one system was used   
   on another.   
      
   BFN. Paul.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca