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 9
9
10
10
This header includes defines and prototypes for working with user interrupts.
11
11
12
- ** WARNING: As of hardware revision I, user interrupts are no longer supported. **
12
+ .. warning ::
13
13
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.
15
17
16
18
.. contents :: :local:
17
19
: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.
81
81
+------------+------------+----------------------+
82
82
83
83
This 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 .
85
85
86
- ** xx **: Contains data.
86
+ .. note ::
87
87
88
- **?? **: Don't care.
88
+ | **xx**: Byte must contain valid data.
89
+ | **??**: Byte contents don't matter.
89
90
90
91
+------------+------------+-------------------+
91
92
| 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)
30
30
31
31
all : convbin convimg convfont $(LIBS ) std
32
32
33
- std :
33
+ std : check
34
34
$(Q )$(MAKE ) -C $(call NATIVEPATH,src/std)
35
35
36
- fasmg :
36
+ fasmg : check
37
37
$(Q )$(MAKE ) -C $(call NATIVEPATH,tools/fasmg)
38
38
39
- convbin :
39
+ convbin : check
40
40
$(Q )$(MAKE ) -C $(call NATIVEPATH,tools/convbin) release
41
41
42
- convimg :
42
+ convimg : check
43
43
$(Q )$(MAKE ) -C $(call NATIVEPATH,tools/convimg) release
44
44
45
- convfont :
45
+ convfont : check
46
46
$(Q )$(MAKE ) -C $(call NATIVEPATH,tools/convfont)
47
47
48
48
$(LIBS ) : fasmg
@@ -109,9 +109,14 @@ clean: $(addprefix clean-,$(LIBS)) clean-std
109
109
clean-std :
110
110
$(Q )$(MAKE ) -C $(call NATIVEPATH,src/std) clean
111
111
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
+
112
116
help :
113
117
@echo Helpful targets:
114
118
@echo all
119
+ @echo check
115
120
@echo docs-html
116
121
@echo docs-pdf
117
122
@echo clean
@@ -123,7 +128,6 @@ help:
123
128
124
129
.PHONY : $(LIBS )
125
130
.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 ) )
127
132
.PHONY : all help install uninstall release release-libs docs-pdf docs-html
128
133
.PHONY : fasmg convbin convimg convfont
129
-
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ WINDOWS := 1
41
41
SHELL := cmd.exe
42
42
FASMG ?= fasmg.exe
43
43
EZCC ?= ez80-clang.exe
44
+ NULL ?= nul
44
45
NATIVEPATH ?= $(subst /,\,$1)
45
46
NATIVEEXE ?= $(NATIVEPATH ) .exe
46
47
MKDIR ?= ( mkdir $1 2>nul || call )
@@ -56,6 +57,7 @@ RELEASE_NAME = windows
56
57
else
57
58
FASMG ?= fasmg
58
59
EZCC ?= ez80-clang
60
+ NULL ?= /dev/null
59
61
NATIVEPATH ?= $(subst \,/,$1)
60
62
NATIVEEXE ?= $(NATIVEPATH )
61
63
MKDIR ?= mkdir -p $1
You can’t perform that action at this time.
0 commit comments