Commit Graph

183 Commits

Author SHA1 Message Date
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$ (#45)
"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 (#42)
* 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 (#42)
* 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 #43 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 #35
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 #32

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 #33
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 #34
2020-05-29 20:41:22 -07:00
Joshua Bell
af0a7eb886 Ensure COLOR= gives Illegal Quantity Error for > 255. Fixes #30 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. (#28)
* 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 (#26) 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
Joshua Bell
325762bf3c Remove 'Fork Me' banner; clutter most users don't need 2017-11-12 19:15:49 -08:00
Joshua Bell
d76e0c2d73 Added 'Snowflakes' sample 2017-08-27 18:47:08 -07:00
Joshua Bell
05b7bbca87 Animate paper showing/hiding; add a few more compat shims; fix docs for CALL 54915 2017-08-15 10:10:30 -07:00
Joshua Bell
d03e3590d8 Merge branch 'master' of https://github.com/inexorabletash/jsbasic 2017-02-19 21:17:07 -08:00
Joshua Bell
c8670df1c0 Use WebAudio for beep, if available 2017-02-19 21:17:01 -08:00