Jump to content

Recommended Posts

Posted (edited)

Added chessboard benchmark visualization.



Edited by zbyti

Share this post

Link to post
Share on other sites
1 hour ago, zbyti said:

Old Good Sieve: 1899 10x (less is better) on emulator

mad pascal : 607 frames
cc65       : 614 frames
vbcc       : 636 frames


-O3 does not seem to work too well with this test. -O gives better results.


Also, when compiling with vbcc, did you notice this warning?

>  stop_ticks ==- start_ticks;
warning 153 in line 41 of "sieve.c": statement has no effect

Replacing it with stop_ticks -= start_ticks; and using those options

cl65 -t atari -Oisr -Cl sieve.c -o sieve-cc65.xex
vc +atari -O -speed sieve.c -c99 -o sieve-vbcc.xex

I get:

mad pascal : 607
cc65       : 601
vbcc       : 589


sieve-vbcc.xex sieve-cc65.xex sieve.c

  • Like 1

Share this post

Link to post
Share on other sites
Posted (edited)



It's ashamed to admit it, but I missed this warning, I changed it at the end and confused it with the printf warning. I've been programming too much in Action! on A8 last days where it is correct :D 


I need to study the compiler flags closely ;) - perfect result, congratulations! 

Edited by zbyti
last days

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...