Results 1 to 10 of 12

Thread: Is it possibe to use Lazarus fir NDS development

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    texture.bin is converted in an include file by using the provided makefile:

    Code:
    set PATH=%PATH%;c:\fpc4nds\bin\arm-nds
    make OS_TARGET=nds CPU_TARGET=arm BINUTILSPREFIX=arm-eabi- PP=ppcarm.exe
    I don't know if "make" can be called by Lazarus; however you could call "make" the very first time, in order to generate the inc files, then use Lazarus as usual
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  2. #2
    so the executable that makes the bin into an inc is in the arm-nds folder and it begins with arm-eabi ??

    How do I make an image into a BIN file?

  3. #3
    No, there is a little neat program called bin2s, that produces assembly files from binaries (texture.bin.s), then the makefile uses a "trick" to generate a pascal include file (texture.bin.inc). In the last step it calls the assembler to make an object file (texture.bin.o) from texture.bin.s.

    About your other question, grit or wingrit should do the trick
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •