Added a 16-bit Hello World app.
This commit is contained in:
1 parent
0148811a0c
commit
fbe6aaf432
2 files changed
+14
No files matched your search
@@ -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 ...
|
||||
|
||||
Executable
BIN
Binary file not shown.
Reference in new issue
Block a user