home bbs files messages ]

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

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

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

   Message 3,271 of 4,675   
   wolfgang kern to John   
   Re: Hex to bin   
   08 Feb 18 11:01:06   
   
   From: nowhere@never.at   
      
   Kerr-Mudd,John wrote:   
   ...   
   >>>> ie: (my suggestion)   
   >>>>  the binaries are converted into characters 0x23..0x78 only.   
      
   >>> I've gone with the "standard" set starting at 0x21; your method   
   >>> avoids double quotes but not single (or pipe symbols <>|). To   
   >>> substitute awkward ones, costs me erm - too many bytes!   
      
   >> you see a problem with "<>|" ? aren't these only seen in replies ?   
      
   > Not on usenet so much, but executing in DOS & Linux.   
      
   Would it matter what text you see on screen ?   
      
   This 35 to 32 bits encoding gives us eight options to chose from,   
   the decoder would work equal on either anyway. I havent checked in   
   detail if this is enough to avoid certain characters.   
      
   >> But yes, any origin post should avoid it as long they aren't part of   
   >> code, that's why I suggested Quotemarks (0x22) as always visible   
   >> delimiters.   
      
   >>> I have something that's close to working in 6 lines; it has the usual   
      
   > 4 and a half lines; I'd duplicated the decoder!   
   > But it contains 3 single quotes.   
      
   >>> pre- amble to set registers with a popa, my usual copy to early PSP,   
   >>> and markup and execute; the routine copied is the 5:4 decoder, this   
   >>> then decodes the fileio routine which itself calls the decoder in   
   >>> PSP. It could probably be done much more easily using 32bit   
   >>> registers.   
      
   >> My idea wasn't about an immediate implied conversion, my intention was   
   >> to give us (text only users) a chance to share code snips.   
      
   > Not really a lot of benefit over posting hex. Sorry.   
      
   Yeah, the only advantage over hex is much shorter text (*1.25 vs *2)   
   and also shorter than any 4:3 encoding.   
    __   
   wolfgang   
      
   --- 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