1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-08 17:04:49 +00:00
C02/include/direct.a02

31 lines
1018 B
Plaintext
Raw Normal View History

; C02 Module direct Assembly Language Routines
SUBROUTINE DIRECT
;getcwd(drv, &dir) - Get Current Directory
;Args: A = Drive Identifier
; Y,X = Pointer to String
;Returns: A = Result (0 = Success, $FF = Failure)
; Y = Error Code (0 = None)
GETCWD: ;Return Error - Not Implemented (Fall Through)
;chdir(drv, &dir) - Get Current Directory
;Args: A = Drive Identifier
; Y,X = Pointer to String
;Returns: A = Result (0 = Success, $FF = Failure)
; Y = Error Code (0 = None)
CHDIR: ;Return Error - Not Implemented (Fall Through)
;rmdir(drv, &dir) - Create Directory
;Args: A = Drive Identifier
; Y,X = Address of Directory Name String
;Returns: A = Error Code (0 = None)
RMDIR: ;Return Error - Not Implemented (Fall Through)
;mkdir(drv, &dir) - Create Directory
;Args: A = Drive Identifier
; Y,X = Address of Directory Name String
;Returns: A = Error Code (0 = None)
MKDIR: LDA #$FF ;Return Result = Failure
TAY ;and Error - Not Implemented