EasyManua.ls Logo

Commodore Amiga - Page 158

Commodore Amiga
321 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AUDOLC
SET
CLEAR
AUDOEN
DMAEN
SINEDATA:
EQU
EQU
EQU
EQU
EQU
DS.W
AUDOLCH
$08000
o
$01
$0200
o
;Be sure word-aligned
DC.B
0,
gO,
127,
gO,
0,-gO,-127,-gO
MAIN:
LEA
SINEDATA,
AO
WHEREODATA:
MOVE.L
AO,
AUDOLC
SETAUDOLENGTH:
MOVE.W
#4,
AUDOLEN
SETAUDOVOLUME:
MOVE.W #64,
AUDOVOL
SETAUDOPERIOD:
MOVE.W #447,
AUDOPER
BEGINCHANO:
jAddress
of
data to
; audio location register 0
; The 68000 writes
this as though
it
were
a 32-bit register at the
low-bits location
(common to all locations
and pointer registers
in
the system).
;Set length in words
;
Use
maximum volume
MOVE.W
#(SET
+
DMAEN
+
AUDOEN),
DMACONW
END
146
Audio Hardware

Table of Contents

Other manuals for Commodore Amiga

Related product manuals