Commit Graph

196 Commits

Author SHA1 Message Date
Joshua Bell
d7ebf753db Thunderclock: Tweak DOS/BASIC handling of colons
This is ugly, but you should see what real BASIC/DOS do under the hood.
2024-02-11 15:16:39 -08:00
Joshua Bell
d727640ef4 Added Random Maze sample by Alan Rat 2024-02-10 18:36:39 -08:00
Joshua Bell
a23879b693 Fix for previous - don't call callback synchronously 2024-02-10 18:28:31 -08:00
Joshua Bell
555f8de2ae Simulate Thunderclock in Slot 4
See the new sample for details/example.

Note that reading 12/24-hour time formats that have colons will not
currently work, as the colons will terminate input and result in
invisible ?EXTRA IGNORED errors.

Fixes #44
2024-02-10 18:22:08 -08:00
Joshua Bell
f18ad47d1c Samples: Update platformer, c/o Brendan Ghareeb 2024-01-13 10:18:34 -08:00
Joshua Bell
229f2957de Updated Platformer sample 2023-10-06 13:10:37 -07:00
Joshua Bell
f625602942 Update platformer sample 2023-10-01 19:26:20 -07:00
Joshua Bell
ec3a771fdc Page: Use OPTGROUP in SELECT 2023-09-21 21:39:20 -07:00
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$ (#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