Subversion Repositories SvarDOS

Rev

Rev 1994 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1994 Rev 1996
Line 669... Line 669...
669
  return(MK_FP(udsc_seg, udsc_off));
669
  return(MK_FP(udsc_seg, udsc_off));
670
}
670
}
671
 
671
 
672
 
672
 
673
/* returns 0 if fsid is a valid (recognized) filesystem for SvarDOS install  */
673
/* returns 0 if fsid is a valid (recognized) filesystem for SvarDOS install  */
674
static int is_fstype_valid(char fsid) {
674
static int is_fstype_valid(unsigned char fsid) {
675
  switch (fsid) {
675
  switch (fsid) {
676
    case 0x01: /* FAT-12 in first 32M of disk                                */
676
    case 0x01: /* FAT-12 in first 32M of disk                                */
677
    case 0x04: /* FAT-16 partition that resides within first 32M of disk     */
677
    case 0x04: /* FAT-16 partition that resides within first 32M of disk     */
678
    case 0x06: /* FAT-16B with 64K+ sectors, must be within first 8G of disk */
678
    case 0x06: /* FAT-16B with 64K+ sectors, must be within first 8G of disk */
679
    case 0x0B: /* FAT-32 with CHS addressing                                 */
679
    case 0x0B: /* FAT-32 with CHS addressing                                 */