Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:40 26 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : What can we get with the Mites?

Author Message
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 860
Posted: 10:45pm 26 Dec 2023
Copy link to clipboard 
Print this post

Away from my rig so can't test
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9116
Posted: 11:03pm 26 Dec 2023
Copy link to clipboard 
Print this post

0.009683 seconds MMB4W I7-12700
Edited 2023-12-27 09:03 by matherp
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 860
Posted: 02:23am 27 Dec 2023
Copy link to clipboard 
Print this post

It's a bit late/early but the F4 looks to be about 2091.725 milliseconds.

Will try H7 later
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 04:01am 27 Dec 2023
Copy link to clipboard 
Print this post

Hi All,

Running the code as listed causes errors so I changed all the variables like EM# to EM etc then it hit a CSNG(EM#) command that fails so I replaced that with a plain EM.

The program now runs but it reports 11.xxxxxx seconds even though it calculates it apparently immediately (no discernible delay).

Now it reports the result (incorrectly at 11seconds as it is) but errors with a STOP command.

What have I done wrong here? I expect a similar result to Peter's as i have an i7 11700

Kind Regards,

Mick



.
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 06:25am 27 Dec 2023
Copy link to clipboard 
Print this post

That got me too Mick. The timer is in milli-seconds. Use:

630 EM=(TIMER-SM)/1000


My MM2 takes a bit over 5 seconds.

Bill
Keep safe. Live long and prosper.
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 08:39am 27 Dec 2023
Copy link to clipboard 
Print this post

Line numbers and GOTOs?

Sigh.

John
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9116
Posted: 08:50am 27 Dec 2023
Copy link to clipboard 
Print this post

CMM2 G2

0.274076 seconds

PicoMite 378MHz

0.899028 seconds
Edited 2023-12-27 18:59 by matherp
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 860
Posted: 12:05pm 27 Dec 2023
Copy link to clipboard 
Print this post

  JohnS said  Line numbers and GOTOs?

Sigh.

John


Yeah that's messed up. As soon as I discovered QB4.5 (mid-80's), both those things were eliminated.
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 860
Posted: 01:53pm 27 Dec 2023
Copy link to clipboard 
Print this post

  matherp said  CMM2 G2

0.274076 seconds

PicoMite 378MHz

0.899028 seconds


Nice  

As much as it pains me to use FB, I might just join the group and post these results.

Can't tell what their DOSBox equates to.

In my QB4.5 days, it was something like 386+387 @ 33MHz (?)
 
Justplayin

Guru

Joined: 31/01/2014
Location: United States
Posts: 326
Posted: 04:22pm 27 Dec 2023
Copy link to clipboard 
Print this post

0.007813 seconds MMB4W  AMD Ryzen 9 7945HX
Edited 2023-12-28 02:27 by Justplayin
I am not a Mad Scientist...  It makes me happy inventing new ways to take over the world!!
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2914
Posted: 06:10pm 27 Dec 2023
Copy link to clipboard 
Print this post

Hi Bill, All,

  Turbo46 said  That got me too Mick. The timer is in milli-seconds. Use:

630 EM=(TIMER-SM)/1000




Ahh, thank you, so my PC with MMB4W runs the code in 0.011 seconds! That makes sense as I see no delay from starting till it finishes.

The power of the PC is amazing running interpreted basic. I also own a copy of Power Basic Console Compiler, I will see if I can get it to run on a modern PC ( if I can get the floppy disks onto my new pc, hmm that might be an issue)

Regards,

Mick (the Big one)






.
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 860
Posted: 09:25pm 27 Dec 2023
Copy link to clipboard 
Print this post

  bigmik said  Hi Bill, All,

I also own a copy of Power Basic Console Compiler



Fantastic product! Bob Zale kept it real! I seem to remember a standalone Hello World in 15K bytes  

I have PBCC4 and PBWIN8 on my DropBox. Might see if they'll install without p/w.

Edit: No-go. Don't have serial numbers. Have emailed PowerBasic, dunno if they'll cooperate.
Edited 2023-12-28 08:22 by PhenixRising
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6098
Posted: 01:50am 28 Dec 2023
Copy link to clipboard 
Print this post

I was worried until I realised that the test was only for 50 places.

As a comparison to show that better algorithms can compensate for hardware, try this from a few years ago

BlueberryPi.zip
On MMB4W, 121mS for 1000 digits compared with 6 seconds.
It's not all due to the linenumbers!

Jim
VK7JH
MMedit   MMBasic Help
 
Justplayin

Guru

Joined: 31/01/2014
Location: United States
Posts: 326
Posted: 03:04am 28 Dec 2023
Copy link to clipboard 
Print this post

Okay, with the BlueberryPi.bas test with MMB4W I get 41 mS for a 1000 digits on my new laptop.

--Curtis
I am not a Mad Scientist...  It makes me happy inventing new ways to take over the world!!
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024