亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? rxdosprm.asm

?? dos source
?? ASM
?? 第 1 頁 / 共 3 頁
字號:
        TITLE   'Prm - RxDOS Command Shell Prompt, Date, and Time'
        PAGE 59, 132
        .LALL

        ;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';
        ;  RxDOS Command Shell Prompt, Date, and Time                   ;
        ;...............................................................;

        ;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';
        ;  Real Time Dos                                                ;
        ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -;
        ;                                                               ;
        ;  This material  was created as a published version  of a DOS  ;
        ;  equivalent product.   This program  logically  functions in  ;
        ;  the same way as  MSDOS functions and it  is  internal  data  ;
        ;  structure compliant with MSDOS 6.0                           ;
        ;                                                               ;
        ;  This product is distributed  AS IS and contains no warranty  ;
        ;  whatsoever,   including  warranty  of   merchantability  or  ;
        ;  fitness for a particular purpose.                            ;
        ;                                                               ;
        ;                                                               ;
        ;  (c) Copyright 1990, 1997. Api Software and Mike Podanoffsky  ;
        ;      All Rights Reserved Worldwide.                           ;
        ;                                                               ;
        ;  This product is protected under copyright laws and  may not  ;
        ;  be reproduced  in whole  or in part, in any form  or media,  ;
        ;  included but not limited to source listing, facsimile, data  ;
        ;  transmission, cd-rom, or  floppy disk without the expressed  ;
        ;  written consent of the author.                               ;
        ;                                                               ;
        ;  License  for  distribution  for commercial  use  or  resale  ;
        ;  required from:                                               ;
        ;                                                               ;
        ;  Api Software                                                 ;
        ;  12 South Walker Street                                       ;
        ;  Lowell,  MA   01851                                          ;
        ;                                                               ;
        ;  internet: mikep@world.std.com                                ;
        ;                                                               ;
        ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -;
        ;  Compile with MASM 5.1                                        ;
        ;...............................................................;

        ;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';
        ;  RxDOS Command Shell                                          ;
        ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -;
        ;                                                               ;
        ;  Programmer's Notes:                                          ;
        ;                                                               ;
        ;  Command Shell consists of  two parts bound  together into a  ;
        ;  single executable load.  There  exists  a  single  resident  ;
        ;  command shell which is accessible by an Int 2Eh.             ;
        ;                                                               ;
        ;...............................................................;

        include rxdosmac.asm
        include rxdosdef.asm
        include rxdoscin.asm

        ;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';
        ;  RxDOS Command Shell                                          ;
        ;...............................................................;

RxDOSCMD SEGMENT PUBLIC 'CODE'
         assume cs:RxDOSCMD, ds:RxDOSCMD, es:RxDOSCMD, ss:RxDOSCMD

        public DisplayPrompt
        public formatCurrentDate
        public formatCurrentTime

        public _Prompt
        public _Date
        public _Time

        extrn CheckOptOneArg                            : near
        extrn _sprintf                                  : near
        extrn DisplayLine                               : near
        extrn _GetNumber                                : near
        extrn _getStdinLine                             : near
        extrn RxDOS_DefaultPrompt                       : near
        extrn RxDOS_Prompt                              : near
        extrn _CopyString                               : near
        extrn RxDOS_PromptSpec                          : near
        extrn searchEnvVariable                         : near
        extrn deleteEnvVariable                         : near
        extrn insertEnvVariable                         : near
        extrn _PleaseEnterDate                          : near
        extrn _ShowCurrentDate                          : near
        extrn _ShowCurrentTime                          : near
        extrn _PleaseEnterTime                          : near
        extrn CmndError_InvalidDate                     : near
        extrn CmndError_InvalidTime                     : near
        extrn CmndError_OutOfEnvironmentSpace           : near
        extrn DisplayErrorMessage                       : near
        extrn DisplayOutEnvSpace                        : near

        extrn _lowerCase                                : near
        extrn CRLF                                      : near
        extrn RxDOS_Version                             : near
        extrn RxDOSIntl_DateTemplate                    : near
        extrn RxDOSIntl_DayOfWeek                       : near
        extrn RxDOSIntl_TimeTemplate                    : near
        extrn RxDOSIntl_DateTimeTable                   : near

        extrn _EnvSegment                               : word


        ;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';
        ;  Display Prompt                                               ;
        ;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -;
        ;                                                               ;
        ;  Usage:                                                       ;
        ;   $q     =                                                    ;
        ;   $$     $                                                    ;
        ;   $t     time                                                 ;
        ;   $d     date                                                 ;
        ;   $p     drive:path                                           ;
        ;   $v     current rxdos version                                ;
        ;   $n     drive                                                ;
        ;   $g     >                                                    ;
        ;   $l     <                                                    ;
        ;   $b     | (pipe)                                             ;
        ;   $_     cr lf                                                ;
        ;   $e     esc                                                  ;
        ;   $h     backspace                                            ;
        ;...............................................................;

