Page 1 of 1

TIemu javascript, input on Address bar

Unread postPosted: 03 Mar 2018, 17:23
by compsystems
One of the difficulties of using emulators, simulators is that the pc keyboard does not adapt easily to the keyboard of the calculators, besides the input of expressions is very difficult by virtual keyboard, for this reason I suggest to the developers of "tiemu online" https://tiplanet.org/emu68k_fork/v12.html that from the web address bar line, expressions can be sent to the emulator screen.

For example, an online triangle solution allows you to send data to the interface.

please try
Sides a=125 u, B=108.33333333333 C=61.33333333333
input on Address bar for triancal
http://triancal.esy.es/?lang=en&a=125&B ... 3333333333

input on Address bar for triancal
Sides a=3 u, B=45 C=60
http://triancal.esy.es/?lang=en&a=3&B=45&C=60

clear fields
http://triancal.esy.es/?lang=en

input on Address bar for emu68k
abs(x+y*i)
idea
https://tiplanet.org/emu68k_fork/abs(x+y*i)

Re: TIemu javascript, input on Address bar

Unread postPosted: 03 Mar 2018, 21:10
by Adriweb
I quickly integrated such a feature, although it's buggy because some keys were not really supported directly.
A better way would be to reuse the remote keypress feature thingy, but I didn't have time to dive into it.

For instance: https://tiplanet.org/emu68k_fork/#sin(x+x)

Let me know about common keys that aren't working, I can add them to the "hack" exceptions.

(Note: [enter] is pressed automatically at the end of the string)