RetroChallenge Winter Warm-up 2016
My newest computer is now ten years old. Does that make it retro yet? Anyways, I disaasmbled it, cleaned and applied heat compound between the heatsink and the CPU. It is now running much cooler than before. I also found the screen record button in QuickTime Player.
A code is entered. Everything goes white, then off-white. A bit of orange sky and ground shows up. Sand. There is sand everywhere, on the ground and in the sky. It would get in your eyes, if you had eyes. The sand is blowing and going everywhere.
Something black slowly emerges beneath the blowing sand. It's fixed in the ground like a black hatch. As more sand blows a little more of the black hatch is revealed. There are tiny lines and squares not quite visible on the surface of the hatch. It's not a hatch at all. It's a solar panel buried in the sand.
Days pass, and just enough sunlight filters through, and magically somewhere below a machine has come to life. It has activated itself. It is unknown how long the machine has been buried beneath the sand.
Within a few weeks, the machine is visible. It is only partially buried. You have a choice. There are controls on the machine. It is not just a machine but appears to be a vehicle as well. Forward, left, right and reverse are the basic controls. You press forward and a gentle whirring noise starts, but the machine is stuck in the sand. You press reverse and the entire vehicle jiggles a bit but nothing more.
Maybe back and forth? You toggle between pressing forward and reverse. And, after a bit of this the machine starts to move a little more than jiggle. But, it slows. You've used a little too much power. A few more weeks pass and you can try again.
The batteries or whatever is powering this unit seem to be very low. But, you try again anyways to wiggle the machine out from being stuck in the sand. There really is no one else around. The sky, the ground, the sand, and this little vehicle with a solar panel on top of it. Today the machine seems to move a little more. And, over the weeks of recharging, more of the sand has blown away. You notice one other smaller button off to the side of the main movement controls. You press it, and an elaborate console appears.
GR scroll down and scroll up.
scroll.bin written (168 bytes).
cat scroll.bin | hexdump -v -e '":" 16/1 "%X " "\n"' > scroll.hex.txt
cat scroll.hex.txt | pbcopy
:A2 27 A0 4 18 3E 0 4 3E 80 4 3E 0 5 3E 80
:5 3E 0 6 3E 80 6 3E 0 7 3E 80 7 3E 28 4
:3E A8 4 3E 28 5 3E A8 5 3E 28 6 3E A8 6 3E
:28 7 3E A8 7 3E 50 4 3E D0 4 3E 50 5 3E D0
:5 3E 50 6 3E D0 6 3E 50 7 3E D0 7 88 D0 B4
:CA 10 AF 60 A2 27 A0 4 18 7E D0 7 7E 50 7 7E
:D0 6 7E 50 6 7E D0 5 7E 50 5 7E D0 4 7E 50
:4 7E A8 7 7E 28 7 7E A8 6 7E 28 6 7E A8 5
:7E 28 5 7E A8 4 7E 28 4 7E 80 7 7E 0 7 7E
:80 6 7E 0 6 7E 80 5 7E 0 5 7E 80 4 7E 0
:4 88 D0 B4 CA 10 AF 60
Happy new year. This is my first official posting for the 2016 Winter Warmup.
I am thinking about the direction of where TO GO for this challenge. I am going to code in the small along the way and see where I might end up.
; gosub x
; & expr
txtptr EQU $B8
curlin EQU $75
frmevl EQU $DD7B
getadr EQU $E752
goto1 EQU $D941
newstt EQU $D7D2
LDA txtptr+1 ; SETUP GOSUB RETURN DATA
LDA #$B0 ; GOSUB TOKEN
JSR frmevl ; EVALUATE EXPRESSION
JSR getadr ; CONVERT TO INTEGER
$ alias mondump
alias mondump='hexdump -v -e '\''":" 16/1 "%X " "\n"'\'''
$ asm6 gosub-x.s
gosub-x.bin written (27 bytes).
$ cat gosub-x.bin | mondump
:A5 B9 48 A5 B8 48 A5 76 48 A5 75 48 A9 B0 48 20
:7B DD 20 52 E7 20 41 D9 4C D2 D7
100 FOR I = 768 TO 794
110 READ B: POKE I,B: NEXT
170 POKE 1014,0: POKE 1015,3
200 LET P = 400:N = 4
210 GOSUB 300"REPEAT P N
300 IF N < = 0 THEN RETURN
310 LET N = N - 1
320 & P
330 GOTO 300
400 PRINT "EXAMPLE"
brief synopsis of project
This is my announcement of intention to enter RC2016/01.
My retro software challenge is to
be obstuse figure it out as I go.