1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-25 23:49:17 +00:00
Commit Graph

614 Commits

Author SHA1 Message Date
Chris Pressey
b19267d3ba Checkpoint import of changes for version 0.19. 2019-04-08 11:50:54 +01:00
Chris Pressey
c7e1b69845
Merge pull request #19 from catseye/develop-0.18
Develop 0.18
2019-01-04 11:21:37 +00:00
Chris Pressey
49bb5b578a Extract utility routine to "support/stdlib.60p" source. 2018-12-25 18:10:58 +00:00
Chris Pressey
f2570729a4 Final (for now) cleanup of the example sources. 2018-12-12 15:27:57 +00:00
Chris Pressey
75449d7271
Merge pull request #18 from catseye/more-modes-on-add-and-sub
More modes on add and sub
2018-12-12 15:13:26 +00:00
Chris Pressey
cfca03ed7e
Merge pull request #17 from catseye/inconsistent-initialization
Drop check for inconsistent initialization
2018-12-12 15:11:57 +00:00
Chris Pressey
35a1053439 Support more modes on add and sub. 2018-12-12 10:34:25 +00:00
Chris Pressey
2803aa2d05 Add failing tests for add and sub on locations other than a. 2018-12-12 10:11:16 +00:00
Chris Pressey
69df175230 Merge branch 'develop-0.18' of https://github.com/catseye/SixtyPical into inconsistent-initialization 2018-12-12 09:58:26 +00:00
Chris Pressey
0ec8970c76 Expand example with code that will likely become library support. 2018-12-12 09:27:25 +00:00
Chris Pressey
03a682ff08 Make word-table print YY. 2018-12-12 09:13:13 +00:00
Chris Pressey
d1a29709f2 Add example test program for cmp-against-literal-word. Fix it. 2018-12-12 09:09:45 +00:00
Chris Pressey
97e6e619ff cmp can compare against a literal word. 2018-12-12 09:01:46 +00:00
Chris Pressey
538365f1e1 Add one more test case, to demonstrate that it's not just output. 2018-12-11 22:42:59 +00:00
Chris Pressey
547b7c960a Restore the debugging (which should be rethought, anyway). 2018-12-11 22:40:23 +00:00
Chris Pressey
d13c6a94a2 Drop the check for "consistent initialization" inside if blocks. 2018-12-11 19:27:40 +00:00
Chris Pressey
d86612acce Note what we've done with the example programs. 2018-12-11 19:11:03 +00:00
Chris Pressey
c85cb6722a Add local load'n'go script. Fill in what each is expected to write. 2018-12-11 18:14:36 +00:00
Chris Pressey
d3f730cc76 Move towards greater platform-agnosticism in these examples. 2018-12-11 17:55:08 +00:00
Chris Pressey
3a4c2e46c1 inc and dec on a known range usually keeps it known, now. 2018-12-11 17:35:01 +00:00
Chris Pressey
5d01820bb1 Small reorganization of example programs. 2018-12-11 17:17:15 +00:00
Chris Pressey
70ba40bf3e
Merge pull request #16 from catseye/goto-at-end-of-block
goto only at end of block, not only in tail position
2018-12-11 16:51:44 +00:00
Chris Pressey
bf3f1835ed Merge branch 'develop-0.18' of https://github.com/catseye/SixtyPical into goto-at-end-of-block 2018-11-29 17:47:48 +00:00
Chris Pressey
f99cf47661
Merge pull request #15 from catseye/16-bit-compare
16-bit compare instruction
2018-11-29 17:46:48 +00:00
Chris Pressey
d598b505e0 Add more tests. 2018-11-27 17:40:25 +00:00
Chris Pressey
3814d2624d Improve tests. 2018-11-27 17:26:58 +00:00
Chris Pressey
d1befe7123 All tests pass again -- but this needs lots more tests please. 2018-11-27 17:11:37 +00:00
Chris Pressey
07ec6752ee Introduce yet another new error. 2018-11-27 17:09:38 +00:00
Chris Pressey
a53a3529ea Better name for this error. 2018-11-27 17:06:07 +00:00
Chris Pressey
21e623f3ad Collect exit contexts. Disturbs fallthru analysis, but otherwise? 2018-11-27 16:59:16 +00:00
Chris Pressey
0ca545c89a Begin working out what happens when you encounter a goto. 2018-11-27 15:44:39 +00:00
Chris Pressey
27aca3dd86 Looks like, when we "goto", we should "pull in" the constraints. 2018-11-27 15:10:18 +00:00
Chris Pressey
0c481845e9 Add failing test. 2018-11-27 14:52:59 +00:00
Chris Pressey
6dbce205d1 goto is no longer restricted to appearing in tail position. 2018-11-27 14:25:43 +00:00
Chris Pressey
9364a5fbec Small step towards the goal of this branch. 2018-11-27 13:56:32 +00:00
Chris Pressey
d90ac92a33 Merge branch 'develop-0.18' into goto-at-end-of-block 2018-11-27 13:55:36 +00:00
Chris Pressey
9e9284bee5 goto may only occur at the end of a block. 2018-11-27 13:43:36 +00:00
Chris Pressey
94ee042a1e Fix order of operands in word-sized cmp. 2018-11-27 13:12:55 +00:00
Chris Pressey
046e43cd66 Add another example. Even more convincing that the order is wrong. 2018-11-27 13:05:19 +00:00
Chris Pressey
2d767e9fe7 Add example program that suggests we've got the arguments backwards. 2018-11-23 23:11:06 +00:00
Chris Pressey
dcc944d732 If add and sub can work on words, then cmp can work on words too. 2018-11-23 23:00:41 +00:00
Chris Pressey
a765a50c1e Notes on compare. 2018-11-23 22:23:41 +00:00
Chris Pressey
0bc79d20d6 Merge branch 'develop-0.18' into 16-bit-compare 2018-11-23 22:17:05 +00:00
Chris Pressey
f860db055c Note what's on this development branch so far. 2018-11-23 22:16:21 +00:00
Chris Pressey
e74c7f2b31 Initial attempt at 16-bit compare. Not super well tested yet. 2018-11-23 22:09:28 +00:00
Chris Pressey
0429e4bd90 Make lexer greatly less inefficient on large source files. 2018-11-20 13:14:45 +00:00
Chris Pressey
3cd28bdb3e
Merge pull request #14 from catseye/develop-0.17
Develop 0.17
2018-11-16 11:48:24 +00:00
Chris Pressey
23936333ec These notes have been incorporated in the loadngo.sh script. 2018-11-16 11:41:41 +00:00
Chris Pressey
92db4ac3f0 More tests for "for" loops. 2018-09-16 21:30:53 +01:00
Chris Pressey
dd86015cd5 Add another test for for. There's another one I want to add too. 2018-09-16 18:45:09 +01:00