DisplayPrompt:

        Entry
        defbytes _buffer, 128

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  locate init (env) prompt string
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        push di

        mov si, offset RxDOS_PromptSpec
        call searchEnvVariable                          ; locate prompt= spec
        jnz DisplayPrompt_06                            ; if none --> 

        push ds
        add di, dx                                      ; point to env string
        mov si, offset RxDOS_Prompt
        mov ds, word ptr [ _EnvSegment ]                ; seg of env strings
        xchg di, si
        call _CopyString
        pop ds

DisplayPrompt_06:
        mov si, offset RxDOS_Prompt
        lea di, offset [ _buffer ][ bp ]
        mov byte ptr [ di ], 00

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  scan prompt
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_08:
        lodsb

DisplayPrompt_10:
        stosb
        or al, al
        ifz DisplayPrompt_48

        cmp al, '$'
        jnz DisplayPrompt_08

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  special case
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        dec di
        lodsb
        or al, al 
        ifz DisplayPrompt_48

        call _lowerCase
        Translate 'q', '=', DisplayPrompt_18
        Translate '$', '$', DisplayPrompt_18
        Translate 'g', '>', DisplayPrompt_18
        Translate 'l', '<', DisplayPrompt_18
        Translate 'b', '|', DisplayPrompt_18
        Translate 'e', '['-40h, DisplayPrompt_18

        cmp al, 't'                             
        ifz DisplayPrompt_Time                          ; $t time -->
        cmp al, 'd'
        ifz DisplayPrompt_Date                          ; $d date -->
        cmp al, 'p'
        ifz DisplayPrompt_Path                          ; $p path -->
        cmp al, 'v'
        ifz DisplayPrompt_Version                       ; $v version -->
        cmp al, 'n'
        ifz DisplayPrompt_Drive                         ; $d drive -->
        cmp al, '_'
        jz DisplayPrompt_CRLF                           ; $_ crlf -->
        cmp al, 'h'
        jz DisplayPrompt_Backspace                      ; $b backspace -->
        jmp DisplayPrompt_10

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  translate 
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_18:

        mov al, ah
        stosb                                           ; translated value
        jmp DisplayPrompt_08

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  backspace
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_Backspace:
        
        dec di
        jmp DisplayPrompt_08

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  cr lf
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_CRLF:

        mov ax, 0a0dh
        stosw
        jmp DisplayPrompt_08

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  time of day
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_Time:

        call formatCurrentTime
        jmp DisplayPrompt_08

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  date
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_Date:

        call formatCurrentDate
        jmp DisplayPrompt_08

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  path
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_Path:

        push si

        Int21 CurrentDisk 
        mov dl, al                                      ; save drive letter
        add al, 'A'                                     ; get drive
        stosb

        mov ax, '\:'
        stosw                                           ; d:\ ...

        inc dl
        mov si, di
        mov byte ptr [ si ], 0
        Int21 GetCurrentDirectory                       ; get current directory

