NO

Author Topic: Tiny "Hello world!"  (Read 3780 times)

kobold

  • Guest
Tiny "Hello world!"
« on: February 08, 2006, 05:46:54 pm »
I created some months ago a tiny "hello world" example in only 544 bytes of code. Everything is made with PellesC, no special tools were used.
Perhaps you might find it usefull for your work.
Enjoy...

Freddy

  • Guest
Tiny "Hello world!"
« Reply #1 on: February 08, 2006, 08:21:31 pm »
Pelles C linker rulez!  :)
But the EXE woth align set to 0x10 will work on any windows version?

Offline Vortex

  • Member
  • *
  • Posts: 529
    • http://www.vortex.masmcode.com
Tiny "Hello world!"
« Reply #2 on: February 08, 2006, 08:46:55 pm »
Quote from: "Freddy"
Pelles C linker rulez!  :)
But the EXE woth align set to 0x10 will work on any windows version?


The Microsoft Portable Executable specification says that an executable should have the size of a minimum 1024 bytes. There is no any guarantee that kobold's executable will run on every version of windows.
Code it... That's all...

kobold

  • Guest
Tiny "Hello world!"
« Reply #3 on: February 08, 2006, 10:19:22 pm »
This example is not designed to be as compatible as possible, i made it for testing only. To test how small a hello world program can be, and to test every dirty trick i know. Making a 1024 byte program is lame  :mrgreen: