mirror of
https://github.com/Tolik-Trek/Estex-DSS.git
synced 2026-11-27 13:12:13 +03:00
мелкие фиксы
This commit is contained in:
1 parent
d47e126730
commit
c19ce52143
8 files changed
+40
-37
No files matched your search
@@ -136,13 +136,17 @@ cmd_dir: push de
|
||||
.key_p+1: and #ff
|
||||
dec a
|
||||
jr nz,.skip_wait
|
||||
ld de,MAIN_MSG.PAUSE
|
||||
ld de,MAIN_MSG.DIRPAUSE
|
||||
call ECHO_MESSAGE ; ¢ë¢¥á⨠áâபã
|
||||
ld c,Dss.WaitKey
|
||||
rst ToDSS
|
||||
PUSH DE
|
||||
ld de,MAIN_MSG.CLSLINE
|
||||
call ECHO_MESSAGE
|
||||
POP DE
|
||||
dec d
|
||||
ld de,MAIN_MSG.DIR_ESCAPE
|
||||
jp z,ECHO_MESSAGE ; § ª®ç¨âì ¯® ESC
|
||||
jp z,ECHO_MESSAGE ; § ª®ç¨âì ¯® ESC
|
||||
;jr nz,.skip_esc
|
||||
;xor a
|
||||
;ld (.key_p),a ; ®â¬¥ï¥¬ ESC
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
;
|
||||
;///////////////////////////////////////////////////
|
||||
cmd_pause:
|
||||
LD de,MAIN_MSG.PAUSE ; ¨¤¥ªá "Press any key to continue ..."
|
||||
LD de,MAIN_MSG.PAUSE ; ¨¤¥ªá "Press any key to continue ..."
|
||||
CALL ECHO_MESSAGE ; ¢ë¢®¤ áâப¨
|
||||
LD A,LF
|
||||
LD C,Dss.PutChar
|
||||
|
||||
@@ -24,6 +24,8 @@ MAIN_MSG:
|
||||
.CRLF EQU .CRLF_
|
||||
.INFO_1 EQU .INFO_1_
|
||||
.INFO_2 EQU .INFO_2_
|
||||
.DIRPAUSE EQU .DIRPAUSE_
|
||||
.CLSLINE EQU .CLSLINE_
|
||||
;
|
||||
!txtCounter DEFL 0
|
||||
; ; ¥ ᤢ¨£ âì____
|
||||
@@ -40,7 +42,7 @@ MAIN_MSG:
|
||||
stN .DATE_ : DZ "Current date: %1, %2\r\n" ; [x] ¢ë¢®¤ ¤ï ¥¤¥«¨ 26/01/2023
|
||||
stN .TIME_ : DZ "Current time: %1\r\n"
|
||||
stN .PAUSE_ : DZ "Press any key to continue . . .\r"
|
||||
stN .DIR_ESC_ : DZ "Command 'DIR' aborted by user \r\n\n"
|
||||
stN .DIR_ESC_ : DZ "Command 'DIR' cancelled by user\r\n\n"
|
||||
stN .INV_ : DZ "Invalid parametr\r\n"
|
||||
stN .ECHO_ : DZ "Echo is %1\r\n"
|
||||
stN .ON_ : DZ "on"
|
||||
@@ -57,6 +59,8 @@ MAIN_MSG:
|
||||
stN .CALC_ : DZ "Calculating free space...\r"
|
||||
stN .INFO_1_ : DZ "\r\nDrive File System Label Serial number Size in bytes\r\n"
|
||||
stN .INFO_2_ : DZ " %9 \r\t %8\r\t\t\t %7\r\t\t\t\t\t %4\r\t\t\t\t\t\t\t %5\r\n"
|
||||
stN .DIRPAUSE_ : DZ "Press ESC to cancel or any other key to continue . . .\r"
|
||||
stN .CLSLINE_ : DZ " \r"
|
||||
; ;R11
|
||||
db 0
|
||||
DZ "Unknown command"
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
457
|
||||
461
|
||||
Reference in new issue
Block a user