#25202 - subatomic - Wed Aug 18, 2004 1:37 pm
I see on other tutorial sites that I have to modify a crt0.s to enable interrupts. In devkitadvance I see a directory called crtls that has the one copy of crt0.s and a makefile. anyone know what I have to do to compile this for interrupts? the doc file is empty for crtls, and the config-crt0.h seems to have an INI_INTR_VECT set to default already...
Basically my code links with or without the interrupt function table, so that tells me that it isn't enabled in crt0.s... I did try to recompile crt0.s, and I did try hooking up the iterrupt table, setting the flags, etc... as outlined at the pern project tutorial...
I'm pretty sure I didn't know what to change in crt0.s, so this is probably where the error lies...
thanks
-kevin
ps.. (I compile (and link) my game with g++ file1.cpp file2.cpp ... filen.cpp and without any special flags or anything...
Does anyone have a link to documentation or some advice on how to add interrupt support to my project that compiles with devkitadvance? It's all C++ by the way in case that matters...)
Basically my code links with or without the interrupt function table, so that tells me that it isn't enabled in crt0.s... I did try to recompile crt0.s, and I did try hooking up the iterrupt table, setting the flags, etc... as outlined at the pern project tutorial...
I'm pretty sure I didn't know what to change in crt0.s, so this is probably where the error lies...
thanks
-kevin
ps.. (I compile (and link) my game with g++ file1.cpp file2.cpp ... filen.cpp and without any special flags or anything...
Does anyone have a link to documentation or some advice on how to add interrupt support to my project that compiles with devkitadvance? It's all C++ by the way in case that matters...)