home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
bye3
/
bye339.lbr
/
-BYEUTIL.DOC
next >
Wrap
Text File
|
1985-12-02
|
2KB
|
37 lines
With the advent of the BYE-BDOS calls in version 3.37 of BYE, we have gained
quite a powerful set of RCP/M oriented functions. However, not many people
have learned how to take advanage of these extended BDOS calls.
This library of utilities should help you quite a bit.
In Astec 'C', BDS 'C', and Turbo Pascal (for a start), there are two
routines that we may use to access our BYE-BDOS extended functions.
These commands are BDOS and BDOSHL (aka BDOSA, and BDOSHL).
They basically call the bdos, pass some data, and return with either what
was in the A register or what was in the HL register.
Unfortunately, Microsoft's BASIC compiler does not have these functions, so I
have provided them. The following files are some utilities I quickly whipped
together in various languages for various languages.
BDOS.MAC - BDOS/BDOSHL subroutines (BASCOM/M80)
BDOS.REL - assembled (using M80)
GETNAME.BAS - Print out name of current user (BASCOM)
CALLME.PAS - Call-me-back program (Turbo Pascal)
CALLME.COM - compiled
BYETIME.PAS - Current time/Time on System program (Turbo Pascal)
BYETIME.COM - compiled
From these utilities and the BYE documentions, it should be obvious that we
really have a lot of power in the BYE-BDOS routines. In fact, programs such
as CALLME could not have been done (except for individual computers) without
the BYE-BDOS calls.
pst
Saratoga OxGate: 408/354-5934
300/1200/2400