File tree Expand file tree Collapse file tree 4 files changed +21
-12
lines changed Expand file tree Collapse file tree 4 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 99
1010 This header includes defines and prototypes for working with user interrupts.
1111
12- ** WARNING: As of hardware revision I, user interrupts are no longer supported. **
12+ .. warning ::
1313
14- **Send TI a strongly worded email about removal of this feature. **
14+ As of hardware revision I, user interrupt vectors are no longer supported.
15+ Some functions will no longer work on the newer hardware, and are labeled as such.
16+ Feel free to send TI a strongly worded email about this limitation.
1517
1618.. contents :: :local:
1719 :depth: 3
Original file line number Diff line number Diff line change @@ -81,11 +81,12 @@ This table lists the locations relative to *sp* from within the called funciton.
8181+------------+------------+----------------------+
8282
8383This table lists which registers are used for return values.
84- Note that for shorts, the upper byte does not matter .
84+ The type's sign does not affect the registers used, but may affect the value returned .
8585
86- ** xx **: Contains data.
86+ .. note ::
8787
88- **?? **: Don't care.
88+ | **xx**: Byte must contain valid data.
89+ | **??**: Byte contents don't matter.
8990
9091+------------+------------+-------------------+
9192| C Type | Register | Register Contents |
Original file line number Diff line number Diff line change @@ -30,19 +30,19 @@ LIB_DIR = $(call NATIVEPATH,src/$1)
3030
3131all : convbin convimg convfont $(LIBS ) std
3232
33- std :
33+ std : check
3434 $(Q )$(MAKE ) -C $(call NATIVEPATH,src/std)
3535
36- fasmg :
36+ fasmg : check
3737 $(Q )$(MAKE ) -C $(call NATIVEPATH,tools/fasmg)
3838
39- convbin :
39+ convbin : check
4040 $(Q )$(MAKE ) -C $(call NATIVEPATH,tools/convbin) release
4141
42- convimg :
42+ convimg : check
4343 $(Q )$(MAKE ) -C $(call NATIVEPATH,tools/convimg) release
4444
45- convfont :
45+ convfont : check
4646 $(Q )$(MAKE ) -C $(call NATIVEPATH,tools/convfont)
4747
4848$(LIBS ) : fasmg
@@ -109,9 +109,14 @@ clean: $(addprefix clean-,$(LIBS)) clean-std
109109clean-std :
110110 $(Q )$(MAKE ) -C $(call NATIVEPATH,src/std) clean
111111
112+ check :
113+ $(Q )$(EZCC ) --version || ( echo Please install ez80-clang && exit 1 )
114+ $(Q )$(FASMG ) $(NULL ) $(NULL ) || ( echo Please install fasmg && exit 1 )
115+
112116help :
113117 @echo Helpful targets:
114118 @echo all
119+ @echo check
115120 @echo docs-html
116121 @echo docs-pdf
117122 @echo clean
@@ -123,7 +128,6 @@ help:
123128
124129.PHONY : $(LIBS )
125130.PHONY : install-fasmg install-std install-ce $(addprefix install-,$(LIBS ) )
126- .PHONY : clean clean-std $(addprefix clean-,$(LIBS ) )
131+ .PHONY : check clean clean-std $(addprefix clean-,$(LIBS ) )
127132.PHONY : all help install uninstall release release-libs docs-pdf docs-html
128133.PHONY : fasmg convbin convimg convfont
129-
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ WINDOWS := 1
4141SHELL := cmd.exe
4242FASMG ?= fasmg.exe
4343EZCC ?= ez80-clang.exe
44+ NULL ?= nul
4445NATIVEPATH ?= $(subst /,\,$1)
4546NATIVEEXE ?= $(NATIVEPATH ) .exe
4647MKDIR ?= ( mkdir $1 2>nul || call )
@@ -56,6 +57,7 @@ RELEASE_NAME = windows
5657else
5758FASMG ?= fasmg
5859EZCC ?= ez80-clang
60+ NULL ?= /dev/null
5961NATIVEPATH ?= $(subst \,/,$1)
6062NATIVEEXE ?= $(NATIVEPATH )
6163MKDIR ?= mkdir -p $1
You can’t perform that action at this time.
0 commit comments