Killing Source File; Setting A Default Device; Display Or Print Out Of Directory; Initialization Of Device (Used By Init Statement Of Basic) - Sharp mz-800 Technical Reference And User's Manual

Hide thumbs Also See for mz-800:
Table of Contents

Advertisement

Killing source file
LD A,logical-number
LD B,O
SVC.CLKL
Setting a default device
LD DE,device-name
?SVC .COUNT
SVC .DEVNM
SVC.SETDF
Display or Print out of directory
LD DE,deyice name
SVC.COUNT
SVC .DEVNM
LD
B,A
XOR A
SVC .DIR
LD
A,B
LD A,88H(or 89H)
SVC .DIR
; Specified file only if the logical number is not zero and all files if it is
; zero.
; Kill the file(s).
; Set the pointer position in the default device name in DE.
; Sets the length of the device name in B and returns.
; Interpret (specify) the device name.
; Set the device specified by the value in ACC to the current device.
; Set the pointer position of the device name whose directory is to be
; displayed or printed out in DE.
; Sets the length of the device name in B and returns.
; Interpret (specify) the device name.
; Read the directory into the directory buffer in the monitor.
; Output the directory to the CRT if the contents of ACC is 88H or to the
; printer if it is 89H.
Initialization of device (used by INIT statement of BASIC)
LD DE, device-name
SVC.COUNT
SVC .DEVNM
SVC .FINIT
; Set the pointer position for the device name to be initialized in DE.
; Set the length of the device name in B and returns.
; Interpret (specify) the device name.
; Initialize the device.
66

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents