home *** CD-ROM | disk | FTP | other *** search
- ; Dummy RSXINIT file. The real one should be "RSXINIT.INC"
- ; This contains the minimum needed for an RSX system. All the
- ; routines in the system are available. Part of the RSX system
- ; C.B. Falconer, 85/9/24
- ;
- ; Check run command parameters. Carry if not satisfactory
- ; This routine may parse values into storage as desired.
- ; If failure and carry set,
- ; then (de) must return a pointer to a help msg
- ; a,f,b,c,d,e,h,l (allowed)
- chkparms:
- ora a; clear carry, all well
- ret
- ;
- ; Custom initialization.
- ; When this routine is reached the various bios vector copies
- ; (and patches if "driver" is true) have been made. This
- ; routine may alter the connectors in "biosv" to install new
- ; drivers, etc. The original routines are available thru
- ; "bsave" table. Remember that any routines connected MUST
- ; live in the retained portion of code, following "@keep"
- ; below, and I recommend putting their code in the "rsx" area.
- ; If "driver" is false any bios modifications made through
- ; this routine will only be available to applications calling
- ; the bios directly (through location 1), and not to BDOS.
- ; This example only outputs a message
- ; a,f,b,c,d,e,h,l allowed
- init: lxi d,imsg
- jmp tstr
- ;
- ; This message only used above in init. Optional
- imsg: db ' up$'
- ;
- ; This message is displayed on system signon. Terminate with '$'
- signon: db 'RSX$'
- ;
- ; This routine MUST be supplied. Normally just returns. It is
- ; called only when the RSX is found to be already installed. If
- ; it returns the RSX will be brought down. This may control the
- ; pre-installed RSX, and exit with "jp boot". When called the
- ; "ckparms" routine has already been executed, but "init" has
- ; not (and will not be called)
- ; a,f,b,c,d,e,h,l (allowed)
- bgnhk: ret
- ;
- ; This routine MUST be supplied. Normally just returns. It is
- ; called only when the RSX is found to be already installed. If
- ; it returns the RSX will be brought down. This may control the
- ; pre-installed RSX, and exit with "jmp boot". When called the
- ; "ckparms" routine has already been executed, but "init" has
- ; not (and will not be called)
- ; a,f,b,c,d,e,h,l (allowed)
- killhk: ret
- :1