that's a good sign,
when a storage card is not recognised dsinit.b will complain
with: "dossrv: mount /n/local: unknown format", that can be checkeck by
running the idds.nds file without patching it with the r4 dldi.
Instead when a storage card is recognised dsinit.b:/^init will look
for a valid filesystem layout, in particular is looking for the shell
/dis/sh.dis, if it's not able to find it then it'll complain with:
"local file system unusable"
Now you just have to give dsinit.b what it's looking for,
which is populating the root of the sd card with the Inferno distribution.
Quick instructions:
cd inferno-os/
cp -r dis/ fonts/ icons/ lib/ man/ tmp/ usr/
and try again, if something else is missing just cp it.
--
salva
i've noticed that some of the games where running slow:
like wm/mand, wm/snake and wm/bounce, i've added some fixes
that improve the performance of screen graphics and r4ds reads.
There's still an open issue as to update the fb at the correct time,
it should be done in vblank period but still i haven't got it rigth,
so the fix is to disable it because this slows down things:
/* sync with vblank period: 192 < vcount < 261 */
- if (LCDREG->vcount - 192 > 1){
+ if (0 && LCDREG->vcount - 192 > 1){
while(LCDREG->vcount>192);
while(LCDREG->vcount<192);
}
--
salva
> i've noticed that some of the games where running slow:
> like wm/mand, wm/snake and wm/bounce, i've added some fixes
> that improve the performance of screen graphics and r4ds reads.
>
> There's still an open issue as to update the fb at the correct time,
> it should be done in vblank period but still i haven't got it rigth,
> so the fix is to disable it because this slows down things:
>
> /* sync with vblank period: 192 < vcount < 261 */
> - if (LCDREG->vcount - 192 > 1){
> + if (0 && LCDREG->vcount - 192 > 1){
> while(LCDREG->vcount>192);
> while(LCDREG->vcount<192);
> }
> --
> salva
>
i've pushed the r4 and screen fixes to the repo [r175]
together with it's corresponding download [isds-r175].
[r175] http://code.google.com/p/inferno-ds/source/detail?r=175
[isds-r175] http://inferno-ds.googlecode.com/files/isds-r175.nds
--
salva