I'm writing an OS, called SerpentOS. It will be booted from a floppy (with option to install to HDD). The bootable part is done, it boots into protected mode with A20 gate enabled, and starts a C kernel. Can someone supply me with some code to:
1. List files in a specific location.
2. Execute a file (.com, .exe, etc. (one type would be sufficient))
With these I intend to make two functions in the core of the kernel which will list contents of a directory you type, and execute a file you enter. This will provide very basic OS functionality, and I can then move on to add rename/delete/new functions, and then finally write programs for my own OS ^-^.
Thanks to whomever helpz..
~DevPortal
1. List files in a specific location.
2. Execute a file (.com, .exe, etc. (one type would be sufficient))
With these I intend to make two functions in the core of the kernel which will list contents of a directory you type, and execute a file you enter. This will provide very basic OS functionality, and I can then move on to add rename/delete/new functions, and then finally write programs for my own OS ^-^.
Thanks to whomever helpz..
~DevPortal