From 9d032c9a1c0eca663c6877f5421957f50cb1eb79 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 20 Jan 2016 23:46:17 -0500 Subject: rewrite sound code in asm, shed 186 bytes --- soundasm.s | 140 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 soundasm.s (limited to 'soundasm.s') diff --git a/soundasm.s b/soundasm.s new file mode 100644 index 0000000..512ec81 --- /dev/null +++ b/soundasm.s @@ -0,0 +1,140 @@ +; Sounds for Taipan! Atari 800 port. + +; Made by capturing the Apple II audio and taking wild guesses, +; then refining them. + +; I'm not shooting for Atari sounds that are identical to the +; Apple ones: (a) it's impossible anyway, and (b) the Apple +; sounds are a bit harsh to the ear. Hopefully these sound +; a little smoother while still being pretty close. + +; This is an asm rewrite of sounds.c. Sounds the same, but weighs +; in at 186 bytes less code + +; general form from sounds.c: +; for(j=0; j