Commit Graph

15 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
Joshua Bell b75c1f027f Unit Tests: Fix TEXT, add failing FOR case 2021-03-31 20:28:41 -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 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 78428020d8 Invalid DOS commands should fail with Syntax Error. Resolves #13 2016-09-17 18:17:34 -07:00
Sigurður Sveinn Halldórsson d53e58db23 Fix ON GOTO and ON GOSUB - Should resolve #11 (#12)
* Fix ON GOTO and ON GOSUB - Should resolve #11

* Fix ON GOTO and ON GOSUB better - Should handle edge cases

* Fix ON GOTO and ON GOSUB - Added unit tests

* Fix ON GOTO and ON GOSUB - Fixed unit tests
2016-07-25 19:14:33 -07:00
Joshua Bell 20f302339f Fix ONERR GOTO handling - should skip to next line. Resolves #7 2015-12-06 15:47:15 -08:00
Joshua Bell 2e27cda07b Added test for hook precedence 2015-11-25 19:07:39 -08:00
Joshua Bell f55aa51023 Make line numbers relevant; resolves issue #5 2014-12-28 20:55:23 -07:00
Joshua Bell 7a01309073 Implement CALL-3288; resolves #8 2014-12-27 17:51:21 -07:00
Joshua Bell 9aa91a4410 Snapshot 2012-02-08 22:13:44 -05:00