mmbutler
04-20-06, 06:57 PM
Hi. I got pretty well acquainted with the FORTH 2x4 68HC11 line back in the early 1990s. I thought (expected) that I'd have an easy time transitioning to the FORTH NMIN-12A256B. I've reached the point where I am stuck and have to start asking questions.
1) I understand New Micros' decision to hand off as much as possible in the way of tech literature to Motorola/Freescale. I've tried to make sense out of the documentation I've been able to get, but I'm still having problems.
I have some questions about flash memory, EEPROM, timers and the like. Some are clearly FORTH-specific, and I'll ask them here. But is this the right place to ask about lowlevel stuff that might impinge on hardware (as many true FORTH apps must), or is there a specific NMIN-12A256B support area?
2) I'm not sure I know how to work the FORTH assembler for this particular CPU. In parallel with this, I also don't understand the register assignment model, and consequently can't begin to write FORTH assembler code that really works.
Needless to say, I'm at a loss for writing code that could successfully handle interrupts. There are a few snippets and hints scattered about in various places in what seems to be rather sketchy NMI documentation.
One hint suggests that handling interrupts directly in FORTH is hard. OK, that figures; I can understand that reentrancy is hard to guarantee for a virtual machine without a lot of enable/disable interrupt wrappers that could hose up efficiency for everyday code.
But that puts me back needing to grok assembler and details of the FORTH implementation.
Can you point me to more complete documentation, or to a decent thread on the subject, here or elsewhere?
Thanks...
Mike
1) I understand New Micros' decision to hand off as much as possible in the way of tech literature to Motorola/Freescale. I've tried to make sense out of the documentation I've been able to get, but I'm still having problems.
I have some questions about flash memory, EEPROM, timers and the like. Some are clearly FORTH-specific, and I'll ask them here. But is this the right place to ask about lowlevel stuff that might impinge on hardware (as many true FORTH apps must), or is there a specific NMIN-12A256B support area?
2) I'm not sure I know how to work the FORTH assembler for this particular CPU. In parallel with this, I also don't understand the register assignment model, and consequently can't begin to write FORTH assembler code that really works.
Needless to say, I'm at a loss for writing code that could successfully handle interrupts. There are a few snippets and hints scattered about in various places in what seems to be rather sketchy NMI documentation.
One hint suggests that handling interrupts directly in FORTH is hard. OK, that figures; I can understand that reentrancy is hard to guarantee for a virtual machine without a lot of enable/disable interrupt wrappers that could hose up efficiency for everyday code.
But that puts me back needing to grok assembler and details of the FORTH implementation.
Can you point me to more complete documentation, or to a decent thread on the subject, here or elsewhere?
Thanks...
Mike