VOGONS

Common searches


First post, by stealthbr

User metadata
Rank Newbie
Rank
Newbie

Please , does anyone know how save files in Turbo Pascal inside dosbox ?
i always get could not create file. and the most strange is that compiled files [binary] , are written to the disk successfully. But i can not save the source code files. 😒

Reply 3 of 6, by mirekluza

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Yes, I met the problem as well. Most of these types of bugs were already eradicated from DOSBOX, but it looks like not all of them. 🙁 Probably some stupid bug in some DOS function.
It should not be too dificult to track down in debugger.

Mirek

Reply 5 of 6, by mirekluza

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

That is not that. I think it is wrong error code of int 21/41 (delete file) when file does not exist. DOS programs are often very touchy about precise error code returned.
I put this on betaboard. Code fix is needed.

Mirek