Hello!
I'm working on a project to build a very cheap 8-bit homebrew computer for learning and fun coding. It's called The Sorbus Computer.
Technically, I'm just connecting a 65C02 CPU with an RP2040. The main code is run in a tight loop, just probing and responding on the bus. No timer or so included here. Just a tight loop running as fast as possible.
Which leads up to a typical clock speed of ~1.2MHz when compiled with the arm-none-eabi-gcc 12.2 as provided by bookworm. After switching to trixie which provides an arm-none-eabi-gcc 14.2, the clock speed now only is ~1.0MHz.
I've been trying to set up my own arm-none-eabi toolchain for the last two days or so, but this lead to either a compiler that according to CMake cannot compile code, or to code that also runs at just ~1.0MHz.
Right now my workaround is to use a bookworm based chroot environment to compile my code.
Am I the only one facing this problem? Using forum search, I couldn't find anything, but this might be related on bad search terms. What can I do to get my code running 20% faster again?
Thanks in advance,
SvOlli
I'm working on a project to build a very cheap 8-bit homebrew computer for learning and fun coding. It's called The Sorbus Computer.
Technically, I'm just connecting a 65C02 CPU with an RP2040. The main code is run in a tight loop, just probing and responding on the bus. No timer or so included here. Just a tight loop running as fast as possible.
Which leads up to a typical clock speed of ~1.2MHz when compiled with the arm-none-eabi-gcc 12.2 as provided by bookworm. After switching to trixie which provides an arm-none-eabi-gcc 14.2, the clock speed now only is ~1.0MHz.
I've been trying to set up my own arm-none-eabi toolchain for the last two days or so, but this lead to either a compiler that according to CMake cannot compile code, or to code that also runs at just ~1.0MHz.
Right now my workaround is to use a bookworm based chroot environment to compile my code.
Am I the only one facing this problem? Using forum search, I couldn't find anything, but this might be related on bad search terms. What can I do to get my code running 20% faster again?
Thanks in advance,
SvOlli
Statistics: Posted by SvOlli — Wed Dec 03, 2025 12:02 pm