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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xlib.doc

?? DOS保護模式下匯編程序設計.zip
?? DOC
?? 第 1 頁 / 共 5 頁
字號:
     Sign bit of DX set if unsuccessful.  Error code returned in AX (always DOS
  error code).
  Details:
     This routine will return DX:AX = 0 if XLIB contains free internal memory in
  sufficient quantity to meet conventional memory demands.
     If both DPMI and VCPI are present, then XLIBMEMREQ will assume that DPMI
  will be used if bit 0 of IFLAGS is clear (the default); otherwise, VCPI is
  assumed.  No additional conventional memory is needed if both DPMI and VCPI
  are absent.

  DPMIMEMREQ  (DPMI Memory Requirements)
  Purpose:  Find DPMI conventional memory requirements.
  CPU Mode:  Real
  Registers at Call:  None
  Return Registers:  DX:AX = conventional memory requirements adjusted upward to
  integer multiple of 16.
  Details:
     This routine will return DX:AX = 0 if XLIB contains free internal memory in
  sufficient quantity to meet the conventional memory demands of DPMI.
     This routine does not assume the presence of DPMI.  It will return DX:AX =
  0 if DPMI is absent.

  VCPIMEMREQ (VCPI Memory Requirements)
  Purpose:  Find VCPI conventional memory requirements.
  CPU Mode:  Real
  Registers at Call:  None
  Return Registers:  DX:AX = conventional memory requirements adjusted upward to
  integer multiple of 16.
  Details:  This routine simply loads DX:AX with a constant.







                                        19






  INITXLIB (Initialize XLIB)
  Purpose:  Check for presence of XMS, DPMI, and VCPI.  Configure XLIB
  accordingly.
  CPU Mode:  Real
  Registers at Call:  None
  Return Registers:
     AX = 0 if successful, in which event DX and EAX are zero as well.
     AX <> 0 if unsuccessful.  XLIB error code returned in AX.  Specific error
  code returned in DX and in high word of EAX (EAH).  If AX = operating
  environment identification error or DOS memory allocation error, then DX and
  EAH = DOS error code.  If AX = DPMI error, then DX and EAH = DPMI 1.0 error
  code (if provided by host).  If AX = VCPI error, then DX and EAH are returned
  as zero.
  Details:
     If both DPMI and VCPI are present, then XLIB will be configured for DPMI if
  the zero bit of IFLAGS is clear.  If this bit is set, then XLIB will be
  configured for VCPI.  The bit is clear by default.
     This routine will likely attempt to allocate DOS memory; consequently, some
  DOS memory must be free.  The amount of DOS memory XLIB will attempt to
  allocate can be obtained by calling XLIBMEMREQ, VCPIMEMREQ, or DPMIMEMREQ.
     This routine should be called only once within a program.  Subsequent calls
  are returned with no action.  XLIB is terminated by INT 21 function 4C (DOS
  termination) issued from real mode.

  XLIBCONFIG (XLIB Configuration)
  Purpose:  Get XLIB configuration.
  CPU Mode:  Real
  Registers at Call:  None
  Return Registers:
     AX = 0 if protected-mode structures not initialized.
     AX = XLIB configuration if protected-mode structures initialized.  Value of
  lower nibble identifies protected-mode host/server.  If 1 then DPMI.  If 2
  then VCPI.  If 3 then XLIB.  Bit 4 is set if XMS is initialized.
























                                        20






  Mode Switch Routines


       Mode switch routines require initialization of XLIB by INITXLIB.


  CALLPM (Call Protected Mode)
  Purpose:  Call protected-mode procedure in TSEG with near return.
  Mode:  Real
  Registers at Call:  SS:ESP = far real-mode return address (four bytes), near
  protected-mode target offset (four bytes).
  Return Registers:  Returns through RETPM.  See RETPM for details.
  Details:
     All CPU registers except EAX and EDX are saved.  The calling SS:ESP is
  saved at ORGSS:ORGESP after the return address and argument have been popped.
  XLIB interrupt handlers are enabled.  Entry point receives SS = TSEGDSEL with
  1000H free bytes on the stack.  The return address on the stack is a near
  return to RETPM.  Entry point receives segments DS = FLATDSEL, ES = TSEGDSEL,
  FS = DSEGSEL, and GS = DGROUPSEL.
     If bit 2 of OFLAGS is set, then the FPU state is also saved; the FPU is
  initialized, and FPUCW is loaded to the control word.
     If bit 1 of OFLAGS is set, then the XLIB interrupt handler for the FPU will
  not be enabled.

  RETPM (Return From Protected Mode)
  Purpose:  Return control to real mode with partial register restoration.
  CPU Mode:  Protected
  Registers at Call:  None
  Return Registers:  No return
  Details:
     RETPM switches to real mode and then restores all segment registers and ESP
  to values as of call to either CALLPM or ENTERPM.  XLIB interrupt handlers are
  disabled.  Control is then transferred to the real-mode return address as of
  call to CALLPM/ENTERPM.
     If bit 2 of OFLAGS is set, then RETPM also restores FPU state.
     RETPM will successfully execute regardless of stack state.

  ENTERPM (Enter Protected Mode)
  Purpose:  Call protected mode procedure in TSEG with near return.
  Mode:  Real
  Registers at Call:  SS:ESP = far real-mode return address (four bytes), near
  protected mode target offset (four bytes).
  Return Registers:  Returns through EXITPM.  See EXITPM for details.
  Details:  This routine executes exactly as CALLPM except that a near return to
  EXITPM is placed on the stack rather than to RETPM.

  EXITPM (Exit Protected Mode)
  Purpose:  Return control to real mode with general register restoration.
  CPU Mode:  Protected
  Registers at Call:  None
  Return Registers:  No return
  Details:
     EXITPM switches to real mode and then restores all registers except EAX and
  EDX to values as of call to either CALLPM or ENTERPM.  The system and control



                                        21






  flags in EFLAGS are also restored.  XLIB interrupt handlers are disabled.
  Control is then transferred to the real-mode return address as of call to
  CALLPM/ENTERPM.
     If bit 2 of OFLAGS is set, then EXITPM also restores FPU registers.
     EXITPM will successfully execute regardless of stack state.
     The XLIB FPU interrupt handler performs a jump to EXITPM upon occurrence of
  any unmasked FPU exception.

  CALLRM (Call a Real-Mode Procedure)
  Purpose:  From protected mode, call a real-mode procedure with far return.
  CPU Mode:  Protected
  Registers at Call:  SS:ESP = near protected-mode return address (four bytes),
  far real-mode target address (four bytes).
  Return Registers:  All segment registers and ESP are restored.
  Details:
     The calling SS:ESP is saved at CALLSS:CALLESP after popping the return
  address and arguments.  The called routine receives the XLIB real-mode stack
  (SS = DSEG) with 200H free bytes.  Data segment settings are DS = DGROUP and
  ES = DSEG.
     Code called by this routine cannot perform XLIB shifts back to protected
  mode, including calls to XLIB memory management procedures or procedures
  managing interrupt vectors.



































                                        22






  Memory Management Routines


       Memory management routines require initialization of XLIB by INITXLIB.


  PMGETDOSMEM (Protected Mode - Get DOS Memory)
  Purpose:  Allocate DOS memory block.
  CPU Mode:  Protected
  Registers at Call:  EAX = desired size of block in bytes.
  Return Registers:
     EAX = 0 if successful.  Block handle returned in EBX.  Number of allocated
  bytes returned in ECX.  Linear address of allocated block returned in EDX.
     EAX = error code if unsuccessful.  AX = XLIB error code.  High word of EAX
  (EAH) will be set to DOS error code.  If DPMI is active, then EAH will be DPMI
  error code (codes supplied by DPMI .9 and up).
  Details:
     The returned block size will always be an integer multiple of 16.
     Call with EAX = 0 to get largest available DOS memory block (not total free
  memory) in ECX (EAX, EBX, and EDX are preserved).
     If DPMI is active, then the handle is actually a selector with base address
  set to the linear address of the block.  If DPMI is not active, then the
  handle will be the segment of the block.
     In real mode, DOS memory may be allocated directly from DOS (INT 21H
  function 48H); however, this call will likely fail under DPMI protected mode.

  PMFREEDOSMEM (Protected Mode - Free DOS Memory)
  Purpose:  Release previously allocated DOS memory block.
  CPU Mode:  Protected
  Registers at Call:  EAX = block handle.
  Return Registers:  EAX = 0 if successful; otherwise, EAX = error code.  AX =
  XLIB error.  High word of EAX (EAH) will be DOS error code.  If DPMI is
  active, then EAH will equal DPMI error code (codes supplied by DPMI .9 and
  up).
  Details:  In real mode, DOS memory may be released directly by DOS (INT 21H
  function 49H); however, this call will likely fail under DPMI protected mode.

  GETMEM (Get Memory)
  Purpose:  Allocate extended memory block.
  CPU Mode:  Real
  Registers at Call:  EAX = desired size of block in bytes.
  Return Registers:
     EAX = 0 if successful.  Block handle returned in EBX.  Number of allocated
  bytes returned in ECX.  Logical address of allocated block returned in EDX.
     EAX = error code if unsuccessful.  AX = XLIB error code.  If DPMI is
  active, then high word of EAX (EAH) will be DPMI 1.0 error code (if provided
  by host).  If XMS is active, then EAH = XMS error code.
  Details:
     The returned block size will always be an integer multiple of eight.  Under
  XMS the returned block size will be a 1K multiple.  Under VCPI and most DPMI
  hosts, block sizes will be 4K multiples.
     If XMS is present in conjunction with either DPMI or VCPI, no extended
  memory will be requested through XMS.  All extended memory will be requested
  through the active protected-mode interface.



                                        23






     XMS is never used to allocate from the HMA or from UMBs.  XLIB will however
  allocate from the HMA in the absence of a memory management interface.
     Call with EAX = 0 to get largest available extended memory block (not total
  free memory) in ECX (EBX and EDX preserved).  This call can also return with
  error condition in EAX.

  FREEMEM (Free Memory)
  Purpose:  Release previously allocated extended memory block.
  CPU Mode:  Real
  Registers at Call:  EAX = block handle.
  Return Registers:  EAX = 0 if successful; otherwise, EAX = error code.  AX =
  XLIB error code.  If DPMI is active, then the high word of EAX (EAH) will be
  DPMI 1.0 error code (if provided by host).  If XMS is active, then EAH = XMS
  error code.
  Details:  FREEMEM does not release page tables allocated under VCPI.  Call
  RESETMEM for this purpose.

  RESETMEM (Reset Memory)
  Purpose:  Release all previously allocated extended memory.
  CPU Mode:  Real
  Registers at Call:  None
  Return Registers:  EAX = 0 if successful; otherwise, EAX = error code.  AX =
  XLIB error code.  If DPMI is active, then the high word of EAX (EAH) will be
  DPMI 1.0 error code (if provided by host).  If XMS is active, then EAH = XMS
  error code.
  Details:
     GETMEM will automatically allocate page tables as needed under VCPI.
  RESETMEM will release such tables.
     RESETMEM is always called upon execution of INT 21 function 4C (DOS
  termination)

  PMGETMEM  (Protected Mode - Get Memory)
  Purpose:  Allocate extended memory bloc

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区在线看| 亚洲一区二区不卡免费| 97久久精品人人澡人人爽| 免费不卡在线视频| 中文字幕亚洲区| 中文字幕一区二区三区在线不卡 | 91小宝寻花一区二区三区| 国产综合久久久久影院| 国产一区二三区好的| 国产高清不卡一区| 成人一区在线观看| 日本韩国欧美国产| 欧美日韩三级一区二区| 日韩欧美第一区| 久久九九国产精品| 国产精品水嫩水嫩| 亚洲综合在线电影| 日韩高清在线观看| 国产aⅴ综合色| 在线观看一区二区视频| 欧美日韩国产美| 久久综合九色综合欧美亚洲| 中文在线一区二区| 亚洲成人av电影| 韩国v欧美v日本v亚洲v| 99久久99久久精品免费看蜜桃| 在线影视一区二区三区| 欧美一区二区免费观在线| 欧美激情在线一区二区| 一区二区免费在线播放| 免费在线观看一区| 99国产麻豆精品| 日韩精品中文字幕在线不卡尤物| 国产日韩精品一区二区浪潮av | 久久久久久久国产精品影院| 国产精品黄色在线观看| 日韩av网站在线观看| 国产99精品国产| 欧美高清视频在线高清观看mv色露露十八 | 青娱乐精品视频在线| www.亚洲色图| 欧美性受极品xxxx喷水| 亚洲精品在线免费播放| 亚洲黄色录像片| 久久99久国产精品黄毛片色诱| 91在线看国产| 久久综合九色综合97婷婷| 亚洲动漫第一页| 成人短视频下载| 日韩欧美一级二级三级| 香港成人在线视频| www.一区二区| 欧美国产视频在线| 久久精品国产在热久久| 在线亚洲欧美专区二区| 亚洲欧洲av色图| 国产suv一区二区三区88区| 欧美一区二区视频在线观看| 亚洲激情图片小说视频| 白白色亚洲国产精品| 国产亚洲一区字幕| 久久99国产精品久久| 9191久久久久久久久久久| 一区二区三区在线视频播放 | 亚洲自拍与偷拍| gogogo免费视频观看亚洲一| 日韩精品一区二区三区在线播放 | 麻豆精品新av中文字幕| 5566中文字幕一区二区电影 | 久久综合99re88久久爱| 青草国产精品久久久久久| 欧美日韩三级一区| 亚洲成人免费视| 7799精品视频| 蜜臀久久久99精品久久久久久| 欧美一区二区免费视频| 日韩精品一级中文字幕精品视频免费观看 | 欧美videos中文字幕| 美腿丝袜一区二区三区| 日韩欧美色电影| 国产在线一区二区综合免费视频| 精品福利一区二区三区| 韩国v欧美v日本v亚洲v| 国产婷婷色一区二区三区| 日本一不卡视频| 欧美成人精品1314www| 国内国产精品久久| 国产精品免费av| 91丨国产丨九色丨pron| 亚洲一区二区三区三| 欧美日韩成人在线一区| 日精品一区二区| 日韩女优毛片在线| 国产成人综合网| 一区二区三区四区不卡在线| 欧美日韩aaaaa| 久久91精品久久久久久秒播| 国产女人18毛片水真多成人如厕 | 欧美色成人综合| 美日韩黄色大片| 国产精品无遮挡| 一本到三区不卡视频| 日韩**一区毛片| 日本一区二区成人| 欧美日韩视频在线第一区 | 波多野结衣亚洲| 亚洲综合精品久久| 欧美不卡在线视频| 91视频观看免费| 琪琪久久久久日韩精品| 国产精品丝袜一区| 6080国产精品一区二区| av中文字幕不卡| 日韩一区精品字幕| 亚洲伦在线观看| 久久女同性恋中文字幕| 欧美在线观看一区二区| 国产伦精品一区二区三区免费 | 国产精品的网站| 日韩精品专区在线影院观看| heyzo一本久久综合| 久久er99热精品一区二区| 一区二区三区在线视频播放| 久久久午夜精品理论片中文字幕| 欧美系列在线观看| 成人av资源在线| 国产尤物一区二区在线| 偷拍与自拍一区| 综合激情网...| 国产视频一区在线播放| 日韩女同互慰一区二区| 91久色porny | 亚洲视频在线观看一区| 久久这里只有精品首页| 欧美一区二区三区日韩视频| 91成人免费电影| 97精品电影院| 成人性生交大片免费看视频在线 | 色欧美片视频在线观看在线视频| 国产精品综合二区| 蜜臀av一级做a爰片久久| 亚洲自拍偷拍欧美| 亚洲精品久久久蜜桃| 国产精品久久久久久一区二区三区| 久久九九国产精品| 久久嫩草精品久久久精品一| 日韩区在线观看| 欧美成人午夜电影| 亚洲精品一区二区三区在线观看| 91麻豆精品国产91久久久久久| 欧美日韩精品一区二区天天拍小说| 99久久婷婷国产综合精品电影| 成人黄色小视频| 成人久久18免费网站麻豆| 国产激情精品久久久第一区二区| 国产激情91久久精品导航 | 一区二区三区美女| 亚洲欧美日韩国产成人精品影院 | 精品一区二区三区久久| 蜜桃视频在线一区| 麻豆成人久久精品二区三区小说| 男女激情视频一区| 国产自产2019最新不卡| 激情久久五月天| 成人免费看的视频| 一本久久a久久精品亚洲| 色综合中文字幕| 欧美性高清videossexo| 91精品国产欧美一区二区18| 久久网站热最新地址| 国产三级久久久| 一区二区三区在线视频播放| 日韩成人av影视| 国产在线一区二区综合免费视频| 成人高清视频在线观看| 国产91精品入口| 在线观看成人免费视频| 欧美一区二区大片| 国产日韩精品一区二区浪潮av| 综合久久一区二区三区| 日av在线不卡| 成人激情开心网| 欧美伦理影视网| 国产精品午夜在线| 无码av中文一区二区三区桃花岛| 国产一区视频在线看| 色成年激情久久综合| 日韩欧美电影在线| 亚洲激情第一区| 国产在线精品一区二区夜色| 91年精品国产| 2022国产精品视频| 一区二区三区日韩欧美精品| 麻豆成人91精品二区三区| 91婷婷韩国欧美一区二区| 日韩精品一区二区三区在线观看 | 日韩电影免费在线| 91麻豆国产福利精品| 久久久噜噜噜久久人人看 | 日本视频一区二区|