Chris Pressey
|
fa5f32b2d2
|
Update syntax of demo game.
|
2018-02-06 11:36:11 +00:00 |
|
Chris Pressey
|
f78460a37b
|
Finally, use typedefs in example game.
|
2018-02-06 10:41:21 +00:00 |
|
Chris Pressey
|
afd083052e
|
Update syntax in proto-game.
|
2018-02-05 18:14:44 +00:00 |
|
Chris Pressey
|
b7abdea733
|
Revert changes to example game.
|
2018-02-05 11:19:59 +00:00 |
|
Chris Pressey
|
169cc1b109
|
Bring proto-game up to date with new syntax.
|
2018-02-02 17:19:35 +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
|
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
|
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
|
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
|
42c7e3006d
|
Calculate new position instead of updating to it immediately.
|
2017-12-13 14:29:24 +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
|
4854077cce
|
Correctly analyze repeat { ... } forever loops.
|
2017-12-12 15:18:59 +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
|
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
|
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
|
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
|
2216fcec17
|
copy from word storage to word table and back, indexed by x or y.
|
2017-12-11 12:02:48 +00:00 |
|
Chris Pressey
|
b86e7491d5
|
Copy word to word table.
|
2017-12-11 11:43:53 +00:00 |
|
Chris Pressey
|
84ca6c4e96
|
Break the ground where we need to implement word table read/write.
|
2017-12-08 15:53:18 +00:00 |
|
Chris Pressey
|
ad8e0647a4
|
Use right endianness when copy ing literal word into storage.
|
2017-12-07 16:49:43 +00:00 |
|
Chris Pressey
|
14494bcdbe
|
Add beginnings of thing which may one day become a game. Untested.
|
2017-12-07 16:14:02 +00:00 |
|
Chris Pressey
|
92525fd482
|
Adding a constant word to a memory location.
|
2017-12-07 12:48:56 +00:00 |
|
Chris Pressey
|
cf679b293a
|
Ability to --debug analysis. Make 16-bit addition test pass.
|
2017-12-07 11:49:15 +00:00 |
|
Chris Pressey
|
d84566a880
|
Write stored values, and read values, through pointers.
|
2017-12-01 13:52:56 +00:00 |
|
Chris Pressey
|
32389e4422
|
Require that the program does ^buf to get at the address of buf.
|
2017-12-01 12:36:58 +00:00 |
|
Chris Pressey
|
19a196f765
|
Compile copy[]+y.
|
2017-11-24 16:56:55 +00:00 |
|
Chris Pressey
|
c8c69a2a7d
|
Fix problem with test case, and with serializing as zero page.
|
2017-11-24 13:42:14 +00:00 |
|
Chris Pressey
|
22cc7bfc11
|
Support copy'ing a word constant to a word location. Joystick eg.
|
2017-11-20 15:18:21 +00:00 |
|
Chris Pressey
|
2c564f0e48
|
Add uncommitted example source, and fix names of 2 others.
|
2016-06-16 11:14:08 -05:00 |
|
Chris Pressey
|
3e72580cd2
|
Prep for release of 0.6.
|
2015-10-23 16:37:18 +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
|
16450e06d5
|
Compile goto's.
|
2015-10-21 15:51:52 +01:00 |
|
Chris Pressey
|
69fa91417c
|
Add missing example source
|
2015-10-20 17:39:00 +01:00 |
|