1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-29 18:49:22 +00:00
Commit Graph

45 Commits

Author SHA1 Message Date
Cat's Eye Technologies
0850162d43 Improve game slightly. Add foldRoutine*, use in checker. 2014-04-03 20:29:43 +01:00
Cat's Eye Technologies
569de53797 A refactor 2014-04-03 19:30:40 +01:00
Cat's Eye Technologies
571b3d403b Fix jmp (vector) syntax. Filename extension is .60p.
--HG--
rename : eg/cinv.60pical => eg/cinv.60p
rename : eg/demo.60pical => eg/demo.60p
rename : eg/hi.60pical => eg/hi.60p
rename : eg/screen.60pical => eg/screen1.60p
rename : eg/screen2.60pical => eg/screen2.60p
rename : eg/screen3.60pical => eg/screen3.60p
2014-04-03 18:52:58 +01:00
Cat's Eye Technologies
55a5ee85e3 Support most of the rest of the instructions. 2014-04-03 17:57:30 +01:00
Cat's Eye Technologies
de414ee714 Add failing test for remaining opcodes. 2014-04-03 14:30:27 +01:00
Cat's Eye Technologies
d8d3b283bf Move tests to own files in doc. 2014-04-03 13:32:06 +01:00
Cat's Eye Technologies
e8e9e00a19 Use words in demo. 2014-04-02 21:37:23 +01:00
Cat's Eye Technologies
f5df4e5680 typematching 2014-04-02 20:50:35 +01:00
Cat's Eye Technologies
c9c2d9345f Low, high bytes of word. 2014-04-02 20:11:30 +01:00
Cat's Eye Technologies
249d29b695 addressing_mode gen 2014-04-02 20:02:20 +01:00
Cat's Eye Technologies
a68f8a97d6 checkProgram wasn't deeply evaluating the thing. Merge stuff. 2014-04-02 19:25:41 +01:00
Cat's Eye Technologies
061a1661dd Indexed indirect. For a relaxing demo. 2014-04-02 17:48:44 +01:00
Cat's Eye Technologies
1cf166f0db Allow comments. 2014-04-02 17:10:21 +01:00
Cat's Eye Technologies
159d3835be Parse hex values. 2014-04-02 14:40:01 +01:00
Cat's Eye Technologies
61378f5a88 Put data at end, no need for jmp main 2014-04-02 13:53:56 +01:00
Cat's Eye Technologies
fe1acb11db BASIC header not sixtypical's responsibility. 2014-04-02 13:47:02 +01:00
Cat's Eye Technologies
f9f8cfc0ca Beginning of work on externals. 2014-04-02 09:19:53 +01:00
Cat's Eye Technologies
60287c3850 sbc ora 2014-04-02 09:11:39 +01:00
Cat's Eye Technologies
1aea850043 lda,y sta,y adc and 2014-04-02 09:05:30 +01:00
Cat's Eye Technologies
128fbcf531 lda screen, x 2014-04-01 23:47:10 +01:00
Cat's Eye Technologies
2e186c763d Byte tables. And checking for same. 2014-04-01 23:22:38 +01:00
Cat's Eye Technologies
22d061fb73 No duplicate routine names, jmps must be to vectors. 2014-04-01 22:29:50 +01:00
Cat's Eye Technologies
cb0fe91a8a Wow, we have an interrupt handler. Well, a cinv. Good enough! 2014-04-01 22:05:02 +01:00
Cat's Eye Technologies
c441f96921 Re-introducing specialform jmp vector. Inching towards okayness. 2014-04-01 21:06:35 +01:00
Cat's Eye Technologies
9ae3a621b6 Beginnings of vector type addresses. 2014-04-01 20:34:16 +01:00
Cat's Eye Technologies
91d11c25b6 Loop numbering. Dear god, loop numbering. 2014-04-01 19:44:45 +01:00
Cat's Eye Technologies
629f8bd398 Initial work on if/repeat numbering. 2014-04-01 18:45:17 +01:00
Cat's Eye Technologies
4cceb05256 Immediate mode versions of ldx, ldy, cmp, cpx, cpy. 2014-04-01 18:34:41 +01:00
Cat's Eye Technologies
54f7fe34ef Immediate and absolute parser helper parser combinators. 2014-04-01 18:23:04 +01:00
Cat's Eye Technologies
e268c550b5 clc, cld, clv, sec, sed. no sev. but a veritable "demo"...! 2014-04-01 18:04:43 +01:00
Cat's Eye Technologies
421bf03f8a We have repeat loops now. 2014-04-01 17:55:59 +01:00
Cat's Eye Technologies
d1521afd3a Incrementing and decrementing. 2014-04-01 17:32:33 +01:00
Cat's Eye Technologies
af2c369fb8 Generate code for if blocks, badly. Number ifs, please... 2014-04-01 17:15:21 +01:00
Cat's Eye Technologies
48c0c032e3 Support cpx and cpy. 2014-04-01 17:04:14 +01:00
Cat's Eye Technologies
6132b05b27 if statement takes any kind of branch. instruction support table 2014-04-01 17:00:16 +01:00
Cat's Eye Technologies
b458569edb COPY is loads and stores and xfers, LOADIMM immediate. st? ops. 2014-04-01 15:49:54 +01:00
Cat's Eye Technologies
5af7c458ea Machine model is a bit fuller now. 2014-04-01 15:37:09 +01:00
Cat's Eye Technologies
8c9dfe7004 Ophis AND VICE like the look of things now. 2014-04-01 15:09:28 +01:00
Cat's Eye Technologies
0f71bcd7d2 It generates something Ophis can stomach, now. 2014-04-01 14:59:28 +01:00
Cat's Eye Technologies
efc79edbc0 It emits assembly-like code, now. 2014-04-01 14:48:07 +01:00
Cat's Eye Technologies
4cef193da9 Parse more instructions. 2014-04-01 14:33:57 +01:00
Cat's Eye Technologies
b15411c677 Check for duplicate declarations. 2014-04-01 13:38:42 +01:00
Cat's Eye Technologies
16e29c9dc9 Checks for undeclared locations. 2014-04-01 13:29:45 +01:00
Cat's Eye Technologies
f3c0320b2a Add some notes, a test, a BasicCheck, a canal Panama (err...) 2014-04-01 13:01:27 +01:00
Cat's Eye Technologies
b4eb0b0100 Three passing tests! 2014-03-31 23:31:30 +01:00