How to run a program off a fat disk?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
thewomble

How to run a program off a fat disk?

Post by thewomble »

This seems to be the most lively os board.
I'm looking for nasm source to run a program of a fat disk.
I've found bootsector code, but I'm finding it impossible to run it out of a boot sector environment.
anyhelp?
j.weeks

RE:How to run a program off a fat disk?

Post by j.weeks »

>On 2001-11-14 16:06:58, thewomble wrote:
>This seems to be the most lively os board.
>I'm looking for nasm source to run a program of a fat disk.
>I've found bootsector code, but I'm finding it impossible to run it out of a boot sector environment.
>anyhelp?

I once wrote a little assembly program that would
load the first sector of a floppy to 0x7c000 and
jump to that code. It'd work from DOS.

It wouldn't require much effort to use DOS calls
to load a file, rather than the first sector of a
disk.

Jeff

ps - unfortunately, no, I don't have the source
anybody, but any OS developer could write it up
in about 5 seconds :)
Post Reply