From: karri Date: Mon, 17 Dec 2012 17:31:07 +0000 (+0000) Subject: Add __fastcall__ stuff X-Git-Tag: V2.14~124 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4697cf255f8640ee831dd5a6d664f569dad74be0;p=cc65 Add __fastcall__ stuff git-svn-id: svn://svn.cc65.org/cc65/trunk@5950 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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