1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-06-29 20:29:31 +00:00
Commit Graph

394 Commits

Author SHA1 Message Date
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
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
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
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
25b419b7c8 Rename some modules.
--HG--
rename : src/SixtyPical/Context.hs => src/SixtyPical/Analyzer.hs
rename : src/SixtyPical/BasicCheck.hs => src/SixtyPical/Checker.hs
2014-04-01 13:11:25 +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
6461aa8eff Split into modules. 2014-04-01 12:12:12 +01:00
Cat's Eye Technologies
b4eb0b0100 Three passing tests! 2014-03-31 23:31:30 +01:00
Cat's Eye Technologies
650405c2fe Initial import. 2014-03-31 23:14:07 +01:00