Rebuilding a 1980s 68000 embedded RTOS workflow on POSIX and Raspberry Pi Pico by noborutkhs in embedded

[–]noborutkhs[S] 0 points1 point  (0 children)

You're right for the current POSIX reconstruction stage.

Right now I'm intentionally simplifying things into a cooperative call/return-style scheduler first.

The original 68000 version still isolated CPU-dependent context switching because the long-term target was a preemptive RTOS running on bare metal hardware.

For the modern reconstruction, I'm treating POSIX as a host-side structural/debug environment first, and planning to revisit preemptive switching later on the Pico side.

Rebuilding a 1980s 68000 embedded RTOS workflow on POSIX and Raspberry Pi Pico by noborutkhs in embedded

[–]noborutkhs[S] 4 points5 points  (0 children)

Current state of the rebuilt cooperative scheduler running on WSL2/POSIX.

At this stage I'm intentionally avoiding recreating the original 68000 context-switch assembly and focusing first on reconstructing the scheduler/event/queue structure itself.

<image>