1
0
mirror of https://github.com/inexorabletash/jsbasic.git synced 2025-04-03 02:31:07 +00:00

188 Commits

Author SHA1 Message Date
Joshua Bell
aee6b4665f Build sample index from data file 2023-03-10 20:24:57 -08:00
Joshua Bell
abe614a52d Fix credits for platformer sample 2023-03-10 20:05:13 -08:00
Joshua Bell
887b3be2a6 Updated Platformer sample by Beckett Bylsma 2023-03-08 08:45:01 -08:00
Joshua Bell
5ebbde151f Add platformer sample, a work in progress by Beckett Bylsma 2023-01-22 12:55:56 -08:00
Joshua Bell
cc5806e482 Fix ESLint warnings (and one actual bug) 2023-01-04 19:34:48 -08:00
Joshua Bell
7a8c663315 Further fixes for LEFT$/MID$/RIGHT$ and tests
* MID$ allows 0 for the second (length) argument
* Add tests for error cases.
2022-12-05 18:46:44 -08:00
Colin Leroy-Mira
3d37fc357a
Fix bug in LEFT$ MID$ and RIGHT$ ()
"The message ?ILLEGAL QUANTITY ERROR is displayed
 if \aexpr\<1 or \aexpr\>255.

Co-authored-by: Colin Leroy-Mira <colin.leroy-mira@sigfox.com>
2022-12-05 18:46:20 -08:00
Joshua Bell
252b39dc08 Add Bite sample 2022-10-23 15:25:37 -07:00
Joshua Bell
1d8e8822db Add Artillery sample 2022-10-23 15:23:41 -07:00
Joshua Bell
734d953a3b Add Building sample 2022-10-23 15:12:48 -07:00
Joshua Bell
ea4444ae49 Add Codabar Generator sample 2022-10-23 15:04:43 -07:00
Joshua Bell
4e5fc97a61 Fix bad line numbers in sample 2022-09-06 19:32:06 -07:00
Mikael O. Bonnier
7ad4841d89
Add Aritm game ()
* Create sample.aritm.txt

* Update index.html

* Added "01", ",1", and ".1" as alternatives to "-1"

* Updated year to 2022

* Initialze text mode & fix possible roundoff error

* Switched subroutines to functions & improved seed
2022-01-29 10:35:21 -08:00
Mikael O. Bonnier
6ba216c726
Add Aritm game ()
* Create sample.aritm.txt

* Update index.html

* Added "01", ",1", and ".1" as alternatives to "-1"

* Updated year to 2022

* Initialze text mode & fix possible roundoff error

* Switched subroutines to functions & improved seed
2022-01-29 10:35:03 -08:00
Joshua Bell
94994cd90f Fix links. Fixes 2022-01-29 10:24:27 -08:00
Joshua Bell
452ed49081 Fix typo 2022-01-29 10:19:28 -08:00
Joshua Bell
0f77241688 Reference: Add Operator Precedence table 2022-01-12 17:32:34 -08:00
Joshua Bell
513f07de62 Rev CodeMirror 2021-06-19 17:29:30 -07:00
Joshua Bell
0fd019442e Rev CodeMirror 2021-06-19 17:28:06 -07:00
Joshua Bell
6fb8412aab Document PEEK/POKE shims using negative integers 2021-05-29 12:08:29 -07:00
Joshua Bell
b0b2299cfb Fix initialization 2021-03-31 20:45:46 -07:00
Joshua Bell
b75c1f027f Unit Tests: Fix TEXT, add failing FOR case 2021-03-31 20:28:41 -07:00
Joshua Bell
5fc7c66b55 Make TEXT set HTAB 1 : VTAB 24 2021-03-31 20:13:14 -07:00
Joshua Bell
e15655e105 Focus on the screen when keyboard register is read 2021-03-31 20:06:14 -07:00
Joshua Bell
f5651d24f9 Fix some Sample filenames 2021-03-31 20:03:30 -07:00
Joshua Bell
2495381bcb Fix parsing of unterminated strings in DATA statements
Fixes 
2020-06-24 21:42:10 -07:00
Joshua Bell
697ccd63e9 Fix window text bottom - should not be changed if top changes.
The TTY module stores top/height but the Apple monitor stores
top/bottom. If top changes, bottom should remain unchanged.

Improve the POKE 34 shim, and add a test.
2020-06-24 21:19:49 -07:00
Joshua Bell
c64c10e5d2 Various game fixes and enhancements by Alan Ratliff 2020-06-20 15:49:59 -07:00
Joshua Bell
8d91265d3b Fix docs for 80-col check peek 2020-06-20 15:38:39 -07:00
Joshua Bell
6c7f7e9eec Update some URLs 2020-06-20 15:36:17 -07:00
Joshua Bell
dd01e4c9f1 Add sample: Space Attack by Alan Ratliff 2020-06-13 10:46:11 -07:00
Joshua Bell
45aa654f0c Improve GR/HGR colors 2020-06-13 10:38:34 -07:00
Joshua Bell
5329ae4ccc Fix TAB() documentation 2020-06-13 10:38:22 -07:00
Joshua Bell
17b0baf7e5 Add softswitch reads for display modes
Fixes 

The RdAltChar (mousetext) is not accurate. Under Virtual II it seems
to always return true if the 80 column firmware is active, regardless
of which character set is active.
2020-05-29 21:55:32 -07:00
Joshua Bell
44e308f030 GR adjusts text window. Fixes
GR now adjusts the text window to the bottom four lines of the
display. A unit test is added to verify.
2020-05-29 20:57:57 -07:00
Joshua Bell
dca4875d3d TAB()/SPC() should have implicit trailing ;
Also add docs.

Fixes 
2020-05-29 20:41:22 -07:00
Joshua Bell
af0a7eb886 Ensure COLOR= gives Illegal Quantity Error for > 255. Fixes 2020-05-03 21:04:36 -07:00
Joshua Bell
b11acbe1fb fix truncated sample 2020-02-10 08:06:56 -08:00
Joshua Bell
50c9355172 Add a few more samples 2020-02-09 21:08:51 -08:00
Joshua Bell
18c88661ac Add a bunch of samples 2020-02-09 21:02:04 -08:00
Joshua Bell
6c42af4b39 More samples by Golden Child 2020-01-29 21:31:02 -08:00
Joshua Bell
77b7882b12 Add samples c/o Golden Child 2020-01-14 18:20:14 -08:00
Arthur Allen
4a27231196 Adding Columns and Tetris games using lores graphics. ()
* Applesoft Basic Columns Game

Columns Game using lores graphics.

* Update index.html

Added links to Tetris and Columns games
2019-12-09 19:24:55 -08:00
Chris Whong
157ebf7f96 add ninja turtle example () 2019-01-02 19:12:59 -08:00
Joshua Bell
0ad3bcf56a Fix 'insecure endpoint' warning for mailto link 2018-10-06 09:31:03 -07:00
Joshua Bell
8de025a8d4 Update font refs to https 2018-08-15 21:55:00 -07:00
Joshua Bell
4b16333ec8
Update README.md 2018-08-14 13:00:32 -07:00
Joshua Bell
92df9eb56d Missing semicolons 2018-08-01 18:43:57 -07:00
Joshua Bell
c29683009c Add Door Detector game sample by Jeff 2018-08-01 18:41:15 -07:00
Joshua Bell
c88331d97d Bump codemirror version 2017-12-25 10:54:06 -08:00