Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:58 02 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 : Microcontroller and PC projects : Micromite V5.04.09 Beta 19

     Page 1 of 5    
Author Message
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 06:36am 28 Apr 2018
Copy link to clipboard 
Print this post

Another beta version of the Micromite firmware (beta 19) for anyone who would like to experiment:
http://geoffg.net/Downloads/Micromite/Micromite_V5.04.09_Beta.zip

This fixes the USB/I2C issue reported in another thread plus the SELECT CASE issue when using a negative constant. It also includes the other changes introduced in previous betas. For example, the fix for issues with corrupted 5" displays, the ability to use display drivers written in BASIC, STATIC variables, etc.

If no more issues are discovered over the next few weeks I will turn this into a final release.

Geoff Edited by Geoffg 2018-04-29
Geoff Graham - http://geoffg.net
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2442
Posted: 07:56am 28 Apr 2018
Copy link to clipboard 
Print this post

thanks very much geoff, the new beta passed the usual quick tests i run

am not sure if i have suggested this before, but...

there are a few redundant and duplicate keywords in mmbasic, which could quite easily be eliminated through making on-the-fly substitutions in the editor's 'save' function. for example, we have TEMPR and DS18B20. it seems that the editor, when saving to flash, could save these as the same token, with the only loss being that when loaded back into the editor only one (or other) of the strings would be reinstated. ie, DS18B20 would be changed to TEMPR.

off the top of my head, there is:
DS18B20 superceeded by TEMPR
TRON superceeded by TRACE ON (2 tokens)
TROFF superceeded by TRACE OFF (2 tokens)
SPC superceeded by SPACE$

and of course the abomination of:
COLOR that our american friends use instead of COLOUR
(OPTION BADSPELLING ON|OFF could be added to compensate if there were too many protests)

the (small) reduction in size of the token table and speed increase would likely balance out against the added code in the editor to do the substitutions. plus a few extra tokens would be freed up that may allow some savings in flash elsewhere.


just an idea...


cheers,
rob :-)
Edited by robert.rozee 2018-04-29
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 07:59am 28 Apr 2018
Copy link to clipboard 
Print this post

Bloody excellent.
Thanks Rob
Geoff Graham - http://geoffg.net
 
sagt3k

Guru

Joined: 01/02/2015
Location: Italy
Posts: 313
Posted: 08:08am 28 Apr 2018
Copy link to clipboard 
Print this post

Hi Geoff
Thanks, now I will try I2C/USB...

Edited: after hours of running the problem, NO problem found .
Thank you GEOFF!!

Thanks
AntonioEdited by sagt3k 2018-04-30
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 04:12pm 28 Apr 2018
Copy link to clipboard 
Print this post

  Quote  off the top of my head, there is:
DS18B20 superceeded by TEMPR
TRON superceeded by TRACE ON (2 tokens)
TROFF superceeded by TRACE OFF (2 tokens)
SPC superceeded by SPACE$


I agree that these should be removed from the language.

  Quote  
and of course the abomination of:
COLOR that our american friends use instead of COLOUR


I strongly disagree with this. If the mites are used in education, then they should be correctly localized.

Perhaps allow the recompilation for American English?


Micromites and Maximites! - Beginning Maximite
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 07:26pm 28 Apr 2018
Copy link to clipboard 
Print this post

A computer language is never localized. That would be absurd.
What's next. A Polish localized version, so you have "KOLOR".
The manual will tell what the right spelling for the keyword that you want to use is.
Anything else is a syntax error.


Edited by MicroBlocks 2018-04-30
Microblocks. Build with logic.
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1593
Posted: 07:47pm 28 Apr 2018
Copy link to clipboard 
Print this post

deleted!
Edited by twofingers 2018-04-30
causality ≠ correlation ≠ coincidence
 
Paul_L
Guru

Joined: 03/03/2016
Location: United States
Posts: 769
Posted: 02:54am 29 Apr 2018
Copy link to clipboard 
Print this post

  robert.rozee said  and of course the abomination of:
COLOR that our american friends use instead of COLOUR
(OPTION BADSPELLING ON|OFF could be added to compensate if there were too many protests)

just an idea...

cheers,
rob :-)

Hmmpppf! Just because youse guys are upside down you want all of us to stand on our heads! The question is will BADSPELLING ON equate to driving on the right side of the road or the wrong side?

Paul in NY
 
cosmic frog
Guru

Joined: 09/02/2012
Location: United Kingdom
Posts: 302
Posted: 07:30am 29 Apr 2018
Copy link to clipboard 
Print this post

Although I'm from the UK and spell it "Colour" I've always been used to spelling it "Color" when programming computers.
It seems most BASICs I've used always use the US way of spelling it.

Dave.
 
Andrew_G
Guru

Joined: 18/10/2016
Location: Australia
Posts: 871
Posted: 08:45am 29 Apr 2018
Copy link to clipboard 
Print this post

Evening all,

  Quote  correctly localized


in the spirit of the thread don't you mean "localised"?

Cheers, Andrew
 
isochronic
Guru

Joined: 21/01/2012
Location: Australia
Posts: 689
Posted: 11:34am 29 Apr 2018
Copy link to clipboard 
Print this post

You will have to stop using ASCII and use BSCII instead..
lets see now.. logarithms maybe..
 
Quazee137

Guru

Joined: 07/08/2016
Location: United States
Posts: 593
Posted: 12:53pm 29 Apr 2018
Copy link to clipboard 
Print this post


Ill use what ever the spelling the user manual has. It's still alot
easier using MMBasic than some of of the other languages for writing code.

