Buddhist flags by El Topo [web]
[nfo]
|
||||||||
---|---|---|---|---|---|---|---|---|
|
||||||||
|
popularity : 56% |
|||||||
alltime top: #11513 |
|
|||||||
|
||||||||
added on the 2020-09-09 13:25:22 by El Topo |
popularity helper
comments
flagtastic
Lucky you, not choosing the Korean Buddhist flag ;-)
flag&platform vote ^^
i'll have a look into this ;)
i'll have a look into this ;)
quick shot: 47 bytes with ESC support
there is space for improvement or a message
but not today ^^
Code:
org 100h
push 0xa000
pop es
mov al,0x13
int 0x10
X:mov ax,0xcccd
mul di
movzx ax,dl
imul ax,byte 6
cmp ah,5
jl F
movzx ax,dh
imul ax,byte 6
F: mov bl,ah
mov al,[byte bx+si+table]
stosb
in al,0x60
dec ax
jnz X
ret
table: db 32,44,40,15,42
there is space for improvement or a message
but not today ^^
Thumb up for summoning HellMood! :-D
what baah said :D
what sensenstahl said :D
what v3nom said
for the prod + what superogue said
Nice, also the first three lines from the left resemble Romanian flag
41 bytes:
Code:
...
mul di
cmp dl,256*5/6
jb F
mov dl,dh
F:
mov al,6
mul dl
mov bl,ah
...
it seems we summoned frag :O
beautiful optimization giving me further ideas
-> 39 bytes:
so with removing ESC check and switching to int10 plotting it is 34b
maybe 32b possible after all?
beautiful optimization giving me further ideas
-> 39 bytes:
Code:
...
mul di
xchg dx,ax
cmp al,256*5/6
jc F
mov al,ah
F:
aam 43
mov bl,ah
...
so with removing ESC check and switching to int10 plotting it is 34b
maybe 32b possible after all?
32 bytes:
verrry dirty, but works (at least in DosBox)
Code:
%define d -(0x13)
db 0x7f+d,44+d,4+d,15+d,42+d
Z:cwd
add al,-d
int 0x10
mov ax,0xcccd
mul cx
xchg dx,ax
cmp al,256*5/6
jc H
mov al,ah
H:
aam 43
mov bl,ah
mov al,[bx+si]
mov ah,0x0c
loop Z
verrry dirty, but works (at least in DosBox)
Not exactly due to the heavy sizecoding but there can
be a tradeoff, try w from 40 to 43, 41 looks ok
(and still 32 bytes ;)
be a tradeoff, try w from 40 to 43, 41 looks ok
(and still 32 bytes ;)
Code:
%define d -(0x13)
%define w 41
db 0x7f+d,44+d,4+d,15+d,42+d
Z:cwd
add al,-d
int 0x10
mov ax,0xcccd
mul cx
xchg dx,ax
cmp al,w*5
jc H
mov al,ah
H:
aam w
mov bl,ah
mov al,[bx+si]
mov ah,0x0c
loop Z
namaste motherfuscker :) nice
What is buddah
Thats great, bong buddah. Also great optimizing in the thread _b
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 !
I'm no Hellmood so when I couldn't make it below 64b I threw in some palette changes and other crap.