Added a getcwd function

git-svn-id: svn://svn.cc65.org/cc65/trunk@2275 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-08-12 13:51:11 +00:00
parent 20e805a124
commit 8bfaa09b77
4 changed files with 85 additions and 3 deletions

16
libsrc/common/_cwd.s Normal file
View File

@@ -0,0 +1,16 @@
;
; Ullrich von Bassewitz, 2003-08-12
;
; Place to store the current working directory.
;
.export __cwd
.export __cwd_buf_size
__cwd_buf_size = 64
.bss
__cwd: .res __cwd_buf_size