Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 69

Thread: FPC4NDS: first raw demo

  1. #21

    FPC4NDS: first raw demo

    I did it! I did it!!! :toocool:

    FPC4NDS works pretty fine now... It needs some minor tuning only. To make it short: in order to link devkitPro library to FPC4GBA made executables, I have switched from arm-elf to arm-eabi. After a bit of mumbling, I have tried to do the same in FPC4NDS and this is the result


    Now I need to know how to handle 2 linker script with fpc without using external files (and - of course - without upsetting fpc's design rules...).
    I'm thinking to something like a compiler switch or, (maybe) even better, a define like this:
    [pascal]{$define ARM7} / {$define ARM9}[/pascal]


    PS. I'm happy like a kid in a toy store :mrgreen:
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  2. #22
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    FPC4NDS: first raw demo

    Thats awesome! Very nice work. :thumbup:

    So if you where to list the work to be done in a groceries list, what would we be seeing? And whats the estimated time-frame to completion? Of course that last question is only meant to be a wild figure... we all know these things take plenty of time.

    On a more technical note though, are you trying to compound the GBA and NDS targets? Whats the advantage, if any to that if thats the case?

    I think I'll create a NDS platform section in the Free Pascal Wiki now. Though similar, I believe that the two targets should be separated for information sake.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  3. #23

    FPC4NDS: first raw demo

    Quote Originally Posted by WILL
    So if you where to list the work to be done in a groceries list, what would we be seeing?
    First of all, I'm waiting an answer from fpc guys to know how the compiler should handle two cpu. After this step, FPC4NDS could be released
    Second, I need to convert some libnds headers. Keep in mind that now it is possible to ]
    And whats the estimated time-frame to completion? Of course that last question is only meant to be a wild figure... we all know these things take plenty of time. [/quote]
    I hope to make a gift for Christmas for the PGD community

    Quote Originally Posted by WILL
    On a more technical note though, are you trying to compound the GBA and NDS targets? Whats the advantage, if any to that if thats the case?
    I'm thinking about that, but at this time is not a priority

    Quote Originally Posted by WILL
    I think I'll create a NDS platform section in the Free Pascal Wiki now. Though similar, I believe that the two targets should be separated for information sake.
    Good work!
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  4. #24

    FPC4NDS: first raw demo

    Quote Originally Posted by Legolas
    Another way to debug is to use the new GDB stub for Desmume emulator.
    :thumbup: free and open source
    :thumbup: it works with gdb/insight, so source level is allowed
    :doh: less advanced than no$gba
    :doh: at this time it's very unstable

    However no plans for a demo yet
    This sounds interresting. If you have gdb working, it becomes then very easy to make the FPC IDE debug the program.

  5. #25

    FPC4NDS: first raw demo

    Quote Originally Posted by dmantione
    Quote Originally Posted by Legolas
    Another way to debug is to use the new GDB stub for Desmume emulator.
    :thumbup: free and open source
    :thumbup: it works with gdb/insight, so source level is allowed
    :doh: less advanced than no$gba
    :doh: at this time it's very unstable

    However no plans for a demo yet
    This sounds interresting. If you have gdb working, it becomes then very easy to make the FPC IDE debug the program.
    Yes, but at this time it allows breakpoints only and crashes every two breaths :roll:
    Off course, if it will be improved, we (you! ) could try to use it in the FPC IDE
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  6. #26

    FPC4NDS: first raw demo

    Wow Great Stuff Legolas! Impressive stuff! So is there anything special that needs to be done to make it recognise the stylus input?
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  7. #27

    FPC4NDS: first raw demo

    Quote Originally Posted by savage
    Wow Great Stuff Legolas! Impressive stuff! So is there anything special that needs to be done to make it recognise the stylus input?
    Thanks
    Well, the touch screen is connected to a SPI bus, so it should be only matter of reading and writing data from this bus.
    I have started to convert devkitPro's libnds headers, but h2pas can't help (I get a lot of internal errors). We are talking about 170 kb of c headers (:shock so, to speed up things, it could be nice to start an open conversion project, like quake2/3. If someone is interested to help, I could open a sourceforge account :think:
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

  8. #28

    FPC4NDS: first raw demo

    Is it realy already possible to compile for the nds? Do you have an downloadable bare bones example? I would be willing to help, but unfortunately i do not have much time left to take on new projects.
    http://3das.noeska.com - create adventure games without programming

  9. #29

    FPC4NDS: first raw demo

    Quote Originally Posted by Legolas
    I could open a sourceforge account :think:
    I would say do it anyway, and people could jump in as and when they have time. Do you need to have assembler skills or us pure pascal enough?
    <br /><br />There are a lot of people who are dead while they are still alive. I want to be alive until the day I die.<br />-= Paulo Coelho =-

  10. #30

    FPC4NDS: first raw demo

    Quote Originally Posted by noeska
    Is it realy already possible to compile for the nds? Do you have an downloadable bare bones example? I would be willing to help, but unfortunately i do not have much time left to take on new projects.
    In a word, yes, it is already possible, though I haven't committed the changes on the svn yet

    Quote Originally Posted by savage
    Quote Originally Posted by Legolas
    I could open a sourceforge account :think:
    I would say do it anyway, and people could jump in as and when they have time. Do you need to have assembler skills or us pure pascal enough?
    I'll do
    And no, libnds sources are 95% pure c code. The only asm code is in the lib itself, and we need to translate the headers only
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

Page 3 of 7 FirstFirst 12345 ... LastLast

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
  •