HNHacker News
TopNewBestAskShowJobs

cthackers

205 karma · joined July 19, 2011

submissionscomments
cthackers··on Real pixel coding (2011)
Initially is a 2d array but when saved without a image header to give it width and height (and other meta data) it becomes just an array of bytes. A color is encoded in 3 bytes, so with each pixel he can write one, two or three opcodes. If you google opcode tables you'll find plenty of examples of how assembly instructions are encoded in bytes.

For example (this is 16 bit but for the sake of demonstration) byte A1 (10100001) means ADD AX, BX. 101(add)00(ax)001(bx).

[Edit]

Found a cool image showing x86 opcodes. http://i.imgur.com/69Lli.png

And even a cooler one with windows exe description (not DOS .com as he used) http://i.imgur.com/tnUca.jpg Look at the right side of the image where it sais x86 Assembly where it colors and explains each byte. His .com was only that part since .com didn't need headers and imports and it was just code.

cthackers··on Real pixel coding (2011)
I'm sure this is very possible. There are only few opcodes for a x86 real mode com to use and if you look at the demoscene and see what those guys can do...this is not even that impressive :) Steve Wozniak wrote BASIC for the Apple computer in binary.
cthackers··on Duke Nukem 3D Code Review
just click on it and it should download and install quick time that will place a plugin in your browser
cthackers··on Website Impounded
I agree. The worst he should have done: bring the website to the state where it was before he replaced it with his website. Not hold hostage the hosting/domain which I'm sure the client didn't bought from him and if they did, at least the domain name was paid for. So route that into the void if you host it.
← PreviousPage 2 of 2