nedoPC.org

Community of electronics hobbyists established in 2002

...
Atom Feed | View unanswered posts | View active topics It is currently 23 Apr 2018 22:36



Reply to topic  [ 5 posts ] 
[Ternary] Testing of emulator 
Author Message
Admin
User avatar

Joined: 09 Jan 2003 00:22
Posts: 16448
Location: Colorado
Reply with quote
This topic is about testing java emulator of ternary computer 3niti alpha.

Image

3niti alpha's control panel description:

Code:
Control panel has row of 15 "ternary" red-green indicators:

    * Lights 1,2,3,4,5,6,7,8,9 - value of PC register (address of current operation)
    * Lights 10,11,12 - 3-trit data (see below)
    * Lights 13,14,15 - current value of A register

Also control panel has row of 15 "ternary" slide switches:

    * Switches 1,2,3,4,5,6,7,8,9 - some 9-trit address entered by user
    * Switches 10,11,12 - some 3-trit data entered by user
    * Switch 13 - control input/output ternary switch:
       - P (top position) - using specified address write data to the memory (data
            lights display this 3-trit data)
       - O (neutral position) - ignore address and data switches (data lights
            display data from memory address PC)
       - N (bottom position) - ignore data switches and display data from
            specified address
    * Switch 14 - control subprogram ternary switch:
       - P (top position) - interrupt main program, save current PC and jump to
            specified address
       - O (neutral position) - do not disturb working program
       - N (bottom position) - stop subprogram and restore PC to return to
            main program
    * Switch 15 - control step/run ternary switch:
       - P (top position) - execute one step of the program
       - O (neutral position) - pause mode
       - N (bottom position) - run program from current position


To "slide" switch up just click on top half of switch and it will cause 1-step shift up (N->O or O->P). If you click to bottom half of switch it will cause 1-step shift down (P->O or O->N). You can see that it is not possible to switch directly from N to P or from P to N.

First version of emulator: http://www.nedopc.org/ternary/java.php?applet=3

P.S. Feel free to write bug reports right here...


Last edited by Shaos on 04 Feb 2015 22:02, edited 1 time in total.



09 Nov 2008 17:41
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 00:22
Posts: 16448
Location: Colorado
Reply with quote
Today I changed order of arguments for LDI and JMP - now it's "big-endian" (higher triad, middle triad, lower triad).


11 Nov 2008 18:16
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 00:22
Posts: 16448
Location: Colorado
Reply with quote
Today I fixed display of register A at LEDs 13,14,15 (before it was always white)


12 Nov 2008 18:14
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 00:22
Posts: 16448
Location: Colorado
Reply with quote
Shaos wrote:
Today I fixed display of register A at LEDs 13,14,15 (before it was always white)


Fixed display of small numbers on LEDs 9,10,11 and 13,14,15 (before it was left "aligned")


13 Nov 2008 23:16
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 00:22
Posts: 16448
Location: Colorado
Reply with quote
Post 
moving up

_________________
:eugeek: https://twitter.com/Shaos1973


10 Nov 2012 09:53
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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.