1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-07-11 21:28:54 +00:00
Commit Graph

126 Commits

Author SHA1 Message Date
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
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
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
42864bf125 Add SixtyPical translations of Ribos and "The PETulant Cursor". 2018-03-15 10:56:09 +00:00
Chris Pressey
689670a69e Small bugfixes and changes. 2018-03-13 09:25:06 +00:00
Chris Pressey
af09bd8875 Add screenshot. 2018-03-08 13:36:30 +00:00
Chris Pressey
95fb2bb8f6 Make loadngo.sh able to handle both C64 (x64) and VIC-20 (xvic). 2018-03-07 13:27:57 +00:00
Chris Pressey
1d1612761b Make the demo game compilable again. 2018-03-06 15:52:21 +00:00
Chris Pressey
e44c802314 Syntax errors have line numbers in them now. 2018-03-06 12:23:57 +00:00
Chris Pressey
2fdba72959 Re-organize the example programs. 2018-03-06 10:32:52 +00:00
Chris Pressey
f6fa1ec7d2 Remove need for forward keyword in forward reference in copy. 2018-02-12 15:59:20 +00:00
Chris Pressey
08ec0e46a3 Remove the need for parens in vector (routine ...) table type. 2018-02-12 14:53:49 +00:00
Chris Pressey
79d7c8d198 button_down is local to check_button. 2018-02-09 16:59:01 +00:00
Chris Pressey
e9d9c717bb More statics in demo game. 2018-02-09 16:57:49 +00:00
Chris Pressey
1bd765dbce Begin using static in the demo game. 2018-02-09 16:46:53 +00:00
Chris Pressey
a7365731ca Even if we goto another routine, we can't trash an output. 2018-02-08 16:37:40 +00:00
Chris Pressey
105534de5b Trim the type of game_state_routine, but run into something odd. 2018-02-08 16:03:22 +00:00
Chris Pressey
1116229867 Clean up example programs a little bit. 2018-02-08 15:05:37 +00:00
Chris Pressey
3bee722900 The "union rule" lets us clean up some of these redundant trashes. 2018-02-08 14:20:17 +00:00
Chris Pressey
f92e1f15bf Tired: copy [ptr]+y, a. Wired: ld a, [ptr]+y. 2018-02-08 11:58:24 +00:00
Chris Pressey
6fc3ce27cc Finally, vector table for actor logic in demo game works. 2018-02-07 13:58:10 +00:00
Chris Pressey
7c8f113c07 Properly store address (not contents) of routine into vector table. 2018-02-07 13:56:17 +00:00
Chris Pressey
1ee60095db Fairly minimal example that exhibits the problem. 2018-02-07 13:43:41 +00:00
Chris Pressey
4099c9cc1b Attempting to debug this vector table stuff. 2018-02-06 16:45:35 +00:00
Chris Pressey
43b3a088b0 Use a vector table in the demo game. 2018-02-06 15:03:59 +00:00
Chris Pressey
043872584b Add another typedef in the demo game. 2018-02-06 11:41:32 +00:00
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