Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!caen!uwm.edu!linac!att!ucbvax!ucdavis!bambam.Ucdavis.EDU!ccs004 From: ccs004@bambam.Ucdavis.EDU (Nick Adami) Newsgroups: comp.sys.atari.st.tech Subject: Reading a Disk Sector Message-ID: <12948@aggie.ucdavis.edu> Date: 14 May 91 22:36:33 GMT Sender: usenet@aggie.ucdavis.edu Reply-To: ccs004@bambam.Ucdavis.EDU (Nick Adami) Organization: University of California, Davis Lines: 13 Hola, I need to know how to read a sector from a disk in ST-Basic. I have the new version of basic that came with my 1040 STE. I used to be able to read sectors with a small assemble routine that I used with that Call command. This know longer work though because the new version has made all integers 32-bits long, and the assembly routine expects paramaters to be passed in 16-bit integers. The new version of basic has built in commands to call different OS routines. I don't have a reference book though. Can anybody give me the command to read and write sectors or a routine to do it. Thanks. Nick Adami