Function 23h Get File Size (FCB)Searches current subdirectory for matching file, returns size in Struct -FCB
entry AH 23h
DS:DX address of an unopened Struct -FCB
return AL 00h file found
0FFh file not found
note 1) Record size field (offset 0Eh) must be set before invoking this function
2) The disk directory is searched for the matching entry. If a matching
entry is found, the random record field is set to the number of records
in the file. If the value of the Record Size field is not an even
divisor of the file size, the value set in the relative record field is
rounded up. This gives a returned value larger than the actual file size
3) This call is used by the APPEND command in DOS 3.2+
See also:
| file: /Techref/int/21f/23.htm, 0KB, , updated: 1999/4/26 11:31, local time: 2012/2/10 00:56,
38.107.179.231:LOG IN |
| ©2012 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/int/21f/23.htm"> int 21f 23</A> |
| Did you find what you needed? |
|
Robotics nuts!Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark. This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow! |
.