BBS: Inland Empire Archive Date: 04-19-92 (10:46) Number: 110 From: DICK DENNISON Refer#: NONE To: BOB PERKINS Recvd: NO Subj: Re:# Of Disk Drives Conf: (2) Quik_Bas
BP> I've played with that function, but for some reason haven't been abl BP> get it to work with my HD. The two references I have aren't clear on BP> set up for a HD, and on top of that contradict each other.. I saw som BP> in here awhile back that showed using 0,1,etc for floppy drives and BP> 128,129,etc for HDs (for the drive number). Still reports my HD parti BP> are not ready. Got some example code that you could show me? '$include:'qb.bi' dim regs as regtype regs.ax = &h2 * 256 + 1 'AL = # of sectors to read regs.cx = 0 'Ch = cyl, CL = sector regs.dx = 128 'dl = drive 128 = 1st HD interrupt &h13, regs,regs if regs.flags and 1 then beep 'error 'etc. --- VP [DOS] V4.09e * Origin: New York Quick Share Point * HST (914)374-3903 (1:272/34)
Books at Amazon:
Back to BASIC: The History, Corruption, and Future of the Language
Hackers: Heroes of the Computer Revolution (including Tiny BASIC)
Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution
The Advent of the Algorithm: The Idea that Rules the World
Moths in the Machine: The Power and Perils of Programming
Mastering Visual Basic .NET