The MASM Forum Archive 2004 to 2012

Miscellaneous Forums => 16 bit DOS Programming => Topic started by: laina on May 23, 2005, 06:36:30 PM

Title: PLease Help I do not know what to write in a macro for finding nonempty values
Post by: laina on May 23, 2005, 06:36:30 PM
Please I need help with this one :
Problem statement:
Develop and test a program to read the boot sector of a floppy disk, print the significant parameters therein, find the root directory and print its nonempty entries.  You will need to use the BIOS system calls INT 13H, function 02H (Read a disk sector) and int 21H function 09H (output a string).  You should not be using the open file, etc. system calls.  
PLEASE HELP!!!!!!!!!!  :( :( :( :( :( :( :( :(
Title: Re: PLease Help I do not know what to write in a macro for finding nonempty values
Post by: AeroASM on May 23, 2005, 08:11:16 PM
Read this to learn about writing assembly code.
http://maven.smith.edu/~thiebaut/ArtOfAssembly/artofasm.html
Read this to learn about the interrupts you need to use.
http://www.ctyme.com/intr/int.htm
Read this to find out about how the FAT12 filesystem works.
http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx

You should now have all the knowledge you need. Have a go at making the program and if you have any problems after that, then post the faulty code and we will help you to fix it.
Title: Re: PLease Help I do not know what to write in a macro for finding nonempty valu
Post by: BogdanOntanu on May 23, 2005, 09:16:23 PM
There isa RULE here against doing other people's HOMEWORK!
Take care...

However IF you ready to make a decent effort into doing it yourself we are here to help ;)

Title: Re: PLease Help I do not know what to write in a macro for finding nonempty valu
Post by: yodacool on June 06, 2005, 10:32:32 PM
Right, good call. But if he/she does actually make that effort and is still stumped Ill even help if I can. I know how hard assembly can be  :dazzled: