6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Nov 24, 2024 1:43 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: M-code
PostPosted: Thu Sep 30, 2010 1:56 am 
Offline
User avatar

Joined: Thu Mar 11, 2004 7:42 am
Posts: 362
Those of you who enjoy esoteric programming languages may be interested to know that there is now an esoteric language called M-code that claims to have taken inspiration from 6502 assembly.

The documentation is still a little thin at this point (it's a relatively new language, and esoteric language documentation is often terse anyway, though there are exceptions), but the three registers looks like the most direct 6502 influence.

Anyway, you can check it out at:

http://www.esolangs.org/wiki/M-code


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 30, 2010 8:32 am 
Offline
User avatar

Joined: Tue Mar 02, 2004 8:55 am
Posts: 996
Location: Berkshire, UK
Why can't these people just learn APL and be done with it.

_________________
Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 30, 2010 9:20 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8546
Location: Southern California
I thought Mcode was just a generic term for any machine language. The HP-41 hand-held calculator/computer of the 1980's offered Mcode (and called it exactly that) for users who wanted to go that deep. I almost got there, but not quite. One of the modules (the ZENROM) plugged into my HP-41cx has tools for directly keying in synthetic instructions, and also an assembler. I got Ken Emery's book, "HP-41 Mcode for Beginners" but didn't get very far into it and never did any real Mcode programming. There's a ton of info on it on the 12GB DVD set (1400 documents, no video) offered by the HP Museum website. The entire listing of the "mainframe's" and other ROMs is available not just for examples but so you can use the various routines' entry points in your Mcode programming. There are quite a few experts at Mcode on the very active HP Museum forum, and a couple are making and selling new modules for the HP-41 with large memory spaces and microSD cards and USB.

Part of my justification in mentioning it is what I put in one of my project pages here: the inspiration the HP-41 and HP-71 handhelds have given me for my 6502 projects. Both have expandable operating systems, file chains in non-volatile RAM, expansion ports, the interface loop (HP-IL), and tons of other features that serve as outstanding models of engineering.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Sep 30, 2010 3:42 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
BitWise wrote:
Why can't these people just learn APL and be done with it.


Because then it's not a useless language. APL has real-world applications that directly effects all of us, as it's used a lot in the finance industry, and I'm sure other places as well. J, K, and Q are contemporary (and enhanced) realizations of the APL concept.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Oct 02, 2010 8:57 pm 
Offline
User avatar

Joined: Thu Mar 11, 2004 7:42 am
Posts: 362
BitWise wrote:
Why can't these people just learn APL and be done with it.


Why learn APL when there's COBOL on Cogs?

http://coboloncogs.org/

(Yes, I am easily amused.)

GARTHWILSON wrote:
I thought Mcode was just a generic term for any machine language.


Originality of name is not always a high priority in esoteric programming languages. In fact, there are several esoteric languages whose name amounts to "I'll think up a name later...maybe".


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Oct 02, 2010 10:21 pm 
Offline

Joined: Sat Jan 04, 2003 10:03 pm
Posts: 1706
dclxvi wrote:
Why learn APL when there's COBOL on Cogs?


Classic! I know a Ruby bigot who needs to see this site! Thanks for the laugh!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: