Digital Research
This commit is contained in:
2020-11-06 18:50:37 +01:00
parent 621ed8ccaf
commit 31738079c4
8481 changed files with 1888323 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
name inpout
;
; CP/M-86 1.1 PIP Utility INP: / OUT:
; Interface module with separate code and data
; Code org'd at 080h
; December 18, 1981
cgroup group code
assume cs:cgroup
code segment public 'CODE'
public inploc,outloc,inpd,outd
org 00h ; for separate code and data
inpd proc
push bp
call inploc
pop bp
ret
inpd endp
outd proc
push bp
mov bp,sp
mov al,[bp]+4
call outloc
pop bp
ret 2
outd endp
inploc proc
mov al,01Ah
ret
inploc endp
outloc proc
ret
nop
nop
outloc endp
org 07fh
db 0
code ends
end