gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Flash Equipment > GBAMP Multiboot

#51531 - Mighty Max - Sun Aug 21, 2005 10:56 am

GBAMP Multiboot (latest version)
Homepage

Hi,

i have recently received my GBAMP and i was messing around with a multiboot system.

I am to the point that it actually does something on the screen after loading .nds files. Unfortunally it seems that i am missing to set some flags on my fake-bootup.

Some games show correct graphics and movements, some are just showing their splash screen and some dont work at all.

If anyone has a suggestion what hardware registers im missing to set or any other hints, please let me know.

Use this archive to take a look yourself. I have included some common nds (unmodified) which shows a bit of the action and of course the problems. Just put them on the CF in your GBAMP.

Thanks in advance


Last edited by Mighty Max on Sat Sep 17, 2005 8:17 pm; edited 2 times in total

#51533 - chishm - Sun Aug 21, 2005 12:33 pm

Looks good so far. I think your problem is with the ARM7. The ARM9 appears to load properly, but the ARM7 binary seems to be the same as used in your program. If the game you are trying to load doesn't use the exact same binary, it may not work.

Maybe you could try modifying Darkain's MultiNDS loader.

#51538 - Mighty Max - Sun Aug 21, 2005 2:54 pm

Thank you for your hint Chishm,

the ARM7 code started but it was unable to more then some instructions. The problem is solved and the archive updated.

Working (and tested) .NDS so far are:

  • Nibbles (the oneby DesktopMan)
  • Tetris (the one by DesktopMan)
  • FlashMe
  • BattleShipDS (by natrium42)
  • DS Reversi
  • MUSK
  • Sponge


The demos compiling with the settings like Hello_World don't work yet, as they have the ARM7 code located in Shared RAM (where my ARM7 code is atm). Gonna solve that soon, but not too soon (need more sleep :p )

Have Fun and feel free to add to the list of working .nds

:edit: btw the browsing in more then 18 files in the current subdir isn't really implemented yet too, will come too, but it isnt much of a problem now i think


Last edited by Mighty Max on Sun Aug 21, 2005 3:22 pm; edited 1 time in total

#51539 - Mighty Max - Sun Aug 21, 2005 3:15 pm

*grr*

Wrong Button

#51541 - zubiac - Sun Aug 21, 2005 3:28 pm

Mighty Max wrote:
*grr*

Wrong Button


what?

anyway...just gave it a try with these games:

