RE: Dizzy (was:Porting spectrum games...)

2010-08-13 Thread Adrian Brown
-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Tennebø Frode Sent: 13 August 2010 11:31 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games...) Yer LZMA is a nightmare... Just out of curiosity, how much temporary memory is used for the huffman tree

RE: Dizzy (was:Porting spectrum games...)

2010-08-13 Thread Tennebø Frode
In the version im reworking, itll end up needing about 32-64k for dictionaries as well as about 8k for probabilities if i use the full lzma system. Im altering it to be more Sam memory size suited hopefully without reducing compressiong size. I appreciate the challenge in making extreme

Re: Dizzy (was:Porting spectrum games...)

2010-08-13 Thread Geoff Winkless
On 13 August 2010 13:56, Tennebø Frode frode.tenn...@saabgroup.com wrote: In the version im reworking, itll end up needing about 32-64k for dictionaries as well as about 8k for probabilities if i use the full lzma system. Im altering it to be more Sam memory size suited hopefully without

RE: Dizzy (was:Porting spectrum games...)

2010-08-13 Thread Adrian Brown
: Dizzy (was:Porting spectrum games...) In the version im reworking, itll end up needing about 32-64k for dictionaries as well as about 8k for probabilities if i use the full lzma system. Im altering it to be more Sam memory size suited hopefully without reducing compressiong size. I

RE: Dizzy (was:Porting spectrum games...)

2010-08-13 Thread Adrian Brown
;) From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Geoff Winkless Sent: 13 August 2010 14:16 To: sam-users Subject: Re: Dizzy (was:Porting spectrum games...) On 13 August 2010 13:56, Tennebø Frode frode.tenn...@saabgroup.com wrote: In the version im

RE: Dizzy (was:Porting spectrum games...)

2010-08-13 Thread Adrian Brown
Ive got other plans for this as well anyway :D and not all are screen based ;) more soon on that though From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Geoff Winkless Sent: 13 August 2010 14:16 To: sam-users Subject: Re: Dizzy (was:Porting spectrum games

RE: Dizzy (was:Porting spectrum games...)

2010-08-11 Thread Adrian Brown
] On Behalf Of Thomas Harte Sent: 07 August 2010 20:16 To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) LZMA doesn't seem to be terribly well documented, but I'm curious so do you mind if I ask a few questions? The LZ77-style stuff is quite well documented on Wikipedia

Re: Dizzy (was:Porting spectrum games...)

2010-08-07 Thread Thomas Harte
Harte Sent: 03 August 2010 18:16 To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) I've just been reading about range/arithmetic coding, which feels like it should do better than Huffman but seems to require some modulo arithmetic per input or output token so may

Re: Dizzy (was:Porting spectrum games...)

2010-08-03 Thread Thomas Harte
[mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Stefan Drissen Sent: 01 August 2010 13:31 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games...) Not a C person, but would http://sdcc.sourceforge.net/ help? -Original Message- From: owner-sam-us...@nvg.ntnu.no

RE: Dizzy (was:Porting spectrum games...)

2010-08-03 Thread Adrian Brown
To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) I've just been reading about range/arithmetic coding, which feels like it should do better than Huffman but seems to require some modulo arithmetic per input or output token so may not be time effective on a Sam. Have you

Re: Dizzy (was:Porting spectrum games...)

2010-08-02 Thread Thomas Harte
] On Behalf Of Stefan Drissen Sent: 01 August 2010 13:31 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games...) Not a C person, but would http://sdcc.sourceforge.net/ help? -Original Message- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no

RE: Dizzy (was:Porting spectrum games...)

2010-08-01 Thread Andrew Park
Subject: RE: Dizzy (was:Porting spectrum games...) Yer - yours is probably a little better then, the flashback screens are more what you want to look at. Ill play around a little more. Adrian -Original Message- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no

Re: Dizzy (was:Porting spectrum games...)

2010-08-01 Thread Frode Tennebø
On Sun, 01 Aug 2010 10:18:55 +0200, Andrew Park alp...@ntlworld.com wrote: Back in the days of the Sam there was a screen compressing utility which was ok, anyone know where i can find it? Lord Insanity's Screen Cruncher

Re: Dizzy (was:Porting spectrum games...)

2010-08-01 Thread Thomas Harte
As a quick mea culpa, there was a bug in my code that means the second set of figures I had were wrong. I'm back to an average 10% and up to 15% worse than Adrian. On Sun, Aug 1, 2010 at 9:37 AM, Frode Tennebø fr...@tennebo.com wrote: On Sun, 01 Aug 2010 10:18:55 +0200, Andrew Park

RE: Dizzy (was:Porting spectrum games...)

2010-08-01 Thread Adrian Brown
...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Thomas Harte Sent: 01 August 2010 12:16 To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) As a quick mea culpa, there was a bug in my code that means the second set of figures I had were wrong. I'm back to an average

RE: Dizzy (was:Porting spectrum games...)

2010-08-01 Thread Adrian Brown
Harte Sent: 01 August 2010 12:16 To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) As a quick mea culpa, there was a bug in my code that means the second set of figures I had were wrong. I'm back to an average 10% and up to 15% worse than Adrian. On Sun, Aug 1, 2010 at 9

