Jump to content
AnimaInCorpore

jsA8E (JavaScript Atari 800 XL Emulator) online

Recommended Posts

Hi

I just played around with Emscripten and was able to port my A8E Atari 800 XL emulator to JavaScript. So you can check out some old games within your browser. ;)

Controls are as follows: F1 = HELP, F2 = OPTION, F3 = SELECT, F4 = START, F5 = RESET, ARROWS = joystick directions, ALT = fire.

You may try the following links with Firefox or Chrome:

Atari 800 XL self test, Archon, Archon 2, Asteroids, Bandits, Behind Jaggi Lines, Davids Midnight Magic, Donkey Kong, Drol, Encounter, Dropzone, Goonies, Gyruss, Hero, Karateka, Keystone Capers, Koronis Rift, Landscape, Montezumas Revenge, Moon Patrol, M.U.L.E., Pitfall, River Raid, Raid over Moscow, Pooyan, Spelunker, Silent Service, Starquake, Summer Games, Track and Field, Vanguard, Zorro.

Have fun
Sascha

  • Like 3
  • Thanks 2

Share this post


Link to post
Share on other sites

Worked fine for me with Mozilla on a Linux box.

 

Umm. . .do you think you could add the BASIC cartridge, or links to other games on the page?

 

As far as I can tell, this is the only 8 bit Atari emulator that will run in a browser.

Share this post


Link to post
Share on other sites

Has anyone tried compiling this on Linux? Hints for building either native binary or to JS would be also be welcome.

Share this post


Link to post
Share on other sites

I know this is reaaaaaaaly old, but I have a few requests that would be lifesavers now that the 10 Line Basic competition is so popular.

 

#1: is this released on Github or somewhere similar?

 

#2: could you add the ability to sideload ATR files? I’d love to host this and have my own ATRs accessible for use in the browser.

 

#3: could you allow embedding this emulator like Javatari does? Make a div, import the script, and it replaces said div.

 

#4: piggybacking on the others above, sound?

Edited by OxC0FFEE
  • Like 2

Share this post


Link to post
Share on other sites

Will be great if this project and some docs about howto build it be published on GitHub or similar to continue the development, currently is the only one practical JavaScript emulator for Atari XL that I found on internet, I others similar to publish Atari games on a web page slow or unusable (ej. JavaScript MAME).

 

I also wonder if atari800 emulator can be compiled to javascript using the emscripten technique that is used by jsA8E and JSMESS.

 

Will be great if you all can support this request: https://github.com/atari800/atari800/issues/130

Edited by Elkino
  • Like 1

Share this post


Link to post
Share on other sites
I used jsA8E to compile some projects from http://atariprojects.org/ and put them online, as here:

 

https://eahumada.github.io/AtariOnline/atariprojects.html?disk_filename=scrolling.atr

LOAD "D:HSCROLL.BAS

RUN

 

And here:

https://eahumada.github.io/AtariOnline/atariprojects.html?disk_filename=flip.atr

LOAD "D:HSCROLL.BAS

RUN

 

@OxC0FFEE I think that also, It is possible take the FastBasic.atr  then people can try it live online.

  • Thanks 1

Share this post


Link to post
Share on other sites
On 3/23/2021 at 11:03 AM, OxC0FFEE said:

I know this is reaaaaaaaly old, but I have a few requests that would be lifesavers now that the 10 Line Basic competition is so popular.

 

#1: is this released on Github or somewhere similar?

 

#2: could you add the ability to sideload ATR files? I’d love to host this and have my own ATRs accessible for use in the browser.

 

#3: could you allow embedding this emulator like Javatari does? Make a div, import the script, and it replaces said div.

 

#4: piggybacking on the others above, sound?

I created a web page where you can try the fastbasic included samples, online:
https://eahumada.github.io/AtariOnline/fastbasic.html?disk_filename=fastbasic.atr
When the emulator loads complete, you can try:
JOYAS.COM

 

The only problem is the editor, as jsA8E map the keyboard arrows to the joystick, but at least is possible try the compiler and run the samples live online.

 

Is great think that you can create online web content and games using Atari languages!

Edited by Elkino
  • Thanks 2

Share this post


Link to post
Share on other sites

Here, a collection of live online programming environments for Atari, using jsA8E.

 

I fixed some missing keycodes in jsAE8, still gets crazy with some keystrokes. Will be great to have an "official" release on github and the steps and build scripts to go from the C to js.

 

https://eahumada.github.io/AtariOnline/

 

  • Like 1

Share this post


Link to post
Share on other sites
1 hour ago, Xebec's Demise said:

Would multiple disk games like Alternate Reality run in this online emulator or would they need to be modified?

It is an interesting idea. Could be great see people playing AR in a web page. But, this was just a very basic proof of concept. I think that some disk swap button need to be developed. The MAME.js emulator can load several disk in the drives, but I don't know how to dynamically swap the disk loaded in the drive at-runtime. I hope that Altirra or Atari800 generate an https://emscripten.org/ version that be more versatile that allow to customize the emulator that run in the web page.

 

https://github.com/atari800/atari800/issues/130

 

Edited by Elkino
Clarify the idea
  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

It served me to reconstruct a simple chess game for two-players I did when I was age 9.

parte2.thumb.png.9c2d88fde528639eb22adeb505caccd6.pngparte4.thumb.png.c43fd7a665dc4d4961b5080398ab1b71.pngparte3.thumb.png.67db733dc925afeebc3a711cfbdc4561.pngparte1.thumb.png.cdebea9b866ab5868318af9b31564af5.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...