Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: [FPC4GBA] New examples

  1. #11

    [FPC4GBA] New examples

    Regarding speed, what's currently the status? I guess we still need thumb code generation?
    <a>http://www.freepascal.org</a>

  2. #12

    [FPC4GBA] New examples

    Quote Originally Posted by FPK
    Regarding speed, what's currently the status? I guess we still need thumb code generation?
    AFAICS, speed is pretty good. Compared to gcc similar code, the speed is the same. Main bottleneck was mod/div but in the new rtl I have replaced it with internal GBA BIOS functions. These internal funcitons aren't very optimized (a div operation requires about 60 cycles), so it could be nice to replace it with some more optimized asm code (I have found some asm div routines optimized for gba, but I'm not able to make it working). However, for our initial purposes, the bios one should be good enough.
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

Page 2 of 2 FirstFirst 12

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
  •