Remember all the different early micro's assembly language mnemonics and how

mov a,b means moving the content of b (source) to a (destination)
but you did not move it. it was copied.

ld a,b means load content of b to a

Yea the Z80 was fun with the index regs. not to hard to under stand.

but the 68K WOW that took time and even then I had to look up things
all the time.

I very happy to not work at the lowest level of coding any more.
 
bigmik

Guru

Joined: 20/06/2011
Location: Australia
Posts: 2950
Posted: 11:14pm 29 Apr 2018
Copy link to clipboard 
Print this post

Hi All,

  Quazee137 said  
Yea the Z80 was fun with the index regs. not to hard to under stand.


I remember the Z80.. Don and I had many a night playing with them..

Here is an early Prototype Z80





Regards,

Mick

PS. Happy Birthday Don

Edited by bigmik 2018-05-01
Mick's uMite Stuff can be found >>> HERE (Kindly hosted by Dontronics) <<<
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 12:33am 30 Apr 2018
Copy link to clipboard 
Print this post

LOL!!!

On spelling etc, Atari BASIC that I first learnt used COLOR - that did not bother me at the time. We knew it was 'Wrong spelling' from our point of view, but we also knew it was the correct spelling for USA, and the Atari was an American product.

By the same token, as we spell it COLOUR, our American friends should return the favour.

You guys are used to deleting the odd letter here and there....

[Quote=Eddie Izzard]
You say 'Erbs' and we say 'HERBS' because there's a -ing H in it.
[/Quote]


Smoke makes things work. When the smoke gets out, it stops!
 
Lou

Senior Member

Joined: 01/02/2014
Location: United States
Posts: 229
Posted: 04:29am 30 Apr 2018
Copy link to clipboard 
Print this post


Who was it (Oscar Wilde ?) who said speaking of the US and England:
"We are two countries separated by a common language".
This is great fun. I don't care, Geoff - your choice. Pick one and use it !!

Lou

Microcontrollers - the other white meat
 
CaptainBoing

Guru

Joined: 07/09/2016
Location: United Kingdom
Posts: 2170
Posted: 05:59am 30 Apr 2018
Copy link to clipboard 
Print this post

LOL...

G.B. Shaw wrote “England and America are two countries separated by the same language.” but sources vary a bit.

All this reminds me of the open letter to America that John Cleese wrote (as a piece of humoUr chaps!) in the debacle that followed the Bush/Gore election... it is still worth a read and touches on pronunciation quite a bit... but hate to tell you, "Aluminum" is arguably correct as it was the final version of it's name published by its discoverer, being "corrected" by editors four years later to bring it in line with other "Iums" (sodium, cadmium etc...)

Personally, I don't give a wet slap - it's just some words to learn.

enjoy

Revocation of Indepence

  Quote  
Word Origin and History for aluminum
n.
1812, coined by English chemist Sir Humphry Davy (1778-1829), from alumina, name given 18c. to aluminum oxide, from Latin alumen "alum" (see alum ). Davy originally called it alumium (1808), then amended this to aluminum, which remains the U.S. word, but British editors in 1812 further amended it to aluminium, the modern preferred British form, to better harmonize with other metallic element names ( sodium, potassium, etc.).
Edited by CaptainBoing 2018-05-01
 
Lou

Senior Member

Joined: 01/02/2014
Location: United States
Posts: 229
Posted: 05:06pm 30 Apr 2018
Copy link to clipboard 
Print this post

CaptainBoing,

  Quote  G.B. Shaw wrote “England and America are two countries separated by the same language.” but sources vary a bit.

I have even heard that quote attributed to Churchill but I know that's not right.

On aluminum I know the pronunciation is radically different between countries.

EDIT: I just read your Revocation of Indepence, that's funny

LouEdited by Lou 2018-05-02
Microcontrollers - the other white meat
 
Paul_L
Guru

Joined: 03/03/2016
Location: United States
Posts: 769
Posted: 09:50pm 30 Apr 2018
Copy link to clipboard 
Print this post

Well, I'm glad someone finally noticed that my perfunctorily feeble attempt at a reboot of the persistently perennial perambulation through the contrastingly divergent individuation of English usage resulting from the ill-considered and unfortunate attempt by an English monarch to tax British citizens who had been disenfranchised by his own actions and had therefore decided to brew his tea with salt water had been unanswered for two days! I was beginning to think that youse guys had decided to nod off or go off on a holiday.

I absolutely love John Cleese! The single thing he said that I feel I should quarrel with was his statement that "Generally, you should raise your vocabulary to acceptable levels". I judge that youse guys will shortly conclude that my pronounced proclivity or propensity to perambulate through a polysyllabic vocabulary is more confusing than the difference between color and colour could ever be.

All of which completely ignores the fact that my original question, "will BADSPELLING ON equate to driving on the right side of the road or the wrong side?" remains unanswered!

I ask all of youse guys to remember that Italians make you offers you can't refuse, but that Polacks make you offers you can't understand!

Pavel Artur Jan Waclaw Lepkowski in NYEdited by Paul_L 2018-05-02
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 10:02pm 30 Apr 2018
Copy link to clipboard 
Print this post

  Grogster said  By the same token, as we spell it COLOUR, our American friends should return the favour.


Keep COLOUR as COLOUR, One small step against the struggle against Political Correctness.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3292
Posted: 04:45am 01 May 2018
Copy link to clipboard 
Print this post

I trust that everyone knows that you can use either COLOUR or COLOR.
MMBasic tries to avoid any controversy
Geoff Graham - http://geoffg.net
 
     Page 1 of 5    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025