nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 28 Apr 2024 00:53



Reply to topic  [ 273 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 19  Next
Tunguska the ternary emulator 
Author Message
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22609
Location: Silicon Valley
Reply with quote
eudoxie wrote:
I don't think there's any benefit from implementing it with hardware, you could simply add a few lines to the painting function, something like

LDA .color
CMP #transparentvalue
JNE $$+4
RST


Hardware "blitting" with color key is always better than software copying pixel by pixel


16 Mar 2008 05:34
Profile WWW
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Reply with quote
Yes, I mean support for hardware blitting with transparrent colour.


17 Mar 2008 14:06
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Hm, I'll consider it.

I've done some reworking of the assembler, so if it starts acting up do keep me appraised.


20 Mar 2008 09:11
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
I'm getting ready to prepare for another alpha release (I'm thinking I'll release it sometime next week). Though I'm probably going to disable the floating point functionality in the release. I'm not fond of how it's turned out. I'll either rework it in a future release, or scrap it entirely.


21 Mar 2008 12:00
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Added some new instructions...

XAM (Swap A with memory value), XAX (Swap A with X) , XAY (Swap A with Y), XYX (Swap X with Y), PAUSE (software induced pause, acts like a breakpoint in a debugger)

I also re-enabled the floating point operations.


22 Mar 2008 09:37
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Indirect Y addressing had somehow managed to be broken all this time. Anyways, it's fixed now, and works like it should.


25 Mar 2008 12:28
Profile
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Reply with quote
Great news, I'm waiting for new release :)


25 Mar 2008 13:04
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
It probably will be released within a day or two. I'm doing release testing right now.

I've been putting together a manual for Tunguska. So far it consists of documentation for the assembler and emulator, a guide to ternary numeral systems and logic, and the specifications. It's gotten quite big, I think it's almost 30 pages long:

http://tunguska.sourceforge.net/The_Fine_Manual.pdf

Shaos: copy located here: http://nedopc.org/ternary/tunguska/The_Fine_Manual.pdf


25 Mar 2008 13:23
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
I'd appreciate it if you could try build this pre-release package and see if there is any issues with it on your system.

http://nedopc.org/ternary/tunguska/tung ... se.tar.bz2


25 Mar 2008 14:00
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22609
Location: Silicon Valley
Reply with quote
eudoxie wrote:
I'd appreciate it if you could try build this pre-release package and see if there is any issues with it on your system.

http://nedopc.org/ternary/tunguska/tung ... se.tar.bz2


flex 2.5.4
bison 2.1


lex.yy.cc: In member function `virtual int yyFlexLexer::yylex()':
lex.yy.cc:647: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:647: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:648: error: `yyensure_buffer_stack' was not declared in this scope
lex.yy.cc:909: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:909: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:932: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:932: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In constructor `yyFlexLexer::yyFlexLexer(std::istream*, std::ostream*)':
lex.yy.cc:1049: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1050: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1051: error: `yy_buffer_stack_max' was not declared in this scope
lex.yy.cc: In destructor `virtual yyFlexLexer::~yyFlexLexer()':
lex.yy.cc:1061: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1061: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `virtual void yyFlexLexer::switch_streams(std::istream*, std::ostream*)':
lex.yy.cc:1068: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1068: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `int yyFlexLexer::yy_get_next_buffer()':
lex.yy.cc:1120: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1120: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `void yyFlexLexer::yyunput(int, char*)':
lex.yy.cc:1308: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1308: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `int yyFlexLexer::yyinput()':
lex.yy.cc:1352: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1352: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `virtual void yyFlexLexer::yyrestart(std::istream*)':
lex.yy.cc:1420: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1420: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1421: error: `yyensure_buffer_stack' was not declared in this scope
lex.yy.cc:1426: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1426: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `virtual void yyFlexLexer::yy_switch_to_buffer(yy_buffer_state*)':
lex.yy.cc:1442: error: `yyensure_buffer_stack' was not declared in this scope
lex.yy.cc:1443: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1443: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1446: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1446: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1454: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1454: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `void yyFlexLexer::yy_load_buffer_state()':
lex.yy.cc:1467: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1467: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `virtual void yyFlexLexer::yy_delete_buffer(yy_buffer_state*)':
lex.yy.cc:1513: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1513: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
lex.yy.cc:1542: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1542: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: In member function `void yyFlexLexer::yy_flush_buffer(yy_buffer_state*)':
lex.yy.cc:1574: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1574: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: At global scope:
lex.yy.cc:1585: error: no `void yyFlexLexer::yypush_buffer_state(yy_buffer_state*)' member function declared in class `yyFlexLexer'
lex.yy.cc: In member function `void yyFlexLexer::yypush_buffer_state(yy_buffer_state*)':
lex.yy.cc:1589: error: `yyensure_buffer_stack' was not declared in this scope
lex.yy.cc:1592: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1592: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1601: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1601: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1603: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1603: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: At global scope:
lex.yy.cc:1615: error: no `void yyFlexLexer::yypop_buffer_state()' member function declared in class `yyFlexLexer'
lex.yy.cc: In member function `void yyFlexLexer::yypop_buffer_state()':
lex.yy.cc:1616: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1616: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1619: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1619: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc: At global scope:
lex.yy.cc:1634: error: no `void yyFlexLexer::yyensure_buffer_stack()' member function declared in class `yyFlexLexer'
lex.yy.cc: In member function `void yyFlexLexer::yyensure_buffer_stack()':
lex.yy.cc:1637: error: `yy_buffer_stack' was not declared in this scope
lex.yy.cc:1650: error: `yy_buffer_stack_max' was not declared in this scope
lex.yy.cc:1651: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1655: error: `yy_buffer_stack_top' was not declared in this scope
lex.yy.cc:1655: error: `yy_buffer_stack_max' was not declared in this scope
lex.yy.cc:1661: error: `yy_buffer_stack' was not declared in this scope
make[3]: *** [lex.yy.o] Ошибка 1
make[2]: *** [all] Ошибка 2
make[1]: *** [all-recursive] Ошибка 1
make: *** [all] Ошибка 2


Last edited by Shaos on 11 Nov 2012 17:48, edited 1 time in total.



25 Mar 2008 18:41
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Try now http://nedopc.org/ternary/tunguska/tung ... e2.tar.bz2


26 Mar 2008 06:14
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Oh, wait, here's an even better version. Compiled without a hitch on FreeBSD.

http://nedopc.org/ternary/tunguska/tung ... e3.tar.bz2


26 Mar 2008 12:04
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22609
Location: Silicon Valley
Reply with quote
eudoxie wrote:
Oh, wait, here's an even better version. Compiled without a hitch on FreeBSD.

http://nedopc.org/ternary/tunguska/tung ... e3.tar.bz2


The same thing :(

P.S. Pregenerated scanner.cc and parser.cc MUST be removed from archive!


Last edited by Shaos on 11 Nov 2012 17:49, edited 1 time in total.



27 Mar 2008 02:04
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Try now then,...

http://nedopc.org/ternary/tunguska/tung ... e4.tar.bz2


27 Mar 2008 03:00
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22609
Location: Silicon Valley
Reply with quote


It's working
Mouse works also! :)


Last edited by Shaos on 11 Nov 2012 17:49, edited 1 time in total.



27 Mar 2008 06:48
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 273 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 19  Next

Who is online

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