Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #226
| From | David Schmenk <dschmenk@gmail.com> |
|---|---|
| Newsgroups | comp.sys.apple2.programmer |
| Subject | Re: PLASMA: Proto Language ASsembler for Apple |
| Date | 2012-03-11 15:22 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <685810.2548.1331504536455.JavaMail.geo-discussion-forums@pbij6> (permalink) |
| References | <dog_cow-1331053365@macgui.com> <dog_cow-1331226835@macgui.com> <jjar2q$6me$1@dont-email.me> <dog_cow-1331232546@macgui.com> <14174374.29.1331261287601.JavaMail.geo-discussion-forums@pbcpw7> |
Not to beat a subject to death, but I thought some of you might like to actually play with a PLASMA IDE on your Apple II. I've updated the demo disk on my website: http://schmenk.is-a-geek.com/tarfiles/plasma01.dsk I ported the compiler itself to PLASMA and compiled it for ProDOS. Then, I combined the editor written earlier with the compiler and had it emit code right into a memory buffer instead of a formatted text file. After fixing some porting typos and massaging the memory map to get everything to fit, it all came together. Some caveats: everything is bytecode in order to get it all to fit, so compiling is slow. Only the screen drawing routine and the text buffer allocator are in threaded code. Patience is required when compiling, but it will get through it. There is about 12K of source code buffer space and 4K of compiled code and data. There is no importing of other files. Pretty much a playground for trying things out is all you get. And it might not be real stable - even a correct program may make the environment unstable. So save often. The compiler only generates byte code regardless of the definition type used. When you boot the floppy, you will be confronted with a blank screen and a blinking '+' cursor. You can either start writing code or press 'ESC' to enter command mode. 'C' will catalog the disk. Type 'R HELLO.PLA' to load the classic Hello World. Type 'X' to compile and execute the program in memory. Press '<RETURN>' to enter back into the editor. 'Q' will exit back to ProDOS from command mode. EDIT.README is a file you can load to understand all the editor commands. You can load and compile all the other .PLA files on the disk with the exception of HGR.PLA. The hires graphics pages are completely used by the IDE. Any attempt to access those buffers will crash the system. ProDOS buffer space is also limited. Look at CAT.PLA for safe buffer locations. You can call any of the ROM routines, but most BASIC routines can't be called because of zero page usage. Enjoy! Dave...
Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
PLASMA: Proto Language ASsembler for Apple dog_cow@macgui.com (D Finnigan) - 2012-03-06 17:02 +0000
Re: PLASMA: Proto Language ASsembler for Apple BLuRry <brendan.robert@gmail.com> - 2012-03-07 20:05 -0800
Re: PLASMA: Proto Language ASsembler for Apple dog_cow@macgui.com (D Finnigan) - 2012-03-08 17:13 +0000
Re: PLASMA: Proto Language ASsembler for Apple David Schmidt <schmidtd@my-deja.com> - 2012-03-08 12:42 -0500
Re: PLASMA: Proto Language ASsembler for Apple dog_cow@macgui.com (D Finnigan) - 2012-03-08 18:49 +0000
Re: PLASMA: Proto Language ASsembler for Apple David Schmenk <dschmenk@gmail.com> - 2012-03-08 18:48 -0800
Re: PLASMA: Proto Language ASsembler for Apple David Schmenk <dschmenk@gmail.com> - 2012-03-11 15:22 -0700
Re: PLASMA: Proto Language ASsembler for Apple dog_cow@macgui.com (D Finnigan) - 2012-03-12 21:20 +0000
Re: PLASMA: Proto Language ASsembler for Apple David Schmenk <dschmenk@gmail.com> - 2012-03-20 19:28 -0700
csiph-web