Ternary VM (TVM)
Moderator: haqreu
Re: Ternary VM (TVM)
Yes, below is the list:
1). Devnagri (From -364 to -109)
2). GREEK Symbols (From -108 to -1)
3). Ascii Chars (From 0 to 255)
4). CYRILLIC (From 256 to 321)
5). CYRILLIC Extention (322 to 341)
6). EMPTY for future use (342 to 362)
7). Filler Values (363 to 364)
1). Devnagri (From -364 to -109)
2). GREEK Symbols (From -108 to -1)
3). Ascii Chars (From 0 to 255)
4). CYRILLIC (From 256 to 321)
5). CYRILLIC Extention (322 to 341)
6). EMPTY for future use (342 to 362)
7). Filler Values (363 to 364)
-
- Admin
- Posts: 24011
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Ternary VM (TVM)
I thought "ASCII" is only first 128 charactershemuman wrote: 3). Ascii Chars (From 0 to 255)
Next 128...255 is probably from some European code page
Re: Ternary VM (TVM)
from 128 to 255 it is Extended ASCII CodesI thought "ASCII" is only first 128 characters Next 128...255 is probably from some European code page
----------------
Alexander Shabarshin http://www.shaos.net
Below link can be referd:
http://www.asciitable.com/
Thanks,
Re: Ternary VM (TVM)
Finally I started with TVM, for now i can just post the image.



-
- Retired
- Posts: 1474
- Joined: 03 Aug 2003 22:37
- Location: Moscow
Re: Ternary VM (TVM)
Well, it looks like a terminal window
What can it do now ?
P.S. Why do you use that "Load Program" button instead of menu item ?

P.S. Why do you use that "Load Program" button instead of menu item ?
Re: Ternary VM (TVM)
For now it can
1). Display tryte value of char
2). perform addition using command "add 1,0,0 1,1,1"
3). Perform multiplication using command "mul 1,0,0 1,1,1"
To quickly load the instruction written in any file.
Next i am going to add something like registers to store the values.
1). Display tryte value of char
2). perform addition using command "add 1,0,0 1,1,1"
3). Perform multiplication using command "mul 1,0,0 1,1,1"
To quickly load the instruction written in any file.
Next i am going to add something like registers to store the values.
Re: Ternary VM (TVM)
Here is some more fancy screen shot,

Re: Ternary VM (TVM)
Hello All,
In TVM i am going to assign first 729 trits to the Tryte Chars.
Below is the test image:

In TVM i am going to assign first 729 trits to the Tryte Chars.
Below is the test image:
Re: Ternary VM (TVM)
Hello All,
Finally i am able to release the first draft for the Ternary Virtual Machine (TVM)
Following is the link:
http://tvm.manojky.net/VM/TVM_V1.zip
Following are the instructions:
IMPORTANT:
After extracting the TVM_V1.zip COPY Directory TVM which is present in TVM_V1 directory to c drive.
Open command prompt and change your working directory to TVM_V1 and then Run the program using:
java -jar "TVM_V_1.jar"
Please post your views.
Finally i am able to release the first draft for the Ternary Virtual Machine (TVM)
Following is the link:
http://tvm.manojky.net/VM/TVM_V1.zip
Following are the instructions:
IMPORTANT:
After extracting the TVM_V1.zip COPY Directory TVM which is present in TVM_V1 directory to c drive.
Open command prompt and change your working directory to TVM_V1 and then Run the program using:
java -jar "TVM_V_1.jar"
Please post your views.
-
- Retired
- Posts: 1474
- Joined: 03 Aug 2003 22:37
- Location: Moscow
Re: Ternary VM (TVM)
I am unable to start your application on all three machines where I tried.
-
- Admin
- Posts: 24011
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Ternary VM (TVM)
Yes, directly it's not working:
To launch it I unzipped it to C: then copied C:\TVM\TVM to C:\TVM
Code: Select all
java.io.FileNotFoundException: C:\TVM\3t2.csv (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at tvm_v_1.charFromTryte.readFile(charFromTryte.java:67)
at tvm_v_1.charFromTryte.<init>(charFromTryte.java:15)
at tvm_v_1.TVM_Action.<init>(TVM_Action.java:14)
at tvm_v_1.TVM_V_1View.<init>(TVM_V_1View.java:28)
at tvm_v_1.TVM_V_1App.startup(TVM_V_1App.java:19)
at org.jdesktop.application.Application$1.run(Application.java:171)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
27.09.2008 6:18:50 org.jdesktop.application.Application$1 run
SEVERE: Application class tvm_v_1.TVM_V_1App failed to launch
java.lang.ArrayIndexOutOfBoundsException: -1
at tvm_v_1.TVM_Action.<init>(TVM_Action.java:55)
at tvm_v_1.TVM_V_1View.<init>(TVM_V_1View.java:28)
at tvm_v_1.TVM_V_1App.startup(TVM_V_1App.java:19)
at org.jdesktop.application.Application$1.run(Application.java:171)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.Error: Application class tvm_v_1.TVM_V_1App failed to launch
at org.jdesktop.application.Application$1.run(Application.java:177)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at tvm_v_1.TVM_Action.<init>(TVM_Action.java:55)
at tvm_v_1.TVM_V_1View.<init>(TVM_V_1View.java:28)
at tvm_v_1.TVM_V_1App.startup(TVM_V_1App.java:19)
at org.jdesktop.application.Application$1.run(Application.java:171)
... 8 more
Re: Ternary VM (TVM)
Hmm...
Please follow this:
1). Unzip it to Desktop
2). Copy the TVM directory which contains only two files(csv and properties) to C:,actually the program searches for c:\TVM\3t2.csv and the properties file.
3). Launch the application from desktop itself using (java -jar TVM_V_1.jar)
it should work.
Please follow this:
1). Unzip it to Desktop
2). Copy the TVM directory which contains only two files(csv and properties) to C:,actually the program searches for c:\TVM\3t2.csv and the properties file.
3). Launch the application from desktop itself using (java -jar TVM_V_1.jar)
it should work.
Re: Ternary VM (TVM)
Hello All,
Did any one try this, as the same error one of friend was facing, later on he followed the above mentioned process and he success fully used it.
Please try.
Did any one try this, as the same error one of friend was facing, later on he followed the above mentioned process and he success fully used it.
Please try.

-
- Retired
- Posts: 1474
- Joined: 03 Aug 2003 22:37
- Location: Moscow
Re: Ternary VM (TVM)
Now I can start TVM, thanks!
Re: Ternary VM (TVM)
Waw..thats a relief to me.
thanks.
