Nano-X update

Bret’s modified Nano-X is now in CVS, and will be in the next nightly build.
It is enabled in the DSGBA, DSMEM and SUPERCARDCF builds.

nxclock

Bret’s usage instructions:

To get it to come up with some aps, try the following:

fbset -depth 16 -n
ifconfig lo up
nano-X & nanowm & nxclock &

Without keyboard and pointer interfaces there isn’t anything you can do.

Next on the TODO list - mouse drivers.

List of nano-X apps currently enabled:
landmine
launcher
move
nanowm
npanel
nterm
ntetris
nxclock
nxev
nxkbd
nxterm
nxview
slider
vnc
world

25 Responses to “Nano-X update”

  1. Ahir Reddy Says:

    Will it ever be enabled in the M3CF build?

  2. Mr. Picklesworth Says:

    This is happening quickly!

    I guess the other carts still don’t give enough available memory to make it worth trying?

  3. pepsiman Says:

    We don’t know yet.

  4. Scor Says:

    Lol, I love your comment Pepsi :) .
    Great job in getting it into the CVS so fast after the userspace :) .

  5. Scor Says:

    Btw, VNC? as in, VNC viewer??? That would be great!
    Controlling a system via my DS but then the good way (not win2DS or something)!

  6. Dan Says:

    I dont suppose there’s any way we could get a build without waiting for it to be uh, nightly? :)

  7. Nismo Says:

    whoa….nice…it’s true things are happening quickly. I guess it’s because userspace was missing to do all this huh? Nice job..but…sigh i have a GBAMP2 CF…

  8. pepsiman Says:

    Dan: Of course, just build it yourself.

  9. Scor Says:

    jeej! My EFA linker1 (256Mbit) just arrived (well I found it outside my door (damn post service, should have left a note)). So I can no wun the .ds.gba! Happy Happy, Joy Joy!

  10. david Says:

    Hi,
    Great WORKS Pepsiman!
    I dont know why, but when there will be SuperCard SD supported? I send you SuperCard IO files and they are long time on the internet, it is really so hard to support it, when you have code and examples? :)
    Thanks, and i wish good luck!!!
    D.

  11. swimgod Says:

    Bret,
    GREAT WORK :D ,
    once you get mouse driver it will be perfect(almost ;) )

    (funny how many people think its pepsiman who is doing nano-x,
    maybe people should read the whole post before commenting :P )

    but great work overall pepsiman :D !

  12. D-loader Says:

    @david:

    This is an operatingsystem, not ndslib :P

  13. Pascal Says:

    When will it have gbampsupport ?

  14. MaHe Says:

    Do you think it’d work on GBAmp ext2 build?

  15. pepsiman Says:

    no

  16. swimgod Says:

    i followed the instructions,
    and it just don’t wanna work on my supercard CF,
    dslinux runs fine,
    when i enter this
    fbset -depth 16 -n
    it responds with the settings it changed too.

    ifconfig lo up
    it gives nothing and gives me # again on the next line

    nano-X
    it shows a blinking cursor “_” on the bottom left side..
    when i click “esc” it says this in shell,
    create font: (height == 0) fpimd builtin font system (0)
    create font: (height == 0) fpimd builtin font system (0)
    munmap of non-mmaped memory by process 34 (nano-X) 06000000
    #

    i tried some other apps listed and it says,
    nxclient: retry connect attempt 1
    nxclient: retry connect attempt 2……..
    ….
    nxclient: retry connect attempt 10
    cannot open graphics ?

    What am i doing wrong?…

  17. swimgod Says:

    nevermind,
    i figured it out :P ,
    you have to include the &’s :P

  18. mm3guy Says:

    Wow! an x window system! finally :D

    Now to fix up the bugs it has, and badda bing :)
    I’m glad to say it’s already turning out better than I excpected :D

  19. Parasietje Says:

    Waw! Congratulations to all developers! This is really a Milestone ™.

    Now just a simple mouse driver and we can begin coding wm’s, calendar apps, etc. The possibilities are endless :D

  20. Bret Says:

    I commited some code a few nights ago that is the start of a mouse driver. You will now get a K and M button in the upper right corner of the lower screen. I just need to get the mouse buttons straightend out and it will work. I was thinkig of using D pad for mouse buttons, Up and Down for left and right mouse keys. Maybe X and B keys too for left handed users. Any suggestions?

  21. Parasite Says:

    For now, using the D-pad is probably not a bad thing to do. But IMHO the mousedriver should register a touch of -100 ms as a click, and a touch of +100ms as a mouse move. Doubleclicking and dragging can be implemented in the same way as a touchpad.

    Does the touchpad of the DS just support 1/0, or can it sense pressure?

  22. pepsiman Says:

    Bret: Why are you complicating things? The input layer handles converting short touches into clicks automatically.

  23. Headbonk Says:

    Have you guys looked at kdrive/tiny x at all as an x server? It is the xserver used by GPE (linux for ipaq & other pocket pc http://gpe.linuxtogo.org/projects/) If you hada working tiny X it would ease porting of all the cool PDA/PIM applications that are part of GPE.

  24. pepsiman Says:

    When you’ve ported it to DSLinux, send a patch to the mailing list.
    Instructions are on the wiki.

  25. evol Says:

    would fbui be a relevant alternative for dslinux ? http://home.comcast.net/~fbui/