mirror of
https://github.com/Tolik-Trek/Estex-DSS.git
synced 2026-06-15 17:31:47 +03:00
update to CURDISK_FN
This commit is contained in:
parent
76825603e1
commit
a4fd704a5c
@ -3,14 +3,20 @@
|
||||
;
|
||||
; ¢å®¤: ¥â
|
||||
; ¢ë室: A - ®¬¥à ¤¨áª (0=A,1=B,..)
|
||||
; C - ®¬¥à ¯®á«¥¤¥£® ¤¨áª ¢ á¨á⥬¥
|
||||
;/////////////////////////////////////////////////////////////////////
|
||||
CURDISK_FN:
|
||||
LD A,(LDRIVE)
|
||||
LD C,A
|
||||
LD A,(CurrentPath)
|
||||
SUB 'A'
|
||||
RET NC
|
||||
LD A,DSS_Error.sys.INVALID_DRIVE
|
||||
RET
|
||||
CURDISK: LD A,(FatBuffer.DRIVE)
|
||||
CURDISK:
|
||||
LD A,(LDRIVE)
|
||||
LD C,A
|
||||
LD A,(FatBuffer.DRIVE)
|
||||
AND A
|
||||
RET
|
||||
;
|
||||
@ -1 +1 @@
|
||||
789
|
||||
790
|
||||
@ -1 +1 @@
|
||||
285
|
||||
286
|
||||
Loading…
Reference in New Issue
Block a user