#101607 - En-Cu-Kou - Wed Sep 06, 2006 9:06 pm
(If this is the wrong forum, please go easy the newbie.)
Hello everybody! ^^
I've bought a NDS, so my old GBA is now a bit obsolete. I thought I'd make some personal utilities for it, since I'm from a country/family where I can choose between games and a PDA, but not have both. After a bit of searching, I found Cearn's amazing TONC, recalled what I forgot about C and decided to port SQLite to the GBA, which pretty much involved making some kind of text input and a filesystem.
I got an idea for a text input system when I used my old non-T9 cellphone, and I think it works quite well. I haven't tested on HW though, I still have to save a bit more money for a flash cart.
For the FS I used GBFS, plus a wrapper around malloc()s for temporary tables.
A friend suggested that I post it here, so here I go: http://tmp.krypton.cz/ECK/sqlitest-en.gba. Keep in mind you can only create temporary tables if you care to take a look. Also, please ignore the language in the splash screen, press A and it's translated to English after that.
This is probably the last version before I start adding a personal database and some front-end for that.
My code is messy since I didn't have a ton of experience with the GBA so I fooled around until it seemed to work (and had fun doing that), so if you want to use the idea you'd probably be better off writing it again. If someone wants the code, though, I can find somewhere to host it.
Hello everybody! ^^
I've bought a NDS, so my old GBA is now a bit obsolete. I thought I'd make some personal utilities for it, since I'm from a country/family where I can choose between games and a PDA, but not have both. After a bit of searching, I found Cearn's amazing TONC, recalled what I forgot about C and decided to port SQLite to the GBA, which pretty much involved making some kind of text input and a filesystem.
I got an idea for a text input system when I used my old non-T9 cellphone, and I think it works quite well. I haven't tested on HW though, I still have to save a bit more money for a flash cart.
For the FS I used GBFS, plus a wrapper around malloc()s for temporary tables.
A friend suggested that I post it here, so here I go: http://tmp.krypton.cz/ECK/sqlitest-en.gba. Keep in mind you can only create temporary tables if you care to take a look. Also, please ignore the language in the splash screen, press A and it's translated to English after that.
This is probably the last version before I start adding a personal database and some front-end for that.
My code is messy since I didn't have a ton of experience with the GBA so I fooled around until it seemed to work (and had fun doing that), so if you want to use the idea you'd probably be better off writing it again. If someone wants the code, though, I can find somewhere to host it.