mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Add __fastcall__ stuff
git-svn-id: svn://svn.cc65.org/cc65/trunk@5950 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
1cfe0edee2
commit
4697cf255f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user