Recent content by DSLSC

  1. D

    bASMic IDE for GBA

    Yeah, I'm still in the electronics field, though haven't used the GBA in quite some time. My next quarry is probably going to be the Raspberry Pi Zero, programming it with Ultibo (FreePascal) for "bare-metal" control.
  2. D

    ROM Hack Video Codec for GBA?

    I definitely agree that C is probably the first level above assembler. But even so, in programming both the GBC, GBA (and yes, DS), I always end up getting completely frustrated with the compiler toolchain when programming in C. Usually it's the linker that I have the most difficulty with...
  3. D

    ROM Hack Video Codec for GBA?

    I've seen that library before. I managed to build a test project with Burton Radon's C-based library (not something I do very well), and gasp. . .it decodes the same JPEG just a tiny bit slower than my pure ASM one! (To be fair, I ran both from CARTROM, as there were some devKitPro errors that...
  4. D

    ROM Hack Video Codec for GBA?

    Foxi4: that might help. However, I do understand that the DS has 2 CPUs (running faster), and more RAM. The VB6 code could help a lot, though, especially as I haven't seen any source code for a video codec encoder. (It does have to be something that I can port to 100% ASM in the...
  5. D

    ROM Hack Video Codec for GBA?

    Hmm. . .well, I don't have any experience at all with any sort of video codec, and was just hoping that someone who does have experience could help out! Actually, I was intending to go full-screen, and was just starting with a 160x120 bitmap because that's all I could cram into the Propeller's...
  6. D

    ROM Hack Video Codec for GBA?

    Hey Tony! Apologies for my shortsighted comments starting this thread, though! Just came looking through GBATemp, and surprise. (Maybe I should go back and edit that first post...) Anyway, I understand that you sold the IP to someone else in 2007. The GBA is practically history by now, and...
  7. D

    Homebrew Newer libfat slower than 5-year old version?

    Embedding the files into NitroFS? As I gather from the devKitPro example, NitroFS is a lot like GBFS for the GBA. However, as I noted before, there's a difference between writing my own dsBible, and updating Jeremy Ruten's. I'm not sure which track to take—I like the dsBible logo :unsure...
  8. D

    Homebrew Newer libfat slower than 5-year old version?

    Normmatt: It appears that in the current version of libfat, each time "fgets" is called, it (re)loads the sectors from the FAT device, instead of checking to see if the requested read has already been cached. That's my best guess. So far, my attempts to make an "fgets" out of "fread" haven't...
  9. D

    Homebrew Newer libfat slower than 5-year old version?

    Maybe after I can get it working, that is ;). fgets is being used to read 1024 bytes at a time from the file into a char array. I do note that dsBible reads 277KB of bitmaps into memory with fread, and that takes less than a second. It takes almost 2 minutes to read through 4MB of plain text...
  10. D

    Homebrew Newer libfat slower than 5-year old version?

    A cache would be useful, sure, but the data still has to be loaded. So far, the only file command that's is faster with the newer libfat (as far as I can tell) is "fatInitDefault()". As I had to change some libfat access commands to make the program compile in the current version of devKitPro...
  11. D

    Homebrew Newer libfat slower than 5-year old version?

    Coto: I'm not sure that I understand exactly what you're referring to. I'm assuming that it is something inside of libfat, which is out of my reach. The loop that takes 104 seconds (new version) to load a translation is simply searching through the entire file to find the index offset of each...
  12. D

    Homebrew Newer libfat slower than 5-year old version?

    The source code for Jeremy Ruten's dsBible is freely available at http://viewsourcecode.org/homebrew/ds-bible. Upon finding it, I decided to add some changes and improvements. It was enough of a challenge to update the program to compile with the latest devKitPro build and libfat access...
  13. D

    ROM Hack Video Codec for GBA?

    Nice find...some more rabbit trails to chase. OK, so Caiman's is based on the MPEG-4 video codec. Source code for that shouldn't be too hard to find. MPEG-1 might even be easier. I tried disassembling Caimans 1.0 a few weeks back, and was making some sense of it...but without getting a...
  14. D

    Hardware JPEG Decoder for GBA in 100% ASM

    The GBA is the last Nintendo product with a physical link port, as far as I know, which is all the better for hardware interfacing. Look, an ARM CPU in a case with a built-in display and button pad! Next: another "first" with a JPEG encoder for the Parallax Propeller...in ASM! Again, if...
  15. D

    Hardware JPEG Decoder for GBA in 100% ASM

    I've always wanted to see just how fast the GBA can decode a full-screen JPEG picture. The JPEG decompression library in Jeff Frohwein's "gfxlib" is based on a decoder originally written for Visual Basic by Dmitry Brant. I used a combination of both versions to write an ASM version. It goes...