mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
Bug fixes from Maciej and Dirk
git-svn-id: svn://svn.cc65.org/cc65/trunk@235 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
47d9d11fc9
commit
dcb557517e
@ -1,12 +1,12 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Alliance' Witkowiak
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 22.12.99
|
||||
; 22.12.99, 29.07.2000
|
||||
|
||||
; void CmpFString (char length, char *dest, char* source);
|
||||
|
||||
.import DoubleSPop
|
||||
.import DoubleSPop, SetPtrXY
|
||||
.import popa
|
||||
.export _CmpFString
|
||||
|
||||
@ -15,4 +15,5 @@
|
||||
_CmpFString:
|
||||
jsr DoubleSPop
|
||||
jsr popa
|
||||
jsr SetPtrXY
|
||||
jmp CmpFString
|
||||
|
@ -1,12 +1,12 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Alliance' Witkowiak
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 22.12.99
|
||||
; 22.12.99, 29.07.2000
|
||||
|
||||
; void CopyFString (char length, char *dest, char* source);
|
||||
|
||||
.import DoubleSPop
|
||||
.import DoubleSPop, SetPtrXY
|
||||
.import popa
|
||||
.export _CopyFString
|
||||
|
||||
@ -15,4 +15,5 @@
|
||||
_CopyFString:
|
||||
jsr DoubleSPop
|
||||
jsr popa
|
||||
jsr SetPtrXY
|
||||
jmp CopyFString
|
||||
|
@ -1,12 +1,13 @@
|
||||
|
||||
;
|
||||
; Maciej 'YTM/Alliance' Witkowiak
|
||||
; Maciej 'YTM/Elysium' Witkowiak
|
||||
;
|
||||
; 22.12.99
|
||||
; 22.12.99, 29.07.2000
|
||||
|
||||
.import popax
|
||||
.importzp ptr3, ptr4
|
||||
.export DoubleSPop
|
||||
.export SetPtrXY
|
||||
|
||||
.include "../inc/geossym.inc"
|
||||
|
||||
@ -16,6 +17,12 @@ DoubleSPop:
|
||||
jsr popax
|
||||
sta ptr3
|
||||
stx ptr3+1
|
||||
lda #ptr4
|
||||
ldx #ptr3
|
||||
; rts
|
||||
;
|
||||
; SetPtrXY can be sometimes executed twice, but even this way it is few cycles
|
||||
; faster...
|
||||
|
||||
SetPtrXY:
|
||||
ldx #ptr4
|
||||
ldy #ptr3
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user