On Thu, 4 Jan 2018 22:42:59 +0000
Peter Percival <peterxpercival@hotmail.com> wrote:
> Does anybody know if PICAXE or BASIC Stamp can be programmed
> in assembler or Forth (or anything but BASIC!)?
Flash Forth looks robust, and the core occupies ~8KB (in the
Atmel chip we are using, PICs should be similar).
It supports incremental compilation on target, high
level interrupt handlers, and an assembler:
flashforth.com
To get going you will need to be able to flash the core into
your microchip processor.
Should be a good basis for exploring how micros work, and big
enough for large projects.
Jan Coombs
--
Reply by Wolfgang Strobl●January 7, 20182018-01-07
Am Thu, 4 Jan 2018 22:42:59 +0000 schrieb Peter Percival
<peterxpercival@hotmail.com>:
>Does anybody know if PICAXE or BASIC Stamp can be programmed in
>assembler or Forth (or anything but BASIC!)?
> On 1/5/2018 7:05 AM, Peter Percival wrote:
>> mike wrote:
>>> On 1/4/2018 2:42 PM, Peter Percival wrote:
>>>> Does anybody know if PICAXE or BASIC Stamp can be programmed in
>>>> assembler or Forth (or anything but BASIC!)?
>>>
And furthermore, if you want something completely different,
google 'MIT App inventor' and 'write' some code for your android
smartphone that might even be able to do something useful.
Reply by mike●January 6, 20182018-01-06
On 1/5/2018 7:05 AM, Peter Percival wrote:
> mike wrote:
>> On 1/4/2018 2:42 PM, Peter Percival wrote:
>>> Does anybody know if PICAXE or BASIC Stamp can be programmed in
>>> assembler or Forth (or anything but BASIC!)?
>>
>> I'd be interested to know what you NEED and CAN'T do in BASIC and the
>> BASIC stamp (note the word BASIC in the name) hardware
>> supports that you COULD do with greater return on investment in Forth?
>
> I accept that whatever BASIC Stamp can do, it can be made to do it using
> BASIC and nothing else will ever be _required_. But I am a hobbyist
> (hiss! boo!) and I want to program in something... um... more
> interesting than BASIC. I shall be doing it with PICAXE (not BASIC
> Stamp, it seems) just for fun. Fun? FUN? Are you mad Percival?
You can program your PC in any language you want. That could keep
you busy for an eternity.
The problem with a microcontroller is not the code...it's getting it
into the microcontroller and having some result come out.
Most effort goes into making that simpler, not more complex and lower level.
Do you really want to write the machine code that implements a USB port?
OR a serial port? Or a display device? Do you really want to build a
programmer that can put the bits into a blank device at the lowest level?
A standardized platform comes with lotsa pre-configured/pre-debugged
callable routines for all that.
One of the interesting things about PICBasic is that it's written in
PICBasic. I've actually modified the compiler to change the way
the serial port works for IR communication. It doesn't have to be boring.
Starting with something like an Arduino might maximize your
fun/(effort+$)ratio. And you might end up with some gizmo you can use.
https://playground.arduino.cc/CommonTopics/ForthOnArduinohttps://www.ebay.com/itm/USB-Nano-V3-0-ATMEGA328P-CH340G-5V-16M-Microcontroller-Board-Kit-For-Arduino/112162303620
Are we having fun yet?
>
> Maybe I'll get a BASIC Stamp as well, if Xmas hasn't completely emptied
> the piggy bank.
>
>> The answer to your question has to be yes. Program the chip
>> directly in binary.
>
Reply by John Mianowski●January 5, 20182018-01-05
On Thursday, January 4, 2018 at 4:43:07 PM UTC-6, Peter Percival wrote:
> Does anybody know if PICAXE or BASIC Stamp can be programmed in
> assembler or Forth (or anything but BASIC!)?
No, but the underlying Microchip PIC can. I'd just go that route if you're interested in Assembly or some compiled language.
Reply by Peter Percival●January 5, 20182018-01-05
mike wrote:
> On 1/4/2018 2:42 PM, Peter Percival wrote:
>> Does anybody know if PICAXE or BASIC Stamp can be programmed in
>> assembler or Forth (or anything but BASIC!)?
>
> I'd be interested to know what you NEED and CAN'T do in BASIC and the
> BASIC stamp (note the word BASIC in the name) hardware
> supports that you COULD do with greater return on investment in Forth?
I accept that whatever BASIC Stamp can do, it can be made to do it using
BASIC and nothing else will ever be _required_. But I am a hobbyist
(hiss! boo!) and I want to program in something... um... more
interesting than BASIC. I shall be doing it with PICAXE (not BASIC
Stamp, it seems) just for fun. Fun? FUN? Are you mad Percival?
Maybe I'll get a BASIC Stamp as well, if Xmas hasn't completely emptied
the piggy bank.
> The answer to your question has to be yes. Program the chip
> directly in binary.
--
Do, as a concession to my poor wits, Lord Darlington, just explain
to me what you really mean.
I think I had better not, Duchess. Nowadays to be intelligible is
to be found out. -- Oscar Wilde, Lady Windermere's Fan
Reply by mike●January 4, 20182018-01-04
On 1/4/2018 2:42 PM, Peter Percival wrote:
> Does anybody know if PICAXE or BASIC Stamp can be programmed in
> assembler or Forth (or anything but BASIC!)?
I'd be interested to know what you NEED and CAN'T do in BASIC and the
BASIC stamp (note the word BASIC in the name) hardware
supports that you COULD do with greater return on investment in Forth?
The answer to your question has to be yes. Program the chip
directly in binary.
Reply by Peter Percival●January 4, 20182018-01-04
Does anybody know if PICAXE or BASIC Stamp can be programmed in
assembler or Forth (or anything but BASIC!)?
--
--
Do, as a concession to my poor wits, Lord Darlington, just explain
to me what you really mean.
I think I had better not, Duchess. Nowadays to be intelligible is
to be found out. -- Oscar Wilde, Lady Windermere's Fan