mirror of
https://github.com/cc65/cc65.git
synced 2024-12-24 11:31:31 +00:00
Now we update __cwd
This commit is contained in:
parent
973a5337ac
commit
d417baf826
@ -10,8 +10,7 @@
|
||||
|
||||
|
||||
initcwd:
|
||||
ldx #PWD_PTR
|
||||
BRK_TELEMON XVARS
|
||||
BRK_TELEMON(XGETCWD)
|
||||
|
||||
sta ptr1
|
||||
sty ptr1+1
|
||||
|
@ -7,6 +7,7 @@
|
||||
.export __syschdir
|
||||
.import addysp, popax
|
||||
.importzp tmp1
|
||||
.import initcwd
|
||||
|
||||
.include "telestrat.inc"
|
||||
.include "zeropage.inc"
|
||||
@ -28,4 +29,6 @@ __syschdir:
|
||||
|
||||
BRK_TELEMON(XPUTCWD)
|
||||
|
||||
jsr initcwd ; Update cwd
|
||||
|
||||
rts
|
||||
|
Loading…
Reference in New Issue
Block a user