| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Volume labels |
G'Day Frank,
-=> Quoting Frank Malcolm to Frank Adam <=-
FA> Yep, i found it in Ralph Brown's interrupt list, good idea to get it
FA> from there, it's only DOS4+ but i suppose older ones shouldn't be around
FA> now.
FM> You could check the DOS version, if it's less than 4 do a
FM> FindFirst/Next to get it from the root directory, if not do the $6900
Ahah, i'm going to put an extra 2-3K source so i can find an all important
item like the disklabel, sure thing. :-)
FM> call. Or do both, but then what do you do if the one in the root
FM> directory is different from the one in the boot sector? :-)
I'd probably chuck all my scanners and Norton disk doctor into a for-next
loop and just watch..:-)
FA> Of course i could've done something previously that left the machine in a
FA> bad state, but unlikely.
FM> Sure, I never do that either. :-)
See ? :)
FM> BTW, you may not need to actually install an interrupt handler, just
FM> use FindFirst. If the floppy is not there you don't hang but get
FM> DosError = 152. Sorry, that's in Pascal, don't know what the equivalent
FM> is in C, presumably the function returns an error code.
I don't think so, not in C anyway, if you don't catch the harderr
yourself the dos abort/retry/fail comes up. Not pretty to say the least.
After that, one could extract the doserr info, and see if the operation
was a succes or not, and inform the user, but ideally that should be done
without dos poking in it's ugly face previously.
Ps: Ralph's new interrupt list is out. You can get it at:
ftp://archie.au/micros/pc/garbo/pc/programming/....inter50?.zip
L8r Frank (fadam{at}ozemail.com.au).
___ Blue Wave/DOS v2.21
--- Maximus 3.01
* Origin: The Software Parlour (3:635/544)SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 727 711/401 409 410 413 SEEN-BY: 711/430 808 809 932 934 712/515 713/888 714/906 800/1 @PATH: 635/544 50/99 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.