Skip to content

Commit ba8ae33

Browse files
committed
Make ESXDOS lib to use .core namespace
1 parent c53f181 commit ba8ae33

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/arch/zx48k/library/esxdos.bas

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ Function ESXDosGetCwd as String
262262
Dim addr as Uinteger
263263

264264
Asm
265+
push namespace core
265266
proc
266267
local NotNull
267268

@@ -287,6 +288,7 @@ NotNull:
287288
db F_GETCWD
288289
pop ix
289290
endp
291+
pop namespace
290292
End Asm
291293

292294
cwd$ = ""
@@ -324,6 +326,7 @@ Function ESXDosOpenDir (ByVal path as String) as UInteger
324326
end if
325327

326328
Asm
329+
push namespace core
327330
Proc
328331
local NotNull
329332
local HandleOK
@@ -382,6 +385,7 @@ HandleOK:
382385

383386
ExitFunction:
384387
endp
388+
pop namespace
385389
End Asm
386390

387391
return handle
@@ -560,6 +564,7 @@ Sub ESXDosChDir (ByVal path as String)
560564
end if
561565

562566
Asm
567+
push namespace core
563568
Proc
564569
local NotNull
565570
local HandleOK
@@ -603,6 +608,7 @@ HandleOK:
603608
pop hl
604609
call __MEM_FREE ;deallocate mem
605610
endp
611+
pop namespace
606612
End Asm
607613

608614
End Sub

0 commit comments

Comments
 (0)