DisplayPrompt_Path_08:
        lodsb
        or al, al
        jnz DisplayPrompt_Path_08

        dec si
        mov di, si

        pop si        
        jmp DisplayPrompt_08
        
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  version
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_Version:

        push si
        mov si, offset RxDOS_Version
        call _CopyString
        dec di
        pop si
        jmp DisplayPrompt_08

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  drive letter
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_Drive:

        Int21 CurrentDisk
        add al, 'A'                                     ; get drive
        stosb
        jmp DisplayPrompt_08

;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
;  display prompt
;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DisplayPrompt_48:
        lea dx, offset [ _buffer ][ bp ]
        call Displayline

        pop di
        Return

        ;''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''';
        ;  Convert AL To 2 Char Decimal                                 ;
        ;...............................................................;

ConvTo2CharDecimal:

        push cx
        xor ah, ah
        mov cl, 10
        div cl
        or ax, '00'
        stosw

        pop cx

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美极品美女视频| 中文字幕精品三区| 欧美日韩专区在线| 欧洲在线/亚洲| 91麻豆精品国产91久久久久久久久 | 色婷婷综合久久久中文字幕| 色婷婷国产精品| 欧美曰成人黄网| 日韩一级免费观看| 国产色一区二区| 亚洲私人黄色宅男| 三级成人在线视频| 黑人巨大精品欧美一区| 国产suv一区二区三区88区| 97超碰欧美中文字幕| 欧美熟乱第一页| 7777精品伊人久久久大香线蕉| 欧美视频在线一区二区三区 | 国产成人免费av在线| 97久久超碰国产精品| 欧美日韩电影在线| 久久久亚洲精品石原莉奈| 中文字幕国产精品一区二区| 欧美一级二级三级乱码| 91精品国产欧美一区二区成人| 久久久激情视频| 亚洲一级片在线观看| 韩国午夜理伦三级不卡影院| 五月综合激情婷婷六月色窝| 韩国毛片一区二区三区| 成人福利视频网站| 在线不卡一区二区| 国产精品久久久久久久久免费桃花| 亚洲美女一区二区三区| 久久国内精品自在自线400部| 97精品视频在线观看自产线路二| 日韩一区二区在线看| 亚洲色图20p| 国产精品中文字幕日韩精品| 成人午夜免费电影| 欧美群妇大交群中文字幕| 久久久国产精品午夜一区ai换脸 | 欧美大片拔萝卜| 亚洲欧美色图小说| 国产乱淫av一区二区三区| 欧美日韩在线综合| 亚洲乱码国产乱码精品精可以看| 国产美女主播视频一区| 91精品国产综合久久蜜臀| 国产精品久久久久7777按摩| 久久er精品视频| 91精品国产欧美一区二区成人| 亚洲欧美韩国综合色| gogo大胆日本视频一区| 精品1区2区在线观看| 亚洲成a天堂v人片| 九九国产精品视频| 在线观看一区二区视频| 国产精品久久午夜夜伦鲁鲁| 高清成人在线观看| www亚洲一区| 久久精品国产一区二区| 7878成人国产在线观看| 亚洲成人综合网站| 欧美午夜片在线观看| 亚洲精品国产精华液| 色综合久久中文字幕综合网| 中文字幕一区二区不卡| 成人国产免费视频| 国产精品网曝门| 亚洲精品日产精品乱码不卡| 91小视频在线观看| 国产日韩欧美精品电影三级在线| 五月婷婷综合网| 国产激情一区二区三区| 欧美在线不卡视频| 亚洲gay无套男同| 日韩一区二区免费高清| 久久成人免费网站| 国产欧美日韩视频一区二区| 国产69精品久久99不卡| 国产精品久久久久久亚洲伦| 成人免费看视频| 亚洲少妇30p| 欧美亚洲综合一区| 五月天久久比比资源色| 日韩亚洲欧美一区二区三区| 七七婷婷婷婷精品国产| 91国偷自产一区二区使用方法| 中文欧美字幕免费| 欧美日韩在线观看一区二区| 久草中文综合在线| 国产精品福利一区二区三区| 欧美制服丝袜第一页| 六月丁香婷婷久久| 国产精品毛片大码女人| 欧美日韩精品一区二区三区四区| 精品一区二区在线免费观看| 国产精品伦一区| 欧美日韩一区二区三区四区| 久久成人18免费观看| 中文字幕综合网| 欧美一区二区三区在线观看| 国产伦精品一区二区三区在线观看| 亚洲欧美一区二区三区久本道91 | 亚洲黄色小视频| 狠狠色丁香久久婷婷综合丁香| 国产欧美精品一区二区色综合| 蜜臀av性久久久久蜜臀aⅴ| 欧美激情在线免费观看| 欧美日本韩国一区二区三区视频| 国内国产精品久久| 亚洲午夜日本在线观看| 久久天堂av综合合色蜜桃网| 色噜噜狠狠色综合中国| 蜜乳av一区二区| 中文字幕一区在线| 91精品啪在线观看国产60岁| 亚洲不卡av一区二区三区| 欧美顶级少妇做爰| 97se亚洲国产综合自在线观| 国产一区二区毛片| 日韩精品亚洲专区| 亚洲欧洲99久久| 欧美一级专区免费大片| 一本久久精品一区二区| 国产福利一区在线| 日日骚欧美日韩| 欧美激情在线看| 中文字幕亚洲欧美在线不卡| 亚洲国产精品av| 国产精品久久夜| 一区二区三区在线播放| 午夜视频在线观看一区| 男男成人高潮片免费网站| 国产精品亚洲第一区在线暖暖韩国 | 欧美男男青年gay1069videost| 在线播放中文字幕一区| 久久久精品国产99久久精品芒果| 国产精品视频麻豆| 夜夜嗨av一区二区三区网页| 日本欧美在线看| 成人综合婷婷国产精品久久蜜臀 | 美女国产一区二区| 极品瑜伽女神91| 91丨porny丨蝌蚪视频| 91福利视频在线| 日韩欧美电影一区| 亚洲美女视频在线观看| 日韩有码一区二区三区| 国产成人午夜电影网| 在线观看日韩高清av| 欧美精品一区男女天堂| 亚洲私人影院在线观看| 美女在线观看视频一区二区| 国产精品一卡二卡| 欧美午夜精品免费| 久久人人超碰精品| 亚洲二区在线观看| 国产一区二区剧情av在线| 欧美天堂一区二区三区| 久久精品夜色噜噜亚洲aⅴ| 亚洲高清在线精品| 国产夫妻精品视频| 欧美肥妇毛茸茸| 亚洲欧美另类久久久精品| 麻豆freexxxx性91精品| 成人午夜免费av| 欧美一级黄色录像| 综合电影一区二区三区 | 国产亚洲欧美在线| 石原莉奈一区二区三区在线观看| 99视频精品免费视频| 欧美成人video| 五月天中文字幕一区二区| av综合在线播放| 久久久亚洲午夜电影| 蜜桃av噜噜一区二区三区小说| 欧美性大战久久久久久久蜜臀| 中文字幕欧美激情一区| 国产一区二区在线电影| 欧美一区二区三区视频| 亚洲成年人影院| 色爱区综合激月婷婷| 中文字幕一区二区三区在线观看| 国产高清在线观看免费不卡| 欧美日韩国产精选| 亚洲一区视频在线观看视频| 丰满亚洲少妇av| 国产亚洲成av人在线观看导航| 久久成人免费网| 精品奇米国产一区二区三区| 美腿丝袜亚洲三区| 日韩欧美一区二区在线视频| 日韩avvvv在线播放| 91麻豆精品久久久久蜜臀| 琪琪久久久久日韩精品| 欧美一级一级性生活免费录像| 日韩精品乱码免费| 日韩一级片网址|