Quote Originally Posted by 21o6
maybe there's something i forgot to tell. let's see:

i am using your build_fpc4nds.bat.
i have updated devkitpro with it's automated installer.
i am using the latest source of fpc (using the address from the batch-file)
and the latest libndsfpc.
That batch file needs some updates, I guess ops:
The trunk snapshot now is located at ftp://ftp.freepascal.org/pub/fpc/sna...source/fpc.zip whereas my build batch indicates ftp://ftp.freepascal.org/pub/fpc/sna...source/fpc.zip that was the right address when I wrote it
Better should be to get the sources directly from SVN, by using something like TortoiseSVN.

oh, btw ... i can't compile the snow-demo you've made.
it says:

snow.pp(46,19) Error: Duplicate identifier "QRAN_SHIFT"
snow.pp(47,41) Error: Duplicate identifier "QRAN_MASK"
snow.pp(48,26) Error: Duplicate identifier "QRAN_MAX"
snow.pp(49,24) Error: Duplicate identifier "QRAN_A"
snow.pp(50,27) Error: Duplicate identifier "QRAN_C"
snow.pp(258,40) Error: Identifier not found "VRAM_A_MAIN_BG_0x6000000"
snow.pp(259,40) Error: Identifier not found "VRAM_B_MAIN_BG_0x6020000"
snow.pp(260,39) Error: Identifier not found "VRAM_C_SUB_BG_0x6200000"
That's because I have added that random number generator inside the library, so now it is defined in two places. I guess you have downloaded the demo from my site, that's a bit outdated. Please, try the updated demo shipped with libndsfpc