Duckhunt (works but wasn't there the upper screen also supported?)
Starfighter Skirmish (doesn't work)
YatzDOS (doesn't work)
yeti3D (doesn't work)
arena (doesn't work)

exept duckhunt all games won't even boot but freeze at loading screen

good start anyway.I hope you get it improved.You are the first person who comes up with a GBAMP multiboot programm and there are many people who were waiting for one.
Thanks,you rule
_________________
Abusing Cube and DS with all sorts of homebrew and hacks.

#51548 - josath - Sun Aug 21, 2005 5:28 pm

I highly suggest reading the code to darkain's MultiNDS loader... It's in the ndslib (not libnds last i checked) CVS. The code is not that long, and should be pretty easy to adapt.

#51561 - El Hobito - Sun Aug 21, 2005 7:59 pm

I would suggest not to bother too much with the interface. i would recomend (when it is working better) using your code as a plugin for moonshell. It should be too difficult to add it as a seperate class and adding it into the part of his code where it looks at the file extension. If you guys could find some way to collaborate, which wont be easy language wise, then you'd both be saving each other time.

#51564 - Mighty Max - Sun Aug 21, 2005 9:55 pm

Hey,

the archive is updated again, so try your luck :p

I will not rely on DarkRains loader tho, i guess i can do that myself.

Gonna look if i can give the source of the loader itself to the Moonshell devers when it is more reliable altho, the bigger the NDS it is embedded in the less place is there for relocation and load operations.

But don't be worried, as you can see on the text-UI i'm not focussing on that, so i can spend my time mainly on the loader itself.

I have fixed a problem with larger NDS files and files that got corrputed while loading them, Shared-RAM-ARM7 NDS are still not loaded properly, but i included at least the ARM9 run on them :p

So add

  • cassebrique
  • jumpfree
  • JWPoolDS
  • pythonpower


I still have some problems with

  • Duckhunt, corrupting (bg corrupt,music plays, menu shows, crash)
  • Rebonds, not running ARM7
  • Gridlock, not running ARM7


Ill be away with within the week, so just leave a reply if you got any suggestion / hint / request / whatever, and ill look on it when back.

Greets
Mighty Max

#51567 - chishm - Sun Aug 21, 2005 10:42 pm

One thing you might want to consider is using the ARM9 for the menu, then when a file is chosen send the path (or even just the start cluster - but this will take some modification to GBAMP_CF) to the ARM7. Then get it to load from within the ARM7 only RAM if the ARM7 binary goes in main RAM, or from within main RAM if the binary goes in ARM7 only RAM.

#51586 - Lynx - Mon Aug 22, 2005 4:12 am

I'm having problems getting it to list some of the .nds files.. :(

#51639 - Bertie - Mon Aug 22, 2005 3:51 pm

I'm just getting a white screen when trying to load anything. This could be because I'm running on an old CF card that only works on FAT16 (I had problems with moonshell as well.) Should be upgrading to a better CF soon.

#51661 - vb_master - Mon Aug 22, 2005 8:21 pm

I hope the development on this goes good, I'm tired of just having one game on my card!

#51708 - The 9th Sage - Tue Aug 23, 2005 3:24 am

vb_master wrote:
I hope the development on this goes good, I'm tired of just having one game on my card!


I wouldn't mind being able to choose from Moonshell or the new version of nesDS that supports the GBAMP...then if there is a version of ScummVM released supporting the GBAMP as well, there's another reason to want to have a loader in place. :)
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#51720 - misunoko - Tue Aug 23, 2005 4:39 am

we should get the moonshell project and this project merged it would be great haveing the file system on moonshell being able to boot up another nds file
_________________
www.mod-freak.com

#51801 - El Hobito - Tue Aug 23, 2005 4:46 pm

yes thats what i already suggested above

#51830 - Lynx - Tue Aug 23, 2005 8:33 pm

I grabbed a bunch of random .nds files I had on my HD..

Works:

- Toon Shading
- FakeMSX
- PixelFixer


Doesn't Work:
- DrinkMe loads, but you can't start it.
- DSLinux almost works :D It loads, and buttons work, but touchscreen doesn't, so you can log in.
- Gorilla, no touch input or sound
- Gridlock, hangs after loading initial screens
- Mines, doesn't even appear to load
- Omalone, hangs after pressing [START] and doesn't even update the screens
- SubpixelFont, loads but no input
- LED Demo, loads and screen fades, but no touch and LED doesn't flash
- NDSMemo, loads but no touch
- EI, loads but no touch
- IRO, works.. but with no touch, and the D-pad keeps going left, but you can play the game.
- Space Games loads, but you can't select a game because of no touch.
- DSR, no touch or sound.

Don't really know if this is of any use..lemme know if you want me to keep testing..

#51840 - pepsiman - Tue Aug 23, 2005 10:27 pm

Lynx wrote:

- DSLinux almost works :D It loads, and buttons work, but touchscreen doesn't, so you can log in.
Don't really know if this is of any use..lemme know if you want me to keep testing..

That's definitely the ARM7 binary not working.

#51897 - El Hobito - Wed Aug 24, 2005 11:02 am

Yes that i can confirm ive just tried it with the test (arm7less) version of snesds for the gbamp and it boots fine through the loader but the normal one wont

#52139 - chishm - Sat Aug 27, 2005 5:14 am

I found something interesting. If I try to load nesDS directly, it crashes. However, if I go to load nesDS, press Select for abort then load _BOOT_MP.NDS (this menu) nesDS works! What is going on here?

Further investigation reveals that when I abort, it still says /NESDS.NES in the path, so it gets openned. This only works if the file is in the root dir. It also works for birds, which froze on me before.

I was thinking, unless you have a good reason to, you probably shouldn't store the absolute path. I have written the file driver so that this is not needed. Instead of changing up a level using the absolute path, just FAT_CWD("..").

I would really like to see your source, so that I can help out further. Out of curiosity, which CPU does what in your code? Eg, is the directory listing done by the ARM7 or 9, and likewise with file loading? If the ARM7 loads files, how are you placing the loader outside of IWRAM?

#52147 - Mighty Max - Sat Aug 27, 2005 10:30 am

I'm just back from work (had to travel a bit) and gonna go through all the posts today.

First for Chism, the ARM9 does the major work:

It relocates itself to 0x2300000 it shows the menu and on select loads the nds into a buffer, the buffer (from 2100000 to 0x22FFFFF) for ARM9 in the case of the ARM7 code shall be located into the main ram it is directly loaded to this place. It tells the ARM7 what to do and where to load and then begins to relocate code out of the buffer to the destination address. This step however will overwrite any values stored in that area and invalidating global vars, so can only use hard coded var-locations (at the end of the buffer) for anything now. Then the arm9 is synching with the ARM7 and both jump.

Meanwhile the ARM7 is checking a flag at the end of the buffer in an endless loop for 3 different states (1,2 are for the not yet working situation with shared ram used by new nds, 3 for the running ones):

1. Relocate -> The Arm7 copies his 32kB (loader-) code into MainRam and jumps after a synching handshake
2. Load -> The Arm7 copies the new code into shared RAM (0x3800000) and jumps again after the synch
3. Jump directly -> The Arm checks another register at the end of the buffer and jumps to that address.


Something that came to my mind while away is that some of the behaviour might come from too many and too fast reads from the cf as the NDS seems to "memorise" that don't work state for a while ... might it be that the power circuits are not producing nuff output for exzessive reads ?

The menu code is pretty uggly ... a 5 mins work :p ... gonna rework that for a better performance and less reads (no caching, reloading on every loop)

After i cleaned the code up, i gonna look that i can release it.

PS: The issue with the path on abort is located and will be fixed.

PPS: I think i know the cause of the error with the no ARM7 roms, somehow the first jump is messing up access rights ... guess i should look onto the cp15 a bit more

#52148 - chishm - Sat Aug 27, 2005 11:15 am

Am I right in saying that only NDS files < 1MB will work, due to the buffer behaviour? Would it not be better to read the binaries directly to their destination addresses. In the case of ARM7 in exclusie IWRAM, you may still need a buffer, but it would only need to be 64 KB max.

Also, I think 0x3800000 is ARM7 exclusive IWRAM. 037F:8000-037F:FFFF is shared IWRAM, and you may want to use it for both loading code and global vars, as it shouldn't be used for binaries. There are two separate 16KB banks to use, so you could use one for ARM7 and the other for ARM9 (see http://neimod.com/dstek/ for details).

The NDS will wait for the CF card while it is busy. Power is not an issue, as CF cards are designed to be run at both 3V and 5V.

#52150 - Mighty Max - Sat Aug 27, 2005 11:39 am

chishm wrote:
Am I right in saying that only NDS files < 1MB will work, due to the buffer behaviour? Would it not be better to read the binaries directly to their destination addresses. In the case of ARM7 in exclusie IWRAM, you may still need a buffer, but it would only need to be 64 KB max.


Sure would it be better, but it does not work :p Even when i relocate the my code to the new address it still access the data as it were still within the old range. So if i load it directly to the area i want it to be, the calls to FAT_fread & co as well as consolePrintf & co crash.

I plan to read the size of the _BOOT_MP.nds code segments later to recalculate the beginning of my buffer to be as early as possible to increase the limits.

Quote:

Also, I think 0x3800000 is ARM7 exclusive IWRAM. 037F:8000-037F:FFFF is shared IWRAM, and you may want to use it for both loading code and global vars, as it shouldn't be used for binaries. There are two separate 16KB banks to use, so you could use one for ARM7 and the other for ARM9 (see http://neimod.com/dstek/ for details).


Ups. that explains why i wasnt able to do the move operation from the arm9, but i solved it by letting the arm7 do the memcpy. Problem for using the 16kB blocks for global vars is that they are indeed global for both cpus. so both need read&write access.

Quote:

The NDS will wait for the CF card while it is busy. Power is not an issue, as CF cards are designed to be run at both 3V and 5V.


Ok, then i gonna finish my cleanup and post the code

#52151 - chishm - Sat Aug 27, 2005 12:57 pm

Mighty Max wrote:
Sure would it be better, but it does not work :p Even when i relocate the my code to the new address it still access the data as it were still within the old range. So if i load it directly to the area i want it to be, the calls to FAT_fread & co as well as consolePrintf & co crash.

Even if you move all the required code (I assume you are doing it manually), it still thinks it is in the old location, so function calls and such will try to access the old location. I think you know that already.

However, you may be able to modify the link script to compile your code for the new location. For instance, you could have the ARM9 code located mostly in shared IWRAM, with a small main function in the normal location to set up the access control register correctly and then jump.

Mighty Max wrote:
Problem for using the 16kB blocks for global vars is that they are indeed global for both cpus. so both need read&write access.

Try to use as few shared global variables as possible. Locate them as near towards the end of main RAM as possible, eg at 023F:FF00.

If the ARM9 really is doing most of the work, you could probably put your ARM7 code in the same region as the global vars (more link script tweaking) so that it doesn't need to be moved at all.

#52198 - Mighty Max - Sun Aug 28, 2005 10:24 am

The problems so far are solved.

While i was cleaning the code yesterday i came accross 2 major bugs that were causing the crashes.

* Not saving and restoring the Player-Setting-Rammirror caused the common Touchpad code to crash (division by zero)
* Relocating the whole arm7 code area executed the initialization again and therefor jumped twice

What _should_ run now:

* Every ARM7 in main memory NDS with less then 2.4MB ARM9 code
* Every ARM7 in exclusive memory NDS with less then 2.4MB ram & less then 32kB ARM7 code.

The limits are subject to change and will be removed(increased) step by step

The archive is updated.


  • Drugwars
  • Rebonds
  • IBO
  • DSGoo
  • ...


If someone could send me NDS which do not work yet to webmaster(at)mightymax(dot)com it would be very nice.

Have Fun

#52200 - leoedin - Sun Aug 28, 2005 11:20 am

max, is there a website where I can download your loader?
Leo
_________________
Yours Truly
my website
my blog
M3 Review

#52202 - Mighty Max - Sun Aug 28, 2005 11:36 am

Please use the archive http://mightymax.org/GBAMP_MultiBoot.rar

I have not yet created a page for it.

#52204 - El Hobito - Sun Aug 28, 2005 11:45 am

Just a few quick tests

works:
nesDs
snesDS_Soundless
darkstar (with corrupt graphics and no files added)

doesnt work:
moonshell
movietest
snesDS
any ds.gba file (would be awesome to have support for these under 4 meg)
stellaDs

#52206 - chishm - Sun Aug 28, 2005 12:13 pm

It doesn't work at all for me. I go to load a game (included in the RAR) and it shows the confirmation, but when I press start it shows a black bottom screen, a white top screen and nothing else.

#52208 - Mighty Max - Sun Aug 28, 2005 12:24 pm

Dunno what it exactly is, yet i have again updated the archive, maybe you just got it while i changed it.

Please try again

#52209 - leoedin - Sun Aug 28, 2005 12:26 pm

now to wait for my passme :(. how long do those things take, I'm in Scotland, so its probably going to be at least a week:(

--Leo
_________________
Yours Truly
my website
my blog
M3 Review

#52210 - chishm - Sun Aug 28, 2005 12:33 pm

Still no good, all but nesds are the same as before. NesDS just takes me back to the menu, but everything else freezes.

#52211 - Mighty Max - Sun Aug 28, 2005 12:49 pm

Hmm, the only thing i can think off right now, since the earlier versions worked , is a problem with the starting location.

Do you run the GBAMP with a special version of flashed firmware or flashme?
Do you run it with a passme plugged in or wifime, or just flashme?

Something on you side need to be different somehow. Any guesses ?

I'm using it with 64MB CF and FlashMe installed last week.

#52212 - honolulu - Sun Aug 28, 2005 1:09 pm

NesDS run fine for me no problem (flashme, 256cf)

#52214 - El Hobito - Sun Aug 28, 2005 1:20 pm

are you using the latest nesDs?

edit:
also teenage queen and dslinux work fine now

#52227 - zubiac - Sun Aug 28, 2005 3:27 pm

tested about 15 games(those incl. in the RAR too) and none worked.
I press "Start" and either it freezes at the conformation screen or I get back to the menu.
I didn't even get the black/white screens which chishm got(in NESDS).
mmmhhh....?
_________________
Abusing Cube and DS with all sorts of homebrew and hacks.

#52229 - El Hobito - Sun Aug 28, 2005 3:50 pm

hmmm well thats very odd, why would it work for some and not others?

#52231 - Mighty Max - Sun Aug 28, 2005 4:00 pm

I have a slight idea on what it might be but i wonder why there is this difference.

I will try to catch the fault i can think off and implement some more info so i can locate the problem.

Stand by ;)

#52234 - Mighty Max - Sun Aug 28, 2005 4:28 pm

If anyone with the problem please could run http://mightymax.org/GBAMP_MultiBoot_Debug.rar and give me the info displayed just before loading i can look into the problem further.

ARM9: xxxxx - xxxx - xxxxx
ARM7: xxxxx - xxxx - xxxxx

and the lines

[debug] Loader ARM9 at xxxxxx, ARM7 at xxxxxx
[debug] Buffer ARM9 at xxxxxx, ARM7 at xxxxxx

Thanks in advance

#52238 - El Hobito - Sun Aug 28, 2005 5:14 pm

*Deleted*
Well now im even more confused it would work the first two times i formatted now it seems to.


Last edited by El Hobito on Sun Aug 28, 2005 5:26 pm; edited 1 time in total

#52239 - zubiac - Sun Aug 28, 2005 5:15 pm

here we go:

ARM9: 2004000 - DA44 - 2004000
ARM7: 2380000 - AE18 - 2380000

[debug] Loader ARM9 at 2000949, ARM7 at 38005B8
[debug] Buffer ARM9 at 2080000, ARM7 at 2380000


good luck ;)
_________________
Abusing Cube and DS with all sorts of homebrew and hacks.

#52240 - Mighty Max - Sun Aug 28, 2005 5:24 pm

Formated my CF to FAT32, no problem. I got no running ver of NesDS tho, but the other ones run smooth.

Beside that i use chishm's driver routines unmodiefied. The actual load is done as
Code:

      // Load ARM7 Image
      FAT_fseek(LOAD_FILE,NDSHDR->ARM7_RomSource,SEEK_SET) ;
      FAT_fread((void *)ARM7_TARGET,1,NDSHDR->ARM7_Size,LOAD_FILE) ;
      // Load ARM9 Image
      FAT_fseek(LOAD_FILE,NDSHDR->ARM9_RomSource,SEEK_SET) ;
      FAT_fread(LOAD_BUFFER,1,NDSHDR->ARM9_Size,LOAD_FILE) ;   


So i myself don't care much about FAT versions.

#52242 - El Hobito - Sun Aug 28, 2005 5:28 pm

mines normally in fat but when i formatted it to fat32 nesds stopped working but when i put it back to fat16 it worked, so i did the same again and no change but on the third time it is working on fat32. So forget that

#52243 - El Hobito - Sun Aug 28, 2005 5:29 pm

Stupid thing double posted (sorry!) what had me confused it seems is that nesDS doesnt work on the debug version but it does on the normal one. so it has nothing to do with fat versions it was just a coincidence.

debug version says this:
arm9 2000000 - AB30 - 2000000
ARM7 2380000 - 57F4 - 2380000

[DEBUG] LOADER ARM9 AT 2000949, ARM7 AT 38005B8
[DEBUG] BUFFER ARM9 AT 2080000, ARM7 AT 2380000

then black screen

the normal version however says the same minus the bebug messages and then loads normally

#52244 - Mighty Max - Sun Aug 28, 2005 5:44 pm

El Hobito wrote:

the normal version however says the same minus the bebug messages and then loads normally


The weird thing is, that both versions only dithers in those messages.

#52248 - El Hobito - Sun Aug 28, 2005 7:08 pm

hmmm i've just double checked and it wont work with the debug version so the only thing i can think of is those few extra bytes is infringing on some area of memory where nesds should be. is it not possible to load the multiboot at the end of memory so as to not interfere? beats me what the problem is!

#52250 - Mighty Max - Sun Aug 28, 2005 8:00 pm

I think i can exclude that.

The loader is already relocated even the info doesn't shows it, it just shows the &main value instead of the actual r15. I changed it now. The ARM7 address is pre-relocated.

However i have decreased the buffer size again to the last size and place that did not report this error in hope that it solves it, Tho i don't know why this should change anything. But hey!

The debug archive is updated this way.

#52251 - El Hobito - Sun Aug 28, 2005 8:13 pm

spot on my friend it works!
stella ds now works!
moonshell v nearly works (interface boots then crashes)
nesDS works

all the roms i have now work expect for the ones that never worked with the gbamp anyway (snesDs for example). One things still baffles me...why do the debug messages half interfere with the moonshell start up sequence?

[debug] loader arm9 at 23002fc, arm7 at 38005b8
[debug] buffer arm9 at 2100000, arm7 at 2380000

this is nesDs same as before

#52253 - Mighty Max - Sun Aug 28, 2005 8:44 pm

The only thing that those messages change is that area moonshell might expect as empty (as 00's) are not empty anymore.

I should add a code cleaning up some of the memory areas just before the CPUs jump.

And i need to find out what is located in the memory that was interfering on your NDSes. Since the reducing of the buffer stopped Omalone from working again.

#52305 - Mighty Max - Mon Aug 29, 2005 3:16 pm

So does the debug version runs for you all guys?

Or am i still missing someone?

#52310 - El Hobito - Mon Aug 29, 2005 4:01 pm

I've thought of a great idea that could help you max. I was thinking...why not create a separate program built purely to show debugging messages. If you accumulate all of the tutorials that access each function of the ds then maybe it might be possible to narrow down which part is screwing up. I've had another idea (which i'll admit is rather cack handed). in terms of amalgamating this with moonshell i believe you said that moonshell would take up too much memory to be practical, well maybe i was thinking when moonshell(or any other shell) tries to load a nds file it could simple load your multiboot nds(and therefore unload itself entirely) and pass the location of the file it wants to load then your program could load the requried file as if it was run natively. I dont currently know enough about it so forgive me if thats v noobish of me to suggest.

#52322 - zubiac - Mon Aug 29, 2005 6:55 pm

Mighty Max wrote:
So does the debug version runs for you all guys?

Or am i still missing someone?


works great for me exept moonshell which seems to suffer the same prob as omalone
_________________
Abusing Cube and DS with all sorts of homebrew and hacks.

#52413 - Habeeb1000 - Tue Aug 30, 2005 5:26 pm

Although I?m certain that you?ll get this running 100% at some point (by the way, great work so far, Mighty Max), I thought of a simpler program that would have greater compatibility, but would be less convenient. My original idea was a GBA utility that let you change file names. Then you could just rename the file you want to boot in DS mode.

My other idea was a bit more complicated. It was a GBA utility that would change the name of the file in the firmware that was loaded in DS mode. In other words, Chishm?s hack has the GBAMP load _MP_BOOT.NDS. The utility would bring up a list of your .nds files, you choose which file to load, and then it changes the pointer from _MP_BOOT.NDS to the file of your choosing.

I would have tried making these programs myself, but I?m just beginning to learn GBA programming. Plus, I don?t think I have enough info to implement the second idea. I think I would need the source code to Chishm?s bootloader. I?ll probably get there eventually, but someone else with much more knowledge could get these ideas rolling much faster than I could and are welcomed to try.

#52649 - Mighty Max - Thu Sep 01, 2005 5:45 pm

As i am currently very busy with my job and i got a first running version out, the project is somewhat sidelined for me.

It will ofcourse get some updates in the future: a sorted list, more info on NDS files (logos i.e.) and of course more tweaks for more compatibility. But this will most probably take some time.

Any suggestions, hints or wishes are welcome tho, so feel free to add (even if i cant reply in time)

#52654 - zubiac - Thu Sep 01, 2005 6:13 pm

Mighty Max wrote:
...and i got a first running version out, ....


Do you mean the debug version,don't you?
Yeah this one runs really good.I've NESDS and SMSDS on one CF card and everything boots fine exept that I haven't got sound on SMS emu(although it has stated that it has sound)...weird.

great work though
_________________
Abusing Cube and DS with all sorts of homebrew and hacks.

#52746 - Mighty Max - Fri Sep 02, 2005 6:36 pm

Just a quick update. Both archives are fresh and contain the same files.

    Changes:
  • Enabled upper display for showing infos on selected item
  • fixed bug with more then 18 files in one directory (it now scrolls!) ;)
  • fixed bug opening [.] dir


If anyone has information on the exact icon format of the nds files i could really use them :p ... the infos on NDS Wiki are not very specific.

PS: you can change every BMP used for the upper screen as long as you don't change the dimensions and the uncompressed 24bit format.

PPS: can anyone make a screenshot? My cam is on holiday with a mate of mine

#52750 - 128MB - Fri Sep 02, 2005 6:43 pm

wofr what is that multiboot program used? can it run gba roms? and how?

#52751 - Mighty Max - Fri Sep 02, 2005 6:52 pm

It lets you decide wich .NDS you want to run from your GBAMP.

This way you can decide which homebrew app/game you want to run at the moment you turn on your DS instead of when you wrote to the CompactFlash on the computer.

This way i can play all the nice homebrew on the road instead of beeing stuck with one.

The support of .ds.gba is in the works so you are (when this feature is finished) able to run binaries in that format too. (not all homebrew are delivered in .nds)

#52752 - Lukaso - Fri Sep 02, 2005 7:12 pm

nice work, maybe u culd put a download link in the opening post? or create a website or something?

and what about the list of compatible games, we culd try to make it a little more complete and updated, i can give you a hand if needed.

#52761 - zubiac - Fri Sep 02, 2005 9:00 pm

Tomorrow I can take some pics from the app running on DS(my mom has my cam).
In the meantime I've made another "upper"-background which I use already.
Feel free to grab it when you like it!It's already in the fitting size.
Alternative upper Background pic

(Note: Thanx to the girl...whoever it is.Also thanx to the one who shot the photo.Couldn't find your name to credit you...sorry.)
_________________
Abusing Cube and DS with all sorts of homebrew and hacks.

#52814 - Mighty Max - Sat Sep 03, 2005 3:47 pm

It's me again,

updated the archive and created a temp. webpage for it.

http://mightymax.org/gbamp_multiboot.html

The compatibility should have increased in this version. The yesterday's build of Xricks (by GPFerror) works now too.

:edit: updated again and Moonshell runs now! (It expected some mem area to be emptied with 00s to continue its work)

:edit again: at least Moonshell 0.2+9 does work. The current v0.3 does not.

#52830 - IxthusTiger - Sat Sep 03, 2005 6:51 pm

Awesome! I assume that since chishm did not allow Nintendo Demos to run from the GBAMP, they probably don't work with the multiboot either.

#52831 - Mighty Max - Sat Sep 03, 2005 7:19 pm

No the official demo's don't work atm gonna check whats causing it (beside that most of them take too much mem)

btw, updated again, since the last one dropped drugwars from the list of running nds. It's fixed.

#52849 - skabio - Sat Sep 03, 2005 10:54 pm

So there is a size limitation right? Is that the reason gridlock doesn't work? Great work by the way Max.

#52850 - joebob180 - Sat Sep 03, 2005 11:36 pm

Moonshell 0.3+1 works on mine. My life is now complete.

#52851 - BLKGHOST - Sat Sep 03, 2005 11:40 pm

Same here. 3.1 works fine

#52858 - chishm - Sun Sep 04, 2005 2:36 am

MightyMax:
I've been working on incorporating a better loader into the firmware. If you are interested, PM me. I have everything working that was working before except moonshell, which is going to have to be fixed.

Also, which memory range is expected to be 00s?

#52863 - Lynx - Sun Sep 04, 2005 4:08 am

skabio wrote:
So there is a size limitation right? Is that the reason gridlock doesn't work? Great work by the way Max.


I believe there is a wifi version of gridlock that should work fine. This is an example of poor sram checking.

#52872 - Mighty Max - Sun Sep 04, 2005 9:40 am

Thanks Lynx, the wmb version of Gridlock runs just fine :)

@chishm, Moonshell magical started to run after i cleaned the area from 0x2380000 till 0x23FF000. Thats the mem where i cache the arm7 code when it is targeted to run in exclusive ram.

And sure i'd be interested in your next ver of the firmware and/or driver :) guess everyone is ... hehe


About Moonshell, yes, got myself 0.3p1 and its working with all music and video. Thx for the info.

@skabibo: Yes there is a size limit. and atm it's very strict to 0x1FC000 Bytes in AMR9 code and 0x7FC00 (for main ram) or 0x8000 Bytes (exclusive RAM) ARM7 code.

Thats 1.98MB for ARM9, 511kB (32kB) for ARM7.

That limit should be a lot less restrictive once i included the stack relocation too.

#52885 - falcon!!! - Sun Sep 04, 2005 12:44 pm

sorry guys.. What file do you put on th CF to make run moonshell? Is it the BOOT MP gbfs.nds?
Can it run dmv?
Thanks

#52886 - Mighty Max - Sun Sep 04, 2005 12:53 pm

I've put the whole folder onto my CF, but it should be enough to put the _boot_mp.nds and it's subfolder FILES somewhere on your CF. (just don't overwrite the multiboot file)

And yes, it runs the dmv files when loaded via Multiboot. At least the demo dmv "20050831_256pix_9frame.dmv" worked great over here.

#52887 - leoedin - Sun Sep 04, 2005 12:54 pm

is the file on page 1 the latest version?
Leo
_________________
Yours Truly
my website
my blog
M3 Review

#52888 - falcon!!! - Sun Sep 04, 2005 12:54 pm

oh i see!
in lowercase letter, right?
ANyway can we do a list of all demos/app working with this awesome multiboot?

#52889 - falcon!!! - Sun Sep 04, 2005 12:56 pm

leoedin wrote:
is the file on page 1 the latest version?
Leo

Yes it is

#52891 - Mighty Max - Sun Sep 04, 2005 1:04 pm

leoedin wrote:
is the file on page 1 the latest version?
Leo


Yes it is. I'm updating it to this link everytime i got a new version up.

falcon!!! wrote:
oh i see!
in lowercase letter, right?
ANyway can we do a list of all demos/app working with this awesome multiboot?


It does not seem to be any different for the FAT driver if you are using upper or lower case. The multiboot itself does caseignoring string compares so there isn't a prob either.

Atm the list of compatible NDS is changing from release to release due to work on the loader code itself. Please report here in this thread if a former running NDS stopped working with a new release.

I still have problems running the official demos, OMalone (Size limit), DS Linux and Caimans Video Codec (hardcoded flashcard addresses)

#52892 - falcon!!! - Sun Sep 04, 2005 1:07 pm

actually i cant run anytihng...at startup I cant see the complete GBA multiboot BMP and whatever demo i try to start it freezes at the load screen (press start or select..)

WHY? O.o

Should i change my CF?

#52894 - Mighty Max - Sun Sep 04, 2005 1:14 pm

I did not yet recieve a report similar to yours, i don't how it is caused.

Could you test if a defrag/format&rewrite changes it?

:edit: I gonna need to buy a bigger CF card ... ,)

#52895 - falcon!!! - Sun Sep 04, 2005 1:25 pm

i tried with a unformatted 8 MB CF then i formatted it.

Now i'll try to defrag it and then i'll try with my big 1GB CF :D

#52896 - falcon!!! - Sun Sep 04, 2005 1:30 pm

OK!! Now all is perferct!

I use my 1 GB CF! perhaps it was my fuckin' 8 MB cf :=)

This combo moonshell/multiboot rocks!!!
Thanks everyone!

I made a bmp by myself, try it out ^^
[Images not permitted - Click here to view it]
I think this is a png, just rename it to bmp 24 bit

#52915 - zubiac - Sun Sep 04, 2005 5:01 pm

@ Mighty Max
My first prob is that one of my folders ALWAYS(since verv01) dissapears.
Don't get my wrong!The folder IS on my CF card but GBAMP-multiboot doesn't show it in the menu.
Second prob is that NESDS doesn't work anymore.
;_;

any suggestions?

EDIT: After formatting my CF card 4times everything works....weird
thank you for this awesome programm
_________________
Abusing Cube and DS with all sorts of homebrew and hacks.

#52916 - Mighty Max - Sun Sep 04, 2005 5:23 pm

Heyo,

thanks for the report with the missing dir, i found one major bug with the filehandling, and it will be corrected in the next release.

*slaps himself around with a large trout*

In every directory the second file/dir is missing.
_________________
GBAMP Multiboot

#52927 - Mighty Max - Sun Sep 04, 2005 7:20 pm

A new update.

The above bug is fixed and the basic .ds.gba loader works. It only supports files that where created using the std loader yet.
_________________
GBAMP Multiboot

#52929 - falcon!!! - Sun Sep 04, 2005 7:50 pm

any example of ds.gba working? ^^

#52930 - Mighty Max - Sun Sep 04, 2005 7:59 pm

Yepp. Hello_World.ds.gba ;)

The problem with most .ds.gba is that they access address spaces that do not exist when using gbamp. I.e 0x08000000

To let those run i'll need to trick the arm a bit with region protection and trapping the access to redirect it. But that will most likely take some time.
_________________
GBAMP Multiboot

#52931 - El Hobito - Sun Sep 04, 2005 8:06 pm

Mighty Max wrote:
Heyo,

thanks for the report with the missing dir, i found one major bug with the filehandling, and it will be corrected in the next release.

*slaps himself around with a large trout*

In every directory the second file/dir is missing.

lol i was beginning to think i was going crazy cos i could find one of my directories

#52932 - falcon!!! - Sun Sep 04, 2005 8:08 pm

if u tell me what to do, i'd be very pleased to help you! :D

I dont know, some boring part, looking for some codes...

#52936 - falcon!!! - Sun Sep 04, 2005 8:28 pm

Mighty Max wrote:
Yepp. Hello_World.ds.gba ;)

The problem with most .ds.gba is that they access address spaces that do not exist when using gbamp. I.e 0x08000000

To let those run i'll need to trick the arm a bit with region protection and trapping the access to redirect it. But that will most likely take some time.

Hello world? Lol That program which displays hello and exit?

#52938 - Mighty Max - Sun Sep 04, 2005 8:37 pm

It's actually a lot of reading first. That is similar to stuff i made on ia32 environment but a complete different implementation on the arm structure.

Gonna take the laptop and the nds on my travels next week so i can start working on it when i find time.

The plan is to create an additional ram region via ITCM for the code that needs to stay after the load, and use the protection fault trap to redirect the reads/writes to a cache area which could be paged via CF reads/writes.
_________________
GBAMP Multiboot

#53007 - tuLL - Mon Sep 05, 2005 1:10 pm

Hello

I can't get my Moonshell to work with the Multiboot.
It loads everything fine except the upper directory listing, and then jams.

I've changed the codepage of the binary and some options and also the background bmp, is that it?

Going to try with the non altered one.

The debug code is:

[debug] Buffer ARM9 at 2100000 ARM7 at 2380000

EDIT: Well it works with the original ".nds" file. Going to try and find out what makes it stop working.

Curious thing, when I run the codepage thingie, the file size goes from 1 megabyte do 0,6 megabyte. Maybe that's it:| Going to check.

EDIT2: Yep, its the changecode thing. Well gonna have to read my portuguese texts with some funny letters:) I run the 1250 one.

Thanks Mighty Max, the Multiboot rules. When are you releasing a non-debug version? Thanks!


Last edited by tuLL on Mon Sep 05, 2005 2:07 pm; edited 1 time in total

#53010 - falcon!!! - Mon Sep 05, 2005 1:53 pm

i first tried with version 3.0 and it didnt work
then 3.1 worked

#53012 - tuLL - Mon Sep 05, 2005 2:11 pm

falcon!!! wrote:
i first tried with version 3.0 and it didnt work
then 3.1 worked


It works for me too now, but I can't do the ChangeCodePage, because it will stop working.

I think it might be a bug on the CodePage.

#53059 - falcon!!! - Mon Sep 05, 2005 9:13 pm

Hey mighty max, i've some ideas for future update you'll want to do:

-fast scrolling menu (like the moonshell one)
-or maybe touchscreen menu
-the option to return to the main folder also if a game/app is running

I dont know if these changes are possible, i'm only wishing to see them :)

Good work anyway

#53085 - El Hobito - Mon Sep 05, 2005 11:09 pm

Increasing the scroll speed would be nice but other than that i think that functionality in supporting files should take precedence over usability. For a program to return to the bootloader i believe they need some code to be added to the program itself(i.e. the one your running) for this to be possible.

#53123 - IxthusTiger - Tue Sep 06, 2005 8:16 am

Huh... that's weird... nesDS was working fine until I formatted my card. Everthing still works (even moonshell) but now nesDS gives me two lit black screens. Doesn't go back to the multiboot. Doesn't start up nesDS.

What did formatting change?

Also what causes one folder to disappear sometimes? I don't really mind it unless its the folder with the NDS files, but why does it happen? When SCUMMVM saved the ini file to my card, it overlapped the first visible folder in multiboot. This was fixed when I manually removed it and put it back. Is that why files/folders disappear? Something is just covering them?

#53124 - misunoko - Tue Sep 06, 2005 8:22 am

mighty max would have to release a addon for developers to put in the homebrew apps/games to for example if you press l+r and select it will return to the multiloader
_________________
www.mod-freak.com

#53164 - El Hobito - Tue Sep 06, 2005 3:04 pm

falcon!!! wrote:
any example of ds.gba working? ^^

helloworld
scummvm
chavastarwars

#53168 - IxthusTiger - Tue Sep 06, 2005 3:19 pm

Pretty sure ScummVM works as .nds on the GBAMP rather than a ds.gba

#53170 - El Hobito - Tue Sep 06, 2005 3:25 pm

both versions work i've listed them on here so max knows which ones work inorder to compare them with the others

#53211 - falcon!!! - Tue Sep 06, 2005 8:04 pm

El Hobito wrote:
falcon!!! wrote:
any example of ds.gba working? ^^

helloworld
scummvm
chavastarwars


Aud ds.gba works too
(the one taken from raw gba)

#53224 - joshschw - Tue Sep 06, 2005 9:39 pm

IxthusTiger wrote:
Huh... that's weird... nesDS was working fine until I formatted my card. Everthing still works (even moonshell) but now nesDS gives me two lit black screens. Doesn't go back to the multiboot. Doesn't start up nesDS.

What did formatting change?


I had this same problem and I think the probelm is NesDS, not the loader. It seems to 'freeze' when you have saves created by the DS on the Compact Flash card was the best I was able to discover.

#53235 - skabio - Tue Sep 06, 2005 11:30 pm

I'm having the same problem. After switching to the newest ver of the multi boot NesDS and moonshell no longer work. Not sure whats happening.

I also tried the ds.gba version of the collecovision emu v2 and it worked. Well except that you can't see any of the games in the menu. But its the same way with the .nds version. I think its because it uses the gbfs for the multi rom option.

As a side note does anyone know how to clear out that recycle folder that is created when you erase gba or sav files? I can't seem to see the directory when the cf is hooked up to my computer. I even tried viewing hidden files but to no avail.

#53238 - BLKGHOST - Tue Sep 06, 2005 11:40 pm

have you tried "Hide protected operating system files"?

#53250 - skabio - Wed Sep 07, 2005 1:44 am

That worked. Thank you.

#53611 - Mighty Max - Fri Sep 09, 2005 7:43 pm

falcon!!! wrote:
-fast scrolling menu (like the moonshell one)
-or maybe touchscreen menu
-the option to return to the main folder also if a game/app is running


Hi,

im back from the weekly work and i was not too lazy.

* the scrolling :) yeah i know my way is very inefficient in reading the content of the CF this will be changed and it will boost scrolling a lot. I will add a continue scrolling after a short delay when the button is still pressed.
* the touchscreen code is half implemented, i just didn't want to fool with the arm7 code yet as i am still searching for some error sources and i think it will stay out a few more versions
* interesting thought. but this will be a tought one as the actual code of multiboot is erased just before the nds is run, so there is nothing left to return to. I will check how to reset the nds to reboot the cf, or do a comlete soft-reset. I'll post the code in this thread here when finished.

