Commit Graph

242 Commits

Author SHA1 Message Date
marcobaye
fc913eefb6 adjusted docs to future syntax change
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@242 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-20 13:57:16 +00:00
marcobaye
28e196caab added <m65/std.a> to library, with macro to load 32-bit immediate constant
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@241 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-19 22:35:23 +00:00
marcobaye
c3e651f4ca pseudo opcodes like !by, !wo, !tx and friends now accept lists
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@240 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-18 23:38:24 +00:00
marcobaye
eca73fb335 simplified handling of special operators
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@239 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-18 10:15:53 +00:00
marcobaye
64aa52da35 fixed operator priority bug (see test program added in svn rev 232)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@238 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-17 00:37:19 +00:00
marcobaye
326f36fd4f refactoring, about to remove "try to reduce stacks" state
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@237 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 23:51:22 +00:00
marcobaye
c2978f7e15 "unpseudopc" operator & now also works with program counter *
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@236 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 23:12:44 +00:00
marcobaye
f9a2f5f698 got rid of DEFINED flag by making UNDEFINED its own number type
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@235 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 22:44:54 +00:00
marcobaye
929fefe0e6 added opcode table for NMOS6502 cpu
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@234 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 12:29:48 +00:00
marcobaye
b32320d5f3 comments only
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@233 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 10:46:07 +00:00
marcobaye
430b225208 added failing test program, fix will follow realsoonnow(tm)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@232 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-15 13:05:14 +00:00
marcobaye
f64780a3bd added typedef for "bits"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@231 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-14 00:26:38 +00:00
marcobaye
2671eef384 added a bunch of "const"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@230 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:18:51 +00:00
marcobaye
1199c75025 more test programs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@229 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:12:06 +00:00
marcobaye
4643e841f9 symbol assignment refactoring seems to be finished now
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@228 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:11:10 +00:00
marcobaye
395dcf55f3 fixed a dependency in Makefiles
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@227 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 22:42:14 +00:00
marcobaye
8bf6bcd6eb fixed bug introduced in svn rev 217: !for threw "too late for postfix" with wrong line number
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@226 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 09:32:21 +00:00
marcobaye
ec2b7515ca fixed bugs: trig functions did not clear FITS_BYTE flag, comparisons did not set it!
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@225 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-10 13:12:25 +00:00
marcobaye
7c82984075 added test source for expression parser
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@224 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-09 22:51:45 +00:00
marcobaye
da12925408 started checking in test sources
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@223 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-09 18:52:49 +00:00
marcobaye
0588f0fffe improved error handling of "--cpu" and "--format" switches. started putting m65 in docs.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@222 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-09 15:58:48 +00:00
marcobaye
1f74a6b8fd comments only
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@221 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-08 17:25:50 +00:00
marcobaye
a165279e88 changed symbol usage counter to "has been read" boolean
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@220 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-08 17:01:17 +00:00
marcobaye
93cea56d88 fixed bug introduced in svn rev 214 ("Too late for postfix" error)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@219 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-07 13:05:01 +00:00
marcobaye
b17203faa7 lists can now be concatenated using '+'
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@218 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-06 12:01:44 +00:00
marcobaye
77e945ce88 symbol assigment refactoring nearing completion...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@217 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 15:15:12 +00:00
marcobaye
02a35ac468 more refactoring
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@216 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 09:51:10 +00:00
marcobaye
61d5144faa removed unused vars
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@215 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 08:57:09 +00:00
marcobaye
00d0462f74 refactored symbol assignment (unfinished)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@214 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 01:11:51 +00:00
marcobaye
72fc28e84c comments only
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@213 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-04 14:31:15 +00:00
marcobaye
9db5ad6fdb first step to refactor symbol assignments
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@212 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-03 16:30:13 +00:00
marcobaye
7a0f9f9528 disabled NOP mnemonic on m65 cpu
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@211 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-03 11:02:16 +00:00
marcobaye
5ea2a03174 removed warning about decimal mode from m65 cpu
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@210 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-03 00:51:09 +00:00
marcobaye
f164b737ad in 6510 mode, DOP/TOP can now also be written as NOP
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@209 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-02 15:09:36 +00:00
marcobaye
8c751f3552 removed 0.93 dialect, as it was buggy and not really useful
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@208 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-01 17:49:46 +00:00
marcobaye
8a3bdb265f added "--dialect" CLI switch to set which older version to mimic
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@207 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 20:55:38 +00:00
marcobaye
8e4857de4c can now mimic older versions, but still needs a CLI switch to select one
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@206 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 15:04:12 +00:00
marcobaye
c03d1145f6 made warning about "pointer at $ff" depend on cpu flag
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@205 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 13:07:40 +00:00
marcobaye
64a29e4504 amended docs on illegals
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@204 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 13:04:21 +00:00
marcobaye
47b1fab4fe more work to be able to mimic older versions
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@203 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 23:33:03 +00:00
marcobaye
9bbac556d3 worked on error messages
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@202 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 22:03:04 +00:00
marcobaye
af4a918f18 comments only
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@201 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 16:53:13 +00:00
marcobaye
5bcb80ac47 moved stuff around
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@200 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 14:30:03 +00:00
marcobaye
8169cf6e06 changed 6510 to nmos6502 internally
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@199 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 13:04:28 +00:00
marcobaye
8c8f425559 some renaming/cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@198 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 10:57:01 +00:00
marcobaye
2ad075911b enabled !while and new warning about parentheses
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@197 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-28 18:43:49 +00:00
marcobaye
dddf3f3d10 '&' operator (for un-pseudopc-ing) seems to be finished
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@196 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-28 18:40:40 +00:00
marcobaye
636080ce25 started work on '&' operator
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@195 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-27 20:25:42 +00:00
marcobaye
3c9f21cebd fixed date
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@194 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-27 20:06:11 +00:00
marcobaye
a6eae58032 internal cleanup for next change
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@193 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-27 17:32:48 +00:00