Search found 988 matches

by basicchip
Wed Sep 04, 2019 7:44 pm
Forum: Kitchen sink
Topic: new website
Replies: 1
Views: 601

Re: new website

I'm not sure what kind of browser you are using, but initially read as a showcase of what we have done for people, seems like you were looking at https://www.coridium.us/coridium/other/consult Consulting not https://www.coridium.us/coridium/shop/boards Boards which has all the current boards for sal...
by basicchip
Sat Aug 31, 2019 11:26 pm
Forum: Serial Communication
Topic: USB vs. UART communication
Replies: 2
Views: 962

Re: USB vs. UART communication

When you get to 95 feet, simple TTL might not cut it, too noisy.

But RS-485 differential transceivers would handle it and more.
by basicchip
Sat Aug 31, 2019 7:39 pm
Forum: Software issues
Topic: BT/tclterm function
Replies: 1
Views: 691

Re: BT/tclterm function

That button starts out as RESTART when you load BASICtools (BT). At that point it will launch a program previously saved in the ARM. If you choose a program to compile it will switch to RUN, which will compile and load and run the program. It then reverts to RESTART which will again restart the prog...
by basicchip
Sat Aug 31, 2019 2:53 am
Forum: Software issues
Topic: Multi-tasking
Replies: 8
Views: 2104

Re: Multi-tasking

Not seeing that here with the stock Multitask example. But looks like another interrupt active, though I am surprise it would act quite like that.
by basicchip
Thu Aug 29, 2019 11:29 pm
Forum: Kitchen sink
Topic: Simple Benchmarks
Replies: 7
Views: 2351

Re: Simple Benchmarks

Got a couple micromites, as I was curious about performance on those interpreters. 48 MHz PIC32MX170F256B which according to Coremark are a bit faster than the same MHz ARM Cortex M0. float test -- 23.606 seconds integer test -- 81.992 seconds While it a cute solution if you have a VT100 lying aroun...
by basicchip
Thu Aug 29, 2019 4:20 pm
Forum: Software issues
Topic: Timing Loop Variations
Replies: 7
Views: 1313

Re: Timing Loop Variations

while x x=x-1 loop is the fastest (an IF test and EXIT lengthens the loop. There will also be variations depending on the size of the constant. ARM assembly allows 8 bit values to be loaded in one instruction, some constants can be done by combining shifted constants. For longer one a PC relative l...
by basicchip
Mon Aug 19, 2019 4:22 pm
Forum: Kitchen sink
Topic: Tool for exploring timing of ARMbasic Code Constructs
Replies: 1
Views: 1335

Re: Tool for exploring timing of ARMbasic Code Constructs

When I have wanted to measure the time of some function, I usually just to a simple loop i=1000000 while i ' insert code to be tested here i=i-1 loop while loops counting down are the most efficient in BASIC, and therefore the least overhead. On most of the 50 MHz parts this loop takes around 300 ms...
by basicchip
Mon Aug 19, 2019 2:55 pm
Forum: Kitchen sink
Topic: Simple Benchmarks
Replies: 7
Views: 2351

Re: Simple Benchmarks

I found a PC BASIC that is compiled rather than interpreted. It is QB64 and compiles to 64 bit op codes, it comes it about 10x faster than the PC-ARMbasic emulator.

Added that to the benchmarks blog table. https://www.coridium.us/coridium/blog/some-benchmarks
by basicchip
Sat Aug 17, 2019 11:00 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 3380

Re: BASIC for Arduino ARM

Got the video almost ready for the Kickstart campaign

https://www.youtube.com/watch?v=4ti43rCeyVc
by basicchip
Wed Aug 14, 2019 10:45 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 3380

Re: BASIC for Arduino ARM

Support files for SAMD21

register definitions --
SAMD21.bas
(46.41 KiB) Downloaded 116 times
pin naming files -- seems like Arduino likes renaming which we find difficult to support in firmware, so #include files
pins_mkrzero.bas
(9.08 KiB) Downloaded 97 times
pins_mzero.bas
(7.8 KiB) Downloaded 91 times
pins_zero.bas
(10.95 KiB) Downloaded 101 times
Example files
SAM_Timer.bas
(3.7 KiB) Downloaded 95 times