larsbrinkhoff / lbForth

Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
GNU General Public License v3.0
414 stars 113 forks source link

code write-file #93

Closed Phi-Ho closed 3 years ago

Phi-Ho commented 3 years ago

Hello,

It is much appreciated if it could be elaborated on why int 80 was used instead of "WriteFile" (kernel32.dll pe-symbol)

Regards,

phiho

larsbrinkhoff commented 3 years ago

This is bug #52. I believe it's an oversight from porting the Linux target to Windows.