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
|
|
|
|
2012-01-31 20:49:58 +00:00
|
|
|
.include "jumptab.inc"
|
|
|
|
.include "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
|