nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 18 Apr 2024 22:34



Reply to topic  [ 273 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 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
Hmm, the lines shouldn't be showing through. Anyways, I think I might have fixed the scrolling. Try the latest CVS.


09 Mar 2008 05:44
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22537
Location: Silicon Valley
Reply with quote
eudoxie wrote:
Hmm, the lines shouldn't be showing through. Anyways, I think I might have fixed the scrolling. Try the latest CVS.


No, everything looks the same


09 Mar 2008 08:06
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
Try disabling -O-flags in the makefile, see if that does anything...


09 Mar 2008 10:18
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22537
Location: Silicon Valley
Reply with quote
eudoxie wrote:
Try disabling -O-flags in the makefile, see if that does anything...


Yes, it helped


09 Mar 2008 11:57
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
How far can you optimize without it acting up? There's a pretty big performance jump between -O0 and -O1. But there is very limited performance gain between -O1 and -O2, -O3.

--edit-- I just revamped the scroll function to use the AGDP. Atleast on my computer, it scrolls as fast as xterm =D


09 Mar 2008 12:10
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22537
Location: Silicon Valley
Reply with quote
Something strange on CVS now - I got segmentation fault in g++


09 Mar 2008 19:06
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
It sounds like it's a bug in g++. What version are you using?

Could you post the output of "g++ -v". Also, when is it crashing? During compilation or linking? If compilation, what file?


10 Mar 2008 03:27
Profile
Admin
User avatar

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

Reading specs from /usr/lib/gcc/i486-slackware-linux/3.4.6/specs
Configured with: ../gcc-3.4.6/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.4.6


Now it's compiled successfully


10 Mar 2008 15:55
Profile WWW
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22537
Location: Silicon Valley
Reply with quote
Another "unofficial" build for Windows is ready:

http://nedopc.org/ternary/tunguska/tung ... _2-win.zip (1.2M)

It includes alternative assembler RASM and some examples for it (including separate program BOOT.A)


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



10 Mar 2008 16:13
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
I've made a few (backward compatible) changes to the assembler. It now allows uppercase labels and variables, and both the old
@EQU foo bar
syntax, as well as
foo @EQU bar
for defining variables.


12 Mar 2008 12:33
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22537
Location: Silicon Valley
Reply with quote
What does author think about GPL v3 ?


14 Mar 2008 06:22
Profile WWW
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
I know there has been some controversy on the subject, but not actually read up on it. I figured I'll stick with v2 until I get some clarity on the actual differences between the two (I'm fairly certain none of them really apply with Tunguska, but I prefer to be on the safe side)


14 Mar 2008 06:53
Profile
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22537
Location: Silicon Valley
Reply with quote
eudoxie wrote:
I know there has been some controversy on the subject, but not actually read up on it. I figured I'll stick with v2 until I get some clarity on the actual differences between the two (I'm fairly certain none of them really apply with Tunguska, but I prefer to be on the safe side)


I'm also still using v2 ...


14 Mar 2008 15:17
Profile WWW
Retired

Joined: 03 Aug 2003 22:37
Posts: 1474
Location: Moscow
Reply with quote
If this possible to add something like transparrent colour value to graphics mode with 729 colours ? I think this could be very handy for graphics programming.


16 Mar 2008 01:15
Profile
Maniac

Joined: 17 Sep 2012 13:36
Posts: 277
Location: 81.170.128.52
Reply with quote
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


16 Mar 2008 01:31
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 273 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9, 10 ... 19  Next

Who is online

Users browsing this forum: No registered users and 4 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.