Emuforums.com

Go Back   Emuforums.com > General Discussion > Open Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
LinkBack Thread Tools Display Modes
Old March 9th, 2009   #1 (permalink)
Registered User
 
Frog186's Avatar
 
Join Date: Sep 2003
Posts: 119
javascript

Hi All I just wanted to ask you all is it possible to make a javascript emulator or javascript emulators in general and in private and is it hard to do in general and in private? thanks for listening and your time and patience!
Frog186 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old March 9th, 2009   #2 (permalink)
Dax
ライチュウ|タオ
 
Dax's Avatar
 
Join Date: Nov 2006
Location: USA
Posts: 3,551
Why not just run the javascript in a web browser? Or am I missing something here?
Dax is offline   Reply With Quote
Old March 9th, 2009   #3 (permalink)
Registered User
 
Frog186's Avatar
 
Join Date: Sep 2003
Posts: 119
Hi Dax it's Frog I just wanted to tell you is it possible or not at all?
Frog186 is offline   Reply With Quote
Old March 9th, 2009   #4 (permalink)
☭Paragon of Omnipotence☭
 
Cold_KillerAJ's Avatar
 
Join Date: Oct 2008
Location: Here
Posts: 226
not possible. Why would anyone impliment javascript in an emulator?
Cold_KillerAJ is offline   Reply With Quote
Old March 9th, 2009   #5 (permalink)
ヒットハード&高速 EvilPhotoshoper
 
Strike105X's Avatar
 
Join Date: Dec 2005
Location: Of the Evil Photoshoper... Hunting NTSC, here, there, wherever PAL is...
Posts: 6,307
Quote:
Originally Posted by Cold_KillerAJ View Post
not possible. Why would anyone impliment javascript in an emulator?
Maybe he means something like jpcsp...

Edit:sry i was wrong jpcsp made in java not javascript
__________________
PC: AMD Athlon II X2 240 (3,5 Ghz), 4 GB Muskin DDR2, Gigabyte MA770-UD3, Gigabyte HD4670 512 DRR3 820/1125, Seagate ST3500320AS.
OS: Windows 7 Ultimate X64

Last edited by Strike105X; March 9th, 2009 at 09:46..
Strike105X is offline   Reply With Quote
Old March 9th, 2009   #6 (permalink)
And the science gets done
 
Hard core Rikki's Avatar
 
Join Date: May 2004
Location: Perpetual Pompei
Posts: 8,515
Yes, making emulators in javascript is possible.

A bit counter-intuitive though, as javascript cant execute native machine code or translate it (Java on the other hand could), thus why the platforms emulated are generally primitive old ones.



Heres an MSX emulator written in javascript (jMSX):
http://jsmsxdemo.googlepages.com/jsmsx.html

Amiga in javascript
http://www.chiptune.com/

ZX spectrum in javascript (JSSpeccy):
http://matt.west.co.tt/spectrum/jsspeccy/
__________________

deviantART | Blog | VBA-M | @ES | Shendo | FMVTool2 | GeneralEmu | XTemu

NGemu toolbar
http://ngemu.ourtoolbar.com

This forum signature is licensed under the GPL. By embedding the signature, or parts of it, into your brain, your daily routine becomes a combined, and therefore derived, work and must be released under the GPL.

Last edited by Hard core Rikki; March 9th, 2009 at 09:28..
Hard core Rikki is offline   Reply With Quote
Old March 9th, 2009   #7 (permalink)
What would George do?
 
BigIg's Avatar
 
Join Date: Aug 2006
Location: "It's called the American Dream, because you'd have to be asleep to believe it" - George Carlin.
Posts: 3,381
Quote:
Originally Posted by Hard core Rikki View Post
Yes, making emulators in javascript is possible.

A bit counter-intuitive though, as javascript cant execute native machine code or translate it (Java on the other hand could), thus why the platforms emulated are generally primitive old ones.



Heres an MSX emulator written in javascript (jMSX):
jsMSX - The first MSX emulator 100% written in Javascript

Amiga in javascript
www.chiptune.com

ZX spectrum in javascript (JSSpeccy):
matt.west.co.tt » Blog Archive » JSSpeccy: A ZX Spectrum emulator in Javascript
Very interesting actually, not something I would have really thought of as being possible. You learn something new everyday, I suppose.
__________________
Intel Core 2 Duo E6300 @ 3.0GHz | 4GB DDR2-800 RAM | ATi Radeon HD2600XT 256MB | 640GB+160+80+80 Western Digital HDDs | Onboard Realtek Audio | Mac OSX Snow Leopard / Windows 7 Ultimate / Windows XP Pro SP3
BigIg is offline   Reply With Quote
Old March 13th, 2009   #8 (permalink)
Registered User
 
Why-Fi's Avatar
 
Join Date: Aug 2008
Location: Portugal
Posts: 453
Thumbs up

