From 1978afbc18ffb227f0ce36663648e00d1d2d7945 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Thu, 9 Apr 2026 00:33:04 +0200 Subject: Add the sound/beep.s example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the most simple example you can come up when it comes to producing sound on the NES/Famicom. Basically, a single note is delivered to the APU which is continuously on. Signed-off-by: Miquel Sabaté Solà --- shared/apu.s | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 shared/apu.s (limited to 'shared/apu.s') diff --git a/shared/apu.s b/shared/apu.s new file mode 100644 index 0000000..814c446 --- /dev/null +++ b/shared/apu.s @@ -0,0 +1,8 @@ +.scope APU + m_square_1_envelope = $4000 + m_square_1_low = $4002 + m_square_1_high = $4003 + m_dmc = $4010 + m_status = $4015 + m_frame_counter = $4017 +.endscope -- cgit v1.2.3