Sharp mz-3500 Manual For Use page 253

Business computer eos 3.0
Hide thumbs Also See for mz-3500:
Table of Contents

Advertisement

Section A:
System interface
************************************************************************
*
*
*
108 - Get / Set Program Return Code
*
*
*
************************************************************************
On entry:
c
6CH
DE
Return Code or 0FFFFH
On return: HL
Return Code
Possible logical errors:
- none -
Possible physical errors:
- none -
Differences to CP/M plus:
- none -
Differences to CP/M 2.2 resp. DiCOS:
New function.
Function 108 provides for a small, limited cornmucation between programs.
However,
the
programs must. be loaded by function 47,
as
the
command
interpreter
always
resets
the program return code to
0.
The
system
kernel also sets certain return codes. Following values are permitted:
!HHJ0
FEFF
FFB0 - FF7F
FF80 - FFFC
FFFD
FFFE
Successful program execution.
Not successful program execution.
- reserved -
Program aborted due to physical error.
Program aborted due to BREAK command by operator.
If DE is set to 0FFFFH on entry, EOS returns the current return code.
EOS system manual
Daeumling & Zimmermann
Page 116

Advertisement

Chapters

Table of Contents
loading

Table of Contents