Quote:
Originally Posted by Frog186 View Post
Hi All I just wanted to ask you all is it possible to make a javascript emulator or javascript emulators in general and in private and is it hard to do in general and in private? thanks for listening and your time and patience!
There is one. Nescafe, for the NES.
__________________
My complete PC stats:

Intel Core 2 Duo 6600 @ 2.40 GHz 2.39 GHz

2.00 GB RAM DDR2

1,25 TB Hard Drive (an advantage of the HD crash )

Nvidia Geforce 7900 GS

Win 7 x64 and Ubuntu 10.4 x64

... and I guess that's that...



Why-Fi is offline   Reply With Quote
Old March 13th, 2009   #9 (permalink)
And the science gets done
 
Hard core Rikki's Avatar
 
Join Date: May 2004
Location: Perpetual Pompei
Posts: 8,515
Nescafe is in Java, not Javascript (I mentioned so in 'random thoughts'). Many emulators are coded in Java, but very rare are those made in javascript.


edit: adding 3 chip8 emulators coded in Javascript

- http://www.elephantsneverforget.co.uk/rg/chip8.html
- http://www.nihilogic.dk/labs/chip8/
- http://www.garzul.tonsite.biz/javascript/
__________________

deviantART | Blog | VBA-M | @ES | Shendo | FMVTool2 | GeneralEmu | XTemu

NGemu toolbar
http://ngemu.ourtoolbar.com

This forum signature is licensed under the GPL. By embedding the signature, or parts of it, into your brain, your daily routine becomes a combined, and therefore derived, work and must be released under the GPL.

Last edited by Hard core Rikki; March 13th, 2009 at 23:26..
Hard core Rikki is offline   Reply With Quote
Old March 13th, 2009   #10 (permalink)
Registered User
 
Why-Fi's Avatar
 
Join Date: Aug 2008
Location: Portugal
Posts: 453
Question

Quote:
Originally Posted by Hard core Rikki View Post
Nescafe is in Java, not Javascript (I mentioned so in 'random thoughts')


What's the difference?
__________________
My complete PC stats:

Intel Core 2 Duo 6600 @ 2.40 GHz 2.39 GHz

2.00 GB RAM DDR2

1,25 TB Hard Drive (an advantage of the HD crash )

Nvidia Geforce 7900 GS

Win 7 x64 and Ubuntu 10.4 x64

... and I guess that's that...



Why-Fi is offline   Reply With Quote
Old March 13th, 2009   #11 (permalink)
And the science gets done
 
Hard core Rikki's Avatar
 
Join Date: May 2004
Location: Perpetual Pompei
Posts: 8,515
Java is a fully fledged programming language, while javascript is destined for web pages (it could be similar to comparing tricycles and space shuttles).
__________________

deviantART | Blog | VBA-M | @ES | Shendo | FMVTool2 | GeneralEmu | XTemu

NGemu toolbar
http://ngemu.ourtoolbar.com

This forum signature is licensed under the GPL. By embedding the signature, or parts of it, into your brain, your daily routine becomes a combined, and therefore derived, work and must be released under the GPL.
Hard core Rikki is offline   Reply With Quote
Old March 13th, 2009   #12 (permalink)
Registered User
 
Why-Fi's Avatar
 
Join Date: Aug 2008
Location: Portugal
Posts: 453
Oh, ok, so a smaller version of java, to use in webpages, right?
__________________
My complete PC stats:

Intel Core 2 Duo 6600 @ 2.40 GHz 2.39 GHz

2.00 GB RAM DDR2

1,25 TB Hard Drive (an advantage of the HD crash )

Nvidia Geforce 7900 GS

Win 7 x64 and Ubuntu 10.4 x64

... and I guess that's that...



Why-Fi is offline   Reply With Quote
Old March 14th, 2009   #13 (permalink)
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,273
Java is an API (Virtual Machine)
Javascript is a Language.

Last edited by Squall-Leonhart; March 14th, 2009 at 01:08..
Squall-Leonhart is offline   Reply With Quote
Old March 14th, 2009   #14 (permalink)
Registered User
 
Artheido's Avatar
 
Join Date: Mar 2009
Location: England
Posts: 10
Quote:
Originally Posted by Why-Fi View Post
Oh, ok, so a smaller version of java, to use in webpages, right?
Nope, they're unrelated.

Quote:
JavaScript, despite the name, is essentially unrelated to the Java programming language, although both have the common C syntax, and JavaScript copies many Java names and naming conventions. The language's name is the result of a co-marketing deal between Netscape and Sun, in exchange for Netscape bundling Sun's Java runtime with their then-dominant browser. The key design principles within JavaScript are inherited from the Self and Scheme programming languages.
JavaScript - Wikipedia, the free encyclopedia
Artheido is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:28.

© 2006 - 2008 Emu Forums | About Emu Forums | Advertising Opportunities | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2