1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-22 01:32:13 +00:00
Commit Graph

147 Commits

Author SHA1 Message Date
Chris Pressey
94ee042a1e Fix order of operands in word-sized cmp. 2018-11-27 13:12:55 +00:00
Chris Pressey
046e43cd66 Add another example. Even more convincing that the order is wrong. 2018-11-27 13:05:19 +00:00
Chris Pressey
2d767e9fe7 Add example program that suggests we've got the arguments backwards. 2018-11-23 23:11:06 +00:00
Chris Pressey
7680f09850 More conversion. I think that's the last of it. 2018-09-09 15:31:35 +01:00
Chris Pressey
7d32277e2c More conversion. 2018-09-09 15:03:43 +01:00
Chris Pressey
5549b8379f More conversion. 2018-09-09 14:01:38 +01:00
Chris Pressey
f81757fd76 Partial conversion of example programs. 2018-09-07 23:00:29 +01:00
Chris Pressey
505fcb7b92 game_state_routines pass through player_died; saves a few bytes. 2018-09-07 17:41:40 +01:00
Chris Pressey
443c3186c2 Change global instead of returning with carry set. 2018-09-07 17:38:56 +01:00
Chris Pressey
3c1564ea09 Abort loadngo apple2, if the SixtyPical program couldn't compile. 2018-09-06 12:50:47 +01:00
Chris Pressey
3e11d7122c Add apple2 target to loadngo.sh, apple2 example program. 2018-09-05 15:20:44 +01:00
Chris Pressey
c3a1bdb4cc Use save block (and a for loop) in the flagship demo game source. 2018-05-08 12:39:21 +01:00
Chris Pressey
2f200dc1ea Use --output-format, not --prelude, in loadngo script. 2018-04-25 13:48:38 +01:00
Chris Pressey
350bab42d7 Rebuild Ribos 2. 2018-04-05 14:45:17 +01:00
Chris Pressey
cce278da28 Rebuild "The PETulant Cursor". 2018-04-05 14:36:38 +01:00
Chris Pressey
b63b880b8c Update documentation. 2018-03-29 16:58:50 +01:00
Chris Pressey
fa1b0cfae1 Support branching and looping on the n flag. 2018-03-29 14:45:28 +01:00
Chris Pressey
b9fb26320c Add some failing tests for looping on the n flag. 2018-03-29 13:33:06 +01:00
Chris Pressey
6e8dc97826 Fork the Atari 2600 Ophis example for easier comparing to 60p. 2018-03-29 12:11:38 +01:00
Chris Pressey
ebe53f540c Fix bug when zero page address was $00. 2018-03-29 11:46:56 +01:00
Chris Pressey
9b912de17c Accessing zero-page with ld and st generates zero-page opcodes. 2018-03-29 10:31:42 +01:00
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