nedoPC.org

Community of electronics hobbyists established in 2002

...
Atom Feed | View unanswered posts | View active topics It is currently 13 Nov 2018 12:55



Reply to topic  [ 82 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
[Ternary] Ternary VM (TVM) 
Author Message
Reply with quote
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)


02 Sep 2008 01:10
Admin
User avatar

Joined: 09 Jan 2003 00:22
Posts: 17116
Location: Colorado
Reply with quote
hemuman wrote:
3). Ascii Chars (From 0 to 255)


I thought "ASCII" is only first 128 characters
Next 128...255 is probably from some European code page


02 Sep 2008 07:32
Profile WWW
Reply with quote
Quote:
I thought "ASCII" is only first 128 characters Next 128...255 is probably from some European code page
----------------
Alexander Shabarshin http://www.shaos.net


from 128 to 255 it is Extended ASCII Codes

Below link can be referd:

http://www.asciitable.com/

Thanks,


02 Sep 2008 08:35
Reply with quote
Finally I started with TVM, for now i can just post the image.
Image

:-)


05 Sep 2008 02:36
Retired

Joined: 03 Aug 2003 23:37
Posts: 1481
Location: Moscow
Reply with quote
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 ?


05 Sep 2008 15:50
Profile
Reply with quote
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.


06 Sep 2008 08:33
Reply with quote
Here is some more fancy screen shot,

Image


08 Sep 2008 13:28
Reply with quote
Hello All,

In TVM i am going to assign first 729 trits to the Tryte Chars.


Below is the test image:

Image


11 Sep 2008 04:30
Reply with quote
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.


25 Sep 2008 06:27
Retired

Joined: 03 Aug 2003 23:37
Posts: 1481
Location: Moscow
Reply with quote
I am unable to start your application on all three machines where I tried.


27 Sep 2008 02:03
Profile
Admin
User avatar

Joined: 09 Jan 2003 00:22
Posts: 17116
Location: Colorado
Reply with quote
Yes, directly it's not working:

Code:
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


To launch it I unzipped it to C: then copied C:\TVM\TVM to C:\TVM


27 Sep 2008 04:22
Profile WWW
Reply with quote
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.


28 Sep 2008 05:01
Reply with quote
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.:-)


29 Sep 2008 09:37
Retired

Joined: 03 Aug 2003 23:37
Posts: 1481
Location: Moscow
Reply with quote
Now I can start TVM, thanks!


29 Sep 2008 11:07
Profile
Reply with quote
Waw..thats a relief to me.:-) thanks.


01 Oct 2008 01:54
Display posts from previous:  Sort by  
Reply to topic   [ 82 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.