nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 28 Mar 2024 16:29



Reply to topic  [ 273 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 19  Next
Tunguska the ternary emulator 
Author Message
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
I fiddled around with getting the CVS to work with GTK, and I actually made some progress. Right now the code (which is not on the CVS) is a horrible Frankenstein's monster-like combination of Tunguska and a makeshift GTK+ UI ... but it works!

Image


02 Dec 2008 14:01
Profile
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Reply with quote
Looks very impressive :)


03 Dec 2008 13:54
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Yeah, I've been playing around with GTK even more now, and it seems to work pretty well with Tunguska, and it opens up a lot of interesting possibilities.


03 Dec 2008 14:26
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22412
Location: Silicon Valley
Reply with quote
eudoxie wrote:
Yeah, I've been playing around with GTK even more now, and it seems to work pretty well with Tunguska, and it opens up a lot of interesting possibilities.


If I fix something minor in your code to make it really multi-platform may I commit this changes to CVS? Or you prefer to discuss every change in forum (here or sf.net)?


03 Dec 2008 18:13
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Sure, go a head and commit the changes to the CVS.


03 Dec 2008 18:25
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22412
Location: Silicon Valley
Reply with quote
eudoxie wrote:
Sure, go a head and commit the changes to the CVS.


OK, I will start with tg_assembler on my PowerMac G4 under Debian Linux. It has PowerPC G4 processor running in big-endian mode. Then MacOS X 10.4 with Xcode 2.0 (it has more strict GCC rules by default) on my PowerBook G4...


03 Dec 2008 19:55
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Another GTK UI screenshot.

Image

And don't worry about breaking the GUI stuff I'm writing right now with CVS updates. It's really non-invasive. I think I've added three lines (and changed none) of code in the files currently in the CVS.


04 Dec 2008 16:01
Profile
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Reply with quote
On next tuesday I'll visit conference dedicated to 50-th anniversary of Setun computer. May I anounce the GTK version there ? :)


05 Dec 2008 14:22
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Mac Buster wrote:
On next tuesday I'll visit conference dedicated to 50-th anniversary of Setun computer. May I anounce the GTK version there ? :)


Sure.

It'll probably be a while before it's all ready, but I've really come a long way in a short time :-)

Image

This screenshot is pretty cool. The memory inspector is showing part of the area of memory where the screen buffer is, so (it's a bit hard to see) you can actually see the lines of text on the screen in the memory inspector 8-)


05 Dec 2008 15:26
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22412
Location: Silicon Valley
Reply with quote
incredible progress just in one day :-o


05 Dec 2008 18:17
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Yeah, I'm surprised as well. I would have thought it would take at least a week to get the stuff I finished today done. Add to that it's been ages since I've worked with GTK, so I'm spending half the time looking stuff up in the references. It's just gone really smooth for some reason. I must be on a lucky coding streak.

I think part of the reason it's gone so fast because a lot of the functionality is already in tunguska, only it's not visible so most of the stuff I've done is just make ready-made internal functions available to the user. So in the end, it isn't all that much code (it's something like 600 lines for the whole GUI at the moment).


05 Dec 2008 19:41
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
I've been thinking it makes sense to build a small IDE around Tunguska with automated building and a source editor with syntax highlighting and that whole deal. It wouldn't really be all too much code when things come around, a lot of the code editor functionality already exists in GtkSourceView and I've already written most of the debugging functionality.

I don't want Tunguska to get bloated and turn into EMACS, but I think this functionality can be justified. The SDL version will still be around for people who want a slimmed GUI optimized for speed.


13 Dec 2008 15:16
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22412
Location: Silicon Valley
Reply with quote
eudoxie wrote:
I've been thinking it makes sense to build a small IDE around Tunguska with automated building and a source editor with syntax highlighting and that whole deal.


I think it's great idea!


13 Dec 2008 23:02
Profile WWW
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Reply with quote
Good IDE is what we all missing in Tunguska project :)


14 Dec 2008 01:35
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Image

I've put together most of the the interface now. A rough update of the status:

Machine: 60% (still lacks raster and vector graphics)
Machine control: 70%
Debug utilities: 60%
Text editing: 60%
File management: 10%
Build management: 0%


18 Dec 2008 13:42
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 273 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17 ... 19  Next

Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.