15byte shaded pipes by Posercummers [web] | ||||||||
---|---|---|---|---|---|---|---|---|
|
||||||||
|
popularity : 63% |
|||||||
alltime top: #47123 |
|
|||||||
added on the 2004-03-12 21:52:18 by lylh |
popularity helper
comments
Nice one, even if my eyes did hurt a lot trying to follow those pixels :-)
of course seeing the "steel", "pipes" and "Shadows" requires a little imagination from 15b ;)
oogod it's friggin ugly, you should've tried to use more bytes to make it look better.
Hehe, that was cool playing with my eyes :-)
nice, was better than i expected from the description :-)
kbab: I guess that is not the point of sizecoding..
kbab: I guess that is not the point of sizecoding..
What's with all the wasted space? Two whole extra bytes! Try this on for size:
mov ax, 0x13
int 0x10
les bp, [bx]
.loop:
inc di
adc al, 16
stosb
jmp .loop
mov ax, 0x13
int 0x10
les bp, [bx]
.loop:
inc di
adc al, 16
stosb
jmp .loop
cool ;)
Not interesting..
s_tek: oh, for some weird reason i thought ADC could not use immediate values, don't know where i got that from.
ONLY POSERCUMMERS AND S_TEK MAKES IT POSSIBLE
ONLY POSERCUMMERS AND S_TEK MAKES IT POSSIBLE
in four years "Hello World" will be considered a diskmag :S
word.
stelthz: it is. watch a 4k. the whole point of sizecoding is stuffing cool stuff in few bytes. this isn't cool stuff, it's crap. no matter the bytecount.
stelthz: it is. watch a 4k. the whole point of sizecoding is stuffing cool stuff in few bytes. this isn't cool stuff, it's crap. no matter the bytecount.
teh suxx
watch the finger!
Lylh: Actually, adc is a byte smaller when used between the accumulator (al) and a constant. See http://www.swansontec.com/sintel.htm.
;; 12 bytes (whee)
start:
mov al, 0x13
int 0x10
les bp, [bx]
.loop:
inc di
adc al, 16
stosb
jmp short .loop
start:
mov al, 0x13
int 0x10
les bp, [bx]
.loop:
inc di
adc al, 16
stosb
jmp short .loop
Or if you compiled with Fasm, it converts automatically jmps to short were needed, also mov ax,00nn to mov byte ax,nn, etc. At the beginning, I was searching why the hell my intros are smaller while compiling with Fasm :)
i dont see it...... im with ryg
let's see you try to make shaded steel pipes casting a shadow, all in 15 bytes, then we'll talk!
selfvoting sucks
selfvoting sucks
shit
yes,yes ! look ! raytraced fuzzy reflecting pipes with dynamic lights and morphing surface ! aaaaaahhhhhhhhhh !
I can't get it under 11 bytes!
mov al, 13h
int 10h
les bp, [bx]
loop:
adc al, 16
stosw
jmp short loop
mov al, 13h
int 10h
les bp, [bx]
loop:
adc al, 16
stosw
jmp short loop
We might overlap the postbyte of the LES instruction with the first byte of the loop.
Too bad tha opcode's 2 LSB mismatch.
Too bad tha opcode's 2 LSB mismatch.
Hey! Anybody for a *10 byte* version?
; -=* thE /P.A.P.+O./ (BraiN)KiLLeR *=-
; supercode
les bx,[bx]
mov al,13h
int 10h ; adc al,bh
loop:
clc
stosb
jmp short (loop-1)
; -=* thE /P.A.P.+O./ (BraiN)KiLLeR *=-
; supercode
les bx,[bx]
mov al,13h
int 10h ; adc al,bh
loop:
clc
stosb
jmp short (loop-1)
Yeah, it's 15 bytes, but this thing is so small it just leaves a "so what" flavour in my mouth.
It's small, I'll give you that. But what's the point of programming something small if it isn't good? Not my thing, sorry.
this is rather a "hey i managed to create some shit with 15 bytes" than a "i crammed this effect into 15 bytes"
Quote:
;; WORLD DOMINATION 2004
;; tested only with nasm, download it as warez from kazaa
The joke got old fast.
Tiny effect
.
lists containing this prod
submit changes
if this prod is a fake, some info is false or the download link is broken,
do not post about it in the comments, it will get lost.
instead, click here !
ONLY POSERCUMMER MAKES IT POSSIBLE