INMC 80 News

  

February–April 1981, Issue 3

Page 11 of 55

MASTERMIND MODS AGAIN

Dear INMC

Thanks to G. Benson for the suggested mods to my mastermind Program in INMC80 1. The program was written before B-BUG was avalible, and the random number routine I used was rather poor, but was the best I had at the time. For those without B-BUG here’s a modified version of its random number routine, which fits in place of the old RAND routine in Mastermind:

TRAFFIC LIGHTS

Here is a simple hardware software combination suitable for an LED traffic lights display, as requested in INMC80 1 by P. Nurse. First the hardware, three transistors driving LEDs from the PIO socket SKA, on bits 5 to 7 of port 4:


Page 11 of 55