Yellow! 13b by g0blinish
[nfo]
|
||||||||
---|---|---|---|---|---|---|---|---|
|
||||||||
|
popularity : 49% |
|||||||
alltime top: #77477 |
|
|||||||
added on the 2019-01-11 10:18:02 by g0blinish |
popularity helper
comments
doable in 10b at least, probably less ;) 11b with return to prompt ;)
added on the 2019-01-11 18:28:17 by HellMood
yes, if replace mov ch,$FA to loop xxx
awesome shaders
down to 8 bytes :
Code:
A:les cx,[si]
db 219
stosw
mov ah,0xe
jmp short A+1
explanation needed
it's textmode. the adress to the screen is loaded from the code itself. SI points to STOSW + the DB 219, translating to 0xABDB which lands in ES. CX is not used, the only reason it is CX and not something else : the combination of CX and [SI] makes the modbyte of LES = 0x0C which is the instruction OR AL,(byte). The byte behind that is 219 which is the ASCII Code for a full char. A yellow char has to be 219 (or 177,178,179) because as a background color, it would be brown. Now at the second run, OR AL,219 is executed. 0x0E in AH is just yellow, 0x1E, 0x2E etc. with different background colors are also possible. The first run is critical, but the FLD instruction (opcode 219) luckily does no harm and aligns with the code right at JMP instruction.
Maybe it's doable in 7 or 6, like grey screen with no music 6b
Useful sources:
http://sparksandflames.com/files/x86InstructionChart.html
http://ref.x86asm.net/geek.html (scroll to the end)
Maybe it's doable in 7 or 6, like grey screen with no music 6b
Useful sources:
http://sparksandflames.com/files/x86InstructionChart.html
http://ref.x86asm.net/geek.html (scroll to the end)
crap
Pointless
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 !