The new version will be up sometime tomorrow. I found a way to get DSLinux running with Multiboot, unfortunally this prevents moonshell to run, so i will need to find a way to decide howto start the nds depending if it is moonshell,dslinux or whatever. My thought is to check for .PIF like files if a special run routine is needed.

I changed the filelist and continue screen a bit, it is no longer so heavy weighted. (I disliked the massive '#' as border much)

I'm posting again tomorrow when i got some sleep ;)
_________________
GBAMP Multiboot

#53613 - falcon!!! - Fri Sep 09, 2005 8:00 pm

thanks
So you make a touch screen control and now the loader can run linux but not moonshell?

#53615 - Mighty Max - Fri Sep 09, 2005 8:08 pm

No, both issues are not related. I just want to keep my arm7 code as small as possible till i got some more things working. This saves me debugging time ;)

The linux contra moonshell issue is a clearance of shared ram problem. When clearing , moonshell strikes, when uncleared dslinux wont run. i tried to check which section in the shared ram causes this behaviour, but it kept only running one of them.

I didn't find any regions in there with a special function (r13 stack, mirrored settings area, etc) im still guessing on too many points to give a clear reason why this happens.

:edit: Sometimes someone already made the work :p so here comes the return to multiboot code:
Code:

void SoftReset(void) {
    asm("swi 0") ;
}


Just call this function on arm7&arm9. To synch both resets, i recomment using an IPC handshake (im abusing the IPC sound pointer here, so check for these obvious invalid values in your sound code):

The arm9 as initiator will sign the ARM7 that a reset is planned. And it should listen for the synch. After it occured both CPUs are resetted.

ARM9 as reset caller:
Code:

void SoftResetBothARM(void) {
    IPC->soundData=0xFFFFFFFF ;                     
    while (IPC->soundData==0xFFFFFFFF) wait() ;
    IPC->soundData = 0 ;
    SoftReset()
} ;


ARM7 in somewhere in VBlank:
Code:

if (IPC->soundData==0xFFFFFFFF) {
    IPC->soundData = 0xFFFFFFFE ;
    while (IPC->soundData==0xFFFFFFFE) wait() ;
    SoftReset() ;
} ;

_________________
GBAMP Multiboot


Last edited by Mighty Max on Fri Sep 09, 2005 9:21 pm; edited 1 time in total

#53621 - Lynx - Fri Sep 09, 2005 9:11 pm

Hmm.. Do I not understand the issues? I don't have a problem running the current version of either dslinux or moonshell. I know the old moonshell had problems with your loader, but 3+ doesn't seem to.

