1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-07-01 07:29:32 +00:00
Commit Graph

1235 Commits

Author SHA1 Message Date
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
David Schmenk
abb89438ef
Merge pull request #52 from iflan/lex-cleanup
Remove duplicate 'res' token declarations
2018-11-25 11:13:05 -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
David Schmenk
522703b278
Merge pull request #51 from iflan/addressing
Prefer pointer types in prefix operator parsing
2018-11-18 07:53:08 -08: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
David Schmenk
4b03b371b6
Merge pull request #50 from iflan/master
Implement puth in plvm
2018-11-16 16:49:37 -08: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
David Schmenk
7a5578277f Fix over optimization of immediate opcodes 2018-10-01 16:24:01 -07:00
David Schmenk
3f23acf49c
Clean up when/is evaluation 2018-09-26 15:51:35 -07:00
David Schmenk
2d8f2b9b22 Fix JIT16 SEC bug 2018-07-26 16:21:49 -07:00
David Schmenk
34c8a2efa3 Fix Uthernet2 MAC address (doesn't like non-zero MSB) 2018-07-26 11:53:38 -07:00
David Schmenk
fe6742d33e Set retry count back to 4 with longer delay - add debug print to uthernet2 2018-07-22 19:25:28 -07:00
David Schmenk
c789c3249e cleanup formatting 2018-07-21 18:55:25 -07:00
David Schmenk
b5098afbce Merge branch 'master' of https://github.com/dschmenk/PLASMA 2018-07-21 15:57:49 -07:00
David Schmenk
1527eaac24 increse DHCP timeout and add consts for 16 bit JIT ZP values 2018-07-21 15:56:49 -07:00
David Schmenk
0b2caa6931 Clean up directory structure 2018-07-14 08:57:00 -07:00
David Schmenk
5ca23ee898 Add 800K disk image of PLASMA install 2018-07-13 09:49:22 -07:00
David Schmenk
0185e4e5f5 Add new benchmark 2018-07-03 12:03:22 -07:00
David Schmenk
4039c6a3ad Set theme jekyll-theme-hacker 2018-05-28 11:44:18 -07:00
David Schmenk
72533c9ad9 Refix ProDOS clock input buffer 2018-05-27 20:12:26 -07:00
David Schmenk
22f22a382b Fix comments for FETCHOP 2018-05-27 08:13:26 -07:00
David Schmenk
6f8d5810d5 Forgot to bring in fix for ProDOS clock from 1.x 2018-05-26 17:42:06 -07:00
David Schmenk
67829d96cd Make sure prefix is set for AUTORUN 2018-05-26 08:31:05 -07:00
David Schmenk
6320ff0d65
Merge pull request #47 from ZornsLemma/jit-zp-constants-2
Use constants for zero page addresses in JIT
2018-05-16 20:48:09 -07:00
Steven Flintham
872d3d40f9 Use constants for zero page addresses in JIT 2018-05-16 21:31:37 +01:00
Steven Flintham
f59401f767 Use constants for zero page addresses in JIT 2018-05-16 21:28:36 +01:00
David Schmenk
7b2d5df99d Let fileio get JITted again 2018-05-13 06:18:06 -07:00
David Schmenk
52baa5c016
Update README.md 2018-05-08 07:10:13 -07:00
David Schmenk
e6c81e8c8d Fix unhandled IRQ on IIGS 2018-05-07 10:22:28 -07:00
ZornsLemma
660334fd84
Merge pull request #13 from dschmenk/master
Merge latest upstream changes
2018-05-04 23:02:30 +01:00
David Schmenk
92300ab18a update images 2018-05-02 18:31:48 -07:00
David Schmenk
4628eacb78 Update test to use VLB INT 2018-05-02 18:28:39 -07:00
David Schmenk
b34eed7de0 Stop continuous events when mouse button pressed 2018-05-02 13:27:08 -07:00
David Schmenk
fcfb971df3 Generate mouse event when button status changes 2018-05-02 13:13:58 -07:00
David Schmenk
09246e0e40 Update images 2018-05-01 07:36:11 -07:00
David Schmenk
ac021d2120 Merge branch 'master' of https://github.com/dschmenk/PLASMA 2018-05-01 07:33:55 -07:00
David Schmenk
cdc51a5ba8 Rework disk images 2018-05-01 07:33:33 -07:00
David Schmenk
c04c57487e
Update Version 1.2.md 2018-04-29 19:24:01 -07:00
David Schmenk
a3223e8eac Merge branch 'master' of https://github.com/dschmenk/PLASMA 2018-04-29 19:21:31 -07:00
David Schmenk
bd3d3dbb6f Update version 2018-04-29 19:21:08 -07:00
David Schmenk
7d076e809f
Update README.md 2018-04-29 19:20:13 -07:00
David Schmenk
20756214e2 Update portable VM to current VM ops 2018-04-29 16:52:05 -07:00
David Schmenk
d7e0873c10 Change text file EOL strategy 2018-04-29 14:47:44 -07:00
David Schmenk
1ced9b1a1a fix paths and execute bits for batchfiles 2018-04-29 08:07:35 -07:00