home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
develop
/
here
/
source
/
commsdemo.s
Wrap
Text File
|
1995-02-27
|
568b
|
43 lines
Section Test,code
opt o+,w-,d+ ;use write to disk for symbol list
COM = 1 ;COMMS ON
COMBIG = 1 ;LARGE MEMORY MODEL
output ram:temp.exe
*--------------------------------------------*
Start:
IFNE COM
jsr InitComms ;setup COMMS
ENDC
.loop move.w $dff000,$dff180
IFNE COM
jsr Comms ;test for RMB
ENDC
btst #6,$bfe001
bne .loop
IFNE COM
jsr KillComms ;remove COMMS
ENDC
moveq.l #0,d0
Exit: rts
*--------------------------------------------*
IFNE COM
include Comms/comms.i
ENDC
*--------------------------------------------*
end