Ternary base representation

Balanced Ternary Numeral System - forum was moved from http://ternary.info

Moderator: haqreu

eudoxie
Maniac
Posts: 277
Joined: 17 Sep 2012 13:36
Location: 81.170.128.52

Re: Ternary base representation

Post by eudoxie »

I've gotten a bit behind schedule with the debugging process, because of other stuff being asked from me at the moment, but alpha release it shouldn't be that far into the future.

In the meantime, i uploaded a demo screenshot of what it does right now.

Image
User avatar
Shaos
Admin
Posts: 24080
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Re: Ternary base representation

Post by Shaos »

he meantime, i uploaded a demo screenshot of what it does right now.

http://nedopc.org/ternary/tunguska/screenshot.png
:lol:
Last edited by Shaos on 11 Nov 2012 18:03, edited 1 time in total.
Mac Buster
Retired
Posts: 1474
Joined: 03 Aug 2003 22:37
Location: Moscow

Re: Ternary base representation

Post by Mac Buster »

Wow, impressive :)
eudoxie
Maniac
Posts: 277
Joined: 17 Sep 2012 13:36
Location: 81.170.128.52

Re: Ternary base representation

Post by eudoxie »

Yeah, I know. I impress myself with it. It handles like a personal computer from the 80's. Roughly the same performance and features.

This stage of the project is nearly done. I've just got a few bugs to hunt down, and it'll be ready for alpha release.

When that's done, I've got a ton of stuff I'm planning to implement. A lot of peripherals: mouse and/or joystick support, virtual hard drive support; vector graphics, and finally some sort of cross-system high(er) language compiler.
eudoxie
Maniac
Posts: 277
Joined: 17 Sep 2012 13:36
Location: 81.170.128.52

Re: Ternary base representation

Post by eudoxie »

I released alpha version 1 just now.

http://sf.net/projects/tunguska

Shaos fixed link on November 2012
Mac Buster
Retired
Posts: 1474
Joined: 03 Aug 2003 22:37
Location: Moscow

Re: Ternary base representation

Post by Mac Buster »

Ок, I'm going to download the release. Mmmm... Strange thing - a long time ago i supposed to use the same project name for my own vitrual ternary machine :)
eudoxie
Maniac
Posts: 277
Joined: 17 Sep 2012 13:36
Location: 81.170.128.52

Re: Ternary base representation

Post by eudoxie »

I think I came up with using it while I was surfing wikipedia, and saw that the Tunguska meteor event was named after the river with the same name, and I had it sort of in the back of my head that Setun also was named after a Russian river.

Also, do tell me if you find any bugs.

--

I'm gonna have to go for tonight, but to get you started --
after running 'make' from the source directory, you can use the files created in the bin/ subdirectory to compile and run a memory image (sources in ram/). So, to assemble you just run

bin/assembler ram/ram.asm

(which creates out.ternobj, unlike 'make memory' which creates the file 'memory.image' -- they're the same format, just named differently) You can run these memory images with

bin/tunguska file
Mac Buster
Retired
Posts: 1474
Joined: 03 Aug 2003 22:37
Location: Moscow

Re: Ternary base representation

Post by Mac Buster »

Thank you for comments and recommendations, I'll follow it as soon as it will be possible. It seems now I've to reinstall my Linux system, since current one is minimal and does not have any compilers in it (kind of copy of Live-CD) :-)

P.S. Please start another topic, since emulator release does not have direct relations to ternary base representations :-)
Mac Buster
Retired
Posts: 1474
Joined: 03 Aug 2003 22:37
Location: Moscow

Re: Ternary base representation

Post by Mac Buster »

Hose Ramil Alvares - developer of software for original Setun-70 machine - suggested to use letters QWER for negative digits. His argument for that is very reasonable - these letters located under the digits on keyboards. We can use the scheme too.
eudoxie
Maniac
Posts: 277
Joined: 17 Sep 2012 13:36
Location: 81.170.128.52

Re: Ternary base representation

Post by eudoxie »

That's a pretty neat scheme. I might add it to Tunguska as a compliment to A-D.
Mac Buster
Retired
Posts: 1474
Joined: 03 Aug 2003 22:37
Location: Moscow

Re: Ternary base representation

Post by Mac Buster »

That would be very handy. We'll make it standard de-facto for balanced nonary notation then.
User avatar
Shaos
Admin
Posts: 24080
Joined: 08 Jan 2003 23:22
Location: Silicon Valley

Post by Shaos »

See other topic about Tunguska:

viewtopic.php?t=93
Я тут за главного - если что шлите мыло на me собака shaos точка net