Hi,

On Wed, Jul 31, 2024 at 2:51 PM magic-girl--- via Freedos-devel
<freedos-devel@lists.sourceforge.net> wrote:
>
> i'm an autistic girl of 12 years old. I try to convert ancient 16 bit ms-dos 
> code to modern C#.
> However there is not even docs anymore about old ms-dos functions and i don't 
> have ms-dos specific C knowledge.

Try looking at old classic HelpPC (David Jurgens):

* https://stanislavs.org/helppc/
or
* https://helppc.netcore2k.net/
or
* https://www.sac.sk/download/text/helppc21.zip
"helppc21.zip HelpPC v2.1 - PC Programmers 1995-01-20"

For instance:

* https://helppc.netcore2k.net/interrupt/int-21
int 21h

INT 21,3C  Create file using handle
INT 21,3D  Open file using handle
INT 21,3E  Close file using handle
INT 21,3F  Read file or device using handle
INT 21,40  Write file or device using handle
INT 21,41  Delete file
INT 21,42  Move file pointer using handle

* https://helppc.netcore2k.net/c/fread
* https://helppc.netcore2k.net/c/-dos-write
* https://helppc.netcore2k.net/c/cprintf


_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to