1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-22 17:32:01 +00:00
Commit Graph

407 Commits

Author SHA1 Message Date
Chris Pressey
b5763e84b4 Constants (such as routines) cannot be given in call-constraints. 2015-10-22 20:01:02 +01:00
Chris Pressey
421727e107 Update HISTORY and README. 2015-10-22 19:20:48 +01:00
Chris Pressey
33d72c0692 Fix tests. 2015-10-22 17:21:01 +01:00
Chris Pressey
0d3ac8c247 {Low,High}AddressByte emittables to fix copy, make indirect call! 2015-10-22 16:20:10 +01:00
Chris Pressey
0b2b5d904e Implement indirect JSRs with trampolines in theory; doesn't work. 2015-10-22 15:45:16 +01:00
Chris Pressey
b20945898e Update README 2015-10-22 09:56:45 +01:00
Chris Pressey
cb2bda6afd Fix my own confusion, and with it, the unit test. 2015-10-22 09:54:11 +01:00
Chris Pressey
0361016e4c Bring the rest of the tests up to date with the new names. 2015-10-22 09:48:26 +01:00
Chris Pressey
cc433e9c64 Try to improve error messages, thus breaking many unit tests. 2015-10-21 19:43:44 +01:00
Chris Pressey
646ec38aa8 Spec goto. 2015-10-21 19:14:59 +01:00
Chris Pressey
ed44a8c1b9 Merge. 2015-10-21 19:09:23 +01:00
Chris Pressey
45310b8f9c It's getting a little chaotic. Needs better error messages! 2015-10-21 17:05:49 +01:00
Chris Pressey
16450e06d5 Compile goto's. 2015-10-21 15:51:52 +01:00
Chris Pressey
bb6ad5d3cf Refactor Analyzer. Get analysis tests passing once again. 2015-10-21 15:45:14 +01:00
Chris Pressey
49d07cee5f Attempt to analyze goto. Looks like it'll need some rewriting. 2015-10-21 11:41:52 +01:00
Chris Pressey
fa244c1550 Some more tests, which fail because I forgot to pull the repo :/ 2015-10-20 18:53:03 +01:00
Chris Pressey
69fa91417c Add missing example source 2015-10-20 17:39:00 +01:00
Chris Pressey
6e0ca3838e Recast Evaluator as an object. Handle goto inside it. 2015-10-20 14:39:32 +01:00
Chris Pressey
be76b9a00d Syntax for goto. 2015-10-20 14:10:33 +01:00
Chris Pressey
16649042cb I kind of forgot that indirect JSR needs a trampoline first :/ 2015-10-20 13:15:21 +01:00
Chris Pressey
f16cb75677 Fix compiler. All tests pass once again. 2015-10-20 12:53:07 +01:00
Chris Pressey
b4e0756d7e Unbreak evaluator, but break compiler b/c change in parser. 2015-10-20 10:07:28 +01:00
Chris Pressey
2dc4dd988e Parse indirect calls, but break evaluator. 2015-10-20 09:33:30 +01:00
Chris Pressey
7d56705530 Check that the constraints on a routine match those of vector. 2015-10-19 19:17:27 +01:00
Chris Pressey
3010435add Inputs/outputs/trashes are now part of the type information only. 2015-10-19 18:44:20 +01:00
Chris Pressey
98524e931a Vector and routine types are constructors with constraints now. 2015-10-19 18:18:06 +01:00
Chris Pressey
f0b8942aa1 Allow vectors to be decorated with inputs/outputs/trashes; test. 2015-10-19 13:04:08 +01:00
Chris Pressey
a12a44eadb Re-enable disabled test and fix it and add a few related tests. 2015-10-19 12:22:44 +01:00
Chris Pressey
04de73d04d Solve this by defining an Offset emittable. 2015-10-19 08:55:47 +01:00
Chris Pressey
e3fe337730 Interesting dead end we've got ourselves into here. 2015-10-18 23:31:17 +01:00
Chris Pressey
645079f03a Implement 'with interrupts off'. 2015-10-18 23:15:40 +01:00
Chris Pressey
fd07f4bae9 More sophisticated static analysis: writeable, touched, meaningful. 2015-10-18 22:27:51 +01:00
Chris Pressey
8b30a232fa Analyze copy, but... we now need more sophisticated context. :/ 2015-10-18 20:16:14 +01:00
Chris Pressey
c98e446583 Spec and syntax for vectors and copy instruction. 2015-10-18 19:41:26 +01:00
Chris Pressey
ab1b5990e7 Added tag 0.5 for changeset 19c782179db9 2015-10-18 19:02:21 +01:00
Chris Pressey
6b69b5da3a Removed tag 0.6 2015-10-18 19:02:15 +01:00
Chris Pressey
cce9e897e9 Added tag 0.6 for changeset 7a39b84bb002 2015-10-18 19:02:10 +01:00
Chris Pressey
41414b0a1f Prep for release of 0.5. 2015-10-18 19:02:07 +01:00
Chris Pressey
9235c6eacc Support line comments. 2015-10-18 18:54:28 +01:00
Chris Pressey
a933c81768 Well, that's a hack. But it works. 2015-10-18 18:47:47 +01:00
Chris Pressey
a9bd8a3714 Indexed access, + x / + y, at least for LDA and STA.
--HG--
rename : eg/screen.60p => eg/screen1.60p
2015-10-18 18:32:20 +01:00
Chris Pressey
5a5953ca4c A little awkward, but analyze byte table access correctly. 2015-10-18 18:12:47 +01:00
Chris Pressey
f4186c5f22 AbsoluteX, AbsoluteY addressing modes in 6502-code generator. 2015-10-18 17:47:45 +01:00
Chris Pressey
4287bf81c1 Parse byte table declarations and indexing modifiers. 2015-10-18 17:40:53 +01:00
Chris Pressey
41432b5cb3 Syntax is syntax, test it there. Register built-ins as symbols. 2015-10-18 17:32:12 +01:00
Chris Pressey
e1cf162a5b Refs have types. 2015-10-18 17:23:01 +01:00
Chris Pressey
4990493b11 Added tag 0.4 for changeset d30f05a8bb46 2015-10-18 16:34:21 +01:00
Chris Pressey
f809a5ebd1 Prep for release of 0.4. 2015-10-18 16:34:18 +01:00
Chris Pressey
522c771208 Add explicitly-addressed memory locations. 2015-10-18 16:22:36 +01:00
Chris Pressey
49e42af953 Implement if not and repeat forever. 2015-10-18 15:32:28 +01:00