![]() |
Forum Index : Microcontroller and PC projects : MMBasic for Windows - alphas
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
V5.07.03a11 MMBasic.zip Fixes a bug where mm.info(exists file fname$) returned true for a directory Fixed MM.INFO(DIRECTORY) to always end in a \ Removes a spurious diagnostic in directory handling Improves error message for CHDIR PLAY WAV, FLAC, and MP3 now all accept a directory as per CMM2 implements MM.INFO(OPTION ANGLE) and MM.INFO(OPTION Y_AXIS) Implements MM.INFO(ENNVAR TMP) and MM.INFO(ENNVAR DOCUMENTS) |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
V5.07.03a11 MMBasic.zip Fixes a bug where mm.info(exists file fname$) returned true for a directory Fixed MM.INFO(DIRECTORY) to always end in a \ Removes a spurious diagnostic in directory handling Improves error message for CHDIR PLAY WAV, FLAC, and MP3 now all accept a directory as per CMM2 implements MM.INFO(OPTION ANGLE) and MM.INFO(OPTION Y_AXIS) Implements MM.INFO(ENVVAR TMP) and MM.INFO(ENVVAR DOCUMENTS) Edited 2022-02-24 21:07 by matherp |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
I can't speak for Windows 11, but I don't think DOCUMENTS is a standard environment variable: https://pureinfotech.com/list-environment-variables-windows-10/ I imagine it would save yourself a lot of hastle, endless additional environment variable requests and additional code if you just implement the flexibility of what MMB4L does ![]() Best wishes, Tom Edited 2022-02-24 21:14 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
God you are demanding MMBasic.zip |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4251 |
Thank you Peter, I'll take it for a spin in the morning. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3310 |
Mick--I've lost the link to your MMB4W document. Would it be asking too much for you to put it in your signature? Development is so hot and heavy now that it's hard to keep up. Thanks for considering. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
goc30![]() Guru ![]() Joined: 12/04/2017 Location: FrancePosts: 435 |
Hi Pete I have some small problems and 1 wish 1-pb: after v5_07a1 i can't use MMBasic on my computer under Win10. My other PC under win8 work perfect 2-pb in mode 16 after close edit or cls command (and all others commands who use cls), cursor is out of screen (in fact with pos.topY value negative). I must send "return" key to view my cursor 3 - whish in display windows Is it possible to have option "with" or "without" windows borders?. I explaine i am in 1920*1080 resolution, and MMBasic in mode 16. In this case, I can't view all screen in MMBasic window I don't need top-right system buttons |
||||
Goksteroo Senior Member ![]() Joined: 15/03/2021 Location: AustraliaPosts: 114 |
gui cursor load "mazist.cur" ...works on CMM2 but gives a syntax error in MMB4W. Mazist.cur is: 4,4,0,0 4444 4444 4444 4444 |
||||
PeterB Guru ![]() Joined: 05/02/2015 Location: AustraliaPosts: 655 |
G'Day All I may regret this but here goes anyway. I have long missed the parallel port on a PC. I'm not into games but I do like to control the world and now we have MMBASIC on Windows, LINUX, ???? but still without direct control of multiple pins. Is there a place in this world for a device to convert USB into multiple I/O pins? If there is a need I think the difficult bit would be defining what it should do. If such a device already exists don't be too hard on me........I'm an old man ![]() Peter |
||||
Plasmamac![]() Guru ![]() Joined: 31/01/2019 Location: GermanyPosts: 572 |
Hey PeterB, Maybe this Even a picomite on usb to read the serial bytes from mm4bw console is possible, i think Gtx Edited 2022-02-25 15:23 by Plasmamac Plasma |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2417 |
When // ports started to vanish there were "USB to Parallel" cables available so older printers and scanners could still be used. If you can find one of them it might work, depending on the features of the driver. Sometimes they were an accessory with laptops. Edit A quick search shows many. $15 to $40. Software for a Pico would be better still. Edited 2022-02-25 15:32 by phil99 |
||||
PeterB Guru ![]() Joined: 05/02/2015 Location: AustraliaPosts: 655 |
Plasma Thanks for that. All I have to do now is get my head around it but it looks good. I had got as far as an MX170 with an FTDI device but then what? Phil My CNC machine uses the printer port and when my XP PC failed and the replacement didn't have such a thing I tried one of those cables with no luck so I bought a printer port card and still no luck so I bought a well used board and it is now in it's second PC. Peter |
||||
Plasmamac![]() Guru ![]() Joined: 31/01/2019 Location: GermanyPosts: 572 |
I think Adafruit has also a usb board , but i think going with the Picomite is an universal solution . Banging lpt pins In win is like using mach3 ![]() Plasma |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7505 |
@lizby I'm not attempting to keep up with every release of MMB4W. It seems daft to re-release every half page or so. :) I have the next version of the doc almost ready, but I'm just waiting for the next release before publishing. Remote I/O: Shortly I hope to have a PCB on order that connects via RS485. You can get USB/RS485 dongles for a PC quite cheaply so it should be possible to put a load of these onto a PC. Each one has a RS485 transceiver and Micromite wired out to pins, which can be pin-defined. Writing the software is up to you lot, I'm a hardware guy. :) MMB4W will need to treat a USB port as a virtual COM to use the dongle, I think. I've not tried one yet. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
PeterB Guru ![]() Joined: 05/02/2015 Location: AustraliaPosts: 655 |
G'day Mick. Plasma has got me looking into all manner of things but like you I am very much hardware and my head is starting to hurt. But they do exist and that is what matters. Any device that can't talk to the outside world is like an ashtray on a motorbike. And as somebody said recently, the shed is a wonderful place for solving problems. Peter |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10067 |
Lots of others working on W10. Did the problem start with a3? in which case it is probably missing sound dll winmm.dll Use "mode -16" or use a mode that is smaller than your monitor Correct MMB4W uses the windows cursor |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7505 |
Trouble is, that'll probably be $6.80 + $25 carriage +20% VAT before it gets here. :( A PICO would be a lot cheaper. There doesn't appear to be a way to drive it either, apart from working on C or, possibly, python. I've seen a description of the PICO being used as an IO expander, but once again it only seems to be driven from python via a library. That's of no use whatsoever to me. Serial port commands over the USB link would be ideal. I think lizby has this sorted out now anyway. See this post Edited 2022-02-25 19:11 by Mixtel90 Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
panky![]() Guru ![]() Joined: 02/10/2012 Location: AustraliaPosts: 1111 |
Peter, With respect, this thread is about the development of MMB4W by matherp and the testing of releases. Your question is interesting but should really be in a thread of it's own. Regards, Doug. ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7505 |
To be fair, Doug, IMHO it's important that the issue of I/O in MMB4W is looked at, at least to some extent. We have to assume that the only I/O capability available on a PC is via it's USB ports and those should be easily supported from MMB4W. As I pointed out at the beginning of this project, MMBasic is very I/O orientated and it's something that shouldn't be ignored. Hopefully the link I've just posted to lizby's solution might put this one to bed now as USB-serial converters are no problem. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
PeterB Guru ![]() Joined: 05/02/2015 Location: AustraliaPosts: 655 |
G'Day again I agree with both Doug and Mick. There is no ideal way to bring this point up. In fact I was not even sure it was a valid point. However, there are solutions and that is the main thing. Thanks for your interest. Peter |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |