
Apple II Computer Info
#############################################################################
### FILE : digitize
#############################################################################
### Created : Sunday, January 14, 1996 Modified: Sunday, January 14, 1996
### File Type: "TEXT" File Creator: "LMAN"
### File Size: 3217 bytes 3 KB
#############################################################################
Path: ns-mx!hobbes.physics.uiowa.edu!news.iastate.edu!vaxe.iastate.edu!TWBV4
Newsgroups: comp.sys.apple2
Subject: Re: Sound Digitization
Date: 17 Dec 91 15:33:21 GMT
References:
Organization: Iowa State University, Ames, Iowa
Lines: 71
Okay, here goes, the official AudioZap Digitizing Method. :-)
Set BufPtr to a pointer to the buffer for digitizing and EndPtr to
the ADDRESS (not byte count) of the end of the buffer.
As always, its in ORCA/M ASM65816 1.2 format.
; DP Equates
BufPtr equ 0
EndPtr equ 4
; other equates
IRQ_Volume equ $e100ca
SCtl equ $c03c
SData equ $c03d
SAdrL equ $c03e
SAdrH equ $c03f
Kbd equ $c000
Strobe equ $c010
DigitizeIt START
sep #$20
longa off
lda #0
pha
plb
lda >IRQ_Volume
and #$0f
ora #$20
sta SCtl
lda #$e2
sta SAdrL
LoopIt lda Delay ; digitizing rate; see why Hertz in AZ ain't
dec a ; gonna happen?
bne LoopIt
Apple II Computer Technical Information : Apple II Family Hardware Info
ftp://ground.ecn.uiowa.edu/2/apple2/miscinfo/hardware : May 2001 : 82 of 572
Commentaires sur ces manuels