#53622 - Mighty Max - Fri Sep 09, 2005 9:19 pm

dslinux, at least the build i got here, doesn't run till i clean the ram between 0x037F8000 and 0x37FFFFF (32k) gonna check with a newer build.

It loads up but the touchscreen won't work here. When the shared is cleared, the touchscreen works.
_________________
GBAMP Multiboot

#53626 - Lynx - Fri Sep 09, 2005 10:31 pm

Yeah, grab either the one on the nightly builds page or the one on ndshb.com (both work for me).

ndshb.com
http://www.ndshb.com/cgi-bin/cfiles/cfiles.cgi?0,0,0,0,3,9

Nightly Builds
http://kineox.free.fr/DS/

And, of course I'm using the .nds version.

#53755 - Mighty Max - Sun Sep 11, 2005 3:45 pm

Hey, it's me again.

After reading through all the pages of chishm's firmware v2 thread i have changed the loader to use his (a lot more elegantly) method to flag the cluster to load.

I will concentrate on the .ds.gba then :p

I added the fast scroll, and removed some unneccesary redraws/card-reads.

Greets
Mighty Max


PS: Can't wait for sgstair to finish win the wifibounty, so i can start working on an smb client to run NDS from a fileserver.
_________________
GBAMP Multiboot

#53758 - Dannon - Sun Sep 11, 2005 4:19 pm

Very good, seems to run a bit quicker

#53762 - falcon!!! - Sun Sep 11, 2005 5:46 pm

now i'll try it

#53763 - Mighty Max - Sun Sep 11, 2005 6:05 pm

Increased speed again a bunch via caching dir content.
Espacially when browsing files deeper within the dir-tree.

Added support for long filenames and scrolling if the name exceeds a line
_________________
GBAMP Multiboot

#53764 - falcon!!! - Sun Sep 11, 2005 6:14 pm

lol
u're updating so fast! now your program rocks! Omalone runs!
But ds.gba that ran, now dont run any more...
Nothing you cant resolve, right? ^^

#53765 - Dannon - Sun Sep 11, 2005 6:16 pm

Much quicker again, only other suggestion that I can think of is by pressing up at the top of the list moves to the bottom of the list, so you can wrap around, I'm sure you know what I mean. Well done again

#53766 - Mighty Max - Sun Sep 11, 2005 6:30 pm

falcon!!! wrote:
lol
u're updating so fast! now your program rocks! Omalone runs!
But ds.gba that ran, now dont run any more...
Nothing you cant resolve, right? ^^


To be honest, that is intended, it hangs in an endless loop. I had an issue i was working on just as i read chishm's thread, so i quickly included this and sealed off my other workplace :p

But anyways, the ds.gba which ran before can be run after using the pme2nds converter on them, as i was just jumping around the 512 Bytes loader yet. But this is something in change ;)

@Dannon, i gonna include the wraparound.
_________________
GBAMP Multiboot

#53770 - falcon!!! - Sun Sep 11, 2005 7:08 pm

OMFG!
Might max! U genius!
The scrolling function rocks!

#53786 - tk - Sun Sep 11, 2005 10:49 pm

Does the newest version only work with chishm's v2 firmware or does it still work with v1?

edit:
--\/Thanks for the lightning quick response!


Last edited by tk on Sun Sep 11, 2005 10:57 pm; edited 1 time in total

#53787 - Mighty Max - Sun Sep 11, 2005 10:52 pm

It needs version 2 of the modified firmware. The requirements info has been updated on the webpage.

Version 1 does not support the cluster boot which is now used by multiboot.
_________________
GBAMP Multiboot

#53789 - mizzle - Sun Sep 11, 2005 11:32 pm

OH! thats why it didnt work. Thank you Mighty Max, great work here. I particularily like the scrolling filenames. nice touch.

#53794 - Brad D - Mon Sep 12, 2005 12:19 am

Where can I find chishm's v2 firmware I seem to have lost that thread

Never mind I found it. BTW all you Devs are Gods
_________________
DS flashme EFA256 GBAMP

#53815 - The 9th Sage - Mon Sep 12, 2005 5:37 am

Mighty: Nice work on your loader...I like that it's updated to the new functions the v2 firmware provides...I've also noticed that Moonshell no longer has junk in the debug dialog when it initially boots up, and that this odd bug I found in nesDS (and forgot to report ^_^;;) has been fixed as well...basically, I found it only one game I tried, and what would happen is in this game (3-D World Runner) when I reset the game the behaviour was totally wrong...it looked like it only partially reset. It's fine now though. :) this must mean compatibility is improving.
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#53856 - unchticalin - Mon Sep 12, 2005 8:08 pm

my multiboot

http://unchticalin.skyblog.com/8.html

in bottom


Last edited by unchticalin on Mon Sep 12, 2005 8:36 pm; edited 1 time in total

#53859 - Dannon - Mon Sep 12, 2005 8:19 pm

There is a lack of any multiboot of your blog, just pictures of your model boat, which doesn't look too bad to say that you've made it yourself

Last edited by Dannon on Mon Sep 12, 2005 8:23 pm; edited 1 time in total

#53860 - unchticalin - Mon Sep 12, 2005 8:22 pm

the blog is update at 00h00

#53862 - Dannon - Mon Sep 12, 2005 8:24 pm

Does that mean then that it won't be on for another 2 hours and 30 minutes (French time)

#53864 - Mighty Max - Mon Sep 12, 2005 8:31 pm

Hehe Niceone, too bad the most part of that ass is hidden ;)

Dannon, just select Page N?8 sur 8 :p
_________________
GBAMP Multiboot

#53865 - unchticalin - Mon Sep 12, 2005 8:36 pm

http://unchticalin.skyblog.com/8.html

#53866 - Dannon - Mon Sep 12, 2005 8:39 pm

There was no page 8 when I looked, I updated and everything and checked for the last page

#54222 - Mighty Max - Fri Sep 16, 2005 7:35 pm

It's updated once more.


  • Added a mean to plug in viewer for any fileextension
  • Added - as an example - dsmpeg.nds for playing m1v streams. (very early testing ver)


Here is an example code how your .nds can react on given files to open:
Code:

   char *rebootplayname = (char *)0x027FF810 ;
   if (*rebootplayname == 0) {
      // no filename given
   } else {
      // filename found!
   } ;


PS: Yes i know, libmpeg2 is GPL, the complete source of dsmpeg.nds will be released once its out of this very early stage.
_________________
GBAMP Multiboot

#54236 - kekit - Sat Sep 17, 2005 12:48 am

the mpeg player is excellent. after sound and some optimizations, ill use it as my default video player rather than the dmv in moonshell.

#54264 - ChronoDK - Sat Sep 17, 2005 9:24 am

An option to press "up" on the file list to get to the last entry would be nice.

Keep up the good work!

#54285 - Mighty Max - Sat Sep 17, 2005 6:50 pm

Heyo

you can already use the UP key to wrap around to the end of the directory.



Worked the whole day now on the mpeg1 system demultiplexing (getting the pure m1v stream out of .mpg files) as there are no public documentations (at least non legal & free sources as far i could google) it was quite some weird work *g*)

Check it out now playing mpeg1 files.

Audio and time-mapping are not yet implemented, so don't expect too much, it is still in the early work.
_________________
GBAMP Multiboot

#54290 - Dannon - Sat Sep 17, 2005 7:22 pm

Very good, will this eventually be able to play MPEGs at full speed.

As a general question, does the DS have enough power to decode DivX files?

#54291 - Mighty Max - Sat Sep 17, 2005 7:33 pm

I am currently converting some files to put them onto my CF card (512MB now). The code is atm at no point optimized for the DS/ARM, even the converter is doing its work 2 times (once YUV>RGB15 and then RGB15 > ARGB of NDS), so i hope for no nuff power when done.

The next steps on shedule are
- the time mapping (pausing till next frametime is reached, skipping late frames)
- the audio, shouldn't be hard to find a layer3 GPL code
- and then ill go for optimizing.

This devel will pause when sgstair is done with wifi, to implement smb for the loader itself.
_________________
GBAMP Multiboot

#54293 - Dannon - Sat Sep 17, 2005 7:50 pm

The audio should be simple enough to sort out when you have some spare time, like you said.

I think a lot of people will be atalling their current projects when sgstair is done with the WiFi stuff, we'll all want to mesds with it and see what we can do.

#54310 - chishm - Sun Sep 18, 2005 12:56 am

Mighty Max wrote:
The next steps on shedule are
[snip]
- the audio, shouldn't be hard to find a layer3 GPL code

Isn't MPEG 1 Layer 3 just MP3?

#54315 - tepples - Sun Sep 18, 2005 3:41 am

MPEG-1 audio layer 3 is MP3.

MPEG-1 audio layer 3 is known to be thoroughly patented, and the patent holder asserts the patent against free software.

GSM Full Rate is possibly subject to an obscure patent, but the patent holder has never asserted the patent against free software. Given that the Toast project hasn't been cease-and-desisted after all these years, I'm pleading laches.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#54321 - Mighty Max - Sun Sep 18, 2005 8:01 am

tepples wrote:
MPEG-1 audio layer 3 is known to be thoroughly patented, and the patent holder asserts the patent against free software.


Afaik this is just apllying on the encoder. The Frauenhofer Institut itself gave out example codes to decypher mp3 iirc. Anyways, there are some GPL projects, i.e. http://www.underbit.com/products/mad/ i will use for it.


PS: I improved the speed a bit, now at playing average 16.8fps at a 470MB 192x144 movie. Hope to get this further increased optimising the motion comp.
_________________
GBAMP Multiboot

#54357 - vb_master - Sun Sep 18, 2005 7:31 pm

DSPaint (the one on NDSHB) doesn't work, the top screen is full of like arrows.
OMalone still doesn't work (as far as I know)

I am using the GBAMP Multiboot on the NDSHB page. Because of lack on an un-raring software (too lazy to install) I did not try the last night's build (17.09.2005 - 19:40). Could you also offer a .zip package, Mighty Max?

#54362 - Mighty Max - Sun Sep 18, 2005 7:57 pm

Hi vb_Master,

i have uploaded a zip version to http://mightymax.org/GBAMP_MultiBoot.zip

The version on Lynx's NDSHB is pretty outdated now.

I updated once again, i didn't change anything on the loader itself this time, but the mpeg player is making some good steps.

- FAT_fread&co optimization, improved conversation routines
- the demux now fills a fifo for the audio data,
- B frames are now skipped to get the movie on the display in realtime (they where the biggest cputime leechers).
- Added a Pause/Continue implementation

Currently testing all with a single 470MB 192x144x26 mpeg1 stream so i might miss incompatibles atm, but i want to have it working before tuning
_________________
GBAMP Multiboot

#54364 - Dannon - Sun Sep 18, 2005 8:05 pm

Brilliant, running almost at full speed now just a few frames skipped. I'm using a 320x240 30mb MPEG

#54368 - vb_master - Sun Sep 18, 2005 8:34 pm

Thanks, that helps a lot! I am going to test DSPaint and OMalone to see if they work better. My DS is now having problems booting (even with regular DS card inserted!), once in a while, the startup screen freezes (maybe I should switch to FlashMe).

EDIT: DSPaint still does not work (I'm using the ndshb version, .nds file). It fades in, then freezes, the freaky voice isn't played. No arrows!

Nibbles1.1 works perfectly.

NDSWins works.


Last edited by vb_master on Sun Sep 18, 2005 8:51 pm; edited 1 time in total

#54370 - Mighty Max - Sun Sep 18, 2005 8:44 pm

Btw, you'll need to have gbamp firmware v2 installed (see thread in the other forum a bit down)
_________________
GBAMP Multiboot

#54372 - vb_master - Sun Sep 18, 2005 8:52 pm

Mighty Max wrote:
Btw, you'll need to have gbamp firmware v2 installed (see thread in the other forum a bit down)
Problem is that I have Chism's Firmware v2 installed.

#54373 - vb_master - Sun Sep 18, 2005 9:03 pm

I think I killed it when I decided to reflash with Chism's firmware v2.0., when I insert it without a CF card, it goes to cannot find card, and freezes. When I insert a CF card, it goes to a black scren, and nothing happens. Did I fry it? I think I did!

Yes, it is now fried, and my PassMe is broke too. Everything is not going into the trash!


Last edited by vb_master on Sun Sep 18, 2005 9:14 pm; edited 1 time in total

#54374 - Mighty Max - Sun Sep 18, 2005 9:13 pm

Nah, even if you did you can always revert to old firmware.

but please try to format your card and copy the files on it again. it should work as long as the card is proper formated with FAT16 or 32
_________________
GBAMP Multiboot

#54375 - vb_master - Sun Sep 18, 2005 9:15 pm

I copied the files. All it does it boot to a black screen.

#54376 - Mighty Max - Sun Sep 18, 2005 9:19 pm

Can you try this: Push L+R+Start+Select and turn on the NDS the normal GBA Movie Player window shows up.

Use this to reflash the gbamp again. Like ndshb describes.
_________________
GBAMP Multiboot

#54377 - vb_master - Sun Sep 18, 2005 9:26 pm

What do you mean? Press L + R + Start + Select when my DS is booting?

I don't have FlashMe.


Last edited by vb_master on Sun Sep 18, 2005 9:28 pm; edited 1 time in total

#54378 - Mighty Max - Sun Sep 18, 2005 9:28 pm

Yes, that way you can override the autostart and you can run it via NDS menu.
_________________
GBAMP Multiboot

#54379 - vb_master - Sun Sep 18, 2005 9:29 pm

vb_master wrote:
I don't have FlashMe.
My GBA Movie Player died. I cannot get it to start.

#54384 - Mighty Max - Sun Sep 18, 2005 9:43 pm

Tbh i doubt that the gbamp can be fried that way.

Please plug out the PassMe, and follow Dannons revert instructions of this: http://forum.gbadev.org/viewtopic.php?t=6748&postdays=0&postorder=asc&start=0 thread.

As said, be sure your card is FAT16/32 formatted. If you use a small card that is formated with FAT12 its not going to work. Please check if that is the case. Overwise please ask in the above thread again. Maybe chishm got an idea what happened.
_________________
GBAMP Multiboot

#54385 - vb_master - Sun Sep 18, 2005 9:48 pm

It's not like his problem. I tried booting with the old firmware file, off the .NDS files, (my PassMe is now completely broken). I give up.

/me throws GBA MP in trash
/me throws PassMe in trash
_________________
Back.


Last edited by vb_master on Sun Sep 18, 2005 9:54 pm; edited 1 time in total

#54386 - unchticalin - Sun Sep 18, 2005 9:52 pm

Mighty Max very good job but no reset in mpeg.nds for chang video

#54397 - kekit - Sun Sep 18, 2005 11:36 pm

vb_master wrote:
It's not like his problem. I tried booting with the old firmware file, off the .NDS files, (my PassMe is now completely broken). I give up.

/me throws GBA MP in trash
/me throws PassMe in trash


you must be the only person with the problem. you could have tried other means to get it to work. you just wasted about $55. your loss.

#54427 - chishm - Mon Sep 19, 2005 8:16 am

vb_master wrote:
It's not like his problem. I tried booting with the old firmware file, off the .NDS files, (my PassMe is now completely broken). I give up.

/me throws GBA MP in trash
/me throws PassMe in trash

Put an update (like update.e19) file on the root of your CF card then boot the GBAMP in GBA mode. Update when asked.

#54444 - Lynx - Mon Sep 19, 2005 3:52 pm

Quote:
The version on Lynx's NDSHB is pretty outdated now


For the record, Chishm hasn't released V2 (from what I've seen), and untill he does, I'm not going to update your loader on ndshb.com, as it requires beta firmware on the GBA MP. As soon as Chishm releases V2.. It, along with your loader, will be updated.

