Some #bbcbasic #programming. Having a printed manual makes this much easier.

Was trying to do the 10 PRINT maze thing off the C64, but it doesn't have convenient characters next to each other in the character set.

We have an improvement...

@james You can improve it further with VDU 23:

VDU 23,32-255,n1,n2,n3,n4,n5,n6,n7,n8

The second parameter is a number from 32 to 255 of the character to redefine, and n1-n8 are a bitmap of the character.

@james You'll not be able to put 100% machine code on the cassette sleeve doing that 😂
@james When you get to the chapter on redefining characters with VDU 23 (?) you can set that right. This looks hugely nostalgic and a whole lot of fun, and I'll probably be doing the same if ever I get my beeb recapped.
@james @bbcmicrobot Use MODE6 and redefine characters 128 and 129 with VDU23. Then you can use the C64 code almost verbatim.
@james @bbcmicrobot Actually MODE4 is better as no blank scan lines between rows.
#bbcmicrobot MO.4:V.-233;3,7,14,28,56,112,224,192,-489;192,224,112,56,28,14,7,3,-2ORRND,1:G.10
@cyberspice @james
I ran @rheolism's program and got this.
Source: https://bbcmic.ro/?t=6UMdf #bbcbasic
Owlet BBC BASIC Editor

@bbcmicrobot @rheolism #bbcmicrobot
V.&A017;&7038;&C1E0;&783;&1C0E;&A117;&E1C;&8307;&E0C1;&3870;&416;:REP.V.127+RND(2):U.0
I ran @nemo20000's program and got this.
Source: https://bbcmic.ro/?t=6UZiJ #bbcbasic
Owlet BBC BASIC Editor

@bbcmicrobot Where’s that corruption from?
@bbcmicrobot Oh I know, changing MODE from mode 7 to 4 via VDU so HIMEM is now in screen memory. Oops.
Doesn’t do that in RISC OS!
@bbcmicrobot REM Now with added colour #bbcmicrobot
V.&A017;&7038;&C1E0;&783;&1C0E;&A117;&E1C;&8307;&E0C1;&3870;:MO.1:REP.V.127+RND(2),17,RND(3):U.0
I ran @nemo20000's program and got this.
Source: https://bbcmic.ro/?t=6UZqY #bbcbasic
Owlet BBC BASIC Editor

@bbcmicrobot @nemo20000 Every so often there's a glitch in the output, is that due to switching to MODE 4 without telling BASIC?
@petererer Yes. Having preselected MODE7, Basic’s HIMEM is at &7C00. But VDU22,4 switches to MODE4, which starts at &5800, without Basic knowing. So Basic’s stack is visible on screen!
It’s possible to display all of the Beeb’s memory on screen: https://mastodon.me.uk/@bbcmicrobot/109552641776944455
BBC Micro Bot :mastodon: 🟢 (@[email protected])

Attached: 1 image I ran @[email protected]'s program and got this. Source: https://bbcmic.ro/?t=6V0OB #bbcbasic

mastodon.me.uk

@cyberspice Ahh not thought of that.

Also me and the other surviving member of AF1 @nigel say Hello :)

@james @nigel Hello! 🙂 Both friended!