1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-24 20:31:12 +00:00

176 Commits

Author SHA1 Message Date
David Schmenk
a7dfaf1b53 I lied. optimized lex scanner 2014-12-10 20:58:25 -08:00
David Schmenk
9b056aed69 Optimize the lexical scanner a little 2014-12-10 20:20:11 -08:00
David Schmenk
b4a41e7728 Fix writing to byte variables in sandbox. Init initial plvm02 autorun
string.
2014-12-08 13:32:32 -08:00
David Schmenk
930fbe2faf Restore sandbox buffer sizes and add keep flags for module loading
Also expanded sandbox radar example (ex.10.pla)
2014-12-07 20:49:09 -08:00
David Schmenk
94d85396fe Shift more memory to compile buffer from text buffer. Let Apple ][
input | and ~.
2014-12-05 21:49:15 -08:00
David Schmenk
df9f824cc7 REset sandbox after running program 2014-12-05 16:19:15 -08:00
David Schmenk
c2b795bcb5 Oops, broke div by 0 2014-12-01 19:11:44 -08:00
David Schmenk
aafac44a46 Can't stop playing w/ MUL DIV. and removed profiler - didn't like it 2014-12-01 18:34:42 -08:00
David Schmenk
a6e6bcffd8 Examples update, getc returns low ascii 2014-12-01 10:54:51 -08:00
David Schmenk
75d1e1b752 Fix local record word writes 2014-11-28 14:54:31 -08:00
David Schmenk
97bddb2724 Fix '_' in variable names 2014-11-27 21:14:51 -08:00
David Schmenk
f009c58de5 Clean up the est of the sandbox demos. 2014-11-25 13:09:10 -08:00
David Schmenk
3805fac455 Fix const init size 2014-11-24 17:35:41 -08:00
David Schmenk
c92e659a9b Fix address initializera 2014-11-24 08:53:34 -08:00
David Schmenk
1efd12b15c Trying for more initialization fixes 2014-11-23 10:59:55 -08:00
David Schmenk
e0ef6a6754 Clean up address initializers 2014-11-23 07:56:02 -08:00
David Schmenk
938e9fb52f Can't initialize function pointers yet 2014-11-22 22:43:41 -08:00
David Schmenk
2199a1e5c1 Fix initializers of addresses in variables 2014-11-22 22:22:23 -08:00
David Schmenk
0233506dfb Added structure definitions 2014-11-22 21:41:31 -08:00
David Schmenk
06c087751b Fix reverse copy off-by-one bug in memcpy 2014-11-21 20:22:18 -08:00
David Schmenk
80646542ee Fix relative braches in PLASMA PLASM and fix arguments to sys programs 2014-11-21 18:59:07 -08:00
David Schmenk
f94755aaa4 Synchronize C PLASM compiler with PLASMA PLASM compiler 2014-11-19 22:24:05 -08:00
David Schmenk
766c856eed Add PLASMA sandbox 2014-11-19 14:10:31 -08:00
David Schmenk
673c74694c Port original PLASMA editor over 2014-11-18 16:13:35 -08:00
David Schmenk
c5bed1e661 Squeeze a few more cycles out of call/leave sequence 2014-11-06 14:56:40 -08:00
David Schmenk
8125949370 Increase max frame size to 255 2014-11-06 14:39:20 -08:00
David Schmenk
8faa0ff8a3 More efficient call sequence 2014-11-06 14:25:49 -08:00
David Schmenk
e95bd8bc00 Allow array declaration to follow type, before identifier 2014-11-06 10:09:47 -08:00
David Schmenk
f8b694d1ca Change comment symbol to '//' and allow multiple statements per line
with ';'
2014-08-15 21:16:24 -07:00
David Schmenk
b3e335eeb5 Clear DblHRes 2014-07-08 17:53:36 -07:00
David Schmenk
d6faa42e32 Switch to new when/is/otherwise with break 2014-07-07 22:15:57 -07:00
David Schmenk
e14757982f Match code in BYTE 2014-07-07 20:59:22 -07:00
David Schmenk
ccdc1f3239 update 2014-07-07 20:54:39 -07:00
David Schmenk
0c0f8b6fa8 Add Sieve of Eratosthenesq benchmark 2014-07-07 20:48:48 -07:00
David Schmenk
33c5c780c1 Clean up 'when/of/otherwise' code constructs 2014-07-05 12:37:31 -07:00
David Schmenk
771a1bdb9e when (switch) statements now match C style of requiring 'break' to
avoid falling through to next of (case) clause.
2014-07-04 19:53:52 -07:00
David Schmenk
2e0674c158 Add 'point-to' operator 2014-07-04 15:06:34 -07:00
David Schmenk
c75a354254 Better ENTER code 2014-06-30 13:44:31 -07:00
David Schmenk
047fae252a Add profiling support for plvm02 2014-06-24 23:03:59 -07:00
David Schmenk
77edb1bce9 Better test opcodes 2014-06-23 18:54:01 -07:00
David Schmenk
5f6a5088d7 Another optimization for inner interp loop, SOS quit, and begin conio
library
2014-06-21 20:45:44 -07:00
David Schmenk
0f325d66c4 Apple /// lo-res graphics (and fix STDLIB module address) 2014-06-19 14:17:02 -07:00
David Schmenk
72bea1e510 Space/time opt for MUL, Apple1 rearrangement to save space 2014-06-18 17:35:54 -07:00
David Schmenk
5f71c1481b LC no longer has to be write enbaled 2014-06-18 16:51:35 -07:00
David Schmenk
cc32fe3891 More --size/++speed from peterferrie! 2014-06-17 20:11:12 -07:00
David Schmenk
9f57627fb7 Some minor tweaks 2014-06-17 19:20:04 -07:00
David Schmenk
1f0e329658 Move Apple /// symbol table to extended memory. Turns out I was
wwwaaaayyyy off on my segment to exteneded address understanding. And
a few memory optimizations thrown in.
2014-06-16 21:59:47 -07:00
David Schmenk
95adcb8fef Merge branch 'master' of https://github.com/dschmenk/PLASMA 2014-06-16 19:27:13 -07:00
David Schmenk
117ed34748 WIP 2014-06-16 19:26:40 -07:00
peterferrie
ad26a747e2 Update soscmd.pla
slightly faster dcitos
2014-06-16 18:46:01 -07:00