Page 2 of 2

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 1:06 am
by QuentinRain
requimrar wrote:I see your $0x2710 and raise you $0x10000.
You're silly. x isn't a number...

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 1:07 am
by zhiayang
QuentinRain wrote: I have a system for it to run off of. My computer is a 3.0GHz i7. I think that's a plenty powerful system. I can just compile Spidermonkey and dd it to a floppy. That should do the trick. I would use C, but it's hard.

Thanks for all the advice so far, guys!
If you think C is hard, I suggest you get off your high horse of JS and start being a little more 脚踏实地, and less 不自量力.


Here's a list of TODOs:

1. Lock this thread.

QuentinRain wrote: You're silly. x isn't a number...
http://en.wikipedia.org/wiki/Hexadecimal

Again, get off your high horse. If you don't even know hex, you are not fit to do OSDev.

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 1:07 am
by QuentinRain
BMW wrote:If you REALLY wanted to do this, the easiest way (IMO) would be to make a really basic kernel in C

What I meant by system was a kernel. E.g. in Firefox, it runs off Windows or Linux or whatever. If you compile SpiderMonkey and dd it to a floppy, it would in no way work. You would be compiling it with all the Windows/Linux system calls etc in it, which would not work without the OS.

I suggest you research low-level programming and architecture.
Ohhhhh, duh! That's ok, I'll throw Firefox and Linux on the floppy too. Problem solved!

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 1:09 am
by zhiayang
QuentinRain wrote:
BMW wrote:If you REALLY wanted to do this, the easiest way (IMO) would be to make a really basic kernel in C

What I meant by system was a kernel. E.g. in Firefox, it runs off Windows or Linux or whatever. If you compile SpiderMonkey and dd it to a floppy, it would in no way work. You would be compiling it with all the Windows/Linux system calls etc in it, which would not work without the OS.

I suggest you research low-level programming and architecture.
Ohhhhh, duh! That's ok, I'll throw Firefox and Linux on the floppy too. Problem solved!

Congratulations, you have achieved nothing -- It's just another JS app at that stage.
QuentinRain wrote: I don't even own a horse...
http://en.wiktionary.org/wiki/high_horse

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 1:10 am
by BMW
QuentinRain wrote:
BMW wrote:If you REALLY wanted to do this, the easiest way (IMO) would be to make a really basic kernel in C

What I meant by system was a kernel. E.g. in Firefox, it runs off Windows or Linux or whatever. If you compile SpiderMonkey and dd it to a floppy, it would in no way work. You would be compiling it with all the Windows/Linux system calls etc in it, which would not work without the OS.

I suggest you research low-level programming and architecture.
Ohhhhh, duh! That's ok, I'll throw Firefox and Linux on the floppy too. Problem solved!
Ok, you do that.

BTW you are not funny.

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 1:58 am
by iansjack
I was thinking I could use this:
https://developer.mozilla.org/en-US/docs/SpiderMonkey

I'm sure it wouldn't be that hard to make it bootable...
SpiderMonkey is a scripting engine to be embedded in an application. An application needs an operating system to run on; that means it needs a kernel. I think we have a chicken and egg situation.

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 2:01 am
by zhiayang
iansjack wrote:
I was thinking I could use this:
https://developer.mozilla.org/en-US/docs/SpiderMonkey

I'm sure it wouldn't be that hard to make it bootable...
SpiderMonkey is a scripting engine to be embedded in an application. An application needs an operating system to run on; that means it needs a kernel. I think we have a chicken and egg situation.
Conversely, I think we have a troll. Don't feed him.

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 2:12 am
by iansjack
Conversely, I think we have a troll. Don't feed him.
You're entitled to think what you like, as am I.

One of us has posted 7 times in this thread, the other (now) 3 times. Have you heard the expression about the pot calling the kettle black?

With the greatest respect, I prefer to make my own decisions about which threads I choose to post in.

Re: Javascript Kernel

Posted: Sat Jun 15, 2013 5:45 am
by thepowersgang
Ok, I'm going to throw in a little sense here before the thread is locked.

@QuentinRain - You appear to be making every single beginner mistake in the book, this is why people are calling you a troll (a title that I also think fits). If you are serious about OSDev, I suggest not going for something as untested as an entire kernel in Javascript.

@BMW: Stop rising to the bait, it makes you look stupid.


In short - Learn to search the web and wiki, and I suspect that if any more posts happen in this thread it'll get locked pretty quickly.