Author Topic: Web-based Wabbitemu Frontend  (Read 11353 times)

0 Members and 1 Guest are viewing this topic.

Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Web-based Wabbitemu Frontend
« on: November 30, 2011, 04:34:27 pm »
As some of you might recall, I started a project for a web-based Wabbitemu frontend about a year and a half ago. I stopped working on it after maybe a couple weeks. Recently, I picked it up again. I've reworked it into being a standalone webserver to overcome a number of issues that were caused by the more full webservers. This also simplifies the means for transferring data from the emulator to the webserver considerably.

Link: http://-snip-:81/
Note that this is running on my desktop and may not be up consistently, nor is it perfectly stable.
I'll also have to ask you guys not to poke around with the server too much, it doesn't have the best of error handling.

ToDo List:
  • Allow variable/app uploading
  • Allow some sort of persistent saves, possibly through a user account system
  • Make the server more robust

Known bugs:
  • Opera tends to use high amounts of CPU with it
  • It's capped at 32 calculators. Any more than this will simply not load. I need to make it recycle old calculators or something.
  • IE

I'm planning on getting file/app uploading working on it, too.

I'll be posting the source code under whatever license Wabbit uses pretty soon, I just have a few things I want to clean up.
« Last Edit: August 16, 2012, 07:33:22 am by Netham45 »
Omnimaga Admin

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Web-based Wabbitemu Frontend
« Reply #1 on: November 30, 2011, 05:46:47 pm »
Awesome, Netham! Looks pretty awesome. And probably useful as well. You might easily integrate it on a website.
« Last Edit: November 30, 2011, 05:47:19 pm by Juju »

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Web-based Wabbitemu Frontend
« Reply #2 on: November 30, 2011, 06:19:06 pm »
That is an awesome awesome, Netham45.

Any plans for mapping keyboard keys?




Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Web-based Wabbitemu Frontend
« Reply #3 on: November 30, 2011, 06:22:22 pm »
That is an awesome awesome, Netham45.

Any plans for mapping keyboard keys?

Done. Keys -should- be the same as wabbits keys.
Omnimaga Admin

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Web-based Wabbitemu Frontend
« Reply #4 on: November 30, 2011, 06:23:40 pm »
Wow, that was fast O.O

And I just realized that you can just drag-and-drop the screen for an instant screenshot. Not sure if you meant for it to do that, but it's really convenient :D

And another thing: it sends a keypress only when the user releases a mouse key. That makes key repeat impossible (for the arrow keys and DEL). What about triggering on mouse down?




Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Web-based Wabbitemu Frontend
« Reply #5 on: November 30, 2011, 06:24:50 pm »
The way that keypresses are handled in the backend is awful. There's no queue or anything. Network latency also makes determining when the key was pressed/released near impossible.
Omnimaga Admin

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Web-based Wabbitemu Frontend
« Reply #6 on: November 30, 2011, 06:26:13 pm »
That's too bad :/

Another thing: Ctrl works (ALPHA), but not Shift (2nd, CLEAR).




Offline Netham45

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2103
  • Rating: +213/-4
  • *explodes*
    • View Profile
Re: Web-based Wabbitemu Frontend
« Reply #7 on: November 30, 2011, 06:26:40 pm »
That's your browser blocking those keys.
Omnimaga Admin

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Web-based Wabbitemu Frontend
« Reply #8 on: November 30, 2011, 06:33:49 pm »
Wow, that is cool!

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: Web-based Wabbitemu Frontend
« Reply #9 on: November 30, 2011, 06:36:12 pm »
O.O
This is epic.
Sig wipe!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Web-based Wabbitemu Frontend
« Reply #10 on: December 01, 2011, 01:04:15 am »
Yay ! I am finally able to give you your +1 !
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Web-based Wabbitemu Frontend
« Reply #11 on: December 28, 2011, 01:25:57 pm »
Any plans to get this back online? ;D




Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Web-based Wabbitemu Frontend
« Reply #12 on: December 28, 2011, 02:23:07 pm »
Wow, thank you Netham45!  It will be fun and convenient to use this!

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Web-based Wabbitemu Frontend
« Reply #13 on: December 28, 2011, 06:55:15 pm »
So this is a C Wabbitemu backend with a JS/HTML frontend? :)

(I've actually found a C to JS compiler - a serious one called Emscripten. You might be able to have Wabbitemu all in a browser! :D I might try this...)

EDIT: You know what? I'm going to attempt this! :D Don't try it yet until I give up :P
« Last Edit: December 28, 2011, 07:16:04 pm by alberthrocks »
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)