MicroPython and Britain's educational BBC micro:bit

Chat about anything CX16 related that doesn't fit elsewhere
Post Reply
eekee
Posts: 6
Joined: Tue May 03, 2022 9:43 am

MicroPython and Britain's educational BBC micro:bit

Post by eekee »

In the recent video, micropython was suggested as something which may be put into ROM in the future, and there was the hope of an educational role for the X16. Micropython already has a role in the British educational system. The BBC micro:bit is an educational microcontroller given to British schoolkids at quite an early level. The kids are first given a block programming system and can move up to MicroPython later. If MicroPython is ported to the X16, that might offer an opening for marketing it to the British educational system. Do note though that the microbit's micropython isolates programmers from the hardware. There's nothing equivalent to PEEK or POKE, you have to use the Python objects. An X16 port would probably have to represent all its hardware as Python objects too.
Stefan
Posts: 456
Joined: Thu Aug 20, 2020 8:59 am

Re: MicroPython and Britain's educational BBC micro:bit

Post by Stefan »

Maybe the memory could be represented as an object :-)
User avatar
desertfish
Posts: 1097
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

Re: MicroPython and Britain's educational BBC micro:bit

Post by desertfish »

sure, I thing it can be represened as a special `bytearray` of length 65536
the underlying object would translate indexing into the array into regular pokes and peeks
Post Reply