#54468 - Mighty Max - Mon Sep 19, 2005 6:47 pm

Lynx wrote:
Quote:
The version on Lynx's NDSHB is pretty outdated now


For the record, Chishm hasn't released V2 (from what I've seen), and untill he does, I'm not going to update your loader on ndshb.com, as it requires beta firmware on the GBA MP. As soon as Chishm releases V2.. It, along with your loader, will be updated.


Didn't want to sound like i probably did. It is not you fault, just that the loader itself is still in development.
_________________
GBAMP Multiboot

#54511 - vb_master - Tue Sep 20, 2005 2:41 am

I rescued both things out of the trash.

When I use the GBAMP in GBA mode with out a CF card, it goes to the No CF screen, and if I press START, it just stayes there.

When I use the GBAMP in GBA mode with a CF card, it goes into a black screen and doesn't do anything else.

So are you telling me if I up update.e19 on my CF card, it will start and update?
_________________
Back.

#54539 - chishm - Tue Sep 20, 2005 7:10 am

vb_master wrote:
I rescued both things out of the trash.

When I use the GBAMP in GBA mode with out a CF card, it goes to the No CF screen, and if I press START, it just stayes there.

When I use the GBAMP in GBA mode with a CF card, it goes into a black screen and doesn't do anything else.

So are you telling me if I up update.e19 on my CF card, it will start and update?

It sounds like you tried the repair utility (L+R+Select). This only repairs the bootloader of the GBAMP, so you need to use the update file to fix the rest. Yes I am telling you if you put update.e19 on the root of your CF card it should update. No harm in trying in any case.

#54577 - Lynx - Tue Sep 20, 2005 3:51 pm

Mighty Max wrote:
Didn't want to sound like i probably did. It is not you fault, just that the loader itself is still in development.


Me either, after I read it in your quote. I'm on top of this stuff.. I'm just waiting for Chishm to "release" the v2 firmware so I can update all around.. :D You guys are doing great work, and I don't want to come off like I don't appreciate it.

#54599 - MaHe - Tue Sep 20, 2005 7:10 pm

Hey, I come to an idea. Would it be possible to build-in a SRAM emulator, that would automatically transfer all SRAM request to a folder (e.g \System\SRAM)? Every single app or game could be loaded from GBAmp, which would be the cheapest and most elegant solution for homebrew!

And another question:

Can I run GBAmp menu while having some homebrew also loaded on the CF card? If can't, does a .nds or .gba firmware rom exists to do so?

P.S.: I'm not a native english-speaker, so that you understand :)

#54604 - The 9th Sage - Tue Sep 20, 2005 7:25 pm

MaHe wrote:

Can I run GBAmp menu while having some homebrew also loaded on the CF card? If can't, does a .nds or .gba firmware rom exists to do so?

P.S.: I'm not a native english-speaker, so that you understand :)


Do you mean the original GBA MP firmware, like the menu for playing movies, etc? Yes you can run it just fine no matter what you have on your Compact Flash card...just select it from the GBA Button on the DS's menu when you boot up. Chism's firmware knows if you are in GBA or NDS mode and acts accordingly.
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#54607 - Lynx - Tue Sep 20, 2005 7:46 pm

MaHe wrote:
Hey, I come to an idea. Would it be possible to build-in a SRAM emulator, that would automatically transfer all SRAM request to a folder (e.g \System\SRAM)? Every single app or game could be loaded from GBAmp, which would be the cheapest and most elegant solution for homebrew!


Hmm.. That is a nice idea.. but, I doubt it can be done. You'd have to have some kind of memory resident wrapper that watches for SRAM calls.

#54610 - unchticalin - Tue Sep 20, 2005 8:31 pm

MaHe wrote:
Hey, I come to an idea. Would it be possible to build-in a SRAM emulator, that would automatically transfer all SRAM request to a folder (e.g \System\SRAM)? Every single app or game could be loaded from GBAmp, which would be the cheapest and most elegant solution for homebrew!


yes very good idea exelent for homebrew emulation and roms

#54622 - vb_master - Tue Sep 20, 2005 11:24 pm

Yes, thank you update.e19 did reflash my GBA MP thanks guys!

Now my PassMe isn't "working" it only starts like once in a while. I know it works, because once in a while it will start up to a white screen (before I got my MP working again). Any hypothesis about that?
_________________
Back.

#54638 - Alex Atkin UK - Wed Sep 21, 2005 2:59 am

What PassME do you have?

I have the PCI version and now I ALWAYS have to hold down tightly the PCI pins with one hand while powering on with the other. Fortunately my DS has been flashed to the hacked firmware so I usually do not need to use it.
_________________
[Images not permitted - Click here to view it]

[Images not permitted - Click here to view it]

#54712 - vb_master - Wed Sep 21, 2005 9:39 pm

I managed to get my PassMe to boot. I have a PassMe GBC (which has the GBC broken). Now I can play Nibbles again!

I'm thinking about FlashMeing it, but I'm concerned about the legality of it since it is a hacked version of the original firmware (which, like happened with the XBox, sounds illegal).
_________________
Back.

#54724 - Lynx - Wed Sep 21, 2005 10:57 pm

How'd the GBC get broken?

#54729 - vb_master - Thu Sep 22, 2005 12:07 am

It was one of yours, Lynx, I am pretty sad about it. The bottom of the GBC broke off, you know, the solid plastic part, not the part with the pins. Lynx, could you be so gererous and send me a complementary cut GBC? I can tell you the order number if you wish for it. I can solder really well, so I will have no problem replacing it. I can't cut GBC's so... thanks if you help!
_________________
Back.

#54760 - El Hobito - Thu Sep 22, 2005 11:37 am

Lynx wrote:
How'd the GBC get broken?

exact same problem here when i first got mine i put the cartridge in and the whole thing snapped in two and i only put it in gently! i didnt bother you with it since eventually i was able to fix it up just enough to allow myself to run flashme

#54787 - Lynx - Thu Sep 22, 2005 3:58 pm

Really? I haven't had a problem with any of mine.. I have been using them since the beginning.. put carts in, removed carts, and I'm not gentle with them.... Their not flismy connectors.. I'm torquing on mine right now.. seems strong.. Actually feels like the PCB would snap before the connector..

Anyway else having problems with their GBC's?

#54825 - vb_master - Thu Sep 22, 2005 9:46 pm

PM'd you back. I guess you could call this a "recall". I have the same problem that El Hobito has, but I dropped mine a tiny 3 inches maybe. Thanks Lynx!
_________________
Back.

#55884 - Mighty Max - Mon Oct 03, 2005 7:38 pm

I have uploaded a major update to gbamp multiboot.

Check out all changes or dl the file at http://mightymax.org/gbamp_multiboot.html

Some new features:

  • Touchsceen control
  • Graphical view on lower screen
  • Customizeable layout
  • LunarCrisis's .PNG viewer embedded


Greets
Mighty Max
_________________
GBAMP Multiboot

#55887 - MaHe - Mon Oct 03, 2005 8:35 pm

Yay! Any screenshots? I haven't got my GBAmp yet :'(

OOPS, found 'em. Sorry.

#55888 - Mighty Max - Mon Oct 03, 2005 8:41 pm

The screenshot is from a previous version tho, don't have time to make a new one atm as i am preparing for work again (have to travel through the country)

So new screens and maybe a better styled layout will come when im back next weekend.



I'd like to see if anyone would do customizations and post them here as long as they don't use copyrighted material.
_________________
GBAMP Multiboot

#55898 - Dannon - Mon Oct 03, 2005 9:59 pm

All working almost brilliantly, the only thing that I can't seem to do is scroll with the touchscreen, and if I scroll down using the D-pad then as soon as I touch the screen it jumps back to the first 18 (layout.ini dependant) files in the directory. Apart from that it looking pretty good now, there are a lot of customisations/mods that could be done to improve things, but a very big well done to yourself!

#55953 - Lynx - Tue Oct 04, 2005 9:06 pm

Hmm.. Well, Here is what I started out with, but I have a couple of questions..

[Images not permitted - Click here to view it]

FileListSize=24
FileListLineHeight=7

What is the FileListSize=? I thought it was the number of files listed, but I set it to 24 and it's still only showing 18 at a time.

Now, I see the FileListLineHeight= is the spacing.. is there an easy way to increase the font size?

Also, would it be possible to make file indicator (*) a .bmp as well? That way, we can make it a -> or something like that instead of just a *.

Plus, the icon and description on the top screen don't have variables? As mine don't match up with yours, so it doesn't display properly.. :(

Anyway, this thing rocks! If it gets much better, I'm going to have to donate again.. :D

#56042 - Lynx - Wed Oct 05, 2005 5:51 pm

Heh.. Couple more requests :D

1) Version numbers for you loader
2) font color as well? I changed it in the font.bmp, but it's still black.

Here's another one:

[Images not permitted - Click here to view it]

This one is questionable:

[Images not permitted - Click here to view it]
(lemme know if I should remove it)

#56114 - blasteryui - Thu Oct 06, 2005 9:27 am

Hi I need help with the loader I get the screen and every thing and I can look through the games but when I click on a nds file such as Omalone it says do you want to continue I press yes/(A) and it just goes bak to the menu can you help me with that. Oh and When I saw the screen-shot it said e3 metoes demo I downloaded it and tried it with out the loader like I do with the rest of my games and it didnt load does the GBA MP Multi-ROM Loader load it?

Thank-you

#56115 - chishm - Thu Oct 06, 2005 9:36 am

1) You need the v2 firmware in order to use the loader. See here for details.

2) Commercial games and demos DO NOT WORK. Sorry for shouting that, I just wanted to make it clear.

#56116 - blasteryui - Thu Oct 06, 2005 10:03 am

ya christym I installed your program along time ago I can play games but I cant play them on the multiboot that program is that a diffrent one?

#56118 - blasteryui - Thu Oct 06, 2005 10:11 am

HELL YA THATS THE SHIZNAT...LOL I INSTALLED IT AND I CAN PLAY DRUG-WARS ECT THX A BUNCH:)

#56156 - DragonMinded - Thu Oct 06, 2005 8:08 pm

Hey, your multi-loader got me interested as soon as I found out about it. I tinkered with my nds wrapper of Deku's mod player and have a .mod 3rd party loader. One question, any easy way of getting it to jump back to your shell when the user presses B?

For now it loads and plays, but you gotta reset the DS to get back to the folder list, and that's kinda annoying...

EDIT: If you guys are interested in checking it out (although it is slightly unfinished), here is a link: http://dragonminded.blogspot.com/2005/10/mod-player-for-gbamp-multiboot.html
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#56205 - The 9th Sage - Fri Oct 07, 2005 3:07 am

DragonMinded wrote:
Hey, your multi-loader got me interested as soon as I found out about it. I tinkered with my nds wrapper of Deku's mod player and have a .mod 3rd party loader.


Oooh, cool...I'll have to play with this one.
_________________
Now with 20% More Old Man from Zelda 1 than ever before!

#56222 - tssf - Fri Oct 07, 2005 6:37 am

DragonMinded wrote:
Hey, your multi-loader got me interested as soon as I found out about it. I tinkered with my nds wrapper of Deku's mod player and have a .mod 3rd party loader. One question, any easy way of getting it to jump back to your shell when the user presses B?

For now it loads and plays, but you gotta reset the DS to get back to the folder list, and that's kinda annoying...

EDIT: If you guys are interested in checking it out (although it is slightly unfinished), here is a link: http://dragonminded.blogspot.com/2005/10/mod-player-for-gbamp-multiboot.html


This is just a thought, but how about making it load _BOOT_MP.NDS every time someone cancels it? That way it'll go back to whatever multibooter (Moonshell, MightyMax's loader, etc) that you may have on there.

Of course, the mod files would probably have to be added to the NDS file binary manually.

And, of course, you could always release the source to Moonshell after you're done so he can include another file format in his "multimedia multiboot" MoonShell software :)

#56239 - chishm - Fri Oct 07, 2005 9:45 am

DragonMinded wrote:
Hey, your multi-loader got me interested as soon as I found out about it. I tinkered with my nds wrapper of Deku's mod player and have a .mod 3rd party loader. One question, any easy way of getting it to jump back to your shell when the user presses B?

It's not my shell, but it is my FW hack. To jump back to the _BOOT_MP.NDS file, which is most likely the loader, call this on the ARM9:
Code:
//***************************************************
// Use this code to start an NDS file
IME = IME_DISABLED;   // Disable interrupts
WAIT_CR |= (0x8080);  // ARM7 has access to GBA cart
*((vu32*)0x027FFFFC) = 0;  // Start cluster of NDS to load, 0 = menu
*((vu32*)0x027FFE04) = (u32)0xE59FF018;  // ldr pc, 0x027FFE24
*((vu32*)0x027FFE24) = (u32)0x027FFE04;  // Set ARM9 Loop address
asm volatile("swi 0x00\n");  // Reset
//*********************************************************

