Hello. I just downloaed DB101. I tried to compile it on my OS4.1 system since it is written for an OS4 system. But the compilation breaks.
It has the following issues:
suspend.c:
define RTCF_ALL does not exist.
define NP_HomeDir missing. Needs:
#include <dos/obsolete.h>
async.c: In function 'Async_StartRead':
async.c:27: error: 'struct FileHandle' has no member named 'fh_Type'
I see you already modified that from original. Suggest using SendPkt() to avoid going too low level. Since it already uses the proper API to allocate a DOS packet anyway. And it will lbe forward compatible.
There may be more. This as far as I have got. If it helps I could fork it, fix it, then pull request it. :-D
Hello. I just downloaed DB101. I tried to compile it on my OS4.1 system since it is written for an OS4 system. But the compilation breaks.
It has the following issues:
suspend.c:
define RTCF_ALL does not exist.
define NP_HomeDir missing. Needs:
#include <dos/obsolete.h>
async.c: In function 'Async_StartRead':
async.c:27: error: 'struct FileHandle' has no member named 'fh_Type'
I see you already modified that from original. Suggest using SendPkt() to avoid going too low level. Since it already uses the proper API to allocate a DOS packet anyway. And it will lbe forward compatible.
There may be more. This as far as I have got. If it helps I could fork it, fix it, then pull request it. :-D