Skip to content

XMKDIR (mkdir)

ID primitive : $4B

Description

Create a folder. But it does not support absolute path for instance. It can only create path in the current path.

Input

A and Y : ptr of the string

Output

Return #ENODEV if the device can't be mount

Usage

    lda #<str
    ldy #>str
    ldx #$00
    BRK_TELEMON XMKDIR
    rts
str:
    .asciiz "myfolder"

Last update: 2022-11-23