![]() |
Forum Index : Microcontroller and PC projects : MMBasic with 4K resolution
![]() ![]() |
|||||
Author | Message | ||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
Why would you want to do that? You simply have the bmp or video, etc., existing on the Android device and the Mite simply instructs it to do whatever. Same exact thing happens with a gaming PC; CPU decides what needs to happen but if you don't have a capable GPU card in your PC, nothing is gonna happen. The Android device is merely a subsystem like everything else. Craig P.S. Been doing this for the past ten years. Prices start @ £10K and I'm kicking butt. ![]() |
||||
Pluto Guru ![]() Joined: 09/06/2017 Location: FinlandPosts: 375 |
MMBasic for Anroid? |
||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
It's called RFO BASIC! Hugely capable and just as easy to use. A formidable combo. You throw an app together in minutes and as long as you don't need heavy computation, (interpreted BASIC) the app is indistinguishable from one that's written in Java, etc. Take a look at the manual. To communicate via Bluetooth: BT.OPEN BT.CONNECT (if the BT device on the Mite is configured as "Master", no need for this. BT.LISTEN (several possible values here. "3" = connected Now we are talking to the Mite like UART to UART. Craig Edited 2023-01-16 04:00 by Tinine |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
It's a work-around but isn't MMBasic with resolution of 4K. Good for those who want that and are able to live with the limitations. John |
||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
The great thing about opinions is that you don't have to back them up with facts. Instead of throwing out a statement, how about providing an example? Craig |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
RFO Basic is an easy way to program on Android. Many years ago I produced a version of MMEdit for it but that was soon overtaken by much better tools. With RFO Basic you can connect to any mite that has either a Bluetooth to serial adapter (HC..)or a TCPIP to serial adapter such as the ESP modules. It make a great use for all those old Android phones and tablets that are past their use-by date. How much intelligence you put on the Android versus the 'mite is up to you. It would depend on the application. Jim VK7JH MMedit |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7937 |
John is right though, using an Android display (or anything else between the MMBasic device and the display) is a workaround. It may be a perfectly good workaround for many applications, but it's still a workaround. If you are having to talk to it using any sort of serial protocol then it's an even worse workaround than a parallel one as you have an instant bottleneck. You can address every pixel on the 4k screen if you want to, but it will ages to update a single screen. You can tell the display device to move or draw a complete sprite in a very short length of time, but now you have to program both the display device in something or other and the MMBasic device. It's far simpler to do the lot on a Raspberry Pi and learn Python. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
You don't address _any_ pixels, _ever_. You nominate an object that already exists on the Android device and command whatever action that you would like to perform. Move, resize, fade-in, fade-out, rotate, change colour, etc., etc. Craig |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
That ASSUMES the above is all anyone wants, but it isn't. It may be enough for some, however. John |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
Ages ago I wrote a special driver for one of the MMbasic family that could use a Raspberry Pi as a high res HDMI screen by passing it the MMBasic drawing primitives (Drawrectangle and DrawBitmap) - nobody ever used it |
||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
No kidding, so similar concept? Using serial comms? ![]() Hmmm, just thinking about a general purpose Android app for this. Craig |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10315 |
No 8-bit parallel |
||||
scruss Regular Member ![]() Joined: 20/09/2021 Location: CanadaPosts: 91 |
Matrix Brandy is a BASIC interpreter that can handle 4K graphics on Linux, and also supports Teletext and (with a lot of work) Tek vector graphics. It's a BBC BASIC dialect, so will be incredibly familiar to some and very slightly weird to others. I suspect that the BBC BASIC for SDL 2.0 interpreter might support high-resolution graphics too. |
||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
Android front-ends are the only way to go....period. I use other displays with the Mites but only for non-critical purposes, like one would use an LED indicator. A HMI? You don't want to die. I just took delivery of a piece of equipment that only cost me the trucking expense. To the previous owner, it was a boat anchor because the proprietary front-end died and is no-longer supported. It's getting my Android+RP2040+Prop-2 and I'll flip it for £50K. New owner will never have to suffer such BS. I was over at John Deere, Waterloo IA, a factory that dwarfs most airports. There is no walking, it's all electric vehicles. We drove by this huge piece of equipment, only 3 years old and I immediately picked up on the fact that the Siemens front end had a desktop PC Monitor and keyboard hanging off it. My host explained that although JD has "more money than god", they had a problem paying $17,000 for just a monitor and membrane keypad. Yeah no sh*t. But the brainwashed, moronic, pocket-protector, control engineers still parrot "but, but it, it, it's industrial" Sooo pathetic ![]() |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |