Dec 062017
 
Masm and C source for a program to control a PC from remote location.
File BYEPC300.ZIP from The Programmer’s Corner in
Category C Source Code
Masm and C source for a program to control a PC from remote location.
File Name File Size Zip Size Zip Type
AUTOEXEC.BAT 93 79 deflated
BYE-PC.DOC 47696 13632 deflated
BYE300.ASM 100296 23030 deflated
BYE300.COM 4193 2901 deflated
BYE300.OBJ 6759 4005 deflated
BYECHAT 0 0 stored
BYEXFACE.H 1108 402 deflated
CHAT 318 148 deflated
CHAT.C 3529 1330 deflated
CHAT.EXE 7448 4772 deflated
CHAT.MAP 1401 350 deflated
CHAT.OBJ 1483 1074 deflated
BYESHELL 0 0 stored
BYEXFACE.H 1108 402 deflated
SHELL 313 143 deflated
SHELL.C 20772 5993 deflated
SHELL.EXE 16474 10233 deflated
SHELL.OBJ 6313 3786 deflated
BYESTAT 0 0 stored
BIT.H 557 138 deflated
BYEXFACE.H 1108 402 deflated
MODEL.H 1963 639 deflated
READ.ME 633 343 deflated
STAT 368 166 deflated
STAT.C 14255 3774 deflated
STAT.EXE 11938 6872 deflated
STAT.MAP 1401 353 deflated
STAT.OBJ 7293 3654 deflated
TDELAY.ASM 2803 929 deflated
TDELAY.OBJ 114 114 stored
BYEXLIB 0 0 stored
BAUD.ASM 535 237 deflated
BYEXFACE.H 1205 442 deflated
BYEXLIB 2546 601 deflated
BYEXLIBC.LIB 4608 1323 deflated
BYEXLIBC.RES 209 130 deflated
BYEXLIBL.LIB 5120 1590 deflated
BYEXLIBL.RES 209 130 deflated
BYEXLIBM.LIB 5120 1586 deflated
BYEXLIBM.RES 209 130 deflated
BYEXLIBS.LIB 4608 1321 deflated
BYEXLIBS.RES 209 130 deflated
CHKBYE.ASM 2651 958 deflated
DTR.ASM 905 413 deflated
GETC.ASM 620 283 deflated
GETCD.ASM 633 284 deflated
GETCSW.ASM 541 249 deflated
GETNAME.ASM 1502 614 deflated
GETNULLS.ASM 501 217 deflated
GETTIMER.ASM 613 271 deflated
GETTIMON.ASM 562 239 deflated
MODEL.INC 525 240 deflated
PUTC.ASM 873 398 deflated
README.DOC 2413 833 deflated
RXFLUSH.ASM 676 306 deflated
RXINT.ASM 833 364 deflated
RXSIZE.ASM 733 330 deflated
SETBRK.ASM 1085 454 deflated
SETCD.ASM 898 392 deflated
SETCSW.ASM 719 316 deflated
SETNAME.ASM 1346 559 deflated
SETNULLS.ASM 682 298 deflated
SETTIMON.ASM 775 341 deflated
STDIN.ASM 899 401 deflated
STDOUT.ASM 932 400 deflated
VERS.ASM 543 244 deflated
VERSION.ASM 1556 500 deflated
WARMBOOT.ASM 534 243 deflated
BYEXMDM 0 0 stored
BYEXFACE.H 1108 402 deflated
BYEXFACE.OBJ 2081 969 deflated
CRC.ASM 7336 1612 deflated
CRC.OBJ 292 255 deflated
CTRLBRK.ASM 3601 1053 deflated
CTRLBRK.H 211 151 deflated
CTRLBRK.OBJ 178 163 deflated
MODEL.H 1963 639 deflated
READ.ME 1111 560 deflated
XMDM 429 188 deflated
XMDM.C 29023 8386 deflated
XMDM.EXE 15446 8928 deflated
XMDM.OBJ 7755 4169 deflated
COM.BAT 42 38 deflated
COMPAQ.BUG 1346 667 deflated
CREATE.BAT 873 203 deflated
MAKEFILE 769 389 deflated
README 3125 1405 deflated

