Reblog via Dr. Juande Santander-Vela

If you don’t follow @bbcmicrobot, you should! Remember to click on the decode button to have a chance to see the BASIC words in use…

And then, of course, there is the jewel that is the 3D version of the BBC micro, where you can list the program, type it… full with sound and CRT monitor.

BASIC code for BBC Micro on the left hand pane:

10 MODE®: VDU29, 640;480;5 :K=260
20 F=10:C=0
30 FORZ=88T08STEP-10
40 B=F: F=1000/Z
50 FORS=-1T01STEP2
60 MOVEZ*14-40*S-720,K:K=K+RND (80)-40 :DRAWZ*14-40*5-770, K
70 x=S*4-Z*Z/400+Z/8:Y=-4-Z*Z/900
80 H=RND (1) *2+3:R=Y+2+H
90 C=(C+1)MOD5: GCOL (C+1)*16,0
100 MOVE (S*2+X) *B, R*B
110 DRAW (S*2+X)*F, R*F
120 PLOT85, X*B, (Y+H)*В
130 PLOT85, X*F, (Y+H) *F
140 C=(C+1)MOD5: GCOL (C+1)*16,0
150 PLOT85, X*B, Y*B
160 PLOT85, X*F, Y*F
170 PLOT85, X*F, (Y+H) *F
180 C=(C+1)MOD5: GCOL (C+1)*16, 0
190 PLOT85, (S*4+X) *F, Y*F
200 PLOT85, (S*4+X)*F, (Y+H)*F
210 PLOT85, X*F, (Y+H)*F
220 PLOT85, (S*2+X)*F, R*F
230 NEXT,

Below, there are buttons called Decode and Shrink. The code uses  486 characters, and was posted by @bazzargh on Mastodon

On the right-hand side, a graphical representation of what the code does is shown. A button below is named 3D. Text: (6,12) and Graphics: (97,619) is also shown.
3D representation of a BBC Micro running on Safari, showing the execution of the code mapped into a CRT monitor on top of a BBC Micro unit. If you press keys in the keyboard, they are lowered in the virtual image.

Code snippet:
3D: https://virtual.bbcmic.ro/?embedBasic=…)

Descubre más desde Memoria de Acceso Aleatorio

Suscríbete ahora para seguir leyendo y obtener acceso al archivo completo.

Seguir leyendo