home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
pcpursut
/
pisrc.ark
/
CUSTOM.ASM
< prev
next >
Wrap
Assembly Source File
|
1988-07-14
|
3KB
|
111 lines
; CUSTOM.ASM - Customizes PCPIMP for each individual user - 14 Jul 88
;
; This overlay starts where the IMP overlay quits at 0400h and ends at
; 0480h. Edit your changes then assemble using ASM (or equivelant as-
; sembler) to get CUSTOM.HEX, then then use MLOAD.COM to merge into the
; main file: You would do the same with a suitable IMP overlay to get
; a .HEX file (even if using some program other than IMP once the BBS
; is connected): Then merge:
;
; MLOAD PCPIMP.COM=PCPIMP.COM,CUSTOM.HEX,I2DP-2.HEX
; |
; your IMP overlay (whatever it's called) /
;
;-----------------------------------------------------------------------
;
ORG 0400H ; Starts where IMP overlay stops
;
YES EQU 0FFH
NO EQU 0
;
;
MANUAL EQU NO ; Yes for manual, No for Smartmodem
;
;
CR EQU 'M'-40H ; CTL-M = Carriage return
;
;-----------------------------------------------------------------------
; don't mess with pointers in this area
;
UDPTR: DW IDSTRING ; Pointer to user id 400H
PASSPTR: DW PASSWORD ; Pointer to password 402H
MINITPTR: DW MDMINIT ; Pointer to modem init string 404H
DIAL12PTR: DW DIAL12 ; Pointer to 1200 baud number 406H
DIAL24PTR: DW DIAL24 ; Pointer to 2400 baud numer 408H
TCONPTR: DW TELCON ; Pointer to string to compare 40AH
; for Telenet connect
CHAINPTR: DW CHAIN ; Pointer to connect prog 40CH
MINIT2: DW MDMINIT2 ; 2400 initialization string 40EH
;
; don't mess with pointers in this area
;-----------------------------------------------------------------------
;
DDRIVE: DB 1 ; Database Drive 0=default, 1=A: 410H
; 2=B:, etc.
DUSER: DB 0 ; Database User Area Only used if
; DDRIVE > 0
CITYPTR: DW 039H ; Pointer to location of city code 412H
; used for reconnect (3 bytes)
MDRIVE: DB 1 ; Modem Prog. Drive 0=default, 1=A: 414H
; 2=B:, etc.
MUSER: DB 0 ; Modem Prog. User Area. Only used if
; MDRIVE > 0
;
; User identificationa and password
;
IDSTRING: DB 'IHOFF',CR ; Put your user identification here
DB 0
;
PASSWORD: DB '1234ABC',CR ; Put your password here
DB 0
;
;-----------------------------------------------------------------------
;
; Smartmodem initialization strings
;
; 1200 baud initialization string
;
MDMINIT EQU $
;
IF MANUAL
DB 0
ENDIF
;
DB 'ATQ0M1V1X1',CR
DB 0
;
;
; 2400 baud initialization string
;
MDMINIT2 EQU $
;
IF MANUAL
DB 0
ENDIF
DB 'ATQ0M1V1X4',CR
DB 0
;
;-----------------------------------------------------------------------
;
; String to dial your local telenet number goes here - the setting in
; the IMP overlay decides which will be used.
;
DIAL12: DB 'ATDT856-9995',CR ; 1200 baud PCP node number
DB 0
;
DIAL24: DB 'ATDT856-0484',CR ; 2400 baud PCP node number
DB 0
;
;
TELCON: DB 'CONNECT' ; String that your modem echos when
DB 0 ; connected with Telenet at any speed
;
CHAIN: DB 'IMP T',0 ; Program to chain to on connect
;
;-----------------------------------------------------------------------
;
; This point must be less than 480H
;
END