N
notorious_pgb
This started as a throwaway metaphor in a blog post, but is now fully runnable: a toy RTOS with preemptive multitasking inside of Super Mario Bros. on the NES.
Essentially, this is:
Comments URL: A toy RTOS inside Super Mario Bros. using emulator save states | Hacker News
Points: 174
# Comments: 38
Continue reading...
Essentially, this is:
- A rudimentary preemptive RTOS
- Using an unmodified NES emulator (FCEUX) as the CPU
Code:
- "Unmodified" depending on how you define terms
- With emulator save states as the thread contexts
- With support for (very basic) mutexes, interrupt masking, and condition variables
- Demonstrated using Super Mario Bros. 1-1 with sections of the map dedicated to various synchronization primitives
Comments URL: A toy RTOS inside Super Mario Bros. using emulator save states | Hacker News
Points: 174
# Comments: 38
Continue reading...