Menu nhanh

Thư mục

Chuyên môn Thành Viên

Cập nhật: 11h 25/8/2012 (113)
Tôi muốn gia nhập vào đây

Thống kê

  • truy cập   (chi tiết)
    trong hôm nay
  • lượt xem
    trong hôm nay
  • thành viên
  • Thành viên trực tuyến

    0 khách và 0 thành viên

    Truy cập từ các nước

    free counters

    Sắp xếp dữ liệu

    Menu chức năng 1

    Pascal 7.0

    Nhấn vào đây để tải về
    Hiển thị toàn màn hình
    Báo tài liệu có sai sót
    Nhắn tin cho tác giả
    (Tài liệu chưa được thẩm định)
    Người gửi: Trần Minh Thọ (trang riêng)
    Ngày gửi: 09h:24' 04-06-2012
    Dung lượng: 11.1 MB
    Số lượt tải: 10
    Số lượt thích: 0 người
    Borland Pascal With Objects 7.0

    This file documents the use of RTM.EXE, RTMRES.EXE, DPMI16BI.OVL,
    DPMIINST.EXE and DPMILOAD.EXE is intended for redistribution
    under the terms of the license statement accompanying this
    product. Modify and use this text to provide information to users
    of your protected-mode applications.

    Included is documentation about these topics:

    o Running a DOS Protected-Mode Program

    o What to do if Borland`s DPMI server does not run on your

    o How to set DOS environment variables that affect all
    protected-mode programs generated by Borland Pascal with
    Objects 7.0

    o Special notes for running under Windows

    o Controlling the amount of memory the run-time manager uses

    o Special note for Borland C++ and Paradox 4.0 users

    Running a DOS Protected-Mode Program

    When you run a DOS protected-mode application, you must ensure
    that DPMI16BI.OVL (the DPMI server), RTM.EXE (the run-time
    manager), and any DLLs used by the application are present in the
    current directory, the same directory as the application, or on
    the DOS path.

    Protected Mode and Memory

    A DOS protected-mode program uses DPMI (DOS Protected Mode
    Interface) to run in protected mode which gives the application
    access to all your computer`s memory. With the exceptions
    outlined below, the DOS protected-mode technology is completely
    transparent and no extra steps are necessary in order to run a
    protected-mode application.


    One such exception might be when you run a protected-mode program
    for the very first time on a 286-based system. The protected mode
    technology uses an internal database which contains various
    machine characteristics to determine how to enable protected mode
    operation on your system, and configures itself accordingly. If
    you have a computer with an older 80286 microprocessor, your
    system might not be recognized. You`ll see this message when you
    try to run a protected-mode application:

    Machine not in database (RUN DPMIINST)

    If you get this message, simply run the DPMIINST program by
    typing DPMIINST at the DOS prompt and following the program`s

    DPMIINST runs your machine through a series of tests to determine
    the best way of enabling protected mode, and automatically
    configures accordingly. Once you have run DPMIINST, you won`t
    have to run it again.

    Some memory managers, device drivers, and memory-resident (TSR)
    programs can interfere with DPMIINST`s ability to analyze your
    system. If DPMIINST fails, try temporarily disabling or removing
    these programs. That gives DPMIINST the unrestricted access it
    needs to determine the best way to enter protected mode.

    Note that running DPMIINST.EXE will never be required on any
    system running HIMEM (or equivalent) or on any system based on
    an 80386 (or later) processor.


    By default, the DPMI interface allocates all available extended
    memory for its own use. If you don`t want all of the available
    memory to be taken by the DPMI kernel, you can set a DOS
    environment variable to specify the maximum amount of memory to
    use. This variable can be entered directly at the DOS prompt or
    inserted in your AUTOEXEC.BAT file, using this syntax:


    where nnnn is the amount of memory in kilobytes.

    For example, if you have a system with 4MB and want the DPMI
    kernel to use only 2MB of it, leaving the other 2MB alone, the
    DPMIMEM variable would be set as follows:


    Some memory managers, like QEMM or 386^Max, allow allocating the
    same area of memory as either extended or expanded and many older
    applications can use only expanded memmory (EMS). By using the
    DPMIMEM DOS environment variable to limit the amount of extended
    memory used by the DPMI server, your system will still have
    expanded memory available for use by older applications.


    RTMRES preloads the protected-mode system. Preloading the DPMI
    server lets you load a protected-mode program slightly faster.
    RTMRES will start a program if you specify a program name as a
    parameter. If no parameter is specified, RTMRES will run a DOS
    shell. Type EXIT to close the shell.

    RTMRES is especially useful if you start, exit, and start a
    protected-mode program frequently. Normally, every time you run a
    protected-mode application, the DPMI server is loaded. If you`ve
    run RTMRES previously, the server is already present, and the
    protected-mode application loads faster.


    A protected-mode application interacts with the DPMI server
    Gửi ý kiến

    ↓ CHÚ Ý: Bài giảng này được nén lại dưới dạng RAR và có thể chứa nhiều file. Hệ thống chỉ hiển thị 1 file trong số đó, đề nghị các thầy cô KIỂM TRA KỸ TRƯỚC KHI NHẬN XÉT  ↓