Also, make sure you place this in the ARM7 main loop or interrupt handler:
Code:
//***************************************************
// Put this code into your ARM7 main loop or interrupt handler
if (*((vu32*)0x027FFE24) == (u32)0x027FFE04)  // Check for ARM9 reset
{
   IME = IME_DISABLED;   // Disable interrupts
   IF = IF;   // Acknowledge interrupt
   *((vu32*)0x027FFE34) = (u32)0x08000000;   // Bootloader start address
   asm ("swi 0x00\n");   // Jump to boot loader
}
//*********************************************************

EDIT: Modified ARM9 code slightly


Last edited by chishm on Sat Oct 08, 2005 7:00 am; edited 1 time in total

#56284 - Mighty Max - Fri Oct 07, 2005 5:40 pm

Hi again,

sorry was on travel, so my answeres are a bit late.

Lynx, the layout parameters are not yet complete. I will add and check for their proper function step by step. It was just that my time ran out last week and i didn't want another week without an update from me.

Thanks Chishm for helping out :)

DragonMinded, Thanks for the mod mod :p I gonna check this out soon. If you feel like releasing it i'd like to include it into the archive. Just mail me.
_________________
GBAMP Multiboot

#56296 - DragonMinded - Fri Oct 07, 2005 7:01 pm

I used that code and tried to compile. Arm7 went great, arm9 however gave me some random crap.

I've never used asm in C, so I'm going to need a wee bit of help on this. I'm assuming its got the wrong architecture or something...

