mirror of
https://github.com/Tolik-Trek/Estex-DSS.git
synced 2026-06-15 01:11:48 +03:00
68 lines
2.2 KiB
NASM
68 lines
2.2 KiB
NASM
|
||
MACRO stN Name?
|
||
@Name? EQU txtCounter
|
||
!txtCounter=txtCounter+1
|
||
ENDM
|
||
|
||
MAIN_MSG:
|
||
; ¤«ï 㤮¡á⢠:
|
||
.DIR_1 EQU .DIR_1_
|
||
.VERSION EQU .VERS_
|
||
.DATE EQU .DATE_
|
||
.TIME EQU .TIME_
|
||
.PAUSE EQU .PAUSE_
|
||
.DIR_ESCAPE EQU .DIR_ESC_
|
||
.INVALID EQU .INV_
|
||
.ECHO EQU .ECHO_
|
||
.ON EQU .ON_
|
||
.OFF EQU .OFF_
|
||
.DIR_2 EQU .DIR_2_
|
||
.DIR_3 EQU .DIR_3_
|
||
.DIR_4 EQU .DIR_4_
|
||
.HELP EQU .HELP_
|
||
.CALCULATING EQU .CALC_
|
||
.CRLF EQU .CRLF_
|
||
;
|
||
!txtCounter DEFL 0
|
||
; ; ¥ ᤢ¨£ âì____
|
||
.TABLE: : db 0; |
|
||
stN .CRLF_ : db CR,LF,0; |
|
||
;________________/
|
||
;
|
||
; 1 2 3 4 5 6 7
|
||
; 01234567890123456789012345678901234567890123456789012345678901234567890123456789;
|
||
stN .DIR_1_ : db "Volume in drive %1 %4 %5\r\n"
|
||
db "Volume Serial Number is %2\r\n"
|
||
DZ "\r\nDirectory of %3\r\n\n"
|
||
stN .VERS_ : DZ "Estex DSS version %1. Shell version %2.\r\n" ;R13
|
||
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 .INV_ : DZ "Invalid parametr\r\n"
|
||
stN .ECHO_ : DZ "Echo is %1\r\n"
|
||
stN .ON_ : DZ "on"
|
||
stN .OFF_ : DZ "off"
|
||
; stN .DIR_2_ : db " %3 File(s) %1 byte(s)\r\n"
|
||
; DZ " %4 Dir(s) "
|
||
; stN .DIR_4_ : DZ "%1 bytes free\r\n"
|
||
stN .DIR_2_ : db " %3 File(s)\r %1 byte(s)\r\n"
|
||
DZ " %4 Dir(s)"
|
||
stN .DIR_4_ : DZ "\r %1 bytes free\r\n"
|
||
; stN .DIR_3_ : DZ "%1 %2 %3 %4 - %5\r\n" ;FILENAME EXT SIZE DATE TIME
|
||
stN .DIR_3_ : DZ "%4 %5 %3 %1 %2 \r\n" ;DATE TIME SIZE FILENAME EXT
|
||
stN .HELP_ : db "COMMANDS:\r\n"
|
||
db "DIR REN | RENAME PATH HELP \r\n"
|
||
db "CD | CHDIR DEL | ERASE SET VER | VERSION \r\n"
|
||
db "MD | MKDIR TIME ECHO EXIT \r\n"
|
||
DZ "RD | RMDIR DATE CLS REBOOT \r\n\n"
|
||
stN .CALC_ : DZ "Calculating free space...\r"
|
||
; ;R11
|
||
db 0
|
||
DZ "Unknown command"
|
||
; ;
|
||
.TABLE.Size EQU $-.TABLE
|
||
;
|
||
!txtCounter=0
|
||
;
|
||
; |