From: notsaying@nospicedham.invalid.org   
      
   On Mon, 05 Feb 2018 23:16:33 GMT, "wolfgang kern"    
   wrote:   
      
   > Kerr-Mudd,John wrote:   
   >   
   >>>>> when once everyone got such a tiny tool we could share binaries   
   >>>>> of any size either RM or PM or LM.   
   > ...   
   >>> Such TEXT2BIN and BIN2TEXT converters would work with any x86 OS and   
   >>> may just need an assembler to built it. It doesn't need much, so it   
   >>> could be inlined as well.   
   > []   
   >> Not really; you need to be able to write to file, IMO, and this means   
   >> DOS int 21 or linux int 80   
   >   
   > Everyone could make his/her prefered tool, to convert a string   
   > inbetween two quote marks into code bytes.   
   >   
   >>> a 5:4 BIN2TEXT encoder takes four bytes from source and make five   
   >>> printable characters out of it.   
   >>> 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.   
      
   > 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.   
      
   > Yes, the whole idea behind is based on x86 32 bit at least.   
   > And the decoder part may become just a short loop.   
   > __   
   > wolfgang   
   >   
      
      
      
   --   
   Bah, and indeed, Humbug.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|