Fix_The_Bit (a Non-Violent Game for the KENBAK-1)

110 views
Skip to first unread message

Ardunaut

unread,
Sep 27, 2021, 10:58:43 PM9/27/21
to uKenbak-1
Fix_The_Bit (a Non-Violent Game for the KENBAK1)

Fix_The_Bit_02.png

It is actually the same game "Kill The Bit" but now you have to fix the damaged bit.
I changed direction to the left and started the LEDs with 177 instead of 001.
This time I am using lower speed because is harder to follow the moving darken led.

"Fix The Bit" for the KENBAK-1
-----------
002:000      DB  000        ; X Register
003:004      DB  004        ; P register
004:023 177  LOAD A C=177
006:311      ROTL A,1
007:234 377  STORE X 377
011:123 300  LOAD B C=300
013:034 200  STORE A 200
015:113 001  SUB B C=001
017:143 013  JPD B!=0 013
021:304 377  OR A 377
023:033 000  STORE A C=000
025:024 200  LOAD A 200
027:324 377  AND A 377
031:334 000  LNEG A 000
033:013 001  SUB A C=001
035:324 024  AND A 024
037:343 006  JPD UNC 006
-----------

Octal file for the kenbakuino serial loader:

000,000,000,004,023,177,311,234,377,123,300,034,200,113,001,143,
013,304,377,033,000,024,200,324,377,334,000,013,001,324,024,343,
006,e
>

Change the value at (012) to modify the game speed.

- Actual value is 300 (good value in the kenbakuino Simulator for beginners)
- Decrease the value to increase the speed.
Reply all
Reply to author
Forward
0 new messages