Sunday, 29 June 2008

Infinite Loop

More often than not, infinite loops are created by programming errors and are quickly dealt with. In sympathy for this highly persecuted group of programs, a safe haven has been created on retro code. The two infinite loops below are highly optimized examples. In fact, the actual loops are only 1 byte long!

Z80 Infinite Loop
  ld hl, HERE
HERE:jp (hl)
8080 Infinite Loop
  lxi h, HERE
Corewar Infinite Loop
  jmp #0, <-5 
In Corewar, the infinite loop finds its niche destroying small mobile programs called imps!

If you know any infinite loops in need of shelter, please post them in the comments below.

Thursday, 12 June 2008

Privacy Policy


I respect your privacy.  The following policy explains how information is collected on Retro Programming.  Your personal information will never be sold or disclosed to a third party, except where required by law.


I use Google Analytics to track aggregate statistics about visitors to Retro Programming.  This information is not linked to personally identifiable information.


Cookies are small data files stored by a website on a user's computer.  Retro Programming does not uses cookies.  However, some advertising partners use cookies.  I have no access to cookies set by advertisers.


If you have any questions please contact John Metcalf at