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 development > NDSUnix

#167151 - hacker013 - Tue Mar 03, 2009 8:12 pm

hey everybody,

I've tryed to port GBAUnix to the nds as other *nix like os like DSLinux but I can't get it compile proparly, problems with the assembler files and a math function. And other bugs but I can't find them because I can't compile them.

GBAUnix: http://www.kernelthread.com/publications/gbaunix/

Source Download (GBAVersion and NDSVersion)

Please guys can you help me fix it and to get it to run or at least point me in the good direction. :) Thx.

gr,

hacker013
_________________
Website / Blog

Let the nds be with you.

#167199 - sonny_jim - Thu Mar 05, 2009 12:53 pm

Why not just develop for DSLinux?
_________________
Quote:

Would that be the internet driver for the program?

#167201 - hacker013 - Thu Mar 05, 2009 4:34 pm

because I don't like it. And that is to buggy.
_________________
Website / Blog

Let the nds be with you.

#167202 - kusma - Thu Mar 05, 2009 4:44 pm

hacker013 wrote:
because I don't like it. And that is to buggy.

Do you really think porting a new (and very limited) Unix flavour will fix that? How about bug-fixing DSlinux instead?

#167203 - elhobbs - Thu Mar 05, 2009 5:21 pm

hacker013 wrote:
because I don't like it. And that is to buggy.
which slot2 ram pack are you using?

#167204 - hacker013 - Thu Mar 05, 2009 5:46 pm

non, to lazy to buy it. Even the OS made by Mighty Max supported virtual memory on a slot 1 device :)
_________________
Website / Blog

Let the nds be with you.

#167206 - sonny_jim - Thu Mar 05, 2009 5:47 pm

hacker013 wrote:
problems with the assembler files and a math function. And other bugs but I can't find them because I can't compile them.

You'll have to provide a little more detail, most people do not possess telepathy. Errors produced and the method you used to compile is normally a good start.

EDIT:
Quote:

to lazy to buy it.

That's a shame, because $30 could of got you a working DSLinux along with QuakeDS, Moonshell etc etc.
Quote:

Even the OS made by Mighty Max supported virtual memory on a slot 1 device :)

Care to elaborate? AFAIK there's no usable RAM in any slot-1 device.
_________________
Quote:

Would that be the internet driver for the program?

#167207 - hacker013 - Thu Mar 05, 2009 6:15 pm

sonny_jim wrote:
hacker013 wrote:
problems with the assembler files and a math function. And other bugs but I can't find them because I can't compile them.

You'll have to provide a little more detail, most people do not possess telepathy. Errors produced and the method you used to compile is normally a good start.

Download it and compile :)

Quote:

EDIT:
Quote:

to lazy to buy it.


QuakeDS runs without memory expansion :) and Moonshell also -_-
Quote:

That's a shame, because $30 could of got you a working DSLinux along with QuakeDS, Moonshell etc etc.
Quote:

Even the OS made by Mighty Max supported virtual memory on a slot 1 device :)

Care to elaborate? AFAIK there's no usable RAM in any slot-1 device.

Is was using a swap file (16 MB) :) With a paging system. I don't know if the source still online. I think I should reupload it (Mighty Maxs OS).
_________________
Website / Blog

Let the nds be with you.

#167208 - kusma - Thu Mar 05, 2009 6:16 pm

sonny_jim wrote:

Quote:

Even the OS made by Mighty Max supported virtual memory on a slot 1 device :)

Care to elaborate? AFAIK there's no usable RAM in any slot-1 device.

MightyMax wrote a proof-of-concept kernel that did virtual memory (paging to disk) by using the MPU + memory mirroring. It was a very cool little hack, but has little or do with EXRAM the way I see it.

#167209 - hacker013 - Thu Mar 05, 2009 7:11 pm

It loaded the kernel in to exram and excuted that so user programs could use the total arm9 :) only the dynamic loading is broken because the program provided with it to compile a user program doesn't work.

I'm now trying to get the kernel from MightyMax OS to work with NDSUnix because the kernel wich was written voor gba was to difficult to port.
_________________
Website / Blog

Let the nds be with you.

#167216 - elhobbs - Thu Mar 05, 2009 9:00 pm

unless the loader and the code are built to run in exram then it definitely will not work. exram does not support 8bit writes - tons of threads on the 8bit write subject.

#167233 - hacker013 - Fri Mar 06, 2009 5:08 pm

I'm trying to get the kernel of mighty max to work put it always fails when it tryes to init the virtual memory. I don't know why :(

EDIT:

fixed, removed wram cleaning code.
_________________
Website / Blog

Let the nds be with you.

#167238 - Ludo6431 - Fri Mar 06, 2009 7:48 pm

hacker013 wrote:
because I don't like it. And that is to buggy.

too buggy O_o
I'm not agree at all with you !

dslinux is not buggy you just haven't the good hardware.

this is a great app running very good !
_________________
Sorry for my poor english, I'm french.

#167240 - hacker013 - Fri Mar 06, 2009 8:38 pm

yes everything isn't buggy is it have the right hardware but it must work good on the hardware where it is written for.

I have the Mighty Max os kernel working on the nds. Now to port it under the GBAUnix system.
_________________
Website / Blog

Let the nds be with you.

#167278 - sonny_jim - Sat Mar 07, 2009 6:15 pm

DSLinux isn't that 'buggy' anymore, it just needs a supported RAM expansion.

Have you considered helping out with the InfernoDS port as DSLinux isn't your cup of tea?
http://code.google.com/p/inferno-ds/
_________________
Quote:

Would that be the internet driver for the program?

#167301 - hacker013 - Sun Mar 08, 2009 3:49 pm

I thought more on making my on os. And if I launch inferno I got only the message that it is running a remote kernel oO.
_________________
Website / Blog

Let the nds be with you.