Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:18 22 Aug 2025 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 : Price Watch : AeroSharp 3kw - Hallet Cove S.A. $20 -Gumtree

Author Message
disco4now

Guru

Joined: 18/12/2014
Location: Australia
Posts: 1013
Posted: 12:52pm 19 Jun 2020
Copy link to clipboard 
Print this post

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░         WORK IN PROGRESS H7  
░░                Please don't reply to thread       ░░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

ArmmiteFH743 V5.08.00 Beta Releases
Armmite H743 5.08.00 Beta Releases
Previous H7 thread here




Picomite Manual Feedback
Predefined Read Only Variables (page 84)
MM.CMDLINE$  is not now an MMBasic variable and cannot be ERASEd, suggest this description.

MM.CMDLINE$
This function returns any command line arguments passed to the
current program when an MMBasic program runs.
see RUN and * commands for details.
The function will return an empty string for programs run from the editor or using OPTION AUTORUN.

Line command update

LINE  x1, y1, x2, y2 [,[-] LW [, C]]
On an attached LCD display draws a line starting at the coordinates ‘x1’ and ‘y1’ and ending at ‘x2’ and ‘y2’.
‘LW’ is the line’s width. It defaults to 1 if not specified. For lines that have a defined width and the x1 and y1 coordinate define the top-left pixel of the thick line. i.e. the line is to the right of the specified position or below it on the screen.
If width is given as a -ve value then width will apply to lines in all directions and they are centred on the given origin and destination coordinates.
‘C’ is an integer representing the colour and defaults to the current foreground colour.
All parameters can be expressed as arrays and the software will plot the number of lines as determined by the dimensions of the smallest array. 'x1', 'y1', 'x2', and 'y2' must all be arrays or all be single variables /constants otherwise an error will be generated.  'lw' and 'c' can be either arrays or single variables/constants.




DIM command

...
The LENGTH keyword can also be used with non array string variables , however variables  with length  > 15 (RP2450) or > 8 (RP2040) characters will always take 256 bytes of memory and will not save any memory.



Array command not in bookmarks
MATH(BASE64 ..  not in bookmarks
MATH(RAND)   .. PICO2 is true random number ???



Things to check for 16bit tokens
cmd_if as per RC24
SUB saved to library END IF becomes END
CFUNCTIONs and CSUBs in library
IF ELSE THEN fix from email (also in RC24)
----------------------------------

https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=17777#235710
No I haven't. I've been sneaky and implemented a single hidden function to process all MM. functions. This now leave me with a few free function slots.

Functions MM.HRES, MM.VRES, MM.VER, M.I2C, MM.FONTHEIGHT, MM.FONTWIDTH, MM.PS2, MM.HPOS, MM.VPOS, MM.ONEWIRE, MM.Errno, MM.ErrMsg$, MM.WATCHDOG, MM.DEVICE$
are now all implemented as written and none of them are converted to MM.INFO calls by the pre-processor

Have a look on github at fun_tilde in functions.c, llist in commands.c, changes to str_replace (fixes a bug where replacements could happen incorrectly) and tokenise in MMBasic.c. I'm going to add MM.CMDLINE$ and the MQTT MM.s as well in the next RC which will get rid of the various background variable creation code that current supports them.





REMEMBER
--------
IPS_4_16 for the OTM8009A may not be complete. LCDAttrib not used everywhere.
MM.DISPLAY to returns 0,1   MM.INFO(CONSOLE) could go.


TO DO /CHECK:
------
multi line comments /*   */

Armmite H7 5.08.00 Beta 2 - Details


==============================================================================

Benchmark update

                BM1     BM2    BM3      BM4     BM5     BM6     BM7     BM8
ABC 800 single   0.9     1.8    6.0      5.9     6.3    11.6    19.6     2.9
ABC 800 double   1.2     2.2    10.0    10.6    11.0    17.8    26.4    14.4
IBM PC           1.5     5.2    12.1    12.6    13.6    23.5    37.4     3.5
Apple III        1.7     7.2    13.5    14.5    16.0    27.0    42.5     7.5
VIC-20           1.4     8.3    15.5    17.1    18.3    27.2    42.7     9.9
ZX81 "fastmode"  4.5     6.9    16.4    15.8    18.6    49.7    68.5    22.9

Maximite         0.016   0.144   0.196   0.205   0.354   0.512   0.721   0.310
Maximite w. #s   0.016   0.131   0.193   0.194   0.245   0.393   0.582   0.241
Maximite w/o #s  0.016   0.111   0.173   0.173   0.192   0.336   0.525   0.220
MicroMite 40MHz  0.028   0.18    0.285   0.289   0.644   0.892   1.346   0.376
MicroMite 48MHz  0.023   0.15    0.237   0.24    0.536   0.744   1.121   0.313
MM+ MX470 120MHz 0.013   0.082   0.135   0.135   0.265   0.380   0.597   0.174
MMX 198MHz       0.006   0.045   0.07    0.08    0.141   0.201   0.287   0.126
Picromite ZeroW  0.014   0.058   0.093   0.102   0.184   0.298   0.354   0.127
Armmite H7       0.003   0.023   0.038   0.042   0.067   0.098   0.146   0.065
Armmite H7 480** 0.003   0.023   0.038   0.042   0.067   0.098   0.146   0.065
ArmMite F4       0.011   0.079   0.14    0.149   0.249   0.354   0.528   0.257
ArmMite F4    ** 0.011   0.079   0.14    0.149   0.249   0.354   0.528   0.257
ArmMite F4xGT ** 0.0098  0.0643  0.1143  0.1138  0.2088  0.2928  0.4347  0.2388
MMBASIC DOS      0.0002  0.0017  0.0028  0.0028  0.0073  0.0092  0.0117  0.0058
CMM2             0.00176 0.0118  0.01903 0.01728 0.03611 0.05062 0.07582 0.02851
PicoMite         0.0166  0.1096  0.1800  0.1840  0.3325  0.4715  0.6688  0.3193
PicoMite V50800  0.0132  0.0969  0.1636  0.1641  0.2866  0.4051  0.5821  0.2824  126MHz
PicoMite V50800  0.0046  0.0338  0.0571  0.0574  0.0998  0.1410  0.2030  0.0974  378MHz
Linux            0.0000  0.0020  0.0040  0.0040  0.0080  0.0130  0.0190  0.0070

Other Recent Basics
ByPic MX170 40M  0.001   0.010   0.023   0.020   0.027   0.041   0.080   0.043
BBC_V Pi Zero    0.0001  0.0007  0.0016  0.0014  0.0015  0.0030  0.0030  0.0036

C-Language
Arduino UNO      0.010   0.010   0.058   0.043   0.043   0.043   0.045   0.284
Arduino DUE      0.003   0.003  
Edited 2025-08-21 19:42 by disco4now
F4 H7FotSF4xGT
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025