Code:
main.cpp
C:/DOCUME~1/SHAUNT~1/LOCALS~1/Temp/cciIaaaa.s: Assembler messages:
C:/DOCUME~1/SHAUNT~1/LOCALS~1/Temp/cciIaaaa.s:853: Error: bad instruction `stmfd sp!,{r4,lr}'
C:/DOCUME~1/SHAUNT~1/LOCALS~1/Temp/cciIaaaa.s:860: Error: invalid immediate -- `mov r1,#262144'
C:/DOCUME~1/SHAUNT~1/LOCALS~1/Temp/cciIaaaa.s:882: Error: register expected, not '#32768' -- `eor r3,r3,#32768'
C:/DOCUME~1/SHAUNT~1/LOCALS~1/Temp/cciIaaaa.s:910: Error: invalid immediate -- `mov r0,#31744'
C:/DOCUME~1/SHAUNT~1/LOCALS~1/Temp/cciIaaaa.s:951: Error: invalid immediate -- `mov r2,#262144'
make[2]: *** [main.o] Error 1
make[1]: *** [build] Error 2


What is going on here?

EDIT: Devkitarm r16a

EDIT 2: It didn't like being inside a function. Putting it inside my main causes it to compile, but when the code executes, nothing happens...

Perhaps a sample usage?
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#56353 - chishm - Sat Oct 08, 2005 2:45 am

Try removing the thumb\n from the asm statement. It is not needed for swi 0x00, since it behaves the same for both arm and thumb modes.

It should be:
Code:
asm volatile("swi 0x00\n");  // Reset

#56370 - DragonMinded - Sat Oct 08, 2005 6:59 am

Ok this code compiles and appears to work, but when executed, brings me to a white screen. It never goes further...
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#56447 - Mighty Max - Sat Oct 08, 2005 8:31 pm

This problem is resolved.

I have uploaded a new version with more customizations and a few bugfixes.

On top of that LunarCrisis updatet the png viewer.
_________________
GBAMP Multiboot

#56464 - Dannon - Sat Oct 08, 2005 9:47 pm

Again very nice, some good little improvements. How's the MPEG decoding coming along at the moment?

#56504 - Brad D - Sun Oct 09, 2005 4:19 am

I can't get this new multi boot file to work. All I get is two black screens.
I hav't had any problems with previous versions and moonshell works fine when I rename it _boot_mp.nds . I have V2 flashed on to my gbamp. Any sugestions?

I have also tried two different CF cards
_________________
DS flashme EFA256 GBAMP

#56526 - Mighty Max - Sun Oct 09, 2005 9:52 am

@Dannon, the mpeg playback is still stuck at the soundcode. I keep getting out of synch too often.

@Brad D, please check if you have all files in /mb_data/ copied to the CF cards. Espacially uppe r& lower.bmp as well as layount & font.ini.
_________________
GBAMP Multiboot

#56548 - Mighty Max - Sun Oct 09, 2005 5:49 pm

Most likely the last update for a week again, so grab it:p

http://mightymax.org/gbamp_multiboot.html

* screen now updates before scroll delay on touch
* fixed continue screen on CF removal
* fixed a bug that did not return to the last viewed dir
* added a simple txt/ini viewer

Greets
_________________
GBAMP Multiboot

#56557 - Lynx - Sun Oct 09, 2005 7:11 pm

Dunno if I did something wrong (though.. I'd think it's pretty strait forward).. I just downloaded the current version on your site and it won't launch anything.. It just keeps going back to the main menu. All I did was rename mb_data to my_data and then wrote the new mb_data dir and the new _BOOT_MP.NDS file..

EDIT: So, I'm requesting version numbers again.. :) So I can keep track of all the different versions.


Last edited by Lynx on Sun Oct 09, 2005 7:17 pm; edited 1 time in total

#56558 - Dannon - Sun Oct 09, 2005 7:15 pm

Good little text viewer. Do you use the reset code for the Return to menu when you press Start part?

#56559 - Mighty Max - Sun Oct 09, 2005 7:22 pm

I'll add a build counter in. :p

Tho i have atm no clue why you are returning to menu. Is that on every .nds? Does that happen on *png or *txt too ?

@Dannon,

Yes it is. I fixed a bug recently that did block this reboot method.

The textviewer however isn't much, its only a 30mins work, but i was simply to lazy to switch the cf cards everytime i wanted to check ini settings. LunarCrisis's dspng returns to the menu too btw.
_________________
GBAMP Multiboot

#56598 - DragonMinded - Mon Oct 10, 2005 1:28 am

Mighty Max wrote:
* added a simple txt/ini viewer


DAMN you bastard! I had already made one! Oh well, thats what I get for not releasing fast enough ;P
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#56601 - Lynx - Mon Oct 10, 2005 1:38 am

Dang.. calm down.. text viewers are easy.. there are a few already out..

Anyway, yes.. every .nds file returns me to the menu. I'm going to go and see if maybe I missed a GBAMP Firmware update somewhere?

Also, I noticed the NDS icon isn't showing on the top screen.. but it shows the Dir icon.. and I can't go into the mb_data folder (to look at the .ini files) and it shows up as:

FOLDER
/MB_DATA/MB_DATA/MB_DATA

I then looked at what was displayed for the .nds files:

/MB_DATA/MB_DATA/DSLINUX-GBAMP.NDS

So, what could be causing that? I'm guessing it is trying to load the NDS icon from the same type of directory, but it somehow knows the proper path for the folder and .png icons. But, when I try to load the upper.png file, I get this:

loading image: " /MB_DATA/MB_DATA/UPPER.PNG"
png
couln't open file
Press B to quit.

So, that's my problem..

Edit: Well, I updated the GBAMP Firmware again just to make sure, no changed.. I then put the update.e19 on, and still no change.. :(

Edit2: :( Well. It still isn't working, but I figured out some of the double dir stuff.. I had to many files in the root directory. I moved a bunch of the .nds files into a folder.. and now it's displaying the proper path for everything, but it still isn't working.. example for the .png now is:

loading image: " /UPPER.PNG"
png
couldn't open file
Press B to quit

as well as in the description field, it looks like:

(no icon still)
NINTENDODS EXECUTEABLE
/DSLINUX-GBAMP.NDS

Hmm... maybe I didn't notice this before.. but when I press A to select it,
the continue screen says:

/DSLINU 1.NDS
Do you want to continue?

Don't know if it matters, but it's not using long file names as well as not showing the ~..

I'll keep messing with it..

Edit3: Another thing I just noticed.. before, I still had the _BOOT_MP.GBA file on.. and it was showing up as [_BOOT_MP.GBA] and I didn't notice.. So, I deleted it and now I'm seeing the first file show up the same way [DSLINUX-GBAMP.NDS].. The description is still saying it's a .nds file, and it still tries to start it.. but fails and returns to the menu. Also, I can't get into any directories. Selecting a directory just puts the * back to the top of the list.. But then shows all the files in the discription as /NDS/[DSLINUX-GBAMP.NDS] and if I try to go into the NDS folder again, then it ends up as /NDS/NDS/[DSLINUX-GBAMP.NDS]

Now, if I remove this version, and put the last version back on, everything works as it should..


Last edited by Lynx on Mon Oct 10, 2005 1:59 am; edited 2 times in total

#56602 - DragonMinded - Mon Oct 10, 2005 1:50 am

Lynx wrote:
Dang.. calm down.. text viewers are easy.. there are a few already out..


Sarcasm is your friend. Besides, im working on making it an editor anyhow...
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#56603 - Lynx - Mon Oct 10, 2005 2:00 am

DragonMinded wrote:
Sarcasm is your friend. Besides, im working on making it an editor anyhow...


What? I have a friend? :P

#56617 - Mighty Max - Mon Oct 10, 2005 5:21 am

I can't reproduce that error yet, but i gonna try while i'm away again within this week.
_________________
GBAMP Multiboot

#56619 - josath - Mon Oct 10, 2005 5:35 am

For me, with a slightly older version (a couple days old), I have to start a .nds twice. The first time a select a .nds, then start it, it just goes blank for a second or two, then goes back to the menu. When I then go back and select the same .nds again and start it, then it runs fine.

#56630 - DragonMinded - Mon Oct 10, 2005 7:00 am

For any that are interested, I have posted v.2 of the mod player, and a beta of the text editor. Please give feedback. Also, mighty max, if you want to, you can include either of these in the next version.

http://www.youngmx.com/ndsdev/dsmod_v2.rar
http://www.youngmx.com/ndsdev/dstxt_v2.rar

Go to http://dragonminded.blogspot.com to read up further.

EDIT:

I've put out the next version of the text editor. I'd appreciate any comments, as usual!

http://www.youngmx.com/ndsdev/dstxt_v3.rar

Visit my homepage for source.
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?


Last edited by DragonMinded on Thu Oct 13, 2005 10:22 am; edited 4 times in total

#56723 - Veg - Mon Oct 10, 2005 7:52 pm

I can't get ScummVM to work with the multiboot.
It works fine if it's just called '_BOOT_MP.nds' (of course, bypassing the multiboot completely), but if I try to rename it to something else 'Scummvm.nds', for example, so that it can go along with the multiboot, it just whitescreens. No boot menu or anything.

#56891 - LunarCrisis - Wed Oct 12, 2005 4:50 am

Lynx wrote:
But, when I try to load the upper.png file, I get this:

loading image: " /MB_DATA/MB_DATA/UPPER.PNG"
png
couln't open file
Press B to quit.

Just felt like mentionning (since it isn't blatantly obvious from the error message) that this error means that the call to FAT_fopen failed, which probably means that the loader sent my png viewer the wrong filename =( . (this makes sense, because there shouldn't be a /MB_DATA/MB_DATA folder. . .)

EDIT: Where did upper.png come from? I was under the impression that BMPs were used.

On another note, I've prepared a new version of the png viewer, and since I might not be able to reach Mighty Max for a bit I decided I might as well release it myself, at least until it's added to the official pack. New features include zooming out as far as you'd like, and scaling the image to fit the top screen. It also fixes a crash that occurred with certain images.
Get it here: http://topoi.pooq.com/lunarcrisis/dspng.tar.gz

Just note that it's only been tested with the newest release of Mighty Max's loader, although it should still work with older versions.
_________________
If a tree falls in the forest and no one is there to hear it, why the heck do you care?

#56957 - Lynx - Wed Oct 12, 2005 5:02 pm

LunarCrisis wrote:

EDIT: Where did upper.png come from? I was under the impression that BMPs were used.


Ooops.. Sorry for the confusion.. I just saved one of my upper.bmps to a .png to test the viewer.. I should have renamed the file.

I can't wait to get these issues resolved.. I already added a "GBA MP Multiloader Themes" section to the downloads on ndshb.com... I just need to convert the 3 i've made already to the new .ini and I'll upload them.

Oh.. yeah.. MightyMax.. one more variable (or, set of variables).

On the selection screen (YES(A), NO(B) screen) it shows the file that is about to be loaded.. can we get variables to control that one on screen as well? :D

#56974 - Mighty Max - Wed Oct 12, 2005 8:15 pm

Hi,

i just came back from Chemnitz (GER, Sachsen) so i'll probably be able to work on it again tomorrow. Ill add options for the continue screen too.

MessageOnNDSLoad=Loading %s!
MessageOnCFRemoval=CF-Card removed

+ the mandatory positions & colors?

Need to customize the keys?
_________________
GBAMP Multiboot

#57016 - ninogenio - Thu Oct 13, 2005 12:58 am

will you be updating the mpeg playback as i though this was really cool and would love to see more done with it.

#57158 - Lynx - Thu Oct 13, 2005 11:46 pm

Mighty Max wrote:

MessageOnNDSLoad=Loading %s!
MessageOnCFRemoval=CF-Card removed

+ the mandatory positions & colors?

Need to customize the keys?


Hmmm.. didn't even think of the keys.. :) that would be cool as well.. I mainly needed positions and colors.. But, if it's not hard, you might as well make them configurable.

#57443 - Mighty Max - Sat Oct 15, 2005 10:11 pm

Ok, the changes are in.

I think i got the blackscreen / halfbooting bug sorted out now. At least Trez gbamp wanted to load now again. Hope that solves your problem too Lynx.

Changes:
* Added a Failed() handler when something unrecoverable happens it switches to text mode and leaves a message instead of 2 black screens
* Added the continue parameters
* Added parameters to change the keys
* fixed a bug in the init code (that appeared after the reboot fix)
_________________
GBAMP Multiboot

#57506 - tepples - Sun Oct 16, 2005 4:54 pm

Using this version (Nintendo DS, PassMe, Meteos), I have two problems:

Choosing a folder just adds that folder to the path and does not update the list of files. For instance I have a "DAK" folder at the root level of my CF card, and if I select it repeatedly, I get something like "/DAK/DAK/DAK/DAK/" on the top screen. Therefore, I can choose only files in the root directory.

If I choose tetris.nds (Tetris by DesktopMan) or even Hello World (of libnds examples) at the root level of my CF card, I get the "are you sure" message, but when I press A for yes, it just resets back to the main menu. I remove the multi-loader and rename the ROM to _boot_mp.nds, it works, but I'd like to carry multiple programs so that I can enjoy more than one of my creations without having to visit a PC between them.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.


Last edited by tepples on Sun Oct 16, 2005 5:00 pm; edited 1 time in total

#57507 - Mighty Max - Sun Oct 16, 2005 4:58 pm

Looks like you are observing the same problems as Lynx.

I'll continue to search that bug ...
_________________
GBAMP Multiboot

#57508 - tepples - Sun Oct 16, 2005 5:06 pm

Would it have anything to do with making sure that FAT_CWD gets called and making sure that it returns true?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#57511 - Mighty Max - Sun Oct 16, 2005 5:19 pm

It looks like it.

My first thought was that i have a problem with caching the long filenames. But that would have resulted in a debug message now. That only leaves the FAT_CWD now, which is quiet odd as i didn't change anything there.

And it still works just fine on most DSes.

I'll add that CWD check in next version, which will arrive hopefully this evening.
_________________
GBAMP Multiboot

#57549 - Grupstra - Sun Oct 16, 2005 10:32 pm

Hey all.

I'm having the same problem as mentioned above, where I am unable to laod any .nds files, or navigate into any folders. Selecting any .nds file and selecting yes to loading makes two black screens appear as if its loading, then boots me back to the file selection screen right away.

I also am unable to select any folders or anything, it just reset my cursor to the top of the file listings.

Any idea on this problems cause yet? I don't have any idea where tog et odler builds to test them out, but fi anyone has any let me know, I really wanna at least get somthing working. Moonshell is a great shell, but I wanna give this one a try as well. thanks.

#57563 - kekit - Mon Oct 17, 2005 1:23 am

any chance for the release of mpeg player source?

#57576 - MoonShell - Mon Oct 17, 2005 3:09 am

hello.
There is an expectation about a new MPCF driver.
Please forgive the reply that has not been tested yet.

'CF_ReadSectors' function in 'Compact_flash.c' is 'REG_SEC = numSecs;' Is it safe in.
I wanted to read two or more sectors by the command once transmission before.
However, the condition division into the file that was the fragmentation was complex and abandoned it. I threw it away.
If burst transfer is possible by my misunderstanding, it is wonderful.

#57579 - tepples - Mon Oct 17, 2005 3:23 am

Read the FAT first. If the FAT indicates that a given range of sectors in a file is stored one after another, then read them with the burst transfer. Otherwise read sectors one at a time.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#57602 - chishm - Mon Oct 17, 2005 8:20 am

I have implemented burst transfer in my driver already, for clusters. Clusters are *always* made of consecutive sectors, so this is easy to do. Check my source for details.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#57610 - MoonShell - Mon Oct 17, 2005 10:59 am

FAT_fread was examined closely. You were correct. I'm sorry.

There is a demand in FAT_fseek.
A new driver is FAT_fseek(file,0,SEEK_END);Position is adjusted to 0.

Code that I use.

Code:
u32 GetFileSize(FAT_FILE* file)
{
  u32 LastPosition;
  u32 FileSize;

  LastPosition=FAT_ftell(file);
  FAT_fseek(file,0,SEEK_END);
  FileSize=FAT_ftell(file);
  FAT_fseek(file,LastPosition,SEEK_SET);

  return(FileSize);
}


This function always returns 0.
When it is possible to return it, it is very glad.

By the way, I corrected it as follows.
It is glad if it serves as a reference.

gba_nds_fat.c line.2007 under.

Code:
int FAT_fseek(FAT_FILE* file, s32 offset, int origin)
{
xxx
   case SEEK_END:
      if (offset >= 0)
      {
//         position = 0;
         position = file->length;
      }
xxx
}

#57615 - chishm - Mon Oct 17, 2005 11:55 am

Whoops. I have fixed it now. Thanks for the help. I guess that is what happens when I don't test thoroughly enough :-) .

In future, can you please post bugs to this thread: http://forum.gbadev.org/viewtopic.php?t=7195
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#57633 - Mighty Max - Mon Oct 17, 2005 2:13 pm

I have uploaded a new version of the Multiloader.

http://mightymax.org/gbamp_multiboot.html

Mostly changes to detect that some of you got.

Beside that:
* changed default icon loader
* fixed a bug in the image loader (shouldn't have fired yet, but im better sure to fix it)
* fixed a bug in CacheDir()
_________________
GBAMP Multiboot

#57641 - tepples - Mon Oct 17, 2005 2:47 pm

(re: Lynx bug)
Now I get "CWD failed in CacheDir()"
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#57643 - Mighty Max - Mon Oct 17, 2005 3:32 pm

Thanks for the output Tepples,

Is that before anything other displays on the lower screen, or when you select a folder?
_________________
GBAMP Multiboot

#57664 - Grupstra - Mon Oct 17, 2005 5:58 pm

Yeah, Just booted it up right before as I read tepples reply, and I got the same "Unrecoverable error occured:
CWD failed in Cachedir()" on the bottom screen,
With the multiboot image loaded on the top screen.

This is the first thing I see when booting it, it loads with this error. I'm not able to navigate or anything,as the error is displayed on the lower screen and nothing else.

#57675 - Mighty Max - Mon Oct 17, 2005 7:09 pm

Ok, then i prolly know what causes this.

New version is on the way, but might take a bit till it arrives due to dial up atm.

:edit: It's up, hope it runs now smooth for everyone.
_________________
GBAMP Multiboot

#57678 - Grupstra - Mon Oct 17, 2005 7:27 pm

Well, it boots up and displays the files correctly, however, I still can't select any files/folders. It just resets the * to the top menu item.

::edit:: Am I unaware of how the navigation works? I could hit A befor to select a file or folder, but now, when I hit the elft directional button, it navigates to the folder, or asks me to continue, but selecting yes doesn't do anything..

::edit 2:: ok, I got dslinux to boot, however, I had to push "b" for No first, then push A for Yes, then it booted...hmmm.


Last edited by Grupstra on Mon Oct 17, 2005 7:30 pm; edited 1 time in total

#57679 - Mighty Max - Mon Oct 17, 2005 7:29 pm

grrr.

And you are now not getting any "Unrecoverabe:..." errors ?

:edit: ahh, can you check please layout.ini and tell me what you got there for Key...= values?
_________________
GBAMP Multiboot

#57681 - Grupstra - Mon Oct 17, 2005 7:34 pm

My apologies for all the edits, I should have tested a bit more before posting.

Anyways, I'm looking at the layout.ini but what values do you watn exactly?

#57683 - Mighty Max - Mon Oct 17, 2005 7:37 pm

Oh its ok, that way i have a better idea what happens.

I need to know the lines starting with "key"
_________________
GBAMP Multiboot

#57684 - Grupstra - Mon Oct 17, 2005 7:38 pm

I'm not seeing any lines that begin with "key" in the layout.ini file I have.

Maybe I have an outdated one?

#57685 - Mighty Max - Mon Oct 17, 2005 7:41 pm

Yes, this will be most likely the problem. I just checked the archive. in that one the keys are set correct.
Code:

keyRun=1
keyUpdir=2
keyContinue=1
keyAbort=2


If those params are missing, most likely the following are missing too.

Code:

ContinueTop=64
ContinueLeft=58
Continue_R=0
Continue_G=0
Continue_B=0



PS: 1 = [A], 2 = [B], 3 = [START] .... same as in the libs
_________________
GBAMP Multiboot

#57686 - Grupstra - Mon Oct 17, 2005 7:43 pm

You are correct. I don't have those values in my latest layout.ini file.

However, I am using ht most recent one available, since all the recent version of the loader you provided for download didnt include the mb_data folder, only the .nds file. So I am still using the mb_data folder files from a few builds ago when this problem first started.

this is probably a problem. ;)

#57688 - Grupstra - Mon Oct 17, 2005 7:47 pm

Alright, I added the lines in that were missing from my layout.ini file, and all seems to work now. Seems like I should keep an eye on that file from now on. ;)

#57689 - Mighty Max - Mon Oct 17, 2005 7:47 pm

ohh well, the files are there ... but i used a lot of changes in an existing rar, so maybe not every unpak is working correct with this file

I gonna rebuild the rar and put it up again.

:edit: uploaded a "clean rar build"
_________________
GBAMP Multiboot


Last edited by Mighty Max on Mon Oct 17, 2005 7:52 pm; edited 1 time in total

#57691 - Grupstra - Mon Oct 17, 2005 7:49 pm

Ah, alright.

anyways, in case you missed it above since we posted at the same time, the problem seems fixed now after editing the lines in to my .ini file.

#57692 - Mighty Max - Mon Oct 17, 2005 7:53 pm

Could you check if the rar now contains a mb_data folder for you again?

What tool where you using to unpak the rar?
_________________
GBAMP Multiboot

#57693 - Grupstra - Mon Oct 17, 2005 7:58 pm

yes, the mb_data is now there.

I use winRAR on this computer. However, the .nds file wasnt in there. ;)

also, it seems to be missing the ext folder, and other files along with it.

#57694 - Mighty Max - Mon Oct 17, 2005 8:02 pm

What the heck. the archive is created by WinRAR 3.42

Guess nothing is reliable these days. Gonna look if i can switch to some other compression tool


:edit:

To sum it up for everyone with that problem. The bug is caused by not complete archives / unpaks of the archive. Since WinRAR seems to be the root of all evil here, i switched to zip as format, so check your links.

The new link was updated on http://mightymax.org/gbamp_multiboot.html

If there is still any problem with any of you, please let me know. Best way is to get ahold of me in IRC #dsdev.
_________________
GBAMP Multiboot

#57732 - tepples - Tue Oct 18, 2005 1:13 am

Mighty Max wrote:
The new link was updated on http://mightymax.org/gbamp_multiboot.html

I downloaded it. Now I can switch folders OK, but when I start a .nds or .txt file, I get a 3 second pause and then it resets to the file chooser.

Quote:
If there is still any problem with any of you, please let me know. Best way is to get ahold of me in IRC #dsdev.

On EFnet, right?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#57741 - Grupstra - Tue Oct 18, 2005 2:26 am

Yeah, you'll find him on the efnet server in #dsdev

Hmm, odd, worked alright for me finally. Our setups must be a bit different, I assume?

Either way, this problem was solved by the latest .zip, I deleted all the previous files on my computer and unzipped it into a seperate location, deleted the old files off the CF, and loaded, and it was all functioning right.

#57754 - Mighty Max - Tue Oct 18, 2005 7:16 am

tepples wrote:
I downloaded it. Now I can switch folders OK, but when I start a .nds or .txt file, I get a 3 second pause and then it resets to the file chooser.


Make sure you got Version 2 of Chishm's modified firmware flashed on the gbamp. The first version does not allow the booting of other nds not named _boot_mp.nds.
_________________
GBAMP Multiboot

#57764 - josath - Tue Oct 18, 2005 8:33 am

Using latest flashmp v2 and latest mightmax's loader from respective websites as of today, I have the following problem:

the loader boots up fine, and shows my files. I start pressing 'Down' to move the cursor down, and after about 5 or 6 movements, a screen pops up saying "Do You Want To Continue? YES NO" which after about 2 seconds, goes to a black screen with the text "Unrecoverable error occured: Bootup without CF card" (doing that just goes into the gba mode original gbamp firmware)

One strange thing: _BOOT_MP.GBA is listed as the first file, but it has [] around it, like a dir? but the info on top screen says GBA EXECUTABLE.

Also, it seems to 'crash', when the cursor hits either the first or second nds file in the file list. (the first 4 or 5 items are dirs and text files).

Also, using moonshell as the nds loader seems to work fine most of the time. so the problem appears to be specific to your loader.

#57768 - Mighty Max - Tue Oct 18, 2005 9:37 am

This seems to be relative to the problems Grupstra had. could you check if there are any key...= parameters in your /mb_data/layout.ini?
_________________
GBAMP Multiboot

#57801 - josath - Tue Oct 18, 2005 5:24 pm

It has these:

keyRun=1
keyUpdir=2
keyContinue=1
keyAbort=2

#57863 - KidBomba - Tue Oct 18, 2005 10:57 pm

multiboot doesnt seem to run gba files on my nds. Or maybe its not supposed to?

#57884 - tepples - Wed Oct 19, 2005 2:31 am

Mighty Max wrote:
Make sure you got Version 2 of Chishm's modified firmware flashed on the gbamp.

Works now. You might want to make such a notice more prominent in the readme file.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#57928 - Mighty Max - Wed Oct 19, 2005 10:40 am

T thing i gonna make a notic in the multiboot itself, when it loads up with another version of the firmware.
_________________
GBAMP Multiboot

#57973 - Lynx - Wed Oct 19, 2005 6:57 pm

Whoohoo.. it works again! Thanks.. Now I just need to redo my themes with this version, and I'll add them to ndshb.com.

#57975 - Mighty Max - Wed Oct 19, 2005 7:02 pm

Good thing :))

Btw, for anyone who wants to do mods, i have added information on the different parameters to http://mightymax.org/layout.html

Earlier this day i uploaded a version that fixed some other problems (hopefully the last one josath got) and introduced sorted filelists.
_________________
GBAMP Multiboot

#57984 - Lynx - Wed Oct 19, 2005 8:07 pm

Hmm.. I found some wierdness.. hopefully you can tell me why I would see this:

Ok, if I have the layout set like this:

...
DescriptionTop=54
DescriptionLeft=72
DescriptionRight=236
DescriptionBottom=74
Description_R=0
Description_G=0
Description_B=0
IconTop=52
IconLeft=30
keyRun=1
....

Everything displays fine, but I want to move the icon to the left a pixel.

Now, if I change IconLeft=29, the icon no longer displays. But, if I set it to 28, it does. Does that mean we can only use even numbers?

#57985 - Mighty Max - Wed Oct 19, 2005 8:12 pm

It shouldn't matter, but i'll check if i eventually got an alignement issue there.
_________________
GBAMP Multiboot

#57992 - Lynx - Wed Oct 19, 2005 9:17 pm

You can get my themes here:

http://www.ndshb.com/cgi-bin/cfiles/cfiles.cgi?0,0,0,0,8

If anyone else has some, let me know and I will add them.

Thanks MightyMax!

#58000 - LunarCrisis - Wed Oct 19, 2005 9:42 pm

MightyMax hasn't noted this on the page, but the image viewer included with the loader now does JPEG images =p.

Also, according to this page, line spacing (in the file list) is controlled by layout.ini. Isn't it of more use to have this change automatic based on the height of the font in font.ini? You could perhaps also keep an attribute in layout.ini to give additional spacing beyond what is provided in font.ini.

EDIT: Files starting with numbers (and likely other chars that come before '[') are sorted on top of directories, which I'm guessing wasn't intentional

EDIT 2: typo - png -> jpeg >_<
_________________
If a tree falls in the forest and no one is there to hear it, why the heck do you care?

#58184 - Mighty Max - Fri Oct 21, 2005 3:21 pm

The DL at http://mightymax.org/gbamp_multiboot.html is updated.

* fixed the x-position alignment problem for the image
* fixed a problem modifying description position too low
* removed the Y-key debug screen :p wasnt meant to show up

Ahh and yes, LunarCrisis PNG viewer views JPEG too.
_________________
GBAMP Multiboot

#58222 - Habeeb1000 - Fri Oct 21, 2005 7:37 pm

Sorted file list = I love Mighty Max

I was beginning to believe no one would ever do that.

#58223 - Mr. Picklesworth - Fri Oct 21, 2005 7:49 pm

So... what is this secret new feature that you mention?
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896

#58227 - tepples - Fri Oct 21, 2005 8:24 pm

Feature request
Conspicuous by its absence is a .bmp viewer. I was rawther surprised that the .bmp files that I had loaded on the cart for viewing in GBA mode didn't work in DS mode, even though a PNG plug-in was present. Even PogoShell has a viewer for 4-bit, 8-bit, and 24-bit .bmp files. If you need .bmp, .pcx, or .tga parsers, you could rip them out of the Allegro library.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#58230 - falcon!!! - Fri Oct 21, 2005 8:28 pm

Mr. Picklesworth wrote:
So... what is this secret new feature that you mention?

yes yes !!! tell us !

#58233 - Mighty Max - Fri Oct 21, 2005 8:32 pm

Nope :p

its too early to announce it. But if you look closely to the folders and files that come with the latest Multiboot, you can take a guess :p

@Tepples, i thought i let such stuff open for some others :p i bet LunarCrisis can include these file formats to the png/jpeg viewer.
_________________
GBAMP Multiboot

#58250 - tjas - Fri Oct 21, 2005 10:27 pm

I think i know can it play mpeg filesin the new feature ????????

#58303 - falcon!!! - Sat Oct 22, 2005 1:21 pm

m1v support?
But arent they mpeg?

#58306 - Mighty Max - Sat Oct 22, 2005 1:36 pm

m1v and mpg are already supported (without sound tho)

It is something else :p
_________________
GBAMP Multiboot

#58316 - bafio - Sat Oct 22, 2005 3:33 pm

Mighty Max wrote:
m1v and mpg are already supported (without sound tho)

It is something else :p


Some kind of extension/library support? maybe executing plugins without exiting the program? I see in the files:
Code:

Relocation to function
 - Not yet implemented
Relocation to object
 - Not yet implemented
Lib-Information:/mb_data/lib/testlib.o
Returned
Testlib v0.1


I'm quite curious...

Fabio

#58473 - Mighty Max - Sun Oct 23, 2005 10:08 pm

I have decided to drop the mpeg viewer development

However you can grab the existing source code at http://mightymax.org/dsmpeg.html

Beware from the dirt and dust!
_________________
GBAMP Multiboot

#58517 - DragonMinded - Mon Oct 24, 2005 4:42 am

Upgraded to newest version, seems when fixing bugs, you are losing other features. What happened to the hide hidden files feature?
_________________
Enter the mind of the dragon.

http://dragonminded.blogspot.com

Seriously guys, how hard is it to simply TRY something yourself?

#58527 - Mighty Max - Mon Oct 24, 2005 9:20 am

That is disabled by intention.

I gonna make it with another approach. It did change too much with the file listing the way it worked. (Had hidden the files withing reading file list, i will now just add the tag into the filelist and sort them out)
_________________
GBAMP Multiboot

#58868 - Darkflame - Wed Oct 26, 2005 10:33 pm

Mighty Max wrote:
tepples wrote:
I downloaded it. Now I can switch folders OK, but when I start a .nds or .txt file, I get a 3 second pause and then it resets to the file chooser.


Make sure you got Version 2 of Chishm's modified firmware flashed on the gbamp. The first version does not allow the booting of other nds not named _boot_mp.nds.


I have the same problem. Boot from PassMe to GBAMP, multiboot seems to load fine. Browse directorys ok.

But when I hit A to select, then A again to start a program it goes back to the file chooser. I have tried many nds files, includeing the ones that come with the zip.

http://www.geocities.com/chishm1/gbamp/flashmp_mb.zip
Is the GBAMP firmware i use, which I am 99% sure is version 2 :-/
Any ideas?
I have defraged of course.

#58876 - samor - Wed Oct 26, 2005 10:53 pm

that's version 1.

#58893 - Mr. Picklesworth - Thu Oct 27, 2005 12:23 am

Little file listing problem.
The [..] (back) stuff ends up being listed after files which start with a number.


Any chance of being able to change the appearance of the TXT viewer? Perhaps have bookmarks, as well? I like having what I am reading occupy the entire screen, but it's much easier to read black on white with a nice font like Verdana or such than white on black with a font that lacks a bunch of characters. The current viewer hurts my eyes after a little while.
(Though this is probably because I'm just weird and had the urge to download 30 MB of famous literature onto my flash card... which I fully intend to read...)
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896


Last edited by Mr. Picklesworth on Thu Oct 27, 2005 11:44 pm; edited 1 time in total

#58990 - Darkflame - Thu Oct 27, 2005 9:50 pm

samor wrote:
that's version 1.


~sigh~
Well, luckly i said only 99%.

I was fooled a bit by this:
http://www.ndshb.com/modules.php?name=Content&pa=showpage&pid=26
linking me

#59348 - Mighty Max - Mon Oct 31, 2005 7:43 pm

Archive updated.

only minor changes, as im still having problems with the new feature. So this will take some while.


  • Added transparent icons. The first pixel (upper left) defines the key color, which will be shown as transparent.
  • Loading screen. While Multiboot loads up from CF card a little blue bar is moving left<->right. (If it stopps, its crashed :p )

_________________
GBAMP Multiboot

#59648 - deltro - Thu Nov 03, 2005 12:12 am

Idea for MM: Any chance you can block out the appearance of the mb_data folder? Or selected folders- identified in a config file.

#59650 - Mr. Picklesworth - Thu Nov 03, 2005 12:45 am

deltro wrote:
Idea for MM: Any chance you can block out the appearance of the mb_data folder? Or selected folders- identified in a config file.


Or perhaps have it start in a chosen folder :)
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896

#59671 - Lynx - Thu Nov 03, 2005 6:34 am

Darkflame wrote:
samor wrote:
that's version 1.


~sigh~
Well, luckly i said only 99%.

I was fooled a bit by this:
http://www.ndshb.com/modules.php?name=Content&pa=showpage&pid=26
linking me


Speaking of that, Chishm.. any chance of removing the "Beta" tag yet?

#59678 - chishm - Thu Nov 03, 2005 7:44 am

Lynx, yeah I meant to do that a few days ago. It has all the features I wanted to put in, and it has no apparent bugs (apart from nesDS and snesDS). Therefore it is officially no longer in beta. The reason I haven't done it sooner is because I was wanting to release the source at the same time but I still have to work out some licensing details.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#59701 - Lynx - Thu Nov 03, 2005 4:24 pm

SWEET! I will update all my docs with the current version and post news.

#60042 - ninogenio - Sun Nov 06, 2005 5:42 pm

hey mighty max just wondering how you updated the chishm`s code for jumping back to multiboot to work i tried it with the latest version of libnds but the defines have all changed thanks.

