nedoPC.org

Community for electronics hobbyists, established in 2002
Last visit was: 20 Sep 2024 17:53
It is currently 20 Sep 2024 17:53



 [ 82 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Ternary VM (TVM) 
Author Message
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 00:10
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 23298
Location: Silicon Valley
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 06:32 WWW
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 07:35
Finally I started with TVM, for now i can just post the image.
Image

:-)


05 Sep 2008 01:36
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
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 14:50
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 07:33
Here is some more fancy screen shot,

Image


08 Sep 2008 12:28
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 03:30
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 05:27
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
I am unable to start your application on all three machines where I tried.


27 Sep 2008 01:03
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 23298
Location: Silicon Valley
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 03:22 WWW
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 04:01
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 08:37
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Now I can start TVM, thanks!


29 Sep 2008 10:07
Waw..thats a relief to me.:-) thanks.


01 Oct 2008 00:54
 [ 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

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