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

490 Commits

Author SHA1 Message Date
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
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
81aeb6c3f7 Use dcc6502 to disassemble code for comparison in unit tests. 2017-12-11 11:16:27 +00:00
Chris Pressey
bef1aba8ce Do not assume every label refers to a word-sized chunk of memory. 2017-12-11 10:42:42 +00:00
Chris Pressey
404f8c72a3 We really need to review how storage location labels are emitted. 2017-12-08 16:59:31 +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
aa5e4119da Copy indexed location to location. All tests pass again. 2017-12-08 15:07:15 +00:00
Chris Pressey
689ed37f2e Beginnings of implementing word tables. One test still fails. 2017-12-08 13:41:48 +00:00
Chris Pressey
ad8e0647a4 Use right endianness when copying 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
0120a4e5bf Amend spec with brief description of new behaviour of add. 2017-12-07 15:34:06 +00:00
Chris Pressey
75cf18d3a2 Add word (constant or memory loc) to pointer (unchecked for now). 2017-12-07 14:14:43 +00:00
Chris Pressey
a4fd0e590b Adding a word memory location to another word memory location. 2017-12-07 13:15:21 +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
97d00637d2 Initial work on adding 16-bit constants to a 16-bit location. 2017-12-07 11:31:46 +00:00
Chris Pressey
031e4338ad Create branch for developing version 0.9. 2017-12-07 11:18:58 +00:00
Chris Pressey
51f1a86c0d
Merge pull request #2 from catseye/develop-0.8
Develop 0.8
2017-12-04 13:03:09 +00:00
Chris Pressey
92f212ddfc Prep for release of 0.8. 2017-12-04 13:02:26 +00:00
Chris Pressey
8766601786 A little note on the history. 2017-12-01 17:23:09 +00:00
Chris Pressey
e9322c8f93 A tiny edit to the TODOs. 2017-12-01 16:46:14 +00:00
Chris Pressey
6afbf581f7 Deal with the inputs/outputs of buffers, in a weak way. 2017-12-01 15:10:16 +00:00