1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2026-03-11 14:42:13 +00:00

Commit Graph

  • e2d10d7d33 Documentation/notes changes for the 0.13 branch. Chris Pressey 2018-02-16 09:51:24 +00:00
  • 0e0a3d552a Implement Context.copy_range(), ranges for constants. Progress! Chris Pressey 2018-02-14 16:35:19 +00:00
  • 0687da80d5 Some headway on context.assert_in_range(). Chris Pressey 2018-02-14 15:54:57 +00:00
  • 2897a04718 Get and set top of range of a location. Make AND do this to A reg. Chris Pressey 2018-02-14 15:13:35 +00:00
  • 93e2dada16 Check for table size (in parser, thus tests are for syntax.) Chris Pressey 2018-02-14 13:53:22 +00:00
  • aa5b06980c Add some initial failing tests. Chris Pressey 2018-02-14 13:41:48 +00:00
  • ab33331924 Associate a range with each meaningful storage location in context. Chris Pressey 2018-02-14 13:31:03 +00:00
  • c10e73bdcb Merge pull request #8 from catseye/develop-0.12 0.12 Chris Pressey 2018-02-14 11:41:51 +00:00
  • 5fa8c69bd2 Don't fudge the name of IndexRefs; dig in to find the ref's name. Chris Pressey 2018-02-13 17:17:27 +00:00
  • 6039e59999 Small documentation sorting. Chris Pressey 2018-02-12 16:40:53 +00:00
  • f6fa1ec7d2 Remove need for forward keyword in forward reference in copy. Chris Pressey 2018-02-12 15:59:20 +00:00
  • 08ec0e46a3 Remove the need for parens in vector (routine ...) table type. Chris Pressey 2018-02-12 14:53:49 +00:00
  • 5c3c560fe4 Refine documentation. Chris Pressey 2018-02-12 14:31:26 +00:00
  • 79d7c8d198 button_down is local to check_button. Chris Pressey 2018-02-09 16:59:01 +00:00
  • e9d9c717bb More statics in demo game. Chris Pressey 2018-02-09 16:57:49 +00:00
  • 1bd765dbce Begin using static in the demo game. Chris Pressey 2018-02-09 16:46:53 +00:00
  • 31a16ed37c Merge pull request #7 from catseye/routine-static-storage Chris Pressey 2018-02-09 16:34:47 +00:00
  • 7a024f3062 Compile static storage location access. Chris Pressey 2018-02-09 16:13:09 +00:00
  • 52fb1dc6b9 Inch toward compiling statics. Chris Pressey 2018-02-09 14:44:41 +00:00
  • 71cded0297 Move compiler towards being able to compile access to statics. Chris Pressey 2018-02-09 14:13:39 +00:00
  • 55331e9c54 Statics are always writeable. Statics are always meaningful. Chris Pressey 2018-02-09 13:35:59 +00:00
  • b829836cdc Ability to parse static definitions and look them up. Chris Pressey 2018-02-09 12:33:45 +00:00
  • 8e1153ebb0 Update notes in README Chris Pressey 2018-02-09 11:32:16 +00:00
  • ca1c877a60 Support indirect refs in st, e.g. st a, [ptr] + y. Chris Pressey 2018-02-09 11:23:18 +00:00
  • a7365731ca Even if we goto another routine, we can't trash an output. Chris Pressey 2018-02-08 16:37:40 +00:00
  • 105534de5b Trim the type of game_state_routine, but run into something odd. Chris Pressey 2018-02-08 16:03:22 +00:00
  • 1116229867 Clean up example programs a little bit. Chris Pressey 2018-02-08 15:05:37 +00:00
  • 3bee722900 The "union rule" lets us clean up some of these redundant trashes. Chris Pressey 2018-02-08 14:20:17 +00:00
  • b20b664748 Implement the "union rule for trashes" when analyzing if blocks. Chris Pressey 2018-02-08 14:04:51 +00:00
  • 3f1f3bf16e Set a location as touched when trashed with a trash instruction. Chris Pressey 2018-02-08 13:43:06 +00:00
  • f4befb45d3 Add more tests, which show inconsistent treatment of trashes. Chris Pressey 2018-02-08 13:34:03 +00:00
  • cde2824c44 Articulate the "union rule" for trashes in if, add failing tests. Chris Pressey 2018-02-08 12:46:28 +00:00
  • 69f69d35a4 Update notes in README. Chris Pressey 2018-02-08 12:18:55 +00:00
  • f92e1f15bf Tired: copy [ptr]+y, a. Wired: ld a, [ptr]+y. Chris Pressey 2018-02-08 11:58:24 +00:00
  • 34daad0e56 Make ld parse to a IndexedRef or IndirectRef (latter still todo.) Chris Pressey 2018-02-08 11:04:11 +00:00
  • f87c07e52a Merge pull request #6 from catseye/develop-0.11 0.11 Chris Pressey 2018-02-07 16:57:39 +00:00
  • 15e1fa51dc Update documentation. Chris Pressey 2018-02-07 14:48:55 +00:00
  • 6fc3ce27cc Finally, vector table for actor logic in demo game works. Chris Pressey 2018-02-07 13:58:10 +00:00
  • 7c8f113c07 Properly store address (not contents) of routine into vector table. Chris Pressey 2018-02-07 13:56:17 +00:00
  • 1ee60095db Fairly minimal example that exhibits the problem. Chris Pressey 2018-02-07 13:43:41 +00:00
  • 6c1c1cb153 Include final RTS when emitting trampolines for indirect calls. Chris Pressey 2018-02-07 11:11:14 +00:00
  • b4f5d60ad3 I think it should actually look like this! Chris Pressey 2018-02-06 17:00:04 +00:00
  • 4099c9cc1b Attempting to debug this vector table stuff. Chris Pressey 2018-02-06 16:45:35 +00:00
  • 735bfe2e77 Update loadngo script. Chris Pressey 2018-02-06 16:35:38 +00:00
  • ed1ed3eb5d Always analyze before compiling. Chris Pressey 2018-02-06 16:14:44 +00:00
  • 43b3a088b0 Use a vector table in the demo game. Chris Pressey 2018-02-06 15:03:59 +00:00
  • 02d703aaf1 Add typedefs to HISTORY. Chris Pressey 2018-02-06 13:08:17 +00:00
  • bae152f94d Merge pull request #5 from catseye/refactor-types-for-typedefs Chris Pressey 2018-02-06 11:55:07 +00:00
  • 9778e083c1 Move test, add test, add assertion. Chris Pressey 2018-02-06 11:52:50 +00:00
  • 783d8764ca Attempt to bring the grammar up to date. Chris Pressey 2018-02-06 11:46:11 +00:00
  • 043872584b Add another typedef in the demo game. Chris Pressey 2018-02-06 11:41:32 +00:00
  • fa5f32b2d2 Update syntax of demo game. Chris Pressey 2018-02-06 11:36:11 +00:00
  • 70ecd52e8a Retain some syntax compatibility: make table a postfix operator. Chris Pressey 2018-02-06 11:34:21 +00:00
  • f78460a37b Finally, use typedefs in example game. Chris Pressey 2018-02-06 10:41:21 +00:00
  • 44ee8efbef When backpatching constraints, don't strip ones we've already done. Chris Pressey 2018-02-06 10:28:41 +00:00
  • 612ae588f7 Add some tests, fix some bugs, show that one bug remains. Chris Pressey 2018-02-06 10:05:56 +00:00
  • c12a76e106 Make assertions more robust, in hopes of hunting down bugs. Chris Pressey 2018-02-06 09:52:01 +00:00
  • afd083052e Update syntax in proto-game. Chris Pressey 2018-02-05 18:14:44 +00:00
  • 74f8675761 Start of typedef support. Chris Pressey 2018-02-05 18:12:48 +00:00
  • 0be721667a Kind-of not-pretty syntax refactor to support adding typedefs. Chris Pressey 2018-02-05 17:01:25 +00:00
  • 15072eff52 The evaluator doesn't add much and keeps falling behind; remove it. Chris Pressey 2018-02-05 13:17:23 +00:00
  • 20c824743e Fix table access bug where index wasn't required to be initialized. Chris Pressey 2018-02-05 12:35:19 +00:00
  • 11d6c08369 In fact the 'src' should never (I think?) be 'touched'. Chris Pressey 2018-02-05 12:08:33 +00:00
  • 7dfd2cfe0c Allow copying a routine directly into a vector table. Chris Pressey 2018-02-05 12:04:28 +00:00
  • b7abdea733 Revert changes to example game. Chris Pressey 2018-02-05 11:19:59 +00:00
  • bbd3a84c00 Retain silly 'name inside the type' syntax (a la C) for now. Chris Pressey 2018-02-05 11:18:35 +00:00
  • 7dba93ae88 Add to HISTORY Chris Pressey 2018-02-02 17:57:57 +00:00
  • a082aee001 NOt 100% sure it's correct, but it seems close. Chris Pressey 2018-02-02 17:56:50 +00:00
  • 13e6654088 Executable types are compatible with other executable types. Chris Pressey 2018-02-02 17:48:57 +00:00
  • 0fff8e4f0a Begin to implement vector tables, stuck at a type equality problem. Chris Pressey 2018-02-02 17:45:07 +00:00
  • 169cc1b109 Bring proto-game up to date with new syntax. Chris Pressey 2018-02-02 17:19:35 +00:00
  • eb1974eb8a Vector tables can be parsed. Chris Pressey 2018-02-02 17:18:25 +00:00
  • b29716fccf Constraints for vector come immediately after the type expression. Chris Pressey 2018-02-02 17:16:31 +00:00
  • 4abedc0442 Centralize helper, use it elsewhere. Chris Pressey 2018-02-02 17:05:15 +00:00
  • 548905dce4 Initialized byte tables need not have all 256 bytes initialized. Chris Pressey 2018-02-02 16:31:23 +00:00
  • 55ae845345 Merge pull request #4 from catseye/develop-0.10 0.10 Chris Pressey 2018-01-08 12:22:35 +00:00
  • c786bc4e0c Prep for release of 0.10. Chris Pressey 2018-01-08 12:21:38 +00:00
  • 7a9b7d0719 Reverse delta of obstacles in a more conventional way upon bounce. Chris Pressey 2018-01-08 12:10:59 +00:00
  • 439b827e92 Almost make the bouncing obstacles happen. It's... interesting. Chris Pressey 2017-12-14 12:05:44 +00:00
  • e2f61faeae Fix bug in game. Chris Pressey 2017-12-14 11:59:09 +00:00
  • d69766afbe Marginally more informative error message. Chris Pressey 2017-12-14 11:54:39 +00:00
  • be3591ae44 If player perishes, set a flag that game state will use to change. Chris Pressey 2017-12-14 11:04:19 +00:00
  • 0452d5f2c8 Add game_state_game_over. Needs a bit of work, though. Chris Pressey 2017-12-14 10:47:57 +00:00
  • cfb094513f Set up obstacles in game. Chris Pressey 2017-12-14 10:13:47 +00:00
  • 1d8f1af964 Fix bug in copy []+y, a. "Hero" no longer leaves a trail. Chris Pressey 2017-12-13 17:00:21 +00:00
  • c84473224b Some TODO notes. Chris Pressey 2017-12-13 16:23:28 +00:00
  • b477c5e786 Don't trash a in copy if a is the dest of the copy, for now. Chris Pressey 2017-12-13 16:18:36 +00:00
  • f9dc730f88 copy []+y, a to indirectly read byte into the a register. Chris Pressey 2017-12-13 16:11:02 +00:00
  • 2e4d01edd3 Correct the implementation of check_new_position_in_bounds. Chris Pressey 2017-12-13 16:05:18 +00:00
  • 7593da7b18 Implement check_new_position_in_bounds. Chris Pressey 2017-12-13 15:53:43 +00:00
  • 7c3e1ae62c Use trash to avoid writing code that's only to please the analyzer! Chris Pressey 2017-12-13 15:30:20 +00:00
  • c7861d375c trash indicates a value is no longer considered meaningful. Chris Pressey 2017-12-13 15:23:06 +00:00
  • 42c7e3006d Calculate new position instead of updating to it immediately. Chris Pressey 2017-12-13 14:29:24 +00:00
  • 5f535c963e Subtract word (constant or memory location) from word memory location. Chris Pressey 2017-12-13 14:07:59 +00:00
  • 1478db0fb4 Use word tables, in game, to store the actors' positions and deltas. Chris Pressey 2017-12-13 13:14:10 +00:00
  • d9c9dab9e7 Clear the screen when starting the game. Chris Pressey 2017-12-13 12:32:24 +00:00
  • 9c7082db6e Display message on-screen at start of game. Chris Pressey 2017-12-13 12:24:11 +00:00
  • 75cc1f6b25 Factor out utility method for selecting addressing mode. Chris Pressey 2017-12-13 12:14:26 +00:00
  • f87bcf5ee4 Initial work on initialized byte tables. Chris Pressey 2017-12-12 16:41:49 +00:00
  • 50390b0787 Can copy a literal word to a word table. Chris Pressey 2017-12-12 16:04:59 +00:00