home *** CD-ROM | disk | FTP | other *** search
-
- smxEMS Demo
- April 22, 1993
-
-
- BACKGROUND
-
- smxEMS is based upon the DOSdemo platform. The bulk of the
- product is contained in a single new file, ems.asm. However,
- some changes have been made to the DOSdemo files to create
- EMSdemo. Use EMSdemo as the platform for your application, just
- as you would any of the other three platforms. (See "Beginning a
- System" in the smx Quick Start manual.)
-
- ==> In order to run an smxEMS application such as EMSdemo, you must
- first reboot your computer with stripped down autoexec.bat and
- config.sys files. (See below for details.) This is necessary to
- remove conflicting memory managers. Unfortunately, it is
- necessary to switch between these stripped down versions and
- your normal versions of these two system files when running or
- compiling. You may find it easier to use different computers for
- running and compiling.
-
-
- INSTRUCTIONS FOR RUNNING smxEMS APPLICATIONS (such as EMSdemo)
-
- (1) Create stripped-down autoexec.bat and config.sys with no
- memory managers (i.e. no HIMEM, 386MAX, disk caches, etc.).
- Create new versions of these files, leaving the normal
- versions intact. You will need to have both sets in your
- root directory and switch between them. (One way to do this
- is to rename them. Another way is to use a boot utility
- that allows executing different parts of these files based
- upon menu selections. When running, use the stripped
- versions. When compiling, use the normal ones.
-
- (2) Be sure to have a bootable system floppy and know the
- contents of the "CMOS RAM" in case something goes wrong.
-
-
- RUNNING EMSdemo
-
- EMSdemo demonstrates mode 1 of smxEMS. Mode 0 is not
- demonstrated.
-
- The demo will run shortly after you are done viewing this file.
-
- Now that the demo files have been installed, you can run EMSdemo
- next time, directly from your hard disk, if you wish, without
- going through rundemos again. To do this, change to the EMS
- subdirectory. Type, "emsdemo". (First, remember to reboot your
- computer without memory managers. See notes above.)
-
- The demo will first determine the size of extended memory and
- then present you with a view of extended memory beginning at its
- first location (1MB). The "REAL ADDRESS" value shown, is the
- address in real memory of the window through which you are
- looking at extended memory. The "OFFSET" value is the decimal
- value of the window offset.
-
- Advance the view several times, by pressing 'a' repeatedly. You
- will see several screens of a's and then dots and then b's, then
- dots, then c's. The a's, b's, and c's fill three separate
- pages. You can change the contents of the pages by typing 'c'
- followed by the desired letter. This will change the portion of
- the page currently displayed on the screen. You could use an
- in-circuit emulator to actually confirm that extended memory is
- being altered and not just the window in real memory.
-
- Note that if you advance many times, you will reach the end of
- the window, and the OFFSET counter rolls-over. When this occurs,
- the window's view in extended memory has advanced by the window's
- size and the screen is showing extended memory through the
- beginning of the window.