Hacker News new | ask | show | jobs
by nommuenjoyer 27 days ago
The 68000 isn't very fast to start with and: To get the code to fit into memory the kernel is compiled with -Os and GCC makes some poor inlining choices (keeping a call to a function that writes a value to an address in a register instead of just writing to the register, ~5 instructions vs 1), the Mega Drive only has vblank for interrupts, and so on.