Hacker News new | past | comments | ask | show | jobs | submit login

This reminds me of a neat trick I saw in an old 4k demo: adding text (e.g. the creator's name) at the very beginning of the binary. They'd figured out what the text meant in machine language, then added a few opcodes after to undo the effects of executing the text directly.



Back in 2001 I created an executable this way which runs on both linux and dos:

http://320x200.org/attic/files/doslinux.asm


Did they tack a ^Z after the text so that when you TYPE the executable, you get just the "hi mom from bitphr33k / n3cr0ph1li4" or whatever?


IIRC, they did not, but that would have been a great idea.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: