HI-LO game (reviewed)

36 views
Skip to first unread message

Ardunaut

unread,
Sep 20, 2021, 8:05:11 PMSep 20
to uKenbak-1
I created the octal file Using the YouTube  video 
and the link in it's description:

Octal file:
000,000,000,033,103,001,372,377,344,004,213,001,244,027,371,072,
377,272,377,344,017,344,004,134,204,344,101,223,003,344,017,023,
000,034,377,000,024,377,014,204,044,060,045,065,047,073,344,037,
023,377,034,200,000,023,360,034,200,344,037,023,017,034,200,344,
037,051,134,204,344,037,e

HI_LO Game (Guess a hidden number)
How to play:
1.-Set the P register with the start point of the program (033) . (Not needed the first play)
2.-Press START
3.-Press bit-7 three times to generate the random number.
4.-Press CLEAR and enter your guess, then press START again
5.-According to the answer:  11110000 or 00001111 (HI or LOW)
 repeat step 4 until all the led go ON 11111111.

NOTE: I changed the code at the address 041 to clear correctly the INPUT.
Original:
037: 023 000  LOAD  A,C=000
041: 033 377  STORE A,C=377    ;Store A immediate in the next location
Now:
037: 023 000  LOAD  A,C=000
041: 034 377  STORE A,377      ;Store A in the INPUT (Clear INPUT switches)

-----------------------------------------------------------------------------------------------------
There is now an errata in the video description,  but It doesn't make much sense to me to use the contents of register B to clean INPUT.
Reply all
Reply to author
Forward
0 new messages