RE: Dizzy (was:Porting spectrum games...)

2010-08-01 Thread Stefan Drissen
Not a C person, but would http://sdcc.sourceforge.net/ help? -Original Message- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Adrian Brown Sent: zondag 1 augustus 2010 14:04 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games

RE: Dizzy (was:Porting spectrum games...)

2010-08-01 Thread Adrian Brown
: Dizzy (was:Porting spectrum games...) Not a C person, but would http://sdcc.sourceforge.net/ help? -Original Message- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Adrian Brown Sent: zondag 1 augustus 2010 14:04 To: sam-users@nvg.ntnu.no Subject: RE

RE: Dizzy (was:Porting spectrum games...)

2010-08-01 Thread Adrian Brown
(was:Porting spectrum games...) Not a C person, but would http://sdcc.sourceforge.net/ help? -Original Message- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Adrian Brown Sent: zondag 1 augustus 2010 14:04 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy

RE: Dizzy (was:Porting spectrum games...)

2010-07-31 Thread Adrian Brown
Ok, providing I havent made any mistakes on the compressor it looks like the sizes are down at: 1: 256 x 141 : 4416 2: 256 x 141 : 5613 3: 256 x 192 : 9103 4: 256 x 192 : 8594 5: 256 x 192 : 10103 Ill write the decompressor and check, depends how slow it is to decompress i guess ;)

RE: Dizzy (was:Porting spectrum games...)

2010-07-31 Thread Adrian Brown
better compression rate. Adrian -Original Message- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Adrian Brown Sent: 31 July 2010 13:16 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games...) Ok, providing I havent made any

Re: Dizzy (was:Porting spectrum games...)

2010-07-31 Thread Thomas Harte
get a much better compression rate. Adrian -Original Message- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Adrian Brown Sent: 31 July 2010 13:16 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games...) Ok, providing I

Re: Dizzy (was:Porting spectrum games...)

2010-07-31 Thread Thomas Harte
...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Adrian Brown Sent: 31 July 2010 13:16 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games...) Ok, providing I havent made any mistakes on the compressor it looks like the sizes are down at: 1: 256 x 141

Re: Dizzy (was:Porting spectrum games...)

2010-07-31 Thread Thomas Harte
[mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Adrian Brown Sent: 31 July 2010 13:16 To: sam-users@nvg.ntnu.no Subject: RE: Dizzy (was:Porting spectrum games...) Ok, providing I havent made any mistakes on the compressor it looks like the sizes are down at: 1: 256 x 141 : 4416 2: 256 x 141

RE: Dizzy (was:Porting spectrum games...)

2010-07-31 Thread Adrian Brown
To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) Oh, but wait! Enabling searching for the best LZ77 window and pattern size (just in terms of 4 bits, 8 bits, 12 bits or 16 bits - not a completely free search) seems to put me at: 1: 256 x 141 : 4593 2: 256 x 141 : 5731 3

Re: Dizzy (was:Porting spectrum games...)

2010-07-31 Thread Thomas Harte
-us...@nvg.ntnu.no] On Behalf Of Thomas Harte Sent: 31 July 2010 14:31 To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) Oh, but wait! Enabling searching for the best LZ77 window and pattern size (just in terms of 4 bits, 8 bits, 12 bits or 16 bits

Re: Dizzy (was:Porting spectrum games...)

2010-07-30 Thread Thomas Harte
They're 16 colour (quite poorly in one case), but not necessarily using colours actually available on the Sam's. I've appended the correct number of bits to store a Sam palette after the compressed region. I've also discovered a bug that makes all my numbers worse. I'm tapping this on the bus so

RE: Dizzy (was:Porting spectrum games...)

2010-07-30 Thread Adrian Brown
11:15 To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) They're 16 colour (quite poorly in one case), but not necessarily using colours actually available on the Sam's. I've appended the correct number of bits to store a Sam palette after the compressed region. I've

Re: Dizzy (was:Porting spectrum games...)

2010-07-30 Thread Thomas Harte
-Original Message- From: owner-sam-us...@nvg.ntnu.no [mailto:owner-sam-us...@nvg.ntnu.no] On Behalf Of Thomas Harte Sent: 30 July 2010 11:15 To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) They're 16 colour (quite poorly in one case), but not necessarily

RE: Dizzy (was:Porting spectrum games...)

2010-07-30 Thread Adrian Brown
To: sam-users@nvg.ntnu.no Subject: Re: Dizzy (was:Porting spectrum games...) Just been following things quietly (Since I'm not a programming genius lol!) but apart from Dizzy, think of the graphical games SAM could do with that many non-tiled full screens? As has been said, being able to use

Re: Dizzy (was:Porting spectrum games...)

2010-07-25 Thread Stefan Drissen
Shouldn't that be: ftp://ftp.nvg.ntnu.no/pub/sam-coupe/incoming ftp://ftp.nvg.ntnu.no/pub/sam-coupe/incomingI have no clue if files are directly readable or if Frode needs to step in. Regards, Stefan On Sun, Jul 25, 2010 at 8:12 PM, the_wub ! the...@gmail.com wrote: I've uploaded a demo to