Download File BYEPC300.ZIP Here

Contents of the READ.ME file



** Compiling the Source Code **

* To create a new version of STAT.EXE you will need the following
source files on disk:

STAT.C
TDELAY.ASM

* Compile STAT.C using the following command for Microsoft C

MSC STAT;

* Compile TDELAY.ASM you will need MASM.EXE to assemble the code.
this module is pre-compiled for the Small Memory Model and need
not be changed unless, you change memory model sizes.

MASM TDELAY;

* Once both modules are compiled you will need the following object
modules to link using RELNK.BAT:

STAT.OBJ
TDELAY.OBJ
BYEXFACE.OBJ (see directory \BYEXFACE)


** Compiling the Source Code **

* To create a new version of XMDM.EXE you will need the following
source files on disk:

XMDM.C
CRC.ASM
CRTLBRK.ASM
CRTLBRK.H
BYEXFACE.H
MODEL.H

The easiest way to create XMDM.EXE is by using the provided
'make' file XBBS. To do this simply use the following command
in your compilers directory:

C>make xbbs

This will compile all modules and link the program to produce
the executable file XMDM.EXE. Note you must have MASM, MSC, and
and LINK in the appropriate paths.


* Compile XMDM.C using the following command for Microsoft C

MSC XMDM;

* Compile CRC.ASM you will need MASM.EXE to assemble the code.
this module is pre-compiled for the Small Memory Model and need
not be changed unless, you change memory model sizes.

MASM CRC;
MASM CTRLBRK;

* Once both modules are compiled you will need the following object
modules to link using LINK:

XMDM.OBJ
CRC.OBJ
CTRLBRK.OBJ
BYEXFACE.OBJ (see directory \BYEXFACE)

C>link xmdm+crc+ctrlbrk+..\byexface\byexface.obj;




Contents of the README file



** Compiling the Source Code **

* To create a new version of STAT.EXE you will need the following
source files on disk:

STAT.C
TDELAY.ASM

* Compile STAT.C using the following command for Microsoft C

MSC STAT;

* Compile TDELAY.ASM you will need MASM.EXE to assemble the code.
this module is pre-compiled for the Small Memory Model and need
not be changed unless, you change memory model sizes.

MASM TDELAY;

* Once both modules are compiled you will need the following object
modules to link using RELNK.BAT:

STAT.OBJ
TDELAY.OBJ
BYEXFACE.OBJ (see directory \BYEXFACE)


** Compiling the Source Code **

* To create a new version of XMDM.EXE you will need the following
source files on disk:

XMDM.C
CRC.ASM
CRTLBRK.ASM
CRTLBRK.H
BYEXFACE.H
MODEL.H

The easiest way to create XMDM.EXE is by using the provided
'make' file XBBS. To do this simply use the following command
in your compilers directory:

C>make xbbs

This will compile all modules and link the program to produce
the executable file XMDM.EXE. Note you must have MASM, MSC, and
and LINK in the appropriate paths.


* Compile XMDM.C using the following command for Microsoft C

MSC XMDM;

* Compile CRC.ASM you will need MASM.EXE to assemble the code.
this module is pre-compiled for the Small Memory Model and need
not be changed unless, you change memory model sizes.

MASM CRC;
MASM CTRLBRK;

* Once both modules are compiled you will need the following object
modules to link using LINK:

XMDM.OBJ
CRC.OBJ
CTRLBRK.OBJ
BYEXFACE.OBJ (see directory \BYEXFACE)

C>link xmdm+crc+ctrlbrk+..\byexface\byexface.obj;



*** BYE-PC Version 3.00 ***

by
Robert Starr,Jr.
5760 Villas Lane Apt. D
Montgomery, Alabama 36116
(205) 244-7230

Well here it is! This is the first release of BYE-PC to the
public domain. I hope that it will provide some utility to as many
people as possible to further my programming efforts. This program
was originally distributed as a demo package of compiled versions in
hopes of generating a small profit.

Unfortunatly I only sold two copies in a years time after a one and
a half year development time. Please do not abuse the priveledge of
access to the source code.
The file COPYRGHT.DOC contains the copyright notice. If I find out
someone is taking advantage of the copyright agreement, I will take
action to prevent it. If you use this program on a regular basis and
it provides some utility, a user donation is recomended for support.
A donation of $30 dollars would greatly be appreciated.


