1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-10-18 07:24:16 +00:00
Commit Graph

1120 Commits

Author SHA1 Message Date
David Schmenk
097bde5257
Delete src/prodos 2023-12-16 07:14:01 -08:00
David Schmenk
92078abec1
Delete src/.DS_Store 2023-12-16 07:13:35 -08:00
David Schmenk
eab0727c71 I hate GIT sometimes 2023-12-15 11:49:19 -08:00
David Schmenk
35b2aa3080 Fix check for last character of number 2023-12-15 11:45:50 -08:00
David Schmenk
21ac8cc402 Add minimal FORTH environmnet 2023-12-12 19:24:37 -08:00
David Schmenk
7433b52e28 Add a simple forth environment 2023-12-12 12:54:45 -08:00
David Schmenk
4f9f58ba29 Making water look more like water 2023-04-11 20:22:44 -07:00
David Schmenk
4cfadf3ec8 Make water look more like 2023-04-11 20:01:06 -07:00
David Schmenk
e47ca69101 Buffer screen updates for better visual appearance 2023-04-11 16:28:08 -07:00
dschmenk
9932639b1b VBL test compatible with IIe and IIc 2023-03-20 10:55:46 -07:00
Dave Schmenk
655e410a1d IOUSDis must be written 2023-03-19 19:30:37 -07:00
Dave Schmenk
ee14a3bdf4 forgot IOUDis 2023-03-19 18:57:26 -07:00
Dave Schmenk
60c1b4f6e9 Enable/disable VBL ints for //c 2023-03-19 17:59:38 -07:00
Dave Schmenk
094ddd31e8 Flash cursor on 2e based on VBL 2023-03-19 16:28:41 -07:00
dschmenk
6fc53c4c21 Make '=' shorthand for destionation being current directory 2023-03-19 13:57:13 -07:00
dschmenk
0d585d7110 Disable windowsize because TFTPD is so slow 2023-03-19 13:33:41 -07:00
David Schmenk
9e7a774972 Add lz4 rogue instructions 2023-03-19 12:20:52 -07:00
David Schmenk
976581b1c1 Cleanup for release 2023-03-19 08:51:17 -07:00
David Schmenk
3d1c3e9407 Keep trying to free some bytes 2023-03-18 19:30:17 -07:00
David Schmenk
4ca1ba9c04 Free prefix buffer before execmod 2023-03-18 16:33:55 -07:00
David Schmenk
af57dfdeeb Increase size of command line buffer without additional memory 2023-03-18 16:05:29 -07:00
dschmenk
f5efc5641e Add count of active fibers 2023-02-28 12:57:49 -08:00
dschmenk
79287f2c51 Fix status print for Apple /// 2023-02-27 11:59:12 -08:00
dschmenk
9e62379b46 Update strings to BETA 2023-02-25 20:32:56 -08:00
dschmenk
9125b7bfd4 Error on local constants 2023-02-25 19:21:36 -08:00
dschmenk
cdb734d1ba Allow to import module header itself 2023-02-25 16:16:46 -08:00
David Schmenk
6665199e55 Fix display width calc 2023-02-25 10:50:36 -08:00
David Schmenk
f4ce23a3cf Slight adjustment to FPSTR_FLEX formatting 2023-02-25 10:29:30 -08:00
dschmenk
177c621364 Add fppow sample test 2023-02-24 17:49:13 -08:00
Dave Schmenk
7a3debfd0c Much better floating point string conversion 2023-02-23 17:57:11 -08:00
David Schmenk
1713c71505 Fix *some* of the exponent formatting 2023-02-13 15:40:47 -08:00
David Schmenk
abd9d35cae Fix string -> decrec conversion 2023-02-12 14:13:59 -08:00
David Schmenk
1d3de982d6 Give output filename as STDOUT if -S flag 2023-02-02 12:02:54 -06:00
Steven Flintham
374d2465b6 Add -S option to plasm to output to stdout 2023-01-15 22:30:53 +00:00
David Schmenk
f5b2db78a3 Allow importing self 2023-01-14 12:20:16 -08:00
Dave Schmenk
f8a6589f34 Place common routine into matchfiles 2022-12-31 22:41:28 -08:00
David Schmenk
a0cc6662d5 Update large disk image 2022-12-31 16:02:38 -08:00
David Schmenk
bba4570a93 Fix filefrompath() 2022-12-31 14:57:08 -08:00
David Schmenk
970d692592 Update code to ALPHA2 2022-12-20 09:58:26 -08:00
David Schmenk
bb41023498 Ensure max of 32 characters significant for IDs 2022-07-19 18:20:53 -07:00
David Schmenk
c3111a63be Make sure 32 characters significant for import/export ID 2022-07-19 18:16:36 -07:00
David Schmenk
726609a573 Make sure 32 significant characters for import/export IDs 2022-07-19 18:06:47 -07:00
Steven Flintham
a64afe5486 Add putb() support to plvm.c 2022-06-17 19:51:48 +01:00
David Schmenk
c7234e2d04 Python3 2021-01-27 12:36:44 -08:00
David Schmenk
bf9c61892c
ALPHA2 2020-07-15 19:37:47 -07:00
David Schmenk
2799083bcf Update images to Alpha1 2020-07-04 13:49:40 -07:00
Dave Schmenk
54d36ce12e Alpha1 2020-07-01 17:50:39 -07:00
David Schmenk
f0dc042dad
Alpha1 2020-07-01 09:56:44 -07:00
David Schmenk
713a6c6cbe
Alpha1 2020-07-01 09:55:58 -07:00
David Schmenk
3adb41921c
Alpha1 2020-07-01 09:55:00 -07:00
David Schmenk
ca1b40a68b
Alpha1 2020-07-01 09:54:29 -07:00
David Schmenk
5b5e8aa0de
Alpha1 2020-07-01 09:53:20 -07:00
David Schmenk
29c5f9c53f
Alpha1 2020-07-01 09:52:33 -07:00
David Schmenk
2141520023
Update a1cmd.pla 2020-07-01 09:51:26 -07:00
Dave Schmenk
c652200248 JIT profiler intrypoint improvements 2020-07-01 09:07:40 -07:00
David Schmenk
6609aadaaf Loose debug noise 2020-06-30 16:28:13 -07:00
Dave Schmenk
0e87fcf4f0 Lose debug noise 2020-06-30 16:07:09 -07:00
Dave Schmenk
21f926a763 Clean-up around call/return 2020-06-30 15:16:21 -07:00
David Schmenk
337c6557e2 Introduced bug :-( 2020-06-30 12:41:51 -07:00
David Schmenk
45f32cc5db Clean up stack<->zp copy 2020-06-30 11:50:01 -07:00
Dave Schmenk
20a6655c0f Clean up frame allocate calc 2020-06-30 08:25:17 -07:00
Dave Schmenk
e7e475faa7 Better PSR handling when AUX mem enabled/IRQ disabled 2020-06-29 16:14:12 -07:00
David Schmenk
ef4edf74f1 Clean up frame allocate calc 2020-06-10 18:50:23 -07:00
Dave Schmenk
447cde1692 Forth->PLASMA transpiler 2020-01-25 14:03:22 -08:00
David Schmenk
c74af19505 Improve indenting on mis-aligned lines 2020-01-21 08:39:26 -08:00
David Schmenk
5581bfb052 Update images 2020-01-20 12:09:09 -08:00
David Schmenk
1a208ef30a Make sure ternary op has lower precedence than AND and OR 2020-01-20 11:39:58 -08:00
Dave Schmenk
e0d688a45a SHR library 2020-01-19 13:11:09 -08:00
Dave Schmenk
ff023f65d2 Fix long standing bug in catalog code 2020-01-17 12:51:19 -08:00
Dave Schmenk
6045b260db Machine check for HGRLIB and slightly smaller catalog code 2020-01-17 12:22:18 -08:00
Dave Schmenk
b5f02ea7c5 Fiz ZIP chip utility to turn ANN3 off (fix hires colors) 2020-01-16 20:47:10 -08:00
David Schmenk
c9477238fa Clean up images 2020-01-15 13:33:46 -08:00
David Schmenk
59a35068bf Clean up the images 2020-01-15 13:24:05 -08:00
Dave Schmenk
c83ed2c494 Fix another SOS-ism 2020-01-10 18:50:54 -08:00
David Schmenk
5c8fbfdcf4 Forgot to update editor version 2020-01-10 17:59:27 -08:00
David Schmenk
ea3c73ac15 2.0 DP3 release 2020-01-10 17:25:32 -08:00
Dave Schmenk
1f42523014 Fix some Apple /// differences 2020-01-10 13:55:05 -08:00
David Schmenk
fb3a4964c8 Match patterns with ending wildcard 2020-01-10 11:23:25 -08:00
David Schmenk
12f8cf8053 Tile blitter improvements from Brendan (BluRry) 2020-01-09 16:45:17 -08:00
David Schmenk
5e0053569e Formatting (which editor keeps messing up the tabs vs spaces?) 2020-01-08 17:27:08 -08:00
Dave Schmenk
d92d5dd6cd A wee'er bit faster 2020-01-08 14:33:49 -08:00
Dave Schmenk
206e7ae3f4 A wee bit faster and smaller 2020-01-08 14:30:37 -08:00
David Schmenk
8d9a0889a6 HGR tile and font libraries 2020-01-08 12:11:55 -08:00
David Schmenk
31f4fbfbec Slight API change 2020-01-08 05:51:19 -08:00
Dave Schmenk
9e31fbd1da Replay game 2020-01-07 18:18:18 -08:00
Dave Schmenk
1da0bdf610 Tweak 2020-01-07 17:22:44 -08:00
Dave Schmenk
360be4c709 Tweak sprite update and laser hit 2020-01-07 17:07:26 -08:00
David Schmenk
b13fb204a2 Spider sprite compiler 2020-01-07 16:12:40 -08:00
David Schmenk
0c57570d4a Pre-compile sprites and more animations and audio 2020-01-07 16:08:48 -08:00
David Schmenk
09d861e5a5 Quick updates 2020-01-06 22:15:59 -08:00
David Schmenk
f5416c2d82 Fix hgrHLin colors and tidy up game locations 2020-01-06 20:18:40 -08:00
Dave Schmenk
10cc631b0a More or less operational game 2020-01-06 16:09:25 -08:00
David Schmenk
e9a1311764 Shooting spiderwebs 2020-01-05 20:30:02 -08:00
David Schmenk
42888ed95a When spiders attack 2020-01-05 14:43:58 -08:00
David Schmenk
1fe6191343 More pixmaps 2020-01-04 19:51:39 -08:00
Dave Schmenk
b006e18d26 Fun with the graphics libraries 2020-01-04 16:58:51 -08:00
Dave Schmenk
69733fd37f Fix XORing of BLT with ORing. Better COPY message and add ZIP Chip
utility
2020-01-04 12:52:31 -08:00
Dave Schmenk
c1b6741cfd Fix commented out data and rect parameters 2020-01-04 09:36:54 -08:00
Dave Schmenk
41071de12f New HGR sprite shoot-em up demo 2020-01-04 08:45:23 -08:00
David Schmenk
b6a7b72fe1 Set inituial mask to WHITE(7) instead of WHITE(3) to reduce artifacting in blank areas 2020-01-04 07:45:39 -08:00
Dave Schmenk
426b662481 Lose examples from TFTP BLD 2020-01-03 14:24:41 -08:00
Dave Schmenk
18543c8363 Fix copy directory destination 2020-01-03 14:19:38 -08:00
David Schmenk
b2eaa867eb Add explicit undrawList calls 2020-01-03 07:57:26 -08:00
David Schmenk
d74ccc22fb
Merge pull request #56 from peterferrie/master
notes on IIc VBL
2020-01-02 21:34:24 -08:00
Dave Schmenk
c4c3f4d9b3 Avoid infinite copy recursion 2020-01-02 20:49:32 -08:00
Dave Schmenk
ecb61ccddd Fix too many buffers allocated 2020-01-02 19:49:18 -08:00
David Schmenk
7c3dfe2b2e Wildcard names for file utilities 2020-01-01 13:50:57 -08:00
Dave Schmenk
438ab01254 Wildcard filename matching 2019-12-31 17:20:20 -08:00
Peter Ferrie
397dbdbb99 cut some bytes 2019-12-31 13:21:14 -08:00
Peter Ferrie
8b0a35e453 notes on IIc VBL 2019-12-31 13:19:42 -08:00
David Schmenk
484aefb08c More error reporting when writing files 2019-12-31 07:53:41 -08:00
David Schmenk
c743ace42b Trying to track down file write corruption 2019-12-30 22:34:35 -08:00
David Schmenk
de29742841 Missed JIT16 dependency 2019-12-29 22:04:04 -08:00
Dave Schmenk
eb076459e9 Fix all remaining NOJIT issues (defentry size discrepancy) 2019-12-28 18:48:15 -08:00
David Schmenk
f5b0fb86b4 Not loading NOJIT interpreter correctly 2019-12-28 17:36:34 -08:00
David Schmenk
64f4f56379 Add Apple /// non-jit default to free up a little memory and update images to DP2 2019-12-28 16:18:51 -08:00
Dave Schmenk
8c885a6b8b Remove old pixmap data 2019-12-28 13:40:04 -08:00
David Schmenk
c09b15f377 A little re-org and assembly-izing 2019-12-28 12:03:59 -08:00
David Schmenk
4a4468cc22 Fix divmod7 for negative numbers 2019-12-28 09:47:24 -08:00
David Schmenk
322546a0b1 Add sprite center 2019-12-28 08:19:31 -08:00
David Schmenk
b5f832b0b2 Fix simple line plot routine 2019-12-27 19:01:01 -08:00
David Schmenk
c7c69fe0d5 Update line spacing 2019-12-27 18:37:21 -08:00
David Schmenk
8a960f018b Fix lines in all directions 2019-12-27 17:51:31 -08:00
David Schmenk
a056e00e93 Clean up some build problems 2019-12-27 15:17:53 -08:00
David Schmenk
efead509ad Assembly-ize many things and clip sprites 2019-12-27 14:46:10 -08:00
Dave Schmenk
bc532f4458 Load/Save sprites to a file 2019-12-26 22:37:07 -08:00
David Schmenk
cec1252ff6 Copy sprite library over TFTP 2019-12-26 21:17:57 -08:00
David Schmenk
4186c5170d Break out sprite library 2019-12-26 21:13:46 -08:00
David Schmenk
f829682876 Assembly-ize mahorline 2019-12-26 19:21:04 -08:00
David Schmenk
755c4b424a Assembly-ize some rotuines 2019-12-26 16:01:38 -08:00
David Schmenk
e258131e71 Assemly-ize some routines 2019-12-26 11:46:11 -08:00
David Schmenk
8aae1077ee Sprite list test 2019-12-25 12:25:28 -08:00
David Schmenk
dd721f5a75 HGR sprite library WIP 2019-12-25 10:23:50 -08:00
Dave Schmenk
1f94b7331a export divmod7 2019-12-24 16:00:49 -08:00
Dave Schmenk
7ba288d2d6 HGR lib WIP 2019-12-24 15:58:19 -08:00
David Schmenk
a77c50c90a Add 32 bit integer librbary just to print out file sizes in CAT 2019-12-24 12:02:56 -08:00
David Schmenk
5f8f6f0a97 int32 WIP 2019-12-23 17:16:03 -08:00
David Schmenk
2197286604 int32 WIP 2019-12-22 21:41:53 -08:00
Dave Schmenk
5ca96095cf New 32 bit integer library 2019-12-22 18:44:58 -08:00
David Schmenk
4aa8c8da1f Add utils source and reorg 2019-12-21 08:30:04 -08:00
Dave Schmenk
48a33a4432 Break out the utils 2019-12-20 17:52:03 -08:00
David Schmenk
91a1b16807 show & change af files type and aux 2019-12-20 17:50:10 -08:00
Dave Schmenk
ea6656d05b Basic file managing utilites 2019-12-20 16:26:10 -08:00
David Schmenk
3161692d4a Fix line edit changed flag 2019-12-20 10:20:09 -08:00
David Schmenk
3d91e4175b editine c;eanip. still loses ctrl-d once in awhile 2019-12-20 03:36:03 -08:00
David Schmenk
15b4551b2a Editor write file change to identify very rare write corruption 2019-12-20 00:49:12 -08:00
David Schmenk
8df7cea4a0 Add optional goto line number to command line load filename 2019-12-19 20:42:37 -08:00
David Schmenk
af90f40f32 in-line simple line routine 2019-12-19 19:38:26 -08:00
David Schmenk
44c8bf9a13 Premature GRLIB checking 2019-12-19 18:48:14 -08:00
David Schmenk
ae5e5b4237 GRLIB WIP 2019-12-19 18:30:22 -08:00
Dave Schmenk
1cd9156d8d First lores graphics library add 2019-12-19 18:13:59 -08:00
Dave Schmenk
0f1a15fb4a SOS.INTERP launcher fix and graphics libs WIP 2019-12-19 18:11:59 -08:00
Dave Schmenk
b9c5a8cb23 More WIP for the graphics libraries 2019-12-19 14:27:08 -08:00
David Schmenk
72f7dea67f Clean up DGRlib 2019-12-19 10:22:26 -08:00
Dave Schmenk
04139858fc WIP for graphics libraries 2019-12-18 21:48:52 -08:00
Dave Schmenk
0b750d46c5 Back to fun HGR stuff 2019-12-18 18:59:24 -08:00
Dave Schmenk
10a98d5392 Seriously broken dividing zero by anything 2019-12-17 21:20:09 -08:00
Dave Schmenk
ff3d3c0b87 Simple 65C02 opts I didn't do before. 2019-12-17 16:51:33 -08:00
Dave Schmenk
60e556cc63 more low hanging opts (and fix previous cross compiler opt) 2019-12-17 14:52:35 -08:00
Dave Schmenk
b81e911857 Snag a few more easy optimizations 2019-12-17 13:30:09 -08:00
Dave Schmenk
ae5ea36e87 Remove #$%&! TAB characters 2019-12-17 11:01:05 -08:00
Dave Schmenk
1afb559849 Remove extraneous OK printouts 2019-12-17 10:59:06 -08:00
David Schmenk
3ce76f7308 simplify indent/undent code 2019-12-17 08:11:07 -08:00
Dave Schmenk
e1e16ef36d Better blank line detab 2019-12-16 10:05:07 -08:00
Dave Schmenk
6cabe160c4 Fix empty line TABbing 2019-12-16 09:03:34 -08:00
David Schmenk
454ecb29a8 Improve indent/undent and toggle gutter view. Additional compiler stats 2019-12-16 08:25:58 -08:00
Dave Schmenk
9011b1cc64 Add more compiler stats 2019-12-15 16:33:09 -08:00
David Schmenk
bc45a9263c Fix some editor redraw issues 2019-12-15 13:24:26 -08:00
David Schmenk
a902bc4c97 DP 1ED (editor!) release 2019-12-14 18:42:56 -08:00
Dave Schmenk
c7f48765b2 Return to editor when toggling lower-case chip support 2019-12-14 17:58:35 -08:00
Dave Schmenk
d3c1b8881a Merge branch 'master' of https://github.com/dschmenk/PLASMA 2019-12-14 17:43:29 -08:00
Dave Schmenk
27129fe152 Upgrade editor to programmers editor 2019-12-14 17:42:39 -08:00
David Schmenk
203b88a979 Edit with auto-indent 2019-12-13 19:48:11 -08:00
Dave Schmenk
f67e58011a Auto-indent for editor 2019-12-13 13:30:54 -08:00
David Schmenk
f90e339b01 Update Apple /// JIT and images to DP 1a 2019-12-12 09:56:05 -08:00
Dave Schmenk
8364f5c631 Fix premature restore of jitcodeptr in modexec 2019-12-12 01:13:05 -08:00
Dave Schmenk
f5236f2a1d More profiling? 2019-12-08 17:13:43 -08:00
Dave Schmenk
d91ca59b52 Additional jit16 tuning 2019-12-08 17:06:20 -08:00
Dave Schmenk
fb989e22e4 profile jit16 default values 2019-12-08 16:48:23 -08:00
David Schmenk
30cdd22211 Update images 2019-12-07 19:34:12 -08:00
David Schmenk
dfbc296311 Make mkrel and tftprel consistent 2019-12-07 18:00:12 -08:00
Dave Schmenk
517b60d86f TFTP full release to physical Apple II 2019-12-07 17:03:31 -08:00
Dave Schmenk
e2d1fb3ba4 Add online volume call and more tftp scripts 2019-12-07 13:42:03 -08:00
Dave Schmenk
1dc0d252f8 Fix is_hw test for 16 bit JIT 2019-12-06 18:14:08 -08:00
Dave Schmenk
7f6f9e7bbd Fix directory creation ops 2019-12-06 10:23:38 -08:00
Dave Schmenk
1a9ab9629b Copy FP modules 2019-12-01 15:48:41 -08:00
David Schmenk
db6bc55df3
Back out DINTRP opt as ENTER needs Y to bee zero 2019-12-01 15:39:21 -08:00
David Schmenk
8f85445700
Back out DINTRP opt as ENTER requires Y being zero 2019-12-01 15:36:48 -08:00
Dave Schmenk
1242b53824 Back out some of the DINTRP optimizations. Dependecy on Y being szero in ENTER 2019-12-01 15:24:18 -08:00
David Schmenk
2fe4b9ed52
Simpler DINTERP entry 2019-11-28 13:28:04 -08:00
David Schmenk
50f2ac669c
Simpler DINTERP entry 2019-11-28 13:27:11 -08:00
David Schmenk
acf2aaacfe
Simpler INTERP entry 2019-11-28 13:23:53 -08:00
David Schmenk
27eca20a04
Simpler DINTERP entry 2019-11-28 13:22:06 -08:00
David Schmenk
02b3b88862
Simpler INTERP entry 2019-11-28 13:21:23 -08:00
David Schmenk
cfe2fc4a98
Simpler INTERP entry 2019-11-28 13:20:43 -08:00
David Schmenk
49188358af Replace gets() with fgets() 2018-12-17 13:24:15 -08:00
Ian Flanigan
9a5bf76b71 Remove duplicate token declaration from plasm.pla
Before this change, there were two declarations for the 'res' token.
Now there is only one.
2018-11-25 17:46:26 +01:00
Ian Flanigan
a8629a4f9a Remove duplicate token declaration from lex.c
Before this change, there were two declarations for the 'res' token.
Now there is only one.
2018-11-25 17:04:21 +01:00
Ian Flanigan
ce0b92bf8c Prefer pointer types in prefix operator parsing
This fixes issue #49 in the simplest way. Before, if the
dereferenced variable was a byte type, the result of the word
pointer dereference operator, `*`, would be a byte type. This
caused `*@a` to return a byte if `a` was a byte type. Now the
pointer type is used instead, causing `*@a` to return a word.

Prefix operator parsing allows some nonsensical constructions,
like `@*x`, but these were already possible before.

Before the output from:
```
include "inc/cmdsys.plh"

byte a
byte b
word x

a = 5
b = 6
x = $55FF
puti(*@a) // 5
putln()
puti(*(@a)) // 1541
putln()
puti(@*a) // 5
putln()
puti(^@x) // 255
putln()
puti(^(@x)) // 255
putln()
puti(@^x) // 255
putln()
done
```
was:
```
5
1541
5
255
255
255
```
now it is:
```
1541
1541
1541
255
255
255
```
2018-11-18 12:15:14 +00:00
Ian Flanigan
76d010392a Implement puth in plvm
This change adds a simple implementation of puth() that is just
printf("%04X", i). This corresponds with the native implementations
for both Apple and C64.
2018-11-14 20:25:12 +00:00