•  Back 
  •  Assembler 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : Pure Assembler Documentation
Author      : John Kormylo
Version     : PASM.HYP 1.0
Subject     : Documentation/Pure Assembler
Nodes       : 740
Index Size  : 20262
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ hdv_mediach ]

hdv_mediach  = $47E  ;L   vector    BIOS    Mediach

... returns media change value in D0, or a BIOS/GEMDOS Error Code.
  0 = Diskette was definitely changed
  1 = Diskette may have been changed
  2 = Diskette was definitely changed

Stack contains:
   4(SP)  drive number (0=A, 1=B, ...).

Registers D3-D7/A3-A7 must be preserved.
Jump to old vector if wrong drive, otherwise RTS.

See also hdv_bpb, hdv_rw and hdv_boot.