Commit History

Author SHA1 Message Date
  nickysn afb9c2ae94 + implemented environment variables support in the DOS unit for the WASI target 4 years ago
  nickysn c275c3c7f2 + implemented Randomize 4 years ago
  nickysn ba1dcfc6a4 + also resolve absolute paths in ConvertToFdRelativePath 4 years ago
  nickysn bc08af99b0 + initial implementation of resolving relative paths 4 years ago
  nickysn ba3383f7e3 + keep also the fds for the current dirs 4 years ago
  nickysn d3ce008cd3 + initial implementation of GetDir() for WASI 4 years ago
  nickysn 0a384b0905 * enumerate preopened dirs on startup and store them in a list, accessible via global vars in the system unit 4 years ago
  nickysn e7a1ef962e + partially implemented the initial enumeration of preopened dirs 4 years ago
  nickysn 7799cd0f80 + implemented ParamStr and ParamCount for WASI 4 years ago
  nickysn 0f50c85b44 * prefixed all wasi api functions with __wasi_, similar to the C header 4 years ago
  nickysn d5b8f6ac7a + added all the WASI API types and constants 4 years ago
  nickysn 04828b22f6 * WASI API consts, types and procs moved to separate include files 4 years ago
  nickysn 5dd7e116ce + added header comment with copyright and license info to the WASI system unit 4 years ago
  nickysn 6f20e32ddd + added argc and argv (not yet initialized), so that unit objpas compiles 4 years ago
  nickysn a28eb39f4b + implemented WASI file close 4 years ago
  nickysn fb29456a0a * fixed parameter of DebugWriteHexLongWord 4 years ago
  nickysn cdb74f034c + call InitSystemThreads in the system unit startup for WASI 4 years ago
  nickysn c8760b12d4 + initial attempt for implementing do_open. Not working yet 4 years ago
  nickysn 85ea2b9b11 + added the WASI errno constants 4 years ago
  nickysn 9b173ac119 + implemented do_isdevice for WASI 4 years ago
  nickysn d6038c5709 + implemented do_read for WASI 4 years ago
  nickysn 7f60637c92 - removed the system unit startup code debug output 4 years ago
  nickysn 204b0a777d + implemented system_exit for WASI 4 years ago
  nickysn d8f2d85474 * switch to wasi_snapshot_preview1 4 years ago
  nickysn 8866fcbc56 - removed the FULL_RTL ifdefs, i.e. always build a full rtl 4 years ago
  nickysn 5794afac54 + implemented do_write for WASI. Error handling is not yet done. 4 years ago
  nickysn 00d2f6273b + implemented OpenStdIO 4 years ago
  nickysn bc0d510ee2 + added DebugWriteHexWord and DebugWriteHexLongWord 4 years ago
  nickysn ae39e3da44 + endless loop in system_exit (for now) 4 years ago
  nickysn dd47111e61 + call SysInitStdIO (empty for now) and clear InOutRes at startup 4 years ago