home bbs files messages ]

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

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

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

   Message 2,332 of 2,978   
   Klaus Jorgensen to robert   
   Re: continue/break loop early in Pascal?   
   19 Dec 06 20:14:05   
   
   XPost: comp.lang.pascal.delphi.misc   
   From: kj@no.spam   
      
   robert wrote :   
   >   
   > How to jump to an absolute memory address?  jmp 0xFFFF:0xFFF0 ??   
   >   
      
   If you want to reboot the computer, just use inline assembler:   
      
   {$G+}   
   Procedure Reboot; Assembler;   
   Asm   
     push $ffff   
     push 0   
     retf   
   end;   
      
   Note: the vector to reboot the computer is 0xFFFF:0 and not   
   0xFFFF:0xFFF0.   
      
      
   /klaus   
      
   --- 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