github publish

This commit is contained in:
Ondrej Novak 2025-01-24 18:27:22 +01:00
commit 506e23bf32
542 changed files with 120675 additions and 0 deletions

23
LIBS/ERRTEST.C Normal file
View file

@ -0,0 +1,23 @@
#include <dos.h>
#include <bios.h>
#include <stdio.h>
#include <conio.h>
#include <malloc.h>
#include "doserr.h"
void *err_stack;
char err_proc(int error,char disk,char info)
{
cprintf("Device error %04X %c %03X \n\r",error,disk+'@',info);
return 3;
}
main()
{
FILE *f;
err_stack=malloc(16384);
install_dos_error(err_proc,(char *)err_stack+16384);
f=fopen("a:\test","r");
}