Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

JS Linux

Name: Anonymous 2011-05-17 6:59

http://bellard.org/jslinux/

Fabrice Bellard is among the single greatest living programmers.

Name: Anonymous 2011-05-17 7:07

Second thread in three hours, but it deserves them.

Name: Anonymous 2011-05-17 7:26

omg i went to that site and it gave me a virus!!

Name: Anonymous 2011-05-17 7:28

for a good time, try "dd if=/dev/zero of=/dev/mem"

Name: Anonymous 2011-05-17 7:30

Seeing as the other one's derailed, I'm just going to say it here that I really want to reformat the source and have a look.

Name: Anonymous 2011-05-17 7:32

Oops: 0002 [#55]                                                               
invalid opcode: 0000 [#56]                                                     
Recursive die() failure, output suppressed                                     
 <1>Fixing recursive fault but reboot is needed!                               
BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000

Name: Anonymous 2011-05-17 7:41

>>5
Aww, it's obfuscated. When's he giving out the source?

Name: Anonymous 2011-05-17 7:46

>>7
It's not "obfuscated" per se, it's just most whitespace has been removed to save on download size. I bet indent would format it well enough.

Name: Anonymous 2011-05-17 7:46

>>7
I looked at the source and it was quite tiny.
All that the code does at the end is load up
linuxstart.bin - boot sector
root.bin - the filesystem
vmlinux26.bin - the linux kernel
at different addresses in memory (look at the source to see what they are).
You just need 3 files, the html file (index), the terminal js, the x86 emulator js. In the x86 emulator js you can change the memory mapping of the files if you want to change anything, or you could just change the filesystem, boot sector or kernel directly if you need to.

Name: Anonymous 2011-05-17 8:56

Name: Anonymous 2011-05-17 10:25

Fabrice Bellard. That sounds familiar. Oh, he's the genius that did QEmu. He really is among the single greatest living programmers, just underneath MDickie, of course.

Name: Anonymous 2011-05-17 10:27

Name: Anonymous 2011-05-17 12:27

needs more cowsay.

http://pastebin.com/RRnvbMRN

Name: Anonymous 2011-05-17 17:24

Stupidest thing I've ever seen.

Name: Anonymous 2011-05-17 17:34

Not quite as awesome as this.
http://visual6502.org/JSSim/expert.html

Name: Anonymous 2011-05-17 17:43

meh, it's pretty unstable


BUG: unable to handle kernel paging request at virtual address c12df084        
 printing eip:                                                                 
c01109a2                                                                       
*pde = 00004067                                                                
*pte = 05a05f0a                                                                
Oops: 0002 [#1]                                                                
invalid opcode: 0000 [#2]                                                      
Recursive die() failure, output suppressed                                     
 <1>Fixing recursive fault but reboot is needed!


;-)

Name: Anonymous 2011-05-17 18:38

>>14
fuck off, neurotypical faggot

Name: Anonymous 2011-05-17 18:38

>>13

void cowsay(int argc, char* argv[])

return 0;

What?

Name: Shino 2011-05-17 19:19

time to fork that shit

Name: a 2011-05-17 19:53

Name: Anonymous 2011-05-17 20:10

That shit has no " " ". It's impossible to code in it, even if it's just for fun.

Name: Anonymous 2011-05-17 23:57

WHAT?  NO FUCKING NETWORK?  FUCK THIS SHIT.

Name: Anonymous 2011-05-18 1:53

>>22
There is even a lo Interface. Go ahead a implement a modem emulator in JavaScript.

Name: Anonymous 2011-05-18 8:12

>>23
lol, javascript has a bunch of restrictions on what network resources it can access, faggot

Name: Anonymous 2011-05-18 8:28

>>24
Shit, you're that stupid.

Name: Anonymous 2011-05-18 14:47

comparing vi and emacs in this once again proves that emacs is slower than ruby

Name: Anonymous 2011-05-18 15:08

>>25
i was trolling, dipshit. you can directly plug together tun/tap interfaces for the guest and the host through HTTP

Name: Anonymous 2011-05-18 16:18

You still can't use quotes (").

Good luck coding.

Don't change these.
Name: Email:
Entire Thread Thread List