#60629 - Mr. Picklesworth - Sun Nov 13, 2005 2:51 am

What happened to this project?
I don't think I'll be able to sleep until I learn what this secret feature is :(
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896

#60637 - Lynx - Sun Nov 13, 2005 4:41 am

Heh.. I know.. :P

#60830 - slizekalfer - Tue Nov 15, 2005 5:18 am

ooh i think i know what it is too!

#61253 - falcon!!! - Fri Nov 18, 2005 2:00 pm

dead?? :(

#61453 - falcon!!! - Sun Nov 20, 2005 11:58 am

sigh

#61477 - MaHe - Sun Nov 20, 2005 5:37 pm

I hope it's a file manager :)

#61479 - Mighty Max - Sun Nov 20, 2005 5:49 pm

Just a lil status update:

Due to some (commercial) work ther will be most likely no update prior to 1.12.
_________________
GBAMP Multiboot

#62086 - falcon!!! - Sun Nov 27, 2005 8:53 am

yeaH!
Keep going dude! ^^

#62108 - FloFri - Sun Nov 27, 2005 2:44 pm

Is it normal, that i can't load any GBA-file with MM? When try to load one, get the following every time:
Code:
SuperCard-CF InterfaceGBA-Booter for GBAMP Multiboot

Preparing /STUCK_~1.GBA:
File open error
Error reading /STUCK~1.GBA

#62115 - MaHe - Sun Nov 27, 2005 4:10 pm

Yes. You should boot in GBA mode to run GBA homebrew (not over 256Kb!).

#62116 - FloFri - Sun Nov 27, 2005 4:16 pm

Is there a posibility to run a GBA homebrew with more than 256K?

#62122 - tepples - Sun Nov 27, 2005 5:10 pm

FloFri wrote:
Is there a posibility to run a GBA homebrew with more than 256K?

Yes, but only with an M3, or with specially designed homebrew that uses chishm's firmware hack to load parts.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#62126 - FloFri - Sun Nov 27, 2005 5:53 pm

Will there, maybe, be a firmware for the GBAMP which supports this in the future or is this impossible?

#62138 - tepples - Sun Nov 27, 2005 7:05 pm

FloFri: Please read this article and this article.

Which specific non-multiboot program do you want to run?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#62142 - FloFri - Sun Nov 27, 2005 7:43 pm

For example emulators like SnesDS or Goomba. I consider if i should buy a M3 or if I sould stay with my 1 week old GBAMP.

#62163 - tepples - Sun Nov 27, 2005 11:37 pm

Regulars at the emulators' official support boards would know better than many of us.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#62321 - Mr. Picklesworth - Tue Nov 29, 2005 5:02 pm

The latest version of the TXTViewer attached to this caused seemingly random files throughout my CF card to be filled with corrupted data.
I believe that this was caused by something wrong with its save function. (Assuming it autosaves on exit... which I think it does)

Erm... assuming that this one has a keyboard... if not, I must have gone crazy.



Edit: Upon reinstalling GBAMP Multiboot, the problem app does not appear to be a part of your package. It must have sneaked aboard through something else...
A warning, though: If you end up with a TXT Viewer with a keyboard, you may want to be careful... don't edit big files like I did, and don't open it directly. Presumably, it works as it should with small stuff.
_________________
Thanks!
MKDS Friend Code: 511165-679586
MP:H Friend Code: 2105 2377 6896

#64127 - Lynx - Mon Dec 19, 2005 6:58 pm

Just bumping the thread cause I thought of a feature that would be nice.. don't know your time now (it's been a while)..

I'd be nice to press left/right to go a page at a time.

#64265 - Kraton. - Tue Dec 20, 2005 7:19 pm

What is Chishm Frimware v2? Where i can download it? :D

#64287 - chishm - Wed Dec 21, 2005 12:27 am

It is my firmware hack for the GBAMP that lets it run NDS homebrew games. You can get it from my website at http://chishm.drunkencoders.com
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com


Last edited by chishm on Mon Mar 20, 2006 3:21 am; edited 2 times in total

#64337 - Kraton. - Wed Dec 21, 2005 11:52 am

chishm wrote:
It is my firmware hack for the GBAMP that lets it run NDS homebrew games. You can get it from my website at www.geocities.com/chishm1/gbamp


Can the GBAMP play then NDS/GBA emulators and if i use snesDS_Soundless emulator can i play all snes roms? ( Im sry about roms )

#64348 - Kraton. - Wed Dec 21, 2005 3:47 pm

Sry Doublepost.

What is PassMe? This?

What i need to multiboot GBAMP?

NDS + PassMe and Passkey
GBAMP witch Chism Frimware
Compact Flash memory card

Anything else??

#64361 - MaHe - Wed Dec 21, 2005 6:42 pm

You'll need a PassME ( dspassme.com ) and chishm's latest FW update.
That should set things for now. About SnesDS: The newest version does work with sound, although the backuped games are almost non-playable at the moment. And stop asking about ROMs. You've got a special site for that:

PIRACY-DOT-COM

#64753 - falcon!!! - Mon Dec 26, 2005 12:04 pm

hey mighty max where have u gone?

#66176 - falcon!!! - Sun Jan 08, 2006 8:29 pm

O.o
Is it all ok?

#67541 - falcon!!! - Wed Jan 18, 2006 10:15 pm

was I the only one interested in the Secret Feature?!?

#67544 - JaJa - Wed Jan 18, 2006 10:24 pm

Don't talk about the super hidden secret feature.
As it's against the rules.
It is related to that thread that was removed.

#67551 - chishm - Wed Jan 18, 2006 11:49 pm

MightyMax's secret feature is different to my super hidden secret feature.
_________________
http://chishm.drunkencoders.com
http://dldi.drunkencoders.com

#67630 - JaJa - Thu Jan 19, 2006 4:52 pm

Gah!
Sorry. I thought this was the GBAMP firmware thread.
That'll teach me to read more of the thread (but all i could see was Falcon!!!'s posts).
I think mighty max stopped working on the GBAMP multiboot loader.
It hasn't been updated since the end of October.

#67767 - Lynx - Fri Jan 20, 2006 4:41 am

Yup, seems MightyMax has vanished.. I think I remember hearing some RL stuff he needed to take care of.. and I don't remember if he returned from it.

#68104 - falcon!!! - Sun Jan 22, 2006 2:22 pm

Quote:
MightyMax's secret feature is different to my super hidden secret feature.

Don't talk about the super hidden secret feature.
As it's against the rules.
It is related to that thread that was removed.


what were you talkin' about?

#68156 - zubiac - Sun Jan 22, 2006 9:54 pm

falcon!!! wrote:
Quote:
MightyMax's secret feature is different to my super hidden secret feature.

Don't talk about the super hidden secret feature.
As it's against the rules.
It is related to that thread that was removed.


what were you talkin' about?


dude..... <_<

anyway....search in another forum(one about "pockets")to find the answer
_________________
Abusing Cube and DS with all sorts of homebrew and hacks.