欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

cmxread.doc

上传一个带源代码的嵌入式实时多任务操作系统CMX
DOC
第 1 页 / 共 2 页
字号:

		;Technically the user could compile this file and use
		;the output, but the CODE size will be larger, for
		;ALL functions will be in the CODE.

;The following files are the assembly source files that contains the
;CMX Scheduler, interrupt handler and interrupt pipe. The proper
;file must be declared, when the user uses the linker, to link the 
;application code with the CMX operating system. This depends on
;the memory model used for the particular appplication

cxskv5t.asm	;for -Mt memory model (tiny)
cxskv5s.asm	;for -Ms memory model (small)
cxskv5m.asm	;for -Mm memory model (medium)
cxskv5l.asm	;for -Ml memory model (large)
cxskv5st.asm	;for -Ms memory model (small), CMXTracker enabled
cxskv5lt.asm	;for -Ml memory model (large), CMXTracker enabled

cmxio3.c	;This is the source code to perform ALL CMX UART functions
		;This is not broken up into individual modules, for
		;it needs to be edited by the user for thier specific
		;needs. If the user is going to use any of the CMX
		;UART functions, then this whole module MUST be linked
		;in. The user is free to put #defines in, to disable
		;unused functions from being compiled, if they so
		;like.

		;Also in the CMXMOD sub-directory.
cxfuncs.h	;This is the CMX header file that is used by ALL CMX 
		;functions. Is needed to compile any or all the CMX 
		;functions. Contains the CMX function prototypes. 

		;Also in the CMXMOD sub-directory.
cxstruct.h	;This is the CMX header file that is used by ALL CMX 
		;functions. Is needed to compile any or all the CMX 
		;functions. Contains the CMX function structures.

		;Also in the CMXMOD sub-directory.
cxextern.h	;This is the CMX header file that is used by ALL CMX 
		;functions. Is needed to compile any or all the CMX 
		;functions. Contains the extern CMX data variables.

		;Also in the CMXMOD sub-directory.
cxdefine.h	;This is the CMX header file that is used by ALL CMX 
		;functions. Is needed to compile any or all the CMX 
		;functions. Contains the CMX data definitions. 

		;Also in the CMXMOD sub-directory.
cxvendor.h	;This is the CMX header file that is used by ALL CMX 
		;functions. Is needed to compile any or all the CMX 
		;functions. Contains "C" vendor specifics. 

		;Also in the CMXMOD sub-directory.
cmxtrack.h	;This is the CMX header file that is used by ALL CMX 
		;functions when CMXTracker is enabled.

cmxsamp.c	;Shows the user a typical user program written in "C".
		;The cmxsamp.c is written to support being compiled with
		;the (-Ms -g -s) option.

bugsamp.c	;Shows the user a typical user program written in "C".
		;with the inclusion of the CMX CMXBug to show debugging.
		;The bugsamp.c is written to support being compiled with
		;the (-Ms -g -s) option. 

trksamp.c	;Shows the user a typical user program written in "C".
		;with the inclusion of the CMX CMXTracker.
		;The bugsamp.c is written to support being compiled with
		;the (-Ms -g -s define (CMXTRACKER)) option. 


sampint3.c	;are two "C" files to show the user a couple different
sampint4.c	;interrupt handlers. One handler calls the CMX K_OS_Tick_Update
		;function which determines the timing frequency and the
		;other interrupt calls the CMX int_pipe function. This 
		;is for examples purposes only. 

_cmxlg.ilo	;(LARGE MODEL) Is the cmxsamp command file needed by the linker to
		;properly link/locate the cmxsamp file with the CMX operating
		;system and CMX library.

_buglg.ilo	;(LARGE MODEL) Is the bugsamp command file needed by the linker to
		;properly link/locate the bugsamp file with the CMX operating
		;system and CMX library

_bugtest.ilo	;(LARGE MODEL) Is the command file needed by the linker to
		;properly link/locate the bugsamp file with the CMX operating
		;system, CMX library and CMXBug for Windows.

_trklg.ilo	;(LARGE MODEL) Is the trksamp command file needed by the linker to
		;properly link/locate the trksamp file with the CMX operating
		;system and CMX library

_trktest.ilo	;(LARGE MODEL) Is the command file needed by the linker to
		;properly link/locate the trksamp file with the CMX operating
		;system, CMX library and CMXTracker for Windows.

_cmxsm.ilo	;(SMALL MODEL) Is the cmxsamp command file needed by the linker to
		;properly link/locate the cmxsamp file with the CMX operating
		;system and CMX library.

_bugsm.ilo	;(SMALL MODEL) Is the bugsamp command file needed by the linker to
		;properly link/locate the bugsamp file with the CMX operating
		;system and CMX library

_trksm.ilo	;(SMALL MODEL) Is the trksamp command file needed by the linker to
		;properly link/locate the trksamp file with the CMX operating
		;system and CMX library

cmxlg.bat	;(LARGE MODEL) Is a batch file that will properly compile the  
		;cmxsamp.c file, compile the cmx_init.c file, sampint3.c,
		;sampint4.c and assemble the cxskv5l.asm file
		;and then link that file into CMX to create an executable 
		;file.

