Skip to content

Commit

Permalink
Added a 16-bit Hello World app.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 6, 2018
1 parent 0148811 commit fbe6aaf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/hello16.c
@@ -0,0 +1,14 @@
// wcc test16.c -bt=os2 -fo=.obj -zq -od -ms -i="C:\WATCOM\h\os21x"
// wlink name test16 sys os2 op q file test16.obj

#define INCL_DOS
#include <os2.h>

int main(void)
{
DosPutMessage(1, 32, "Hello from a 16-bit OS/2 .exe!\r\n");
return 0;
}

// end of hello16.c ...

Binary file added tests/hello16.exe
Binary file not shown.

0 comments on commit fbe6aaf

Please sign in to comment.