Author |
Message |
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
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!
|
02 Dec 2008 14:01 |
|
|
Mac Buster
Retired
Joined: 03 Aug 2003 22:37 Posts: 1474 Location: Moscow
|
Looks very impressive
|
03 Dec 2008 13:54 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
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 |
|
|
Shaos
Admin
Joined: 08 Jan 2003 23:22 Posts: 22596 Location: Silicon Valley
|
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 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
Sure, go a head and commit the changes to the CVS.
|
03 Dec 2008 18:25 |
|
|
Shaos
Admin
Joined: 08 Jan 2003 23:22 Posts: 22596 Location: Silicon Valley
|
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 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
Another GTK UI screenshot.
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 |
|
|
Mac Buster
Retired
Joined: 03 Aug 2003 22:37 Posts: 1474 Location: Moscow
|
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 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
Sure.
It'll probably be a while before it's all ready, but I've really come a long way in a short time
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
|
05 Dec 2008 15:26 |
|
|
Shaos
Admin
Joined: 08 Jan 2003 23:22 Posts: 22596 Location: Silicon Valley
|
incredible progress just in one day
|
05 Dec 2008 18:17 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
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 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
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 |
|
|
Shaos
Admin
Joined: 08 Jan 2003 23:22 Posts: 22596 Location: Silicon Valley
|
|
13 Dec 2008 23:02 |
|
|
Mac Buster
Retired
Joined: 03 Aug 2003 22:37 Posts: 1474 Location: Moscow
|
Good IDE is what we all missing in Tunguska project
|
14 Dec 2008 01:35 |
|
|
eudoxie
Maniac
Joined: 17 Sep 2012 13:36 Posts: 277 Location: 81.170.128.52
|
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 |
|
|