home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
CPM
/
TURBODSG
/
RTDS14.LBR
/
LOGOP.MAC
< prev
next >
Wrap
Text File
|
2000-06-30
|
768b
|
41 lines
; LOGOP - log in the sysop
; this should be a coldstart file for the slave the sysop
; uses as his local console IF it is to be autologged.
;
.z80
;
tdos equ 50h
;
cseg
;
; put info away (store login time in DRI format and acl)
; entered with HL=access level
;
logop: ld sp,stack
ld de,80h ;set DMA address to 80H
ld c,26
call 5
ld de,82h
ld c,105 ;get current time
call 5
ld (86h),a
ld a,9 ;sysop gets ACL=9
ld (80h),a
ld a,77h ;flag byte
ld (81h),a
ld bc,16 ;size of name field
ld de,90h ;dest
ld hl,sname ;orig
ldir ;move
xor a
ld (100h-65),a ;reset twix flag
ld bc,41 ;execute save parameter call
ld h,90h
call tdos
rst 0
;
sname: 'SYSOP',0,0,0,0,0,0,0,0,0,0,0
ds 80
stack equ $
end
⌠≥╖╩┬▀=