Skip to content

CHDIR macro

Description

Change currrent folder

usage

chdir ptr

note:

  • ptr may be: (ptr), address
  • Call XPUTCWD function

Example

    .include "telestrat.inc"
    .include "../orix-sdk/macros/SDK_dir.mac"

    chdir myfolder
    rts
myfolder:
    .asciiz "home"

Call XPUTCWD kernel function.


Last update: 2024-02-15