when testing USB support for DOS with USBASPI.SYS and DI1000DD.SYS, the kernel simply crashed.
the patch below helps. for unknown reasons, the temp_buff is required; using deblock_buff instead of temp_buff doesn't work. now my notebook happily detects and uses my USB drive :)) STATIC int rqblockio(unsigned char command, struct dpb FAR * dpbp) { retry: MediaReqHdr.r_length = sizeof(request); MediaReqHdr.r_unit = dpbp->dpb_subunit; MediaReqHdr.r_command = command; MediaReqHdr.r_mcmdesc = dpbp->dpb_mdb; MediaReqHdr.r_status = 0; + if (command == C_BLDBPB) + { + static char temp_buff[512]; + MediaReqHdr._r_x._r_bpb._r_fat = (boot FAR *)&temp_buff; + } ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel