;
-; 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
_CmpFString:
jsr DoubleSPop
jsr popa
+ jsr SetPtrXY
jmp CmpFString
;
-; 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
_CopyFString:
jsr DoubleSPop
jsr popa
+ jsr SetPtrXY
jmp CopyFString
;
-; 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"
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