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 |
|
Chris Pressey
|
7d11273c6c
|
Slightly less of a hack. Not very much. But more illustrative.
|
2017-12-12 14:40:32 +00:00 |
|
Chris Pressey
|
0194d37bbd
|
forward modifier on location expression, instead of assign .
|
2017-12-12 14:23:34 +00:00 |
|
Chris Pressey
|
b7b28830d7
|
Introducing a new pseudo-opcode is rarely an elegant solution.
|
2017-12-12 14:09:17 +00:00 |
|
Chris Pressey
|
dbbd99ffe5
|
Change how backpatching instructions is implemented.
|
2017-12-12 13:54:35 +00:00 |
|
Chris Pressey
|
19dd089a03
|
Allow call and goto routines defined further down in the source.
|
2017-12-12 13:17:00 +00:00 |
|
Chris Pressey
|
45bc4bd0a0
|
Tighten assumption when comparing LocationRefs.
|
2017-12-12 12:54:16 +00:00 |
|
Chris Pressey
|
60df162625
|
Refactor: common method to backpatch labels.
|
2017-12-12 12:51:19 +00:00 |
|
Chris Pressey
|
8dc44673fa
|
LocationRefs are equal if names/type are; this needed __str__ tho.
|
2017-12-12 12:45:47 +00:00 |
|
Chris Pressey
|
de6c96fef8
|
Prep for developing version 0.10.
|
2017-12-12 12:27:29 +00:00 |
|
Chris Pressey
|
073a56e091
|
Rename .markdown -> .md to fix broken link, and for consistency.
|
2017-12-12 12:26:18 +00:00 |
|
Chris Pressey
|
53074bc224
|
Merge pull request #3 from catseye/develop-0.9
Develop 0.9
|
2017-12-12 11:14:51 +00:00 |
|
Chris Pressey
|
22c336dfe9
|
Prep for release of version 0.9.
|
2017-12-12 11:14:09 +00:00 |
|
Chris Pressey
|
5e8f41307d
|
Give the "game" a "title screen" of sorts; click to begin.
|
2017-12-12 10:58:59 +00:00 |
|
Chris Pressey
|
b3d2d0bfcf
|
Clearing up a little mystery I had here.
|
2017-12-12 10:10:58 +00:00 |
|
Chris Pressey
|
e46c6f6c6e
|
Improve error messaging yet more. Game kind of has game states now.
|
2017-12-12 09:59:43 +00:00 |
|
Chris Pressey
|
82e33ab476
|
Improve error messaging when constraints are exceeded.
|
2017-12-12 09:42:16 +00:00 |
|
Chris Pressey
|
ec2e051518
|
Constraint sets may only contain labels, which are resolved late.
|
2017-12-11 17:49:02 +00:00 |
|
Chris Pressey
|
2a71c7e247
|
Add failing test for a vector being able to name itself in outputs.
|
2017-12-11 16:57:18 +00:00 |
|
Chris Pressey
|
7323927f72
|
Add more notes and basically small cleanups in many places.
|
2017-12-11 15:21:40 +00:00 |
|
Chris Pressey
|
4f919c1d81
|
Slightly frustrating, but illuminating, attempt to title screen.
|
2017-12-11 14:40:30 +00:00 |
|
Chris Pressey
|
73810827b9
|
"repeat forever" in the main loop, or at least as close as we can.
|
2017-12-11 14:21:32 +00:00 |
|
Chris Pressey
|
85f9d6fc95
|
Some notes in the README.
|
2017-12-11 14:18:47 +00:00 |
|
Chris Pressey
|
b6ae45e0cb
|
Add a routine to clear the screen, in the demo game. Untested.
|
2017-12-11 14:09:55 +00:00 |
|
Chris Pressey
|
b395dbcfda
|
Spiff up the demo game source a little bit.
|
2017-12-11 14:01:57 +00:00 |
|
Chris Pressey
|
b4709268bc
|
Check in test appliance (dcc6502-adapter) that was missed.
|
2017-12-11 13:46:06 +00:00 |
|