flat assembler
Message board for the users of flat assembler.
Index
> Main > CHALLENGE: 193 Byte's of 8-bit code and the task is to find |
Author |
|
DOS386 12 Jan 2010, 08:38
...
IMPORTANT FIX : If anyone downloaded this before 2011-01-01 please redownload (see post below) Task: find out what the code is supposed to do Hints: 1. It DOES work 2. It IS useful 3. It IS copyrighted 4. I made it easy by decommenting the code partially only Especially interesting for those who missed or failed my previous challenge t=9016 P.S.: the syntax highlighting on pastebin sucks EDIT: http://board.flatassembler.net/topic.php?t=15664 Last edited by DOS386 on 10 Aug 2013, 08:29; edited 5 times in total |
|||
12 Jan 2010, 08:38 |
|
revolution 12 Jan 2010, 09:02
Temperature conversion?
|
|||
12 Jan 2010, 09:02 |
|
DOS386 12 Jan 2010, 09:30
revolution wrote: Temperature conversion? NO. Ways more useful and spectacular |
|||
12 Jan 2010, 09:30 |
|
f0dder 12 Jan 2010, 09:36
Why'd you put it on pastebin anyway, instead of a <code> block here?
|
|||
12 Jan 2010, 09:36 |
|
revolution 12 Jan 2010, 09:48
Drawing a bitmap?
|
|||
12 Jan 2010, 09:48 |
|
ass0 12 Jan 2010, 10:53
I know, i know!! It generates the serial number to activate the UGM-133 Trident II.
_________________ Nombre: Aquiles Castro. Location2: about:robots |
|||
12 Jan 2010, 10:53 |
|
baldr 12 Jan 2010, 13:16
DOS386,
Does it compile? movntq eax, 0 looks pretty goofy, just as cmpntq ch,0 does. Without ntqs got 204 bytes (use32, naturally). |
|||
12 Jan 2010, 13:16 |
|
revolution 12 Jan 2010, 18:56
bored
|
|||
12 Jan 2010, 18:56 |
|
DOS386 13 Jan 2010, 07:23
baldr wrote:
> Does it compile? YES (might be marginally incomplete, though). > movntq eax, 0 looks pretty goofy, just as cmpntq ch,0 does. > Without ntqs got 204 bytes (use32, naturally). You now see why they are in Hint: My NTQ MACRO's might help a bit revolution wrote: Quote: I was bored so ... You won the challenge ... but only to 83.2% because: + Found it out + Posted image - Colours are wrong - Stole 2 pixles in both dimensions (should be 450 x 450) - Lost the chessboard in bottom right square - The bloat of your image is far away from acceptable (should be <=694 Byte's) Download now: TESTPICT.ZIP (6'914 Byte's) Primary CHALLENGE IS CLOSED Follow-up's: - Optimize the code below 193 Byte's - Optimize the PNG below 694 Byte's (669 achieved meanwhile) - Code the remaining parts of the FASM-Photosh** EDIT : updated attachments Last edited by DOS386 on 23 May 2010, 02:46; edited 2 times in total |
|||
13 Jan 2010, 07:23 |
|
revolution 13 Jan 2010, 07:44
And how is this "Ways more useful and spectacular"?
|
|||
13 Jan 2010, 07:44 |
|
bitRAKE 13 Jan 2010, 08:44
Just a small improvement in PNG size (669 bytes).
(Thanks go to PNGout really!) There should be a semi-data driven improvement to the code - I'll give it some thought.'' [Attachment removed due to changes in op post above.] _________________ ¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup Last edited by bitRAKE on 26 May 2010, 01:32; edited 1 time in total |
|||
13 Jan 2010, 08:44 |
|
Borsuc 13 Jan 2010, 17:10
revolution wrote: And how is this "Ways more useful and spectacular"? _________________ Previously known as The_Grey_Beast |
|||
13 Jan 2010, 17:10 |
|
DOS386 14 Jan 2010, 02:20
revolution wrote: And how is this "Ways more useful and spectacular"? See above bitRAKE wrote: > Just a small improvement in PNG size (669 bytes). A large improvement > (Thanks go to PNGout www . ardfry . com / pngoutwin / really!) I already have all PNG optimization tools, except, of course, PNGoutWIN http://advsys.net/ken/utils.htm http://www.jonof.id.au/forum/index.php?topic=1515.0 Obviously Ken Silverman is the King of PNG optimization but he isn't the King of Reliable announcements. He intended to open source PNGOUT some years ago, this didn't happen, instead PNGoutWIN arised, and PNGOUT license was "clarified" (-> more restrictive). Then he wrote that the compression of PNGOUT would egalize PNGoutWIN, just PNGoutWIN would be faster on multi-CPU systems. But as we can see, now PNGOUT is far behind PNGoutWIN The result from PNGOUT sucked compared to OPTIPNG (rare ...) so the 694 Byte's version is from OPTIPNG http://optipng.sf.net/ http://sourceforge.net/projects/optipng/ My previous PNG challenge: http://board.flatassembler.net/topic.php?t=7296 At least, I outperformed PNGoutWIN by factor 3.43 with my code |
|||
14 Jan 2010, 02:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.