3 ms·
I find it rather easy as long as you don’t have to interact with the OS. That’s where it becomes messy, with inflexible data structures and convoluted arguments
by rbanffy 2y ago
I find it rather easy as long as you don’t have to interact with the OS. That’s where it becomes messy, with inflexible data structures and convoluted arguments in ABIs designed to be used from higher level languages.
If you are doing really low level stuff, sometimes it’s worth rolling out your own little RTOS with just the bits and pieces you need.
Not that long ago, I realised most 8-bit (and MS-DOS) computer games had their own RTOS woven into the game code, with multi-tasking, hardware management, IO, and so on.
- eschneider 2y agoYeah...Old 8-bit computers didn't exactly have any OS services. :)
- rbanffy 2y agoSome very minimal things such as reading or writing to disk or files, reading the keyboard, or other very simple activities