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

260 Commits

Author SHA1 Message Date
Cat's Eye Technologies
569de53797 A refactor 2014-04-03 19:30:40 +01:00
Cat's Eye Technologies
f4a77ae5c4 Support for all instructions! 2014-04-03 18:59:37 +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
cfbc840195 version of demo with joystick is almost a game. 2014-04-02 22:11:27 +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
d225d1e727 Pass test, hamfistedly. 2014-04-02 20:16:50 +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
c0676f9efa NamedLocation now includes the StorageType. 2014-04-02 18:45:14 +01:00
Cat's Eye Technologies
7fb454fb99 Get rid of more IMM commands. 2014-04-02 18:03:25 +01:00
Cat's Eye Technologies
2684f65512 Git rid of all modes of COPY. 2014-04-02 18:00:35 +01:00
Cat's Eye Technologies
40afeae0b6 Capture indirectnesss/literalness/indexness in StorageLocation. 2014-04-02 17:56:08 +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
765073f94e Add some demos, one of which works. 2014-04-02 14:24:43 +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
e9c31fba3b forgotten file 2014-04-02 13:47:37 +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
abe2279b46 Emit externals, jsr, eg that uses Kernal. 2014-04-02 13:39:54 +01:00
Cat's Eye Technologies
9d1b0e8309 Check for use of undeclared routines. 2014-04-02 13:22:33 +01:00
Cat's Eye Technologies
180efe281d No duplicate routine names check. 2014-04-02 13:18:01 +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
c80591f7f5 Finally, this. 2014-04-01 23:27:54 +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