SCOPE Solution
TONE BURST
SCOPE ACT 1

Prerequisites
Unlocks
sc_a1_06_tone_burst locked
Par power36
Par lines13
Par chips1
Objective
A short four-cycle square burst then silence to the window end.
Board Data
- Window: 48
- Pins: p0 OUT
- Channels: p0 ANALOG label=CH1_p0_DAC
- Peripherals: DAC data=p0 label=DAC_on_p0
Firmware Solution
; TONE BURST reference: four cycles of a period-4 square (high 2, low 2), 16 ticks
; of burst, then silence (0) held to the window end. r0 counts the burst cycles.
mov r0, 4 ; four burst cycles
burst:
out p0, 200 ; tone HIGH
slp 2
out p0, 0 ; tone LOW
slp 2
dec r0
cmp r0, 0
jnz burst ; more burst cycles
silence:
out p0, 0 ; line goes quiet
slp 8
jmp silence ; hold silence to the window end
Board Definition
# TONE BURST. ACT 1, analog. The crew framing: clone the dialer's tone burst. Still
# DAC-only and exact-match. Reference is sc_a1_06_tone_burst.asm.
# TITLE TONE BURST
# OBJECTIVE A short four-cycle square burst then silence to the window end.
ID sc_a1_06_tone_burst
WINDOW 48
DIR p0 OUT
PERIPH DAC data=p0 label=DAC_on_p0
CHAN p0 ANALOG label=CH1_p0_DAC
PAR power=36 lines=13 chips=1