Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:49 27 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 : TinyBasic for the ATTiny85

     Page 4 of 4    
Author Message
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2350
Posted: 04:44am 02 Sep 2023
Copy link to clipboard 
Print this post

  Volhout said  @Peter,

I know you implemented I2C in the ATTINY. But the (very basic) way it is implemented, the basic code to talk to a I2C device consumes already half of the memory.
Since most I2C devices support auto increment of registers, efficient basic code could make use of that. Not leaving much for any usefull coding.
[...]


how well (or badly) would TinyBasic run on an Arduino NANO board, ie a 328p? that would give you serial over USB for free, 32k of flash, and a whole load more I/O pins. useful when paired up with MMB4Linux or MMB4Win as an 'intelligent peripheral'.


cheers,
rob   :-)
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 05:09am 02 Sep 2023
Copy link to clipboard 
Print this post

@ disco4now: - Yes, that is EXACTLY what I did.  I even used the image you posted earlier in the thread, to help show me what to change.  
Smoke makes things work. When the smoke gets out, it stops!
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 05:55am 02 Sep 2023
Copy link to clipboard 
Print this post

Tiny BASIC has a sense of humour!!!  





I love the "What?" prompt when you type in something it does not know.  
So much more amusing then "Syntax Error" or "Unknown Command.".    


EDIT: Oh, it gets even better!!!!  





"How?" - I love it!      
Edited 2023-09-02 16:01 by Grogster
Smoke makes things work. When the smoke gets out, it stops!
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 06:59am 02 Sep 2023
Copy link to clipboard 
Print this post

"What?" - I don't know what you are trying to do.
"How?"  - I understand what you are trying to do but I don't know how to do it.
"Sorry" - "I'm sorry Dave, I'm afraid I can't do that."

If you run out of user memory space (I'm not sure if it's triggered by anything else)  it will say "Sorry". That's it for Tiny BASIC error messages. Very minimal, especially when you are trying to squeeze it into an EPROM.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 07:06am 02 Sep 2023
Copy link to clipboard 
Print this post

@rob

A version for the Arduino writtin in c. And this to give it VGA

But, of course, it's from the "Dark Side".....
Edited 2023-09-02 17:09 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
NPHighview

Senior Member

Joined: 02/09/2020
Location: United States
Posts: 200
Posted: 11:26pm 03 Sep 2023
Copy link to clipboard 
Print this post

My wife, a veterinarian / technophobe got completely turned off computers at an early age by a "What?" error message from a 1970's/1980's BASIC. Therefore, I get requests for everything from "where's the remote?" to "Can you find, purchase, download, and install grant-tracking software for my veterinary non-profit?"
Live in the Future. It's Just Starting Now!
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 07:19am 04 Sep 2023
Copy link to clipboard 
Print this post

Do you replay "HOW?" or "SORRY" in those cases? Now I have a hearing aid "WHAT?" is also an available option.  :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 09:20am 04 Sep 2023
Copy link to clipboard 
Print this post

LOL!  
Smoke makes things work. When the smoke gets out, it stops!
 
     Page 4 of 4    
Print this page


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

© JAQ Software 2024