Tiny Core Linux

General TC => Remasters / Remixes - Unofficial => Topic started by: danielibarnes on June 13, 2011, 02:02:44 PM

Title: Micro Core on Javascript PC Emulator
Post by: danielibarnes on June 13, 2011, 02:02:44 PM
Description:
Micro Core ported to the Javascript PC Emulator (http://bellard.org/jslinux/) by Fabrice Bellard.

Link:
http://daniel.koolserve.com/jslinux/

Sources:
http://daniel.koolserve.com/src/

This is primarily a proof-of-concept. Includes the screen extension and dependencies. It also compiles a small C program on bootup in /home/tc.
Title: Re: Micro Core on Javascript PC Emulator
Post by: Lee on June 13, 2011, 02:53:07 PM
That's "kool", but holy mackerel Is it ever slow! (on a six year old Dell Dimension w/dual core CPU and 512MB)

I just logged in as tc w/no password.  What will it do next?  And when?  ;D

Never mind - there's the prompt...

... Ok, that was neat.  Not terribly useful, but neat.  Running it with some pretty conky graphs along side illuminates the nature of the slowness - it maxes out the CPU -and- gets into using swap.  It does let the CPU go idle upon shutdown of the vm, but doesn't seem to free up the memory - that's probably Firefox holding on to the memory though.



Title: Re: Micro Core on Javascript PC Emulator
Post by: Rich on June 13, 2011, 03:01:54 PM
That http://daniel.koolserve.com/jslinux/ link brought my machine to it's knees. Opera memory usage
shot up to 85% and it's CPU usage went to 92%. Took a few minutes to get the tab closed and regain
control of my computer.
Title: Re: Micro Core on Javascript PC Emulator
Post by: gutmensch on June 14, 2011, 02:26:30 AM
@daniel: nice work! when I read about jslinux a few weeks ago I already wondered, when someone will try to bring tc to it :D

@rich: better use a browser with good js performance... until opera 11 I think it was not even close to ff4/chrome ;)
Title: Re: Micro Core on Javascript PC Emulator
Post by: danielibarnes on June 14, 2011, 07:17:08 AM
If anyone has any ideas, please post! That is one of the primary reasons for my releasing this.

Firefox 4 seems to have best performance. It runs reasonably fast for me, but I have a dual E5520 @ 2.26GHz w/4GB. I have another version of the page where I added a second serial port and use it to send data to/from the Javascript. That was cool.

There are a few things missing:

Not terribly useful yet, but I am working on it. I added screen to give it a little more usefulness.
Title: Re: Micro Core on Javascript PC Emulator
Post by: Lee on June 14, 2011, 09:39:42 AM
FYI: My experience, mentioned above, was with Minefield 3.0.4.