VOGONS


Turbo Pascal 7 HELP

Topic actions

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 1 of 6, by Guest

User metadata

something with backups. see if you can disable the creation of backup 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 4 of 6, by Guest

User metadata

106120880: DOSMISC:DOS:57:Set File Date Time Faked
Here 's the debug output
but i dont know how fix it
can u help me ?

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

Reply 6 of 6, by mirekluza

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

Fixed in CVS. It will be ok in the next version.

Mirek