2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
;
|
2003-01-02 01:50:39 +00:00
|
|
|
; Maciej 'YTM/Elysium' Witkowiak
|
2000-05-28 13:40:48 +00:00
|
|
|
;
|
2003-01-02 01:50:39 +00:00
|
|
|
; 25.12.1999, 2.1.2003
|
2000-05-28 13:40:48 +00:00
|
|
|
|
2005-07-19 13:36:01 +00:00
|
|
|
; char RenameFile (char *old, char *new);
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
.export _RenameFile
|
2003-01-02 01:50:39 +00:00
|
|
|
.import popax, setoserror
|
2000-05-28 13:40:48 +00:00
|
|
|
|
|
|
|
.include "../inc/jumptab.inc"
|
|
|
|
.include "../inc/geossym.inc"
|
2003-01-02 01:50:39 +00:00
|
|
|
|
2000-05-28 13:40:48 +00:00
|
|
|
_RenameFile:
|
|
|
|
sta r0L
|
|
|
|
stx r0H
|
|
|
|
jsr popax
|
|
|
|
sta r6L
|
|
|
|
stx r6H
|
|
|
|
jsr RenameFile
|
2003-01-02 01:50:39 +00:00
|
|
|
jmp setoserror
|