Skip to content

XGETCWD (getcwd)

Description

Return current directory of the process

Input

Output

A and Y returns a ptr of the string

Example

    .include "telestrat.inc"

    BRK_TELEMON XGETCWD

    ; Displays
    BRK_TELEMON XWSTR0
    rts

Memory usage

zeropage

  • RESB

See getcwd macro from orix-sdk to use it


Last update: 2024-02-15