buglg.bat	;(LARGE MODEL) Is a batch file that will properly compile the  
		;bugsamp.c file, compile the bug_init.c file, sampint3.c,
		;sampint4.c and assemble the cxskv5l.asm file
		;and then link that file into CMX to create an executable 
		;file.

bugtest.bat	;(LARGE MODEL) Is a batch file that will properly compile  
		;bugsamp.c, bug_init.c, sampint3.c, sampint4.c,
		;winbug.c and winio.c, assemble cxskv5l.asm,
		;and then link those files to create an executable file.

trklg.bat	;(LARGE MODEL) Is a batch file that will properly compile the  
		;trksamp.c file, compile the trk_init.c file, sampint3.c,
		;sampint4.c and assemble the cxskv5l.asm file
		;and then link that file into CMX to create an executable 
		;file.

trktest.bat	;(LARGE MODEL) Is a batch file that will properly compile  
		;trksamp.c, trk_init.c, sampint3.c, sampint4.c,
		;wintrack.c and winio.c, assemble cxskv5lt.asm,
		;and then link those files to create an executable file.

cmxsm.bat	;(SMALL MODEL) Is a batch file that will properly compile the  
		;cmxsamp.c file, compile the cmx_init.c file, sampint3.c,
		;sampint4.c and assemble the cxskv5s.asm file
		;and then link that file into CMX to create an executable 
		;file.

bugsm.bat	;(SMALL MODEL) Is a batch file that will properly compile the  
		;bugsamp.c file, compile the bug_init.c file, sampint3.c,
		;sampint4.c and assemble the cxskv5s.asm file
		;and then link that file into CMX to create an executable 
		;file.

trksm.bat	;(SMALL MODEL) Is a batch file that will properly compile the  
		;trksamp.c file, compile the trk_init.c file, sampint3.c,
		;sampint4.c and assemble the cxskv5s.asm file
		;and then link that file into CMX to create an executable 
		;file.

cmxbug.c	;Is the CMX CMXBug source code. The user should read the
		;CMXBug manual at end of 3 ring binder containing the
		;CMX manuals.

winbug.c	;Is the CMX CMXBug source code for use with CMXBug for
		;Windows.

cmxtrack.c	;Is the CMX CMXTracker source code. The user should read the
		;CMXTracker manual at end of 3 ring binder containing the
		;CMX manuals.

wintrack.c	;Is the CMX CMXTracker source code for use with CMXTracker
		;for Windows.

winio.c		;UART functions and macros used with CMXBug for Windows and
winio.h		;CMXTracker for Windows

cmxbugio.exe	;Is a PC based executable, that the user is free to use.
		;Explained in detail, within the CMXBug manual supplied.


\CMXMOD directory


;The following "make" files are in the CMXMOD sub-directory
;It lets the user make different memory model libraries
;choose the file that will be used by make.exe if the user
;changes ANY of the CMX functions, or CMX headers that
;contain the structures, and function prototypes. Also
;the user may go and edit this file to select different
;compiler switches.

make66t.mak	;for -Mt memory model (tiny)
make66s.mak	;for -Ms memory model (small)
make66m.mak	;for -Mm memory model (medium)
make66l.mak	;for -Ml memory model (large)
make66st.mak	;for -Ms memory model (small), CMXTracker enabled
make66lt.mak	;for -Ml memory model (large), CMXTracker enabled
make66sw.mak	;for -Ms memory model (small), WINTracker enabled
make66lw.mak	;for -Ml memory model (large), WINTracker enabled

		;The following file is under the CMXMOD sub-directory
make.exe	;This is a file by Microsoft, that will maintain the 
		;make66?.mak file. Must be used if if any of the CMX 
		;functions, or CMX header (.h) files are changed.
		;Also used to make NEW memory models, if not made.
		;To invoke this, type "make make66?.mak"

lbca66.xlb	;This file allow the librarian to make a CMX library
		;file for the selected memory model. This is automatically 
		;performed by the selected "make66?.mak" file.

;The following CMX library files WILL be made by the librarian  
;through the use of the selected make66?.mak file, by make.exe
;This is automatically performed by the selected "make66?.mak" file.
; NOTE: NOT INCLUDED

liba66t.lib	;for -Mt memory model (tiny)
liba66s.lib	;for -Ms memory model (small)
liba66m.lib	;for -Mm memory model (medium)
liba66l.lib	;for -Ml memory model (large)
liba66st.lib	;for -Ms memory model (small), CMXTracker enabled 
liba66lt.lib	;for -Ml memory model (large), CMXTracker enabled
liba66sw.lib	;for -Ms memory model (small), WINTracker enabled 
liba66lw.lib	;for -Ml memory model (large), WINTracker enabled

**********************************************************
	NOTE:
Remember to include the following files for the linker.

cxskv5?.obj	;the proper CMX assembly module file
cmx_init.obj	;or name of copy of this file
liba66?.lib	;the proper CMX library file
cmxbug.obj	;If user wants CMXBug debugger capabilities.
cmxtrack.obj	;if CMXTracker desired.
winbug.obj	;for CMXBug debugger for Windows capabilities.
wintrack.obj	;if CMXTracker for Windows desired.
winio.obj	;for use with Windows versions of CMXBug and CMXTracker
YOUR MODULES


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -