-
By the way, this is with 0.13.7.
2009-10-12 04:42:39 UTC in gputils
-
By the way, this is with 0.13.7.
2009-10-12 04:42:20 UTC in gputils
-
Compile the attached files with these commands:
$ gpasm -c -C -w2 x.asm
$ gpasm -c -C -w2 y.asm
and link them with this command:
$ gplink -oapp.hex -m x.o y.o
None of the above commands gives any error or warning (other than gplink observing that it's using the default linker script). However, opening the file "app.lst" reveals that the instruction in x.asm has ended up as "MOVLW 0"! Zero...
2009-10-12 04:39:06 UTC in gputils
-
If a source file takes the difference of two external labels, the result is zero without any errors or warnings from the compiler or linker. I will attach example source files.
2009-10-12 04:34:25 UTC in gputils
-
When compiling for 18F4550 in extended mode, the MOVFF instruction allows indexed literal offsets to be applied, as in "MOVFF [0], [1]". According to the datasheet, MOVFF does not support indexed-literal-offset addressing mode for either operand (which makes sense, since it works on flat addresses rather than access-or-banked addresses). The instruction the user probably intends is MOVSS, which...
2009-10-12 04:26:05 UTC in gputils
-
Yep! gcc-4.4 complains; gcc-4.3 doesn't. Thanks!
2009-07-12 07:59:13 UTC in DeSmuME
-
Compiling desmume-0.9.4 fails with the following error:
In file included from OGLRender.cpp:70:
texcache.h:47: error: declaration of ‘u32 format’
texcache.h:46: error: shadows template parm ‘TexCache_TexFormat format’
Changing the function parameter name from "format" to "fmt" (it's only a prototype) allows the build to finish, and the result seems to work.
2009-07-09 18:40:04 UTC in DeSmuME