** Setting Up the AUTOEXEC.BAT file **

* The AUTOEXEC.BAT file included on this disk is the proper way to
set up a system using BYE-PC. This will load the SHELL.EXE after
exiting to DOS to prevent unauthorized commands.

* Use DR (IBM Disk Repair or other disk editor) to modify the file
directory of this AUTOEXEC.BAT. You will need to change the attribute
from a 20h to a 27h for this file. This will prevent the AUTOEXEC.BAT
file from appearing in the directory when using the DIR command. The
DOS utility ATTRIB will not work here, since it only sets files to
read or write permission mode.

* Note the SHELL.EXE will not load unless you warm boot the system
and continue execution from the AUTOEXEC file. Use Alt-Ctrl-Del to
start call waiting, and to ensure the SHELL.EXE will load when
entering DOS.

* To compile BYExxx.ASM with the IBM Assembler, Linker, and EXE2BIN in
the current directory pathname, use the following command and provided
batch file to link with:

C>masm bye204;
C>com bye204;
C>ren bye204.COM BYE.COM

{for use with MASM 4.00 simply type}

C>MAKE BYE

BYE.COM is now ready for use and will load automatically after
booting provided the AUTOEXEC.BAT file is configured correctly

* Normally you will need to set up a XBBS system all within one
major subdirectory that SHELL.EXE prohibits access to. This prevents
users from entering the SYTEM and XBBS directories. A sample
disk directory structure should look as follows:

root a:\system\xbbs
|
|-- system --|
| |
xbbs dos

All XBBS system files should be placed in the \SYSTEM\XBBS directory
to prevent unauthorized access. Any DOS utilities should be placed
in the \SYSTEM\DOS directory prevent user access, but allow certain
DOS utilities to reside here (ADIR, ARC, Etc...).



Contents of the README.DOC file



** Compiling the Source Code **

* To create a new version of STAT.EXE you will need the following
source files on disk:

STAT.C
TDELAY.ASM

* Compile STAT.C using the following command for Microsoft C

MSC STAT;

* Compile TDELAY.ASM you will need MASM.EXE to assemble the code.
this module is pre-compiled for the Small Memory Model and need
not be changed unless, you change memory model sizes.

MASM TDELAY;

* Once both modules are compiled you will need the following object
modules to link using RELNK.BAT:

STAT.OBJ
TDELAY.OBJ
BYEXFACE.OBJ (see directory \BYEXFACE)


** Compiling the Source Code **

* To create a new version of XMDM.EXE you will need the following
source files on disk:

XMDM.C
CRC.ASM
CRTLBRK.ASM
CRTLBRK.H
BYEXFACE.H
MODEL.H

The easiest way to create XMDM.EXE is by using the provided
'make' file XBBS. To do this simply use the following command
in your compilers directory:

C>make xbbs

This will compile all modules and link the program to produce
the executable file XMDM.EXE. Note you must have MASM, MSC, and
and LINK in the appropriate paths.


* Compile XMDM.C using the following command for Microsoft C

MSC XMDM;

* Compile CRC.ASM you will need MASM.EXE to assemble the code.
this module is pre-compiled for the Small Memory Model and need
not be changed unless, you change memory model sizes.

MASM CRC;
MASM CTRLBRK;

* Once both modules are compiled you will need the following object
modules to link using LINK:

XMDM.OBJ
CRC.OBJ
CTRLBRK.OBJ
BYEXFACE.OBJ (see directory \BYEXFACE)

C>link xmdm+crc+ctrlbrk+..\byexface\byexface.obj;



*** BYE-PC Version 3.00 ***

by
Robert Starr,Jr.
5760 Villas Lane Apt. D
Montgomery, Alabama 36116
(205) 244-7230

Well here it is! This is the first release of BYE-PC to the
public domain. I hope that it will provide some utility to as many
people as possible to further my programming efforts. This program
was originally distributed as a demo package of compiled versions in
hopes of generating a small profit.

