Hi all,

Several days ago I started to learn some assembly programming. Starting assembly programming using DOS is nice because this way you can learn the basics without being blocked all the time by items like special addressing modes usually used in other operating systems. For the moment I'm using Microsoft Macro Assembler. I'm intending to change to NASM but first I need to be more confident in my assembly programming skills and the book I use to learn assembly, uses MASM to present all the examples.

Too bad I couldn't find no MS-DOS disks anymore, but no problem because here comes FreeDOS to the resque. The installation of MASM on FreeDOS was no issue at all. Everything went perfect.

But at the moment I'm bumping into 2 problems with FreeDOS:
- when using nmake to assemble and link several file, I get the error message: "can't swap program back into memory" or something like that. Any idea what the cause may be? When nmake starts a sub process for the first time, everything goes fine until the sub process has ended its job and exists to give control again to nmake. Then that error message pops up.
- in 1 of the examples, the authors use the DOS interrupt function 25h to read a disk sector from the floppy drive. However, this doesn't happen. The light of the floppy drive lights up a bit but other then that nothing happens. The drive doesn't start rotating the disk and no data from the requested sector is transfered into memory. Is the current FreeDOS implementation of this function compatible with MS-DOS? If not, what other interrupt service can I use to read disk sectors from floppy disk and hard drives?


And keep up the good work on FreeDOS!

Regards,
Andy Peeters.


------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click _______________________________________________ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to