Tunguska the ternary emulator
Moderator: haqreu
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
I'm all done with the source package now.
I've uploaded the manual here --> http://tunguska.sourceforge.net/The_Fine_Manual.pdf
I've also uploaded the source package here for now (I'll upload it to sourceforge when the windows package is ready for release) --> http://nedopc.org/ternary/tunguska/tunguska-0.5.tar.bz2
I've uploaded the manual here --> http://tunguska.sourceforge.net/The_Fine_Manual.pdf
I've also uploaded the source package here for now (I'll upload it to sourceforge when the windows package is ready for release) --> http://nedopc.org/ternary/tunguska/tunguska-0.5.tar.bz2
-
- Admin
- Posts: 24008
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
Wow, you use GPL v3 now?...
Your COPYING says version 3
But version of GPL for CYGWIN is 2 ONLY!
And we can't mix GPL v2 and GPL v3 in one package...
See http://nedopc.org/ternary/tunguska/tunguska-0_5-win.zip (2.7Mb)
I added my stuff to separate folder and COPYING.txt is GPLv2
Also check correctness of README.txt
Your COPYING says version 3
But version of GPL for CYGWIN is 2 ONLY!
And we can't mix GPL v2 and GPL v3 in one package...
See http://nedopc.org/ternary/tunguska/tunguska-0_5-win.zip (2.7Mb)
I added my stuff to separate folder and COPYING.txt is GPLv2
Also check correctness of README.txt
Last edited by Shaos on 11 Nov 2012 16:42, edited 1 time in total.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
The license of Tunguska is strictly speaking "GPL2 or later", so you can distribute it with a GPL2 or GPL3 license.
3CC accidentally used a GPL3 only copyright notice, but I've changed that to 2 or later in the CVS now (and will do the same to the package).
As for the package, the README.txt looks good, but I think it would make sense to rename "ram" to "ram_asm"
3CC accidentally used a GPL3 only copyright notice, but I've changed that to 2 or later in the CVS now (and will do the same to the package).
As for the package, the README.txt looks good, but I think it would make sense to rename "ram" to "ram_asm"
-
- Admin
- Posts: 24008
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
But not with CYGWIN stuff - it requires GPL v2 aroundeudoxie wrote: The license of Tunguska is strictly speaking "GPL2 or later", so you can distribute it with a GPL2 or GPL3 license.
If you put COPYING that says GPLv3 then we can take it and mix with CYGWIN because of it's GPLv2, so COPYING in sources must be GPLv2 rigth?
OK, I made this change: http://nedopc.org/ternary/tunguska/tunguska-0_5-win.zip (2.7Mb)As for the package, the README.txt looks good, but I think it would make sense to rename "ram" to "ram_asm"
P.S. I again have problems with mouse in pong. Could you please check this build on your available Windows?
Last edited by Shaos on 11 Nov 2012 16:43, edited 1 time in total.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
I don't have access to a windows box right now, so I'll try it tomorrow when I do.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
I can't get the mouse to work in Pong in the windows port either, though it works in the brownian motion demo for the assembly image. The mouse works in pong in Linux when I checked last night.
But there is another problem, cpp tries to run "cc1.exe", which isn't present, so building the 3cc image fails. I think it could perhaps be a better idea to make MinGW a requirement for the windows port, instead of shipping the specific parts of GCC.
But there is another problem, cpp tries to run "cc1.exe", which isn't present, so building the 3cc image fails. I think it could perhaps be a better idea to make MinGW a requirement for the windows port, instead of shipping the specific parts of GCC.
-
- Admin
- Posts: 24008
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
Yes, you're right - I never tried run it on other machine before...
So now I'm trying to write "quick and dirty" mini cpp that will be enough to process your 3CC files in this release...
P.S. I think the best solution will be to add limited preprocessor functionality directly to your 3CC application
So now I'm trying to write "quick and dirty" mini cpp that will be enough to process your 3CC files in this release...
P.S. I think the best solution will be to add limited preprocessor functionality directly to your 3CC application
-
- Admin
- Posts: 24008
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
OK, it's ready: http://nedopc.org/ternary/tunguska/tunguska-0_5-win.zip (2.0Mb)
No more cpp.exe! My minicpp is very simple program - 236 lines of program itself and 762 lines of my old (back to 1996) string/text library - all is kind of public domain. One thing that I did in your sources, I removed TEST(TEST) macro definition from MAIN.C, because I do not have time to support macros with arguments
P.S. Result is identical to standard cpp (in case of current 3CC source code). Enjoy 
No more cpp.exe! My minicpp is very simple program - 236 lines of program itself and 762 lines of my old (back to 1996) string/text library - all is kind of public domain. One thing that I did in your sources, I removed TEST(TEST) macro definition from MAIN.C, because I do not have time to support macros with arguments

Code: Select all
21c21
< #define TEST(TEST) puts(#TEST " = "); putnum(TEST); putc(2);
---
> //#define TEST(TEST) puts(#TEST " = "); putnum(TEST); putc(2);
37,38c37,39
< char test(int value) {
< TEST(value);
---
> char test(char *s, int value) {
> puts(s);puts(" = ");
> putnum(value);putc(2);
82c83
< TEST(random());
---
> test("random()",random());

Last edited by Shaos on 11 Nov 2012 16:44, edited 1 time in total.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
Great! Unless you have any last minute changes, I think it's ready for release.
-
- Admin
- Posts: 24008
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
No changes - it's readyeudoxie wrote: Great! Unless you have any last minute changes, I think it's ready for release.

-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
Ok, good. I'll probably release it on SF tonight then.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
... and now it's released 

-
- Admin
- Posts: 24008
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
Great! What about news? It still says "0.0.3"...eudoxie wrote: ... and now it's released
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
Hmm, I think I'll fix that tomorrow. Freshmeat.net isn't updated either, so it's no hurry.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
Freshmeat is still not updated. I think my update request was lost somewhere in transit. I've resubmitted.
I've been thinking about what stuff to work on for the next version of tunguska. So far, I've come up with the following things:
* UI changes (probably a move to GTK, possibly also OpenGL)
* New character table (the current one is so limited it's painful and I really like the one Shaos designed)
I've been thinking about what stuff to work on for the next version of tunguska. So far, I've come up with the following things:
* UI changes (probably a move to GTK, possibly also OpenGL)
* New character table (the current one is so limited it's painful and I really like the one Shaos designed)