PLASMA 123

3 posts / 0 new
Last post
resman's picture
Offline
Last seen: 10 months 14 hours ago
Joined: Feb 9 2006 - 12:41
Posts: 217
PLASMA 123

Some of you may remember my earlier work on PLASMA, the Proto Language AsSeMbler for Apple. Some of you may even know it will be the language of Lawless Legends (https://www.facebook.com/LawlessLegends). But now, with a flurry of previous concepts and new ideas developed for the LL implementation, comes PLASMA 123. Why 123? Because it runs on the Apple 1, ][, and ///. "No way!", you say. Way. And it runs the exact same PLASMA modules (user programs and libraries) on all three systems, without modification. That's the power of a VM. But this VM was designed specifically for the Apple II (both 64K and 128K fully utilized) and the Apple /// (uses extended memory addressing, up to 512K), from the beginning. The Apple 1 got a quick port because of the awesome CFFA1 (Rich may still have some left).

Now this is a pretty early announcement, but I thought some of the more technically adventurous may want to take a look and provide some feedback, or at least poke at it. You can find all the source and preliminary documentation on GitHub: https://github.com/dschmenk/PLASMA

There is a demo disk image in the GitHub project: DEMO.0.9.PO - it is a dual booting disk for the Apple II and III. It will boot into a simple command line prompt. The commands are:

c - catalog current path
c-path - catalog path
v - list on-line device volumes
ppath - set prefix to path
+file - run PLASMA file
-file - run SYSTEM file (Apple II only)

There are only two sample PLASMA programs to run on this image: HELLO and TEST. Run them, as documented above, with '+hello' and '+test'.

The HELLO module is pretty simple. The TEST module actually loads a module dependency, TESTLIB, as it runs. It is just my language test coverage module, using a bunch of different aspects of PLASMA. If you see a bunch of junk on the screen with HELLO on your Apple ][ or ][+, that means you don't have a lower-case adapter and I haven't forced the output on those machines to upper case yet.

So now we have the grand unifying environment for the 8 bit Apples. And it's fast. I developed some new interpreter technology for this version: about 3 times slower than native compiled 6502, but about 10 times as dense, and code doesn't take up precious main memory (128K Apple II or Apple III). You can still write ASM functions inside your PLASMA module for those times that speed is critical above all else.

Dave...

resman's picture
Offline
Last seen: 10 months 14 hours ago
Joined: Feb 9 2006 - 12:41
Posts: 217
Re: PLASMA 123

PLASMA development continues at a frantic pace. The VM and runtime are now quite stable on the ///, and as a result, I've had some time to really hack the ///. A new demo disk is available that looks just like the old one. Except this one has a version of ROD that runs on the ///. Definitely a real test for emulators: https://github.com/dschmenk/PLASMA/blob/master/DEMO.0.10.PO

Hmmm, how did I get 40x40 16 color lores graphics on the ///?

Dave...

Offline
Last seen: 4 years 4 months ago
Joined: Jan 24 2005 - 16:20
Posts: 356
Re: PLASMA 123

Hmmm, how did I get 40x40 16 color lores graphics on the ///?

Gee, I dunno... some kind of plasma infusion?

Log in or register to post comments