From 4697cf255f8640ee831dd5a6d664f569dad74be0 Mon Sep 17 00:00:00 2001 From: karri Date: Mon, 17 Dec 2012 17:31:07 +0000 Subject: [PATCH] Add __fastcall__ stuff git-svn-id: svn://svn.cc65.org/cc65/trunk@5950 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/lynx/lynx-snd.s | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libsrc/lynx/lynx-snd.s b/libsrc/lynx/lynx-snd.s index 3f02efd0e..4585ce173 100644 --- a/libsrc/lynx/lynx-snd.s +++ b/libsrc/lynx/lynx-snd.s @@ -11,8 +11,10 @@ .export _lynx_snd_play .export _lynx_snd_stop .export _lynx_snd_pause - .export _lynx_snd_unpause + .export _lynx_snd_continue .interruptor lynx_snd_handler + .import popa + .importzp ptr1 ;---------------------------------------------------------------------------- ; ZP variables that go into APPZP @@ -1101,7 +1103,12 @@ set0: ldy SndOffsets,x _lynx_snd_play: - + sta ptr1 + stx ptr1+1 + jsr popa + tax + lda ptr1 + ldy ptr1+1 php pha lda SndActive,x @@ -1213,7 +1220,7 @@ _lynx_snd_pause: php rts -_lynx_snd_unpause: php +_lynx_snd_continue: php sei SndPauseOff1: lda #0 ; Selbsmodifizierter Code!!! sta STIMCTLA -- 2.39.5