home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
DRI-archive
/
roche
/
BEEP.ASM
< prev
next >
Wrap
Assembly Source File
|
2009-12-11
|
1KB
|
68 lines
; BEEP.ASM
; --------
;
; CP/M 3 BEEP
;
; Disassembled by:
;
; ROCHE Emmanuel
; 8 rue HERLUISON
; 10000 TROYES
; FRANCE
; ------
;
page 0 ; Listing without page breaks
;
org 100H ; Standard CP/M COMmand file
;
;--------------------------------
; ASCII characters used
;
ctrlg equ 07H ; BELl
;
;--------------------------------
; List of BDOS functions used
;
coninp equ 1 ; Console input
conout equ 2 ; Console output
;
;--------------------------------
; List of page zero locations used
;
bios equ 0000H ; BIOS entry point
bdos equ 0005H ; BDOS entry point
;
;--------------------------------
; Start of program
;
start: mvi c,conout
mvi e,ctrlg ; Beep
call bdos
mvi c,coninp ; Wait for a key pressed
call bdos
jmp bios ; Then reboots CP/M Plus
;
;--------------------------------
; CP/M Plus header
;
ds 49
;
db 'CP/M VERSION 3.0'
db 'COPYRIGHT 1982, '
db 'DIGITAL RESEARCH'
db '151282'
;
ds 1 ; Area for patch numbers 25 to 32
ds 1 ; Area for patch numbers 17 to 24
ds 1 ; Area for patch numbers 9 to 16
; ds 1 ; Area for patch numbers 1 to 8
;
db 1 ; This version of BEEP.COM had
; been applied a patch number 1...
;
db '654321' ; (Default) Serial number
;
;--------------------------------
;
end 100H ; Standard CP/M COMmand file