Page 1 of 1

MicroPython and Britain's educational BBC micro:bit

Posted: Tue Oct 24, 2023 4:47 pm
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.

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

Posted: Tue Oct 24, 2023 5:28 pm
by Stefan
Maybe the memory could be represented as an object :-)

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

Posted: Tue Oct 24, 2023 6:28 pm
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