mirror of
https://github.com/yourtion/30dayMakeOS.git
synced 2026-04-26 19:49:50 +08:00
Add 28 day code
This commit is contained in:
1
28_day/hello3/!cons_9x.bat
Normal file
1
28_day/hello3/!cons_9x.bat
Normal file
@@ -0,0 +1 @@
|
||||
command
|
||||
1
28_day/hello3/!cons_nt.bat
Normal file
1
28_day/hello3/!cons_nt.bat
Normal file
@@ -0,0 +1 @@
|
||||
cmd.exe
|
||||
5
28_day/hello3/Makefile
Normal file
5
28_day/hello3/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
APP = hello3
|
||||
STACK = 1k
|
||||
MALLOC = 0k
|
||||
|
||||
include ../app_make.txt
|
||||
11
28_day/hello3/hello3.c
Normal file
11
28_day/hello3/hello3.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "apilib.h"
|
||||
|
||||
void HariMain(void)
|
||||
{
|
||||
api_putchar('h');
|
||||
api_putchar('e');
|
||||
api_putchar('l');
|
||||
api_putchar('l');
|
||||
api_putchar('o');
|
||||
api_end();
|
||||
}
|
||||
1
28_day/hello3/make.bat
Normal file
1
28_day/hello3/make.bat
Normal file
@@ -0,0 +1 @@
|
||||
..\..\z_tools\make.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
Reference in New Issue
Block a user