From b2f7604ac51db075201ea0aa40d002d3d5e7e071 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 16 Feb 2016 07:04:56 -0500 Subject: shrink code, 5599 bytes free, move some code so it runs straight from bank 3 in cartridge --- soundasm.s | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'soundasm.s') diff --git a/soundasm.s b/soundasm.s index d606b9a..b47de30 100644 --- a/soundasm.s +++ b/soundasm.s @@ -25,6 +25,12 @@ .export _bad_joss_sound, _good_joss_sound, _under_attack_sound .importzp tmp1, tmp2, tmp3, tmp4, sreg + .ifdef CART_TARGET + .segment "HIGHCODE" + .else + .code + .endif + initialpitch = sreg delay = sreg+1 pitch = tmp1 -- cgit v1.2.3