[comp.sys.atari.st.tech] Reading a Disk Sector

ccs004@bambam.Ucdavis.EDU (Nick Adami) (05/15/91)

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