1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-25 07:32:16 +00:00
Commit Graph

83 Commits

Author SHA1 Message Date
Chris Pressey
2e2e80664e Forbid nested with interrupts blocks, and more refactoring. 2019-05-14 15:01:10 +01:00
Chris Pressey
3f666f4385 Add reset instruction; much refactoring. 2019-05-14 08:56:35 +01:00
Chris Pressey
dd29b6fd4a Implement local locations that aren't statically initialized. 2019-05-13 12:32:18 +01:00
Chris Pressey
a10f1c6528 Replace --run option with terser --run-on option. 2019-04-16 10:35:59 +01:00
Chris Pressey
a44b007ff0 Declare that --run replaces loadngo.sh, and remove the latter. 2019-04-15 13:11:43 +01:00
Chris Pressey
7854f71706 More edits to docs. 2019-04-10 12:02:35 +01:00
Chris Pressey
21a187a105 Update docs. 2019-04-10 09:29:45 +01:00
Chris Pressey
b19267d3ba Checkpoint import of changes for version 0.19. 2019-04-08 11:50:54 +01: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
35a1053439 Support more modes on add and sub. 2018-12-12 10:34:25 +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
97e6e619ff cmp can compare against a literal word. 2018-12-12 09:01:46 +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
3a4c2e46c1 inc and dec on a known range usually keeps it known, now. 2018-12-11 17:35:01 +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
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
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
f860db055c Note what's on this development branch so far. 2018-11-23 22:16:21 +00:00
Chris Pressey
6e9b15e017 Small documentation updates. 2018-09-14 13:14:32 +01:00
Chris Pressey
fee36294db Update TODO and HISTORY. 2018-09-07 15:35:42 +01:00
Chris Pressey
af0e1b41c7 Forward-reference resolution becomes increasingly general. 2018-09-07 13:40:41 +01:00
Chris Pressey
19461bc205 Support save X, Y, Z {} as a shortcut syntax for nested saves. 2018-09-07 11:27:42 +01:00
Chris Pressey
8efa73f79d Explicitly sort the chains by their content, for stable sort. 2018-09-06 17:15:10 +01:00
Chris Pressey
4bba75857f --output cmdline argument, serialize() returns an array of bytes. 2018-09-06 16:18:41 +01:00
Chris Pressey
51b98df829 Split TODO off into own file. 2018-08-26 14:35:28 +01:00
Chris Pressey
a73f6e1d94 Update HISTORY and README. 2018-05-08 12:48:15 +01:00
Chris Pressey
89fa8361a8 Remove --prelude, reform and document --output-formats. 2018-04-23 13:18:01 +01:00
Chris Pressey
bc91ef1602 Compile byte-table add, sub, cmp, and, or, xor, shl, shr, inc, dec. 2018-04-18 16:32:12 +01:00
Chris Pressey
e565234d28 Support for shl foo and shr foo where foo is a byte storage. 2018-04-18 12:01:53 +01:00
Chris Pressey
3c7d95a724 Support for copy [ptra]+y, [ptrb]+y to indirect LDA indirect STA 2018-04-18 10:57:57 +01:00
Chris Pressey
4f28f43bde The existing analysis is actually sufficient. Document why this is. 2018-04-18 10:25:23 +01:00
Chris Pressey
70247e0e44 Generate zero-page code for and, or, and xor, when possible. 2018-04-17 17:58:26 +01:00
Chris Pressey
27df0d27db Optimize away RTS and JMP when possible. Fallthru stuff done. 2018-04-05 14:10:04 +01:00
Chris Pressey
d883816298 --optimize-fallthru and --dump-fallthru-info options. 2018-04-04 11:54:50 +01:00
Chris Pressey
b63b880b8c Update documentation. 2018-03-29 16:58:50 +01:00
Chris Pressey
fa1b0cfae1 Support branching and looping on the n flag. 2018-03-29 14:45:28 +01:00
Chris Pressey
eadf1eb4ae A byte or word table can be initialized with a list of constants. 2018-03-29 11:09:02 +01:00
Chris Pressey
9b912de17c Accessing zero-page with ld and st generates zero-page opcodes. 2018-03-29 10:31:42 +01:00
Chris Pressey
1f992f8dbd Support of NOP opcode. 2018-03-28 14:52:16 +01:00
Chris Pressey
0093c7b7d9 First cut at support for targetting the Atari 2600. 2018-03-28 14:20:53 +01:00
Chris Pressey
c707105cd3 Describe the behaviour just implemented. 2018-03-27 16:49:20 +01:00
Chris Pressey
3f0e36a67c Add symbolic constants. 2018-03-27 12:36:33 +01:00
Chris Pressey
68b46c7be7 Small edits to history. 2018-03-26 14:44:54 +01:00
Chris Pressey
7f38d04536 Documentation updates. 2018-03-26 13:16:53 +01:00
Chris Pressey
42864bf125 Add SixtyPical translations of Ribos and "The PETulant Cursor". 2018-03-15 10:56:09 +00:00
Chris Pressey
ed917566ea We have a for loop now. 2018-03-14 16:45:35 +00:00
Chris Pressey
7a3b52dc1e More correct determination of tail position for purposes of goto. 2018-03-13 17:00:49 +00:00