Skip to content

Commit bd5c00e

Browse files
committed
Adds linking exception license to runtime parts.
1 parent d6a444e commit bd5c00e

File tree

7 files changed

+55
-1
lines changed

7 files changed

+55
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ disk/%: %
111111
tr '\n' '\233' < $< > $@
112112

113113
disk/%.txt: %.md
114-
sed -e 's/`\(.*\)`/\1/g' < $< | tr '\n' '\233' > $@
114+
LC_ALL=C awk 'BEGIN{for(n=0;n<127;n++)chg[sprintf("%c",n)]=128+n} {l=length($$0);for(i=1;i<=l;i++){c=substr($$0,i,1);if(c=="`"){x=1-x;if(x)c="\002";else c="\026";}else if(x)c=chg[c];printf "%c",c;}printf "\233";}' < $< > $@
115115

116116
# Copy ".XEX" as ".COM"
117117
disk/fb.com: $(PROG)

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,25 @@ Sample files
2525
In the "tests" folder there are some samples of the language.
2626

2727

28+
License
29+
-------
30+
31+
FastBasic is free software under the terms of the GNU General Public License,
32+
either version 2 or lather, see the file [LICENSE](LICENSE) for the full text.
33+
34+
The runtime is also under the following linking exception:
35+
36+
> In addition to the permissions in the GNU General Public License, the authors
37+
> give you unlimited permission to link the compiled version of this file into
38+
> combinations with other programs, and to distribute those combinations without
39+
> any restriction coming from the use of this file. (The General Public License
40+
> restrictions do apply in other respects; for example, they cover modification
41+
> of the file, and distribution when not linked into a combine executable.)
42+
43+
This means that you can distribute the compiled result of any program written
44+
by you under any license of your choosing, either proprietary or copyleft.
45+
46+
2847
Compiling the sources
2948
---------------------
3049

src/alloc.asm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
; You should have received a copy of the GNU General Public License along
1616
; with this program. If not, see <http://www.gnu.org/licenses/>
1717
;
18+
; In addition to the permissions in the GNU General Public License, the
19+
; authors give you unlimited permission to link the compiled version of
20+
; this file into combinations with other programs, and to distribute those
21+
; combinations without any restriction coming from the use of this file.
22+
; (The General Public License restrictions do apply in other respects; for
23+
; example, they cover modification of the file, and distribution when not
24+
; linked into a combine executable.)
25+
1826

1927
; Memory functions
2028
; ----------------

src/interpreter.asm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
; You should have received a copy of the GNU General Public License along
1616
; with this program. If not, see <http://www.gnu.org/licenses/>
1717
;
18+
; In addition to the permissions in the GNU General Public License, the
19+
; authors give you unlimited permission to link the compiled version of
20+
; this file into combinations with other programs, and to distribute those
21+
; combinations without any restriction coming from the use of this file.
22+
; (The General Public License restrictions do apply in other respects; for
23+
; example, they cover modification of the file, and distribution when not
24+
; linked into a combine executable.)
25+
1826

1927
; The opcode interpreter
2028
; ----------------------

src/menu.asm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,9 @@ COMP_TRAILER:
206206
.export COMP_RT_SIZE
207207
COMP_RT_SIZE = __RUNTIME_RUN__ + __RUNTIME_SIZE__ - __JUMPTAB_RUN__
208208

209+
; This is the runtime startup code, copied into the resulting
210+
; executables.
211+
; Note that this code is patched before writing to a file.
209212
.segment "RUNTIME"
210213
compiled_start:
211214
lda #0

src/runtime.asm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
; You should have received a copy of the GNU General Public License along
1616
; with this program. If not, see <http://www.gnu.org/licenses/>
1717
;
18+
; In addition to the permissions in the GNU General Public License, the
19+
; authors give you unlimited permission to link the compiled version of
20+
; this file into combinations with other programs, and to distribute those
21+
; combinations without any restriction coming from the use of this file.
22+
; (The General Public License restrictions do apply in other respects; for
23+
; example, they cover modification of the file, and distribution when not
24+
; linked into a combine executable.)
25+
1826

1927
; Common runtime between interpreter and parser
2028
; ---------------------------------------------

src/standalone.asm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@
1515
; You should have received a copy of the GNU General Public License along
1616
; with this program. If not, see <http://www.gnu.org/licenses/>
1717
;
18+
; In addition to the permissions in the GNU General Public License, the
19+
; authors give you unlimited permission to link the compiled version of
20+
; this file into combinations with other programs, and to distribute those
21+
; combinations without any restriction coming from the use of this file.
22+
; (The General Public License restrictions do apply in other respects; for
23+
; example, they cover modification of the file, and distribution when not
24+
; linked into a combine executable.)
25+
1826

1927
; Standalone interpreter
2028
; ----------------------

0 commit comments

Comments
 (0)