1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

Now we update __cwd

This commit is contained in:
jede 2021-03-01 23:26:35 +01:00 committed by Oliver Schmidt
parent 973a5337ac
commit d417baf826
2 changed files with 4 additions and 2 deletions

View File

@ -10,8 +10,7 @@
initcwd:
ldx #PWD_PTR
BRK_TELEMON XVARS
BRK_TELEMON(XGETCWD)
sta ptr1
sty ptr1+1

View File

@ -7,6 +7,7 @@
.export __syschdir
.import addysp, popax
.importzp tmp1
.import initcwd
.include "telestrat.inc"
.include "zeropage.inc"
@ -27,5 +28,7 @@ __syschdir:
; Call telemon primitive
BRK_TELEMON(XPUTCWD)
jsr initcwd ; Update cwd
rts