Unfortunatly I only sold two copies in a years time after a one and
a half year development time. Please do not abuse the priveledge of
access to the source code.
The file COPYRGHT.DOC contains the copyright notice. If I find out
someone is taking advantage of the copyright agreement, I will take
action to prevent it. If you use this program on a regular basis and
it provides some utility, a user donation is recomended for support.
A donation of $30 dollars would greatly be appreciated.


** Setting Up the AUTOEXEC.BAT file **

* The AUTOEXEC.BAT file included on this disk is the proper way to
set up a system using BYE-PC. This will load the SHELL.EXE after
exiting to DOS to prevent unauthorized commands.

* Use DR (IBM Disk Repair or other disk editor) to modify the file
directory of this AUTOEXEC.BAT. You will need to change the attribute
from a 20h to a 27h for this file. This will prevent the AUTOEXEC.BAT
file from appearing in the directory when using the DIR command. The
DOS utility ATTRIB will not work here, since it only sets files to
read or write permission mode.

* Note the SHELL.EXE will not load unless you warm boot the system
and continue execution from the AUTOEXEC file. Use Alt-Ctrl-Del to
start call waiting, and to ensure the SHELL.EXE will load when
entering DOS.

* To compile BYExxx.ASM with the IBM Assembler, Linker, and EXE2BIN in
the current directory pathname, use the following command and provided
batch file to link with:

C>masm bye204;
C>com bye204;
C>ren bye204.COM BYE.COM

{for use with MASM 4.00 simply type}

C>MAKE BYE

BYE.COM is now ready for use and will load automatically after
booting provided the AUTOEXEC.BAT file is configured correctly

* Normally you will need to set up a XBBS system all within one
major subdirectory that SHELL.EXE prohibits access to. This prevents
users from entering the SYTEM and XBBS directories. A sample
disk directory structure should look as follows:

root a:\system\xbbs
|
|-- system --|
| |
xbbs dos

All XBBS system files should be placed in the \SYSTEM\XBBS directory
to prevent unauthorized access. Any DOS utilities should be placed
in the \SYSTEM\DOS directory prevent user access, but allow certain
DOS utilities to reside here (ADIR, ARC, Etc...).


************************************************
** **
** BYE-PC Interface Libraries for MSC **
** using **
** Microsoft Assembler Version 5.0 **
** **
************************************************

This disk contains all of the source code a MAKE files needed
to create the libraries for all memory models. This code requires using
the Microsoft Macro Assembler Version 5.0. Many new features have been
added to the assembler to ease creation of C modules, not to mention
an impressive assemble time.

These libraries on this disk were created using the steps below
with MASM Version 5.0. Other assemblers will not work without modifing
the source code modules. The new .CODE, and .MODEL directives take care
of all the segment declarations for use with MS languages. Also, the
PROC's are automatically converted to NEAR or FAR based on the model
directive. Likewise, the BP+# is adjusted by the ARG equates based on
memory model @codesize directive.

To change the memory model you simply need to edit one include
file on this disk MODEL.INC. Set the complier MODEL directive in this
file to .SMALL, .COMPACT, .MEDIUM or .LARGE. After selection the
appropriate memory model you are ready to compile the code. This assumes
your disk is setup with MASM, LIB, and MAKE. Edit the MAKE file BYEXLIB
to set the macro "$(model)=s,c,m or l". The following examples show the
command line form:

SMALL MODEL:
Step 1) Edit MODEL.INC and set directive to "MODEL .SMALL"
Step 2) C>make model=s byexlib
Step 3) Link applications to newly created BYEXLIBS.LIB

COMPACT MODEL:
Step 1) Edit MODEL.INC and set directive to "MODEL .COMPACT"
Step 2) C>make model=c byexlib
Step 3) Link applications to newly created BYEXLIBC.LIB

MEDIUM MODEL:
Step 1) Edit MODEL.INC and set directive to "MODEL .MEDIUM"
Step 2) C>make model=m byexlib
Step 3) Link applications to newly created BYEXLIBM.LIB

LARGE MODEL:
Step 1) Edit MODEL.INC and set directive to "MODEL .LARGE"
Step 2) C>make model=l byexlib
Step 3) Link applications to newly created BYEXLIBL.LIB



 December 6, 2017  Add comments

Leave a Reply