Bare metal micro:bit: Difference between revisions

From Bare Metal micro:bit
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


''I am now in discussions with publishers about how to take the project forward, including what will continue to appear on the website.  The code for the experiments will remain available on GitHub and continue to be updated.  If you would like to look at sample chapters or try out the experiments, please get in touch with me and I will give you access. -- Mike''
''I am now in discussions with publishers about how to take the project forward, including what will continue to appear on the website.  The code for the experiments will remain available on GitHub and continue to be updated.  If you would like to look at sample chapters or try out the experiments, please get in touch with me and I will give you access. -- Mike''
==Online material==
* [[Hardware setup]].
* [[Software setup]].
* [[The microbit page|The {{microbit}} page]].


==Part 1: Machine code programming==
==Part 1: Machine code programming==
Line 14: Line 19:
==Part 3: An embedded operating system==
==Part 3: An embedded operating system==
The last third of the book introduces {{microbian}}, a tiny embedded operating system based on message passing, and uses it to organise programs that contain multiple processes interleaved with each other.
The last third of the book introduces {{microbian}}, a tiny embedded operating system based on message passing, and uses it to organise programs that contain multiple processes interleaved with each other.
==Online material==
* [[Hardware setup]].
* [[Software setup]].
* [[The microbit page|The {{microbit}} page]].




----
----
{{CopyrightLine}}
{{CopyrightLine}}

Revision as of 08:46, 28 May 2021

Front cover

Twenty-one experiments in low-level programming

This book describes a series of experiments in programming the BBC micro:bit at a low level.

I am now in discussions with publishers about how to take the project forward, including what will continue to appear on the website. The code for the experiments will remain available on GitHub and continue to be updated. If you would like to look at sample chapters or try out the experiments, please get in touch with me and I will give you access. – Mike

Online material

Part 1: Machine code programming

The first third of the book is about programming at the machine level: instructions, how they are implemented by a computer, and how they can be combined to carry put familiar programming tasks.

Part 2: Input/output devices

This part of the book is about programming I/O devices: how input and output happens by reading and writing device registers, and how we can use interrupts to make the computer respond to events.

Part 3: An embedded operating system

The last third of the book introduces micro:bian, a tiny embedded operating system based on message passing, and uses it to organise programs that contain multiple processes interleaved with each other.



Copyright © 2019–21 J. M. Spivey. All rights reserved.