1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-07-01 18:29:34 +00:00
Commit Graph

569 Commits

Author SHA1 Message Date
Chris Pressey
448849ac4b Successfully break cycle. 2018-04-04 14:01:17 +01:00
Chris Pressey
50433ac860 Find cycles in fallthru map. Try to break them; not right, yet. 2018-04-04 13:37:32 +01:00
Chris Pressey
d883816298 --optimize-fallthru and --dump-fallthru-info options. 2018-04-04 11:54:50 +01:00
Chris Pressey
a0d3ea8167 Add a dedicated module for a dedicated FallthruAnalyzer. 2018-04-04 11:09:39 +01:00
Chris Pressey
2be4406964 Flesh out and describe the fallthru optimization algorithm. 2018-04-04 10:15:06 +01:00
Chris Pressey
237a8b5b39 Lessen dependence on the internals of ParsingContext. 2018-03-29 17:31:14 +01:00
Chris Pressey
b63b880b8c Update documentation. 2018-03-29 16:58:50 +01:00
Chris Pressey
a759f4414b Make tests pass again. 2018-03-29 16:50:07 +01:00
Chris Pressey
8f1e35fb39 Add some tests, some failing, for expected fallthru maps. 2018-03-29 16:44:06 +01:00
Chris Pressey
b33998cddc First cut at building fallthru map. Needs tests. 2018-03-29 15:07:44 +01:00
Chris Pressey
fa1b0cfae1 Support branching and looping on the n flag. 2018-03-29 14:45:28 +01:00
Chris Pressey
b9fb26320c Add some failing tests for looping on the n flag. 2018-03-29 13:33:06 +01:00
Chris Pressey
6e8dc97826 Fork the Atari 2600 Ophis example for easier comparing to 60p. 2018-03-29 12:11:38 +01:00
Chris Pressey
ebe53f540c Fix bug when zero page address was $00. 2018-03-29 11:46:56 +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
2f513f7291 Initial support for initializing byte tables with list of bytes. 2018-03-29 10:45:18 +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
bb0e7aa992 Track the gotos that we have encountered in a routine. 2018-03-27 17:27:09 +01:00
Chris Pressey
f86041721d Try to spell out my idea for an algorithm for this. 2018-03-27 17:05:41 +01:00
Chris Pressey
c707105cd3 Describe the behaviour just implemented. 2018-03-27 16:49:20 +01:00
Chris Pressey
6744ad29a9 Beginnings of modularity. 2018-03-27 16:23:22 +01:00
Chris Pressey
d9e625db30 Clean up driver code, add filename to error messages. 2018-03-27 15:55:29 +01:00
Chris Pressey
3f0e36a67c Add symbolic constants. 2018-03-27 12:36:33 +01:00
Chris Pressey
330e61f327
Merge pull request #10 from catseye/develop-0.14
Develop 0.14
2018-03-27 09:50:24 +01:00
Chris Pressey
b91c3ed2f1 Add three more tests. Ensure they pass. 2018-03-26 17:40:43 +01:00
Chris Pressey
68b46c7be7 Small edits to history. 2018-03-26 14:44:54 +01:00
Chris Pressey
877f55b6cd VIC-20 example and rewrite docs. 2018-03-26 13:43:33 +01:00
Chris Pressey
766de6a455 Reformat READMEs. 2018-03-26 13:33:07 +01:00
Chris Pressey
a8a53e2ca9 Save a few bytes in the demo game by using a for loop. 2018-03-26 13:23:36 +01:00
Chris Pressey
7f38d04536 Documentation updates. 2018-03-26 13:16:53 +01:00
Chris Pressey
ceaae962d5 Make tests pass. Add two more tests towards completeness of spec. 2018-03-26 12:48:57 +01:00
Chris Pressey
d88757c32b Rudimentarily document for; add failing test cases for it. 2018-03-23 17:13:46 +00: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
96fbe03ce7 Make compilation tests pass. 2018-03-14 16:27:33 +00:00
Chris Pressey
adb53f7a04 Almost compile for loops correctly. 2018-03-14 15:33:11 +00:00
Chris Pressey
b79059faa4 Two seperate words looks better. 2018-03-14 09:51:24 +00:00
Chris Pressey
b073fe54a0 Tests for the downto variant too. 2018-03-13 17:49:48 +00:00
Chris Pressey
9a9db83fc6 Analyze the range in the for loop. All unit tests pass again. 2018-03-13 17:44:44 +00:00
Chris Pressey
7a3b52dc1e More correct determination of tail position for purposes of goto. 2018-03-13 17:00:49 +00:00
Chris Pressey
5f62de11c2 Add failing test for multiple gotos that are all in tail position. 2018-03-13 13:33:30 +00:00
Chris Pressey
b1e9df0d45 Add --output-format and --origin command-line options. 2018-03-13 13:33:01 +00:00
Chris Pressey
689670a69e Small bugfixes and changes. 2018-03-13 09:25:06 +00:00
Chris Pressey
994449ecb0 Make the loop variable unwriteable in the body of the "for" loop. 2018-03-08 17:41:42 +00:00
Chris Pressey
f73a2313bd Add some failing tests for analyzing "for". 2018-03-08 17:17:49 +00:00
Chris Pressey
d815e05e0c Syntax for "open-faced for loop". 2018-03-08 16:54:12 +00:00
Chris Pressey
d7ada8949c Tweaks to README. 2018-03-08 15:34:28 +00:00
Chris Pressey
db5dc78872
Merge pull request #9 from catseye/develop-0.13
Develop 0.13
2018-03-08 15:30:42 +00:00