Commit Graph

  • 3039db71e6 made sure stuff like LDA#"X" keeps working in future version marcobaye 2020-06-21 16:19:05 +00:00
  • b8679e7f06 added is_number(), is_list() and is_string() functions marcobaye 2020-06-21 15:25:37 +00:00
  • ceabdfb4a0 added backslash sequences \0, \t, \n and \r marcobaye 2020-06-21 15:21:27 +00:00
  • 85f0c32ff4 fixed convert-to-lower-case function so keywords may contain underscore in future marcobaye 2020-06-21 15:16:38 +00:00
  • 5b37c4d24e cleanup (moved functions between files; no change in functionality!) marcobaye 2020-06-20 16:45:37 +00:00
  • beb875ff2b refactored (added a union) marcobaye 2020-06-20 16:11:08 +00:00
  • 562ce98f75 changing a list now needs !set marcobaye 2020-06-20 14:54:43 +00:00
  • fc913eefb6 adjusted docs to future syntax change marcobaye 2020-06-20 13:57:16 +00:00
  • 28e196caab added <m65/std.a> to library, with macro to load 32-bit immediate constant marcobaye 2020-06-19 22:35:23 +00:00
  • c3e651f4ca pseudo opcodes like !by, !wo, !tx and friends now accept lists marcobaye 2020-06-18 23:38:24 +00:00
  • eca73fb335 simplified handling of special operators marcobaye 2020-06-18 10:15:53 +00:00
  • 64aa52da35 fixed operator priority bug (see test program added in svn rev 232) marcobaye 2020-06-17 00:37:19 +00:00
  • 326f36fd4f refactoring, about to remove "try to reduce stacks" state marcobaye 2020-06-16 23:51:22 +00:00
  • c2978f7e15 "unpseudopc" operator & now also works with program counter * marcobaye 2020-06-16 23:12:44 +00:00
  • f9a2f5f698 got rid of DEFINED flag by making UNDEFINED its own number type marcobaye 2020-06-16 22:44:54 +00:00
  • 929fefe0e6 added opcode table for NMOS6502 cpu marcobaye 2020-06-16 12:29:48 +00:00
  • b32320d5f3 comments only marcobaye 2020-06-16 10:46:07 +00:00
  • 430b225208 added failing test program, fix will follow realsoonnow(tm) marcobaye 2020-06-15 13:05:14 +00:00
  • f64780a3bd added typedef for "bits" marcobaye 2020-06-14 00:26:38 +00:00
  • 2671eef384 added a bunch of "const" marcobaye 2020-06-13 23:18:51 +00:00
  • 1199c75025 more test programs marcobaye 2020-06-13 23:12:06 +00:00
  • 4643e841f9 symbol assignment refactoring seems to be finished now marcobaye 2020-06-13 23:11:10 +00:00
  • 395dcf55f3 fixed a dependency in Makefiles marcobaye 2020-06-13 22:42:14 +00:00
  • 8bf6bcd6eb fixed bug introduced in svn rev 217: !for threw "too late for postfix" with wrong line number marcobaye 2020-06-13 09:32:21 +00:00
  • ec2b7515ca fixed bugs: trig functions did not clear FITS_BYTE flag, comparisons did not set it! marcobaye 2020-06-10 13:12:25 +00:00
  • 7c82984075 added test source for expression parser marcobaye 2020-06-09 22:51:45 +00:00
  • da12925408 started checking in test sources marcobaye 2020-06-09 18:52:49 +00:00
  • 0588f0fffe improved error handling of "--cpu" and "--format" switches. started putting m65 in docs. marcobaye 2020-06-09 15:58:48 +00:00
  • 1f74a6b8fd comments only marcobaye 2020-06-08 17:25:50 +00:00
  • a165279e88 changed symbol usage counter to "has been read" boolean marcobaye 2020-06-08 17:01:17 +00:00
  • 93cea56d88 fixed bug introduced in svn rev 214 ("Too late for postfix" error) marcobaye 2020-06-07 13:05:01 +00:00
  • b17203faa7 lists can now be concatenated using '+' marcobaye 2020-06-06 12:01:44 +00:00
  • 77e945ce88 symbol assigment refactoring nearing completion... marcobaye 2020-06-05 15:15:12 +00:00
  • 02a35ac468 more refactoring marcobaye 2020-06-05 09:51:10 +00:00
  • 61d5144faa removed unused vars marcobaye 2020-06-05 08:57:09 +00:00
  • 00d0462f74 refactored symbol assignment (unfinished) marcobaye 2020-06-05 01:11:51 +00:00
  • 72fc28e84c comments only marcobaye 2020-06-04 14:31:15 +00:00
  • 9db5ad6fdb first step to refactor symbol assignments marcobaye 2020-06-03 16:30:13 +00:00
  • 7a0f9f9528 disabled NOP mnemonic on m65 cpu marcobaye 2020-06-03 11:02:16 +00:00
  • 5ea2a03174 removed warning about decimal mode from m65 cpu marcobaye 2020-06-03 00:51:09 +00:00
  • f164b737ad in 6510 mode, DOP/TOP can now also be written as NOP marcobaye 2020-06-02 15:09:36 +00:00
  • 8c751f3552 removed 0.93 dialect, as it was buggy and not really useful marcobaye 2020-06-01 17:49:46 +00:00
  • 8a3bdb265f added "--dialect" CLI switch to set which older version to mimic marcobaye 2020-05-31 20:55:38 +00:00
  • 8e4857de4c can now mimic older versions, but still needs a CLI switch to select one marcobaye 2020-05-31 15:04:12 +00:00
  • c03d1145f6 made warning about "pointer at $ff" depend on cpu flag marcobaye 2020-05-31 13:07:40 +00:00
  • 64a29e4504 amended docs on illegals marcobaye 2020-05-31 13:04:21 +00:00
  • 47b1fab4fe more work to be able to mimic older versions marcobaye 2020-05-29 23:33:03 +00:00
  • 9bbac556d3 worked on error messages marcobaye 2020-05-29 22:03:04 +00:00
  • af4a918f18 comments only marcobaye 2020-05-29 16:53:13 +00:00
  • 5bcb80ac47 moved stuff around marcobaye 2020-05-29 14:30:03 +00:00
  • 8169cf6e06 changed 6510 to nmos6502 internally marcobaye 2020-05-29 13:04:28 +00:00
  • 8c8f425559 some renaming/cleanup marcobaye 2020-05-29 10:57:01 +00:00
  • 2ad075911b enabled !while and new warning about parentheses marcobaye 2020-05-28 18:43:49 +00:00
  • dddf3f3d10 '&' operator (for un-pseudopc-ing) seems to be finished marcobaye 2020-05-28 18:40:40 +00:00
  • 636080ce25 started work on '&' operator marcobaye 2020-05-27 20:25:42 +00:00
  • 3c9f21cebd fixed date marcobaye 2020-05-27 20:06:11 +00:00
  • a6eae58032 internal cleanup for next change marcobaye 2020-05-27 17:32:48 +00:00
  • 78e7c32507 strings now support "+", "=" and "!=" operators marcobaye 2020-05-26 12:55:14 +00:00
  • bc0cd5b8ea "!warn" and friends now support list and string symbols marcobaye 2020-05-25 23:12:19 +00:00
  • 98ae73381d updated error messages marcobaye 2020-05-24 21:16:50 +00:00
  • 64a4b336b0 small change so associativity of powerof operator can be made configurable later on marcobaye 2020-05-24 20:19:19 +00:00
  • d407faab1c removed old version of !if/else/!ifdef/!ifndef algo. marcobaye 2020-05-24 19:52:10 +00:00
  • 486febcef4 tiny refactoring, preparing to get rid of another fn marcobaye 2020-05-23 23:38:13 +00:00
  • 0173eaf777 cleanup, now only output.c accesses CPU_state.pc marcobaye 2020-05-22 20:55:36 +00:00
  • dfca72688b support for m65 should be finished now marcobaye 2020-05-21 23:46:11 +00:00
  • 8eddb4f4bc started suuport for MEGA65 cpu (not finished yet) marcobaye 2020-05-21 19:36:59 +00:00
  • c1d8f90fae minor refactoring marcobaye 2020-05-20 16:39:19 +00:00
  • f5e7f23311 fix: values of quoted characters with msb set are now positive marcobaye 2020-05-19 21:04:57 +00:00
  • cd09855098 expression parser now knows about lists, strings, indexing and len(). marcobaye 2020-05-19 20:41:12 +00:00
  • ba168a3ea5 added backslash escaping (to try it, use --test --test) marcobaye 2020-05-19 17:35:04 +00:00
  • 916bf9cbc8 part 4 of 4 of preparations for backslash escaping marcobaye 2020-05-19 16:28:36 +00:00
  • 5b0989ac31 minor refactoring, moved a function marcobaye 2020-05-19 14:33:51 +00:00
  • 768c80219b part 3 of 4 of preparations for backslash escaping marcobaye 2020-05-19 14:16:13 +00:00
  • 101c04e413 more refactoring to prepare for backslash escaping marcobaye 2020-05-19 13:04:39 +00:00
  • beaf86da5b refactored a bit to prepare for backslash escaping marcobaye 2020-05-19 11:09:46 +00:00
  • 3448cda3df bugfix: unterminated strings could cause crashes marcobaye 2020-05-19 09:41:54 +00:00
  • 2fbbc0324e added comments for next change marcobaye 2020-05-18 23:47:15 +00:00
  • c64ffcfced fix for previous commit marcobaye 2020-05-18 22:50:11 +00:00
  • 688c00f31b changed a bool to an enum marcobaye 2020-05-18 22:10:01 +00:00
  • 4eb3ffa149 "Garbage data at end of statement" message now includes the unexpected character. marcobaye 2020-05-18 21:51:43 +00:00
  • c07f373b53 added code for indexing (commented out atm) marcobaye 2020-05-15 15:33:00 +00:00
  • 665c579470 more work on special operators marcobaye 2020-05-15 13:46:17 +00:00
  • 5ba17ccfc4 added error output for "unsupported operation" marcobaye 2020-05-15 11:39:00 +00:00
  • 4e0d82ac69 added "len" operator, still disabled marcobaye 2020-05-14 17:36:09 +00:00
  • ccaf576e8a added text fields to operator and type structs (for better error messages later on), also renamed some stuff marcobaye 2020-05-14 14:01:30 +00:00
  • ff11dec18c tiny cleanup marcobaye 2020-05-14 10:35:54 +00:00
  • 7c732fca59 renamed stuff marcobaye 2020-05-14 10:19:21 +00:00
  • c055688355 small fix in docs marcobaye 2020-05-14 10:04:39 +00:00
  • a7ec38bff5 changed operator passing from enum to struct ptr, no change in functionality marcobaye 2020-05-14 00:04:20 +00:00
  • fd2ac55392 new priority values, no change in functionality marcobaye 2020-05-13 23:53:03 +00:00
  • 365306428b added warnings about binary/octal/hex numbers without any digits, will be error in future! also renamed a function. marcobaye 2020-05-13 23:45:03 +00:00
  • 40afd3311a cleaned up expression handler, it's now able to handle more than just ints/floats marcobaye 2020-05-13 23:26:40 +00:00
  • 3300c9d468 added some TODO/FIXME comments marcobaye 2020-05-13 16:53:52 +00:00
  • dac11ba8c7 finished ELSE IF functionality. currently needs "--test", will be enabled in next release. marcobaye 2020-05-12 15:08:24 +00:00
  • 16fb63deda planned ELSE IF functionality marcobaye 2020-05-12 10:51:37 +00:00
  • 20e04e22bc fix for previous commit: do not complain about () inside [] marcobaye 2020-05-11 12:42:47 +00:00
  • 4c938480fc added warning about parentheses for mnemonics without indirect addressing. currently needs "--test", will be enabled in next release. marcobaye 2020-05-11 11:13:06 +00:00
  • abdea30e33 fixed behaviour of NOT operator concerning type checking: address refs are now negated. marcobaye 2020-05-10 22:01:04 +00:00
  • e908284773 refactored handler function for "float with dyadic operator" marcobaye 2020-05-10 21:35:50 +00:00
  • f7c52d747c split handler function for dyadic operators into int and float functions. refactored int, still need to do float. marcobaye 2020-05-10 12:33:41 +00:00