Hardware "blitting" with color key is always better than software copying pixel by pixeleudoxie 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
Tunguska the ternary emulator
Moderator: haqreu
-
- Admin
- Posts: 24011
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
-
- Retired
- Posts: 1474
- Joined: 03 Aug 2003 22:37
- Location: Moscow
Re: Tunguska the ternary emulator
Yes, I mean support for hardware blitting with transparrent colour.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
Hm, I'll consider it.
I've done some reworking of the assembler, so if it starts acting up do keep me appraised.
I've done some reworking of the assembler, so if it starts acting up do keep me appraised.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
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.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
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.
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.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
Indirect Y addressing had somehow managed to be broken all this time. Anyways, it's fixed now, and works like it should.
-
- Retired
- Posts: 1474
- Joined: 03 Aug 2003 22:37
- Location: Moscow
Re: Tunguska the ternary emulator
Great news, I'm waiting for new release 

-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
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
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
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
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
http://nedopc.org/ternary/tunguska/tung ... se.tar.bz2
-
- Admin
- Posts: 24011
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
flex 2.5.4eudoxie 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
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
lex.yy.cc
lex.yy.cc
lex.yy.cc: In destructor `virtual yyFlexLexer::~yyFlexLexer()':
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `virtual void yyFlexLexer::switch_streams(std::istream*, std::ostream*)':
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `int yyFlexLexer::yy_get_next_buffer()':
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `void yyFlexLexer::yyunput(int, char*)':
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `int yyFlexLexer::yyinput()':
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `virtual void yyFlexLexer::yyrestart(std::istream*)':
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `virtual void yyFlexLexer::yy_switch_to_buffer(yy_buffer_state*)':
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `void yyFlexLexer::yy_load_buffer_state()':
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `virtual void yyFlexLexer::yy_delete_buffer(yy_buffer_state*)':
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `void yyFlexLexer::yy_init_buffer(yy_buffer_state*, std::istream*)':
lex.yy.cc
lex.yy.cc
lex.yy.cc: In member function `void yyFlexLexer::yy_flush_buffer(yy_buffer_state*)':
lex.yy.cc
lex.yy.cc
lex.yy.cc: At global scope:
lex.yy.cc
lex.yy.cc: In member function `void yyFlexLexer::yypush_buffer_state(yy_buffer_state*)':
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc: At global scope:
lex.yy.cc
lex.yy.cc: In member function `void yyFlexLexer::yypop_buffer_state()':
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc: At global scope:
lex.yy.cc
lex.yy.cc: In member function `void yyFlexLexer::yyensure_buffer_stack()':
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
lex.yy.cc
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.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
Re: Tunguska the ternary emulator
Oh, wait, here's an even better version. Compiled without a hitch on FreeBSD.
http://nedopc.org/ternary/tunguska/tung ... e3.tar.bz2
http://nedopc.org/ternary/tunguska/tung ... e3.tar.bz2
-
- Admin
- Posts: 24011
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
The same thingeudoxie wrote: Oh, wait, here's an even better version. Compiled without a hitch on FreeBSD.
http://nedopc.org/ternary/tunguska/tung ... e3.tar.bz2

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.
-
- Maniac
- Posts: 277
- Joined: 17 Sep 2012 13:36
- Location: 81.170.128.52
-
- Admin
- Posts: 24011
- Joined: 08 Jan 2003 23:22
- Location: Silicon Valley
Re: Tunguska the ternary emulator
It's working
Mouse works also!

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