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 4,317 of 4,675   
   wolfgang kern to Robert Prins   
   Re: Truly amazing   
   20 Apr 21 16:52:58   
   
   From: nowhere@nospicedham.never.at   
      
   On 20.04.2021 17:55, Robert Prins wrote:   
   > Just came across this one:   
   >   
   > C4 1C 9F AB 47 47 EB F9   
   >   
   > Save as a .COM file and run it, even in DOSBox-X. (Do a CLS before you   
   > start it)   
   >   
   > Comparable to a gem like "+[>,]+[<.-]" in that language that usually has   
   > an '*' in it's name. ;)   
   >   
   > Robert   
      
   I can't recommend to do this!   
      
   endless:   
   LES BX,[SI]  ;SI=?? may depend on environment   
   LAHF         ;who knows what's in the flags ?   
   STOSW        ;WRITE to ES:DI (try to use cc-flags for color)   
   INC DI dup2  ;stosw does this also   
   JMP $-7      ;endless or until crash   
      
   BX isn't used.   
   And if SI doesn't point to the screen-seg it writes to another 64KB block.   
   __   
   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