Implement __sysremove for sim65

This will allow using unlink()/remove() in sim65 programs
Use it to unlink fgets' test output file
This commit is contained in:
Colin Leroy-Mira
2024-01-25 09:12:46 +01:00
parent 65937684a0
commit 0dd7b0c3a5
5 changed files with 106 additions and 5 deletions

View File

@@ -44,11 +44,11 @@
#define PARAVIRT_BASE 0xFFF4
#define PARAVIRT_BASE 0xFFF2
/* Lowest address used by a paravirtualization hook */
#define PVOPEN_PATH_SIZE 1024
/* Maximum path size supported by PVOpen */
#define PV_PATH_SIZE 1024
/* Maximum path size supported by PVOpen/PVSysRemove */