Chris Pressey
|
44ee8efbef
|
When backpatching constraints, don't strip ones we've already done.
|
2018-02-06 10:28:41 +00:00 |
|
Chris Pressey
|
612ae588f7
|
Add some tests, fix some bugs, show that one bug remains.
|
2018-02-06 10:05:56 +00:00 |
|
Chris Pressey
|
c12a76e106
|
Make assertions more robust, in hopes of hunting down bugs.
|
2018-02-06 09:52:01 +00:00 |
|
Chris Pressey
|
afd083052e
|
Update syntax in proto-game.
|
2018-02-05 18:14:44 +00:00 |
|
Chris Pressey
|
74f8675761
|
Start of typedef support.
|
2018-02-05 18:12:48 +00:00 |
|
Chris Pressey
|
0be721667a
|
Kind-of not-pretty syntax refactor to support adding typedefs.
|
2018-02-05 17:01:25 +00:00 |
|
Chris Pressey
|
15072eff52
|
The evaluator doesn't add much and keeps falling behind; remove it.
|
2018-02-05 13:17:23 +00:00 |
|
Chris Pressey
|
20c824743e
|
Fix table access bug where index wasn't required to be initialized.
|
2018-02-05 12:35:19 +00:00 |
|
Chris Pressey
|
11d6c08369
|
In fact the 'src' should never (I think?) be 'touched'.
|
2018-02-05 12:08:33 +00:00 |
|
Chris Pressey
|
7dfd2cfe0c
|
Allow copying a routine directly into a vector table.
|
2018-02-05 12:04:28 +00:00 |
|
Chris Pressey
|
b7abdea733
|
Revert changes to example game.
|
2018-02-05 11:19:59 +00:00 |
|
Chris Pressey
|
bbd3a84c00
|
Retain silly 'name inside the type' syntax (a la C) for now.
|
2018-02-05 11:18:35 +00:00 |
|
Chris Pressey
|
7dba93ae88
|
Add to HISTORY
|
2018-02-02 17:57:57 +00:00 |
|
Chris Pressey
|
a082aee001
|
NOt 100% sure it's correct, but it seems close.
|
2018-02-02 17:56:50 +00:00 |
|
Chris Pressey
|
13e6654088
|
Executable types are compatible with other executable types.
|
2018-02-02 17:48:57 +00:00 |
|
Chris Pressey
|
0fff8e4f0a
|
Begin to implement vector tables, stuck at a type equality problem.
|
2018-02-02 17:45:07 +00:00 |
|
Chris Pressey
|
169cc1b109
|
Bring proto-game up to date with new syntax.
|
2018-02-02 17:19:35 +00:00 |
|
Chris Pressey
|
eb1974eb8a
|
Vector tables can be parsed.
|
2018-02-02 17:18:25 +00:00 |
|
Chris Pressey
|
b29716fccf
|
Constraints for vector come immediately after the type expression.
|
2018-02-02 17:16:31 +00:00 |
|
Chris Pressey
|
4abedc0442
|
Centralize helper, use it elsewhere.
|
2018-02-02 17:05:15 +00:00 |
|
Chris Pressey
|
548905dce4
|
Initialized byte tables need not have all 256 bytes initialized.
|
2018-02-02 16:31:23 +00:00 |
|
Chris Pressey
|
55ae845345
|
Merge pull request #4 from catseye/develop-0.10
Develop 0.10
|
2018-01-08 12:22:35 +00:00 |
|
Chris Pressey
|
c786bc4e0c
|
Prep for release of 0.10.
|
2018-01-08 12:21:38 +00:00 |
|
Chris Pressey
|
7a9b7d0719
|
Reverse delta of obstacles in a more conventional way upon bounce.
|
2018-01-08 12:10:59 +00:00 |
|
Chris Pressey
|
439b827e92
|
Almost make the bouncing obstacles happen. It's... interesting.
|
2017-12-14 12:05:44 +00:00 |
|
Chris Pressey
|
e2f61faeae
|
Fix bug in game.
|
2017-12-14 11:59:09 +00:00 |
|
Chris Pressey
|
d69766afbe
|
Marginally more informative error message.
|
2017-12-14 11:54:39 +00:00 |
|
Chris Pressey
|
be3591ae44
|
If player perishes, set a flag that game state will use to change.
|
2017-12-14 11:04:19 +00:00 |
|
Chris Pressey
|
0452d5f2c8
|
Add game_state_game_over. Needs a bit of work, though.
|
2017-12-14 10:47:57 +00:00 |
|
Chris Pressey
|
cfb094513f
|
Set up obstacles in game.
|
2017-12-14 10:13:47 +00:00 |
|
Chris Pressey
|
1d8f1af964
|
Fix bug in copy []+y, a. "Hero" no longer leaves a trail.
|
2017-12-13 17:00:21 +00:00 |
|
Chris Pressey
|
c84473224b
|
Some TODO notes.
|
2017-12-13 16:23:28 +00:00 |
|
Chris Pressey
|
b477c5e786
|
Don't trash a in copy if a is the dest of the copy , for now.
|
2017-12-13 16:18:36 +00:00 |
|
Chris Pressey
|
f9dc730f88
|
copy []+y, a to indirectly read byte into the a register.
|
2017-12-13 16:11:02 +00:00 |
|
Chris Pressey
|
2e4d01edd3
|
Correct the implementation of check_new_position_in_bounds.
|
2017-12-13 16:05:18 +00:00 |
|
Chris Pressey
|
7593da7b18
|
Implement check_new_position_in_bounds.
|
2017-12-13 15:53:43 +00:00 |
|
Chris Pressey
|
7c3e1ae62c
|
Use trash to avoid writing code that's only to please the analyzer!
|
2017-12-13 15:30:20 +00:00 |
|
Chris Pressey
|
c7861d375c
|
trash indicates a value is no longer considered meaningful.
|
2017-12-13 15:23:06 +00:00 |
|
Chris Pressey
|
42c7e3006d
|
Calculate new position instead of updating to it immediately.
|
2017-12-13 14:29:24 +00:00 |
|
Chris Pressey
|
5f535c963e
|
Subtract word (constant or memory location) from word memory location.
|
2017-12-13 14:07:59 +00:00 |
|
Chris Pressey
|
1478db0fb4
|
Use word tables, in game, to store the actors' positions and deltas.
|
2017-12-13 13:14:10 +00:00 |
|
Chris Pressey
|
d9c9dab9e7
|
Clear the screen when starting the game.
|
2017-12-13 12:32:24 +00:00 |
|
Chris Pressey
|
9c7082db6e
|
Display message on-screen at start of game.
|
2017-12-13 12:24:11 +00:00 |
|
Chris Pressey
|
75cc1f6b25
|
Factor out utility method for selecting addressing mode.
|
2017-12-13 12:14:26 +00:00 |
|
Chris Pressey
|
f87bcf5ee4
|
Initial work on initialized byte tables.
|
2017-12-12 16:41:49 +00:00 |
|
Chris Pressey
|
50390b0787
|
Can copy a literal word to a word table.
|
2017-12-12 16:04:59 +00:00 |
|
Chris Pressey
|
63f75a26b4
|
Initialized word type memory locations.
|
2017-12-12 15:34:51 +00:00 |
|
Chris Pressey
|
4854077cce
|
Correctly analyze repeat { ... } forever loops.
|
2017-12-12 15:18:59 +00:00 |
|
Chris Pressey
|
0145c6d34f
|
I guess we can note that, even though not 100% sure why it was.
|
2017-12-12 14:59:20 +00:00 |
|
Chris Pressey
|
3417fd96c7
|
Apparently this hack was only needed previously due to a bug?
|
2017-12-12 14:55:57 +00:00 |
|