Kirk Meyer Announces ChASM Programming Language
Posted by Nick on 9 September 1999, 01:03 GMT
Kirk Meyer has announced that he is creating a new programming language for the Z80 to assist him in his projects. ChASM, so called because it is a mix between the readability and ease of C and the power of assembly, has its own compiler. The advantage is that the source code becomes much more readable and easier to program without losing any speed. At first only TI-86 programs will be supported, although it will not take much work in order to make it work for all Z80 calculators. The expected release date is around the first of October. The ChASM code is shown at the left, and the code that would normally be used in assembly is commented out at the right. Spaces are generally optional but make the code easier to read. Also note that it is proper to use either the C form of de-- or the slightly more readable form, de = de - 1. Also note that ChASM is really just an easier-to-use Z80 assembler, and thus expressions such as de = hl - 1 are not allowed. hl = _plotSScreen | ; ld hl,_plotSScreen | de = hl | ; ld d,h \ ld e,l | de = de - 1 | ; dec de | bc = 1024 - 1 | ; ld bc,1024-1 | copy.fwd | ; ldir | | | a = [_plotSScreen] | ; ld a,(_plotSScreen) | rot >> a | ; rrca | a -> [6] | ; out (6),a | a ? 2 | ; cp 2 | if >= goto label | ; jr nc,label |
|
|
|
The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.
|
|
Re: Kirk Meyer Announces ChASM Programming Language
|
Philip Seguin
(Web Page)
|
Hey Kirk.. When you finishing that pretty print thing? The 86 which is a 89? You give up on that? I wish you wouldn't get my hopes up like that, then start something new. (Unless that was someone else making that) if so, just ignore me and call me dumb.
|
|
9 September 1999, 03:29 GMT
|
|
Re: Kirk Meyer Announces ChASM Programming Language
|
Floyd Godfrey
|
Hey man, make ChAsm for the 85 also. I know its ancient, but why buy an 86 when you have one that is practially the same. I hated the older lanuage. Too hard to get the concept. But I am willing to test ChASM on the 85 if ya want. Just drop me an email. I cant convert it or anything cuz I dont know shit about building a compiler.
|
|
9 September 1999, 21:43 GMT
|
|
Re: Kirk Meyer Announces ChASM Programming Language
|
Stuart Bergstrom
|
Would it be possible/practical to do this for 68k calcs? I've found asm pretty hard but I'd love to try C on my 89. Anyway, good idea and nice job making it (or so it looks ;-) ). Good luck in your other endeavors.
|
|
10 September 1999, 21:35 GMT
|
|
Re: Kirk Meyer Announces ChASM Programming Language
|
taliessin penfound
|
Seriously, though, somebody should make a powerful yet easy language such as QBasic, and make an optimizing z80 compiler for qb code. Any takers? I didnt think so.
|
|
11 September 1999, 20:53 GMT
|
|
ChASM... ChAOS... Hmm...
|
PaSTE
(Web Page)
|
Man, I should have followed up on my origional idea for ChASM when I had it....
Just another file in the "Great ideas that Phil had but were never implemented." I'm glad someone thought of it, though. If I were to try making my own language, it'd never be done. Oh well.
Now if someone would just get my ChAOS idea off the ground with this new Flash ROM programming business...
|
|
11 September 1999, 21:32 GMT
|
|
1 2
You can change the number of comments per page in Account Preferences.
|