Moved the 'memory' files from 'geos-cbm' to 'geos-common' which are believed to work as-is on Apple GEOS too. The REU stuff isn't available on Apple GEOS.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5438 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
28
libsrc/geos-common/memory/doublespop.s
Normal file
28
libsrc/geos-common/memory/doublespop.s
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 22.12.99, 29.07.2000
|
||||
|
||||
.import popax
|
||||
.importzp ptr3, ptr4
|
||||
.export DoubleSPop
|
||||
.export SetPtrXY
|
||||
|
||||
.include "geossym.inc"
|
||||
|
||||
DoubleSPop:
|
||||
sta ptr4
|
||||
stx ptr4+1
|
||||
jsr popax
|
||||
sta ptr3
|
||||
stx ptr3+1
|
||||
; rts
|
||||
;
|
||||
; SetPtrXY can be sometimes executed twice, but even this way it is few cycles
|
||||
; faster...
|
||||
|
||||
SetPtrXY:
|
||||
ldx #ptr4
|
||||
ldy #ptr3
|
||||
rts
|
||||
Reference in New Issue
Block a user