Search found 2 matches

by dogtopus
Thu Jul 28, 2022 6:53 pm
Forum: devkitARM
Topic: Strange printf() behavior on custom devkitARM target
Replies: 2
Views: 5643

Re: Strange printf() behavior on custom devkitARM target

I actually found the issue and it was really platform-specific (i.e. devkitARM was doing everything right). The target device isn't running my code bare-metal (it has some in-house RTOS on it) and the executable loader was not exactly AAPCS compliant. Specifically, the stack pointer was misaligned t...
by dogtopus
Sun Nov 07, 2021 5:34 am
Forum: devkitARM
Topic: Strange printf() behavior on custom devkitARM target
Replies: 2
Views: 5643

Strange printf() behavior on custom devkitARM target

Not sure if this is the right place to ask this, but I don't know any better place to ask so here we go. So I was working on a devkitARM-based homebrew toolchain for a series of pocket translators made by a certain company. So far I got the console and some syscalls working (including malloc(), in w...