mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2024-12-21 01:29:59 +00:00
Remove copyright/license from individual JS files
This commit is contained in:
parent
f2b0f39f7c
commit
98a8ba581a
17
basic.js
17
basic.js
@ -1,22 +1,7 @@
|
||||
//
|
||||
// Applesoft BASIC in Javascript
|
||||
// BASIC Compiler
|
||||
// BASIC Compiler and Executor
|
||||
//
|
||||
|
||||
// Copyright (C) 2009-2011 Joshua Bell
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// API:
|
||||
// var program = basic.compile(source);
|
||||
// // may throw basic.ParseError
|
||||
|
15
bell.js
15
bell.js
@ -1,22 +1,7 @@
|
||||
//
|
||||
// Applesoft BASIC in Javascript
|
||||
// Bell - play an audio file for the CHR$(7) "BEL" beep
|
||||
//
|
||||
|
||||
// Copyright (C) 2009-2011 Joshua Bell
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
var Bell;
|
||||
if (typeof Bell !== 'function') {
|
||||
Bell = function(base) {
|
||||
|
16
dos.js
16
dos.js
@ -1,22 +1,6 @@
|
||||
//
|
||||
// Applesoft BASIC in Javascript
|
||||
// DOS Emulation
|
||||
|
||||
// Copyright (C) 2009-2011 Joshua Bell
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
|
||||
// Usage:
|
||||
// var dos = new DOS( tty ) // hooks tty's writeChar/readChar/readLine
|
||||
// dos.reset() // Close all open buffers
|
||||
|
16
hires.js
16
hires.js
@ -1,23 +1,7 @@
|
||||
//
|
||||
// Applesoft BASIC in Javascript
|
||||
// High Resolution Graphics (HiRes) Emulation
|
||||
//
|
||||
|
||||
// Copyright (C) 2009-2011 Joshua Bell
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
|
||||
// This variation does not rely on a canvas element with the same dimensions
|
||||
// as the pixel buffer; instead, it paints pixels on the canvas using rectangles.
|
||||
// This works even if the underlying canvas implementation does not support
|
||||
|
16
lores.js
16
lores.js
@ -1,23 +1,7 @@
|
||||
//
|
||||
// Applesoft BASIC in Javascript
|
||||
// Low Resolution Graphics (LoRes) Emulation
|
||||
//
|
||||
|
||||
// Copyright (C) 2009-2011 Joshua Bell
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
|
||||
// Usage:
|
||||
//
|
||||
// var lores = new LoRes( element, width, height )
|
||||
|
15
printer.js
15
printer.js
@ -1,22 +1,7 @@
|
||||
//
|
||||
// Applesoft BASIC in Javascript
|
||||
// Printer (for copying output)
|
||||
//
|
||||
|
||||
// Copyright (C) 2009-2011 Joshua Bell
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
function Printer(tty, paper) {
|
||||
var tty_writeChar = tty.writeChar;
|
||||
tty.writeChar = function(c) {
|
||||
|
15
tty.js
15
tty.js
@ -1,22 +1,7 @@
|
||||
//
|
||||
// Applesoft BASIC in Javascript
|
||||
// TTY Emulation
|
||||
//
|
||||
|
||||
// Copyright (C) 2009-2011 Joshua Bell
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// Usage:
|
||||
//
|
||||
// tty = new TTY( screen_element, keyboard_element, bell );
|
||||
|
Loading…
Reference in New Issue
Block a user