1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-15 10:29:00 +00:00
cc65/libsrc/geos/file/renamefile.s

25 lines
315 B
ArmAsm
Raw Normal View History

;
; Maciej 'YTM/Alliance' Witkowiak
;
; 25.12.99
; char RenameFile (char *source, char *target);
.export _RenameFile
.import popax
.include "../inc/jumptab.inc"
.include "../inc/geossym.inc"
_RenameFile:
sta r0L
stx r0H
jsr popax
sta r6L
stx r6H
jsr RenameFile
stx errno
txa
rts