home *** CD-ROM | disk | FTP | other *** search
/ C/C++ User's Journal & Wi…eveloper's Journal Tools / C-C__Users_Journal_and_Windows_Developers_Journal_Tools_1997.iso / smxdemo / ems / ems.doc next >
Encoding:
Text File  |  1993-07-10  |  3.6 KB  |  75 lines

  1.  
  2.                              smxEMS Demo
  3.                            April 22, 1993  
  4.  
  5.  
  6. BACKGROUND
  7.  
  8.       smxEMS is based upon the DOSdemo platform.  The bulk of the
  9.       product is contained in a single new file, ems.asm.  However,
  10.       some changes have been made to the DOSdemo files to create
  11.       EMSdemo.  Use EMSdemo as the platform for your application, just
  12.       as you would any of the other three platforms.  (See "Beginning a
  13.       System" in the smx Quick Start manual.)
  14.  
  15. ==>   In order to run an smxEMS application such as EMSdemo, you must
  16.       first reboot your computer with stripped down autoexec.bat and 
  17.       config.sys files.  (See below for details.)  This is necessary to 
  18.       remove conflicting memory managers.  Unfortunately, it is
  19.       necessary  to switch between these stripped down versions and
  20.       your normal versions  of these two system files when running or 
  21.       compiling.  You may find it easier to use different computers for
  22.       running and compiling.
  23.  
  24.  
  25. INSTRUCTIONS FOR RUNNING smxEMS APPLICATIONS (such as EMSdemo)
  26.  
  27.       (1)  Create stripped-down autoexec.bat and config.sys with no
  28.            memory  managers (i.e. no HIMEM, 386MAX, disk caches, etc.). 
  29.            Create new versions of these files, leaving the normal
  30.            versions intact. You will need to have both sets in your
  31.            root directory and switch between them.  (One way to do this
  32.            is to rename them.  Another way is to use a boot utility
  33.            that allows executing different parts of these files based
  34.            upon menu selections.  When running, use the stripped
  35.            versions.  When compiling, use the normal ones.  
  36.  
  37.       (2)  Be sure to have a bootable system floppy and know the
  38.            contents of the "CMOS RAM" in case something goes wrong.   
  39.  
  40.  
  41. RUNNING EMSdemo
  42.  
  43.       EMSdemo demonstrates mode 1 of smxEMS.  Mode 0 is not
  44.       demonstrated.
  45.  
  46.       The demo will run shortly after you are done viewing this file.
  47.  
  48.       Now that the demo files have been installed, you can run EMSdemo
  49.       next time, directly from your hard disk, if you wish, without 
  50.       going through rundemos again.  To do this, change to the EMS 
  51.       subdirectory.  Type, "emsdemo". (First, remember to reboot your 
  52.       computer without memory managers.  See notes above.)
  53.  
  54.       The demo will first determine the size of extended memory and
  55.       then present you with a view of extended memory beginning at its
  56.       first location (1MB).  The "REAL ADDRESS" value shown, is the
  57.       address in real memory of the window through which you are
  58.       looking at extended memory. The "OFFSET" value is the decimal
  59.       value of the window offset.  
  60.  
  61.       Advance the view several times, by pressing 'a' repeatedly.  You
  62.       will see several screens of a's and then dots and then b's, then
  63.       dots, then c's.   The a's, b's, and c's fill three separate
  64.       pages.  You can change the  contents of the pages by typing 'c'
  65.       followed by the desired letter.  This will change the portion of
  66.       the page currently displayed on the  screen.  You could use an
  67.       in-circuit emulator to actually confirm that extended memory is
  68.       being altered and not just the window in real memory.  
  69.  
  70.       Note that if you advance many times, you will reach the end of
  71.       the window, and the OFFSET counter rolls-over.  When this occurs,
  72.       the window's view in extended memory has advanced by the window's
  73.       size and the screen is showing extended memory through the
  74.       beginning of the window.
  75.