Minigames 2006 : Go !

Want to talks about games you like, would like to see developed on the Oric, it's here.
User avatar
Euphoric
Game master
Posts: 99
Joined: Mon Jan 09, 2006 11:33 am
Location: France

Post by Euphoric »

Argh, I forgot to count the 2^(n-1) bytes for the table of compressed values...
This makes the compression gain negative in all cases, ouch...

I understand that changing the location of zero page variables to addresses having the same value than the most common values can lead to better compression ratios, but this is impossible for my program because I have a table of 80 pointers in page zero that must be kept in consecutive locations...

Ok, back to manual compression, then...
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug »

Well, don't hesitate publishing the source code here, I guess that people will be happy to look for way to get the code to fit in the 1k limit :)
User avatar
Euphoric
Game master
Posts: 99
Joined: Mon Jan 09, 2006 11:33 am
Location: France

Post by Euphoric »

Yeap, I've put the source code in the distribution submitted to the compo...
Will post it here when I find some time...

Cheers,

Fabrice
User avatar
Dbug
Site Admin
Posts: 4444
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Post by Dbug »

3230 points :)
User avatar
Euphoric
Game master
Posts: 99
Joined: Mon Jan 09, 2006 11:33 am
Location: France

Post by Euphoric »

Ah, you're not using the latest version...
It now has easier controls, on http://oric.free.fr/TAPES/proton.zip
(and source code too... quite funny to see that for a 1K binary, a very sparsely commented source is 16K, or 10 pages long... :-)
Post Reply