Forth (Re: disassembling SamForth)

2012-12-31 Thread Marcos Cruz
En/Je/On 2012-12-31 13:13, Thomas Harte escribió / skribis / wrote : > Would it be fair to describe Forth as the procedural analogue of Smalltalk? I don't know Smalltalk. I think I read a comparation some time ago. AFAIK they internally work quite differently. > I'm thinking specifically about s

Re: disassembling SamForth

2012-12-31 Thread Thomas Harte
As a slightly younger person (relative to the mailing list for a niche 80s micro, anyway) I'd no concept of the syntax or semantics of Forth until I read your site and a few sources on from that. Would it be fair to describe Forth as the procedural analogue of Smalltalk? I'm thinking specifically

Re: disassembling SamForth

2012-12-26 Thread Marcos Cruz
En/Je/On 2012-12-23 16:46, Marcos Cruz escribió / skribis / wrote : > I'll inform again only when > the first dissasambled code is available. The first results: http://programandala.net/en.program.samforth http://programandala.net/en.program.samforth2z80dasm Marcos -- http://programandala.net

Re: disassembling SamForth

2012-12-24 Thread Marcos Cruz
En/Je/On 2012-12-24 14:48, da...@properbastard.co.uk escribió / skribis / wrote : > I don't even remember a SAM version of FORTH! Forth isn't main stream, and SAM Coupé isn't popular neither. Logically their intersection has to be almost invisible [:-)]. http://www.worldofsam.org/node/597 The

Re: disassembling SamForth

2012-12-24 Thread david
Quoting Marcos Cruz : I don't even remember a SAM version of FORTH! Must have missed this! En/Je/On 2012-12-23 00:50, Marcos Cruz escribió / skribis / wrote : Then I wondered where the "immediate" and "smudge" bits were stored... I found out the "immediate" bit: it's the 7th bit of the byt

Re: disassembling SamForth

2012-12-23 Thread Marcos Cruz
En/Je/On 2012-12-23 00:50, Marcos Cruz escribió / skribis / wrote : > Then I wondered where the "immediate" and "smudge" bits > were stored... I found out the "immediate" bit: it's the 7th bit of the byte that holds the name length. The task progresses faster than expected. I'll inform again onl

Re: disassembling SamForth

2012-12-22 Thread Marcos Cruz
En/Je/On 2012-12-22 00:30, Marcos Cruz escribió / skribis / wrote : > For John Avis: > > Do you remember the meaning of the two bytes before the name length in > the word header I found out: It's the address of the previous word's name in the dictionary. Then I wondered where the "immediate" an

disassembling SamForth

2012-12-21 Thread Marcos Cruz
Hi all, SamForth seems a clever implementation of the language. Forth words are direct Z80 rutines (contrary to many other 8-bit implementations, the Z80 stack is used as Forth return stack and the Forth data stack is handled apart), thus Z80 code can be easily mixed with Forth code. Unfortunatel