Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/osfree-project/osfree
- Loading branch information
Showing
13 changed files
with
127 additions
and
7 deletions.
There are no files selected for viewing
Submodule DOS
updated
10 files
+1 −1 | CMD/basic/basic.mk | |
+2 −1 | CMD/basic/makefile | |
+7,821 −0 | CMD/basic/patches/basic2.diff | |
+317 −0 | CMD/basic/patches/basic3.diff | |
+525 −0 | CMD/basic/patches/basic4.diff | |
+66 −2 | CMD/mem/makefile | |
+1 −0 | CMD/mem/mem.mk | |
+7 −0 | CMD/mem/msg.asm | |
+132 −0 | CMD/mem/patches/mem.diff | |
+48 −0 | CMD/mem/utilmd04.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/*! | ||
@file all_querypathinfo.c | ||
@brief utility functions for query path info | ||
shared along all code | ||
(c) osFree Project 2024, <http://www.osFree.org> | ||
for licence see licence.txt in root directory, or project website | ||
@author Yuri Prokushev <yuri.prokushev@gmail.com> | ||
*/ | ||
|
||
#include <all_shared.h> /* shared functions and defines */ | ||
|
||
APIRET all_QueryPathInfo(PSZ pszPathName, | ||
ULONG ulInfoLevel, | ||
PVOID pInfo, | ||
ULONG cbInfoBuf) | ||
{ | ||
#ifdef __386__ | ||
return DosQueryPathInfo(pszPathName, ulInfoLevel, pInfo, cbInfoBuf); | ||
#else | ||
return DosQPathInfo(pszPathName, ulInfoLevel, (PBYTE)pInfo, cbInfoBuf, 0); | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/*! | ||
@file all_setpathinfo.c | ||
@brief utility functions for set path info | ||
shared along all code | ||
(c) osFree Project 2024, <http://www.osFree.org> | ||
for licence see licence.txt in root directory, or project website | ||
@author Yuri Prokushev <yuri.prokushev@gmail.com> | ||
*/ | ||
|
||
#include <all_shared.h> /* shared functions and defines */ | ||
|
||
APIRET all_SetPathInfo(PSZ pszPathName, | ||
ULONG ulInfoLevel, | ||
PVOID pInfoBuf, | ||
ULONG cbInfoBuf, | ||
ULONG flOptions) | ||
{ | ||
#ifdef __386__ | ||
return DosSetPathInfo(pszPathName, ulInfoLevel, pInfoBuf, cbInfoBuf, flOptions); | ||
#else | ||
return DosSetPathInfo(pszPathName, ulInfoLevel, (PBYTE)pInfoBuf, cbInfoBuf, flOptions, 0); | ||
#endif | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
@echo off | ||
set verbose=yes | ||
set root=. | ||
:loop | ||
if exist "%root%\tools\mk\all.mk" goto found | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule Win32
updated
48 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/*! | ||
@file all_querypathinfo.h | ||
@brief all_QueryPathInfo utility function header, shared along all code | ||
(c) osFree Project 2024, <http://www.osFree.org> | ||
for licence see licence.txt in root directory, or project website | ||
@author Yuri Prokushev <yuri.prokushev@gmail.com> | ||
*/ | ||
|
||
#ifndef _ALL_QUERYPATHINFO_H_ | ||
#define _ALL_QUERYPATHINFO_H_ | ||
|
||
APIRET all_QueryPathInfo(PSZ pszPathName, | ||
ULONG ulInfoLevel, | ||
PVOID pInfo, | ||
ULONG cbInfoBuf); | ||
|
||
#endif /* _ALL_QUERYPATHINFO_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/*! | ||
@file all_setpathinfo.h | ||
@brief all_SetPathInfo utility function header, shared along all code | ||
(c) osFree Project 2024, <http://www.osFree.org> | ||
for licence see licence.txt in root directory, or project website | ||
@author Yuri Prokushev <yuri.prokushev@gmail.com> | ||
*/ | ||
|
||
#ifndef _ALL_SETPATHINFO_H_ | ||
#define _ALL_SETPATHINFO_H_ | ||
|
||
APIRET all_SetPathInfo(PSZ pszPathName, | ||
ULONG ulInfoLevel, | ||
PVOID pInfoBuf, | ||
ULONG cbInfoBuf, | ||
ULONG flOptions); | ||
|
||
#endif /* _ALL_SETPATHINFO_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff -urN mkmsgf/src/mkmsgf.c newmkmsgf/src/mkmsgf.c | ||
--- mkmsgf/src/mkmsgf.c Sun Apr 14 12:21:30 2024 | ||
+++ newmkmsgf/src/mkmsgf.c Sun Apr 14 12:20:40 2024 | ||
@@ -905,13 +905,17 @@ | ||
outlen++; | ||
if (outlen==ASM_MSG_SIZE) | ||
{ | ||
- fprintf(fpo, "'\r\n\tDB\t"); | ||
- if (strncmp("\r\n", readptr, 2)) fprintf(fpo, "'"); | ||
+ if (*readptr) fprintf(fpo, "'\r\n\tDB\t"); | ||
+ if (strncmp("\r\n", readptr, 2)&& *readptr) fprintf(fpo, "'"); | ||
outlen=0; | ||
} | ||
} | ||
|
||
} | ||
+ | ||
+ // If no EOL, then just close string without 0dh, 0ah | ||
+ if (strncmp("\r\n", readptr-2, 2)) fprintf(fpo,"'"); | ||
+ | ||
fprintf(fpo,"\r\n"); | ||
|
||
//msg_num_check++; |