|
Forum Index : Microcontroller and PC projects : PicoMite V8.00.00 betas: Apps and more
| Author | Message | ||||
| terekgabor Senior Member Joined: 02/01/2026 Location: HungaryPosts: 177 |
Hello Peter! I have checked b2, MM.CMINE$ data is still loosing if I use LIBRARY LOAD ,RAM. Only in this case. Without library or loading library ti flash everything works well. Maybe yo can check it in next release. Thank you! G@bor B3 is fantastic! |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 12306 |
Please explain the issue more clearly |
||||
| terekgabor Senior Member Joined: 02/01/2026 Location: HungaryPosts: 177 |
Okay! Here is the detailed explanation: I made some tests: 1. No library, just main program Main.bas: PRINT MM.CMDLINE$ When run it like RUN ,”hello” it prints “hello” on the screen. 2 With library: Lib.bas: DIM C$ AS STRING …etc, anything in the library Main.bas: LIBRARY LOAD “Lib.bas” PRINT MM.CMDLINE$ When run it like RUN ,”hello” it prints “hello” on the screen. 3. With library load into RAM slot of PSRAM: Lib.bas: DIM C$ AS STRING …etc, anything in the library Main.bas: LIBRARY LOAD “Lib.bas”,RAM PRINT MM.CMDLINE$ When run it like RUN ,”hello” it prints empty string on the screen. Same happening when I put MM.CMDLINE$ into the library: Lib.bas DIM C$ AS STRING C$=MM.CMDLINE$ Main.bas: LIBRARY LOAD “Lib.bas” PRINT C$ When run it like RUN ,”hello” it prints “hello” on the screen. But this is also not working when library loads to RAM slot. It seems something happening when library loads to psram slot. Webmite2350, Ppp 2 w Regards, G@bor |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 12306 |
Found and fixed - in the next beta |
||||
| terekgabor Senior Member Joined: 02/01/2026 Location: HungaryPosts: 177 |
Thanks for it! |
||||
| homa Guru Joined: 05/11/2021 Location: GermanyPosts: 789 |
Same procedure as every... for those who haven't had the chance to install FW 8.00.00 b3 yet, here's a quick video of Peter's warp_demo_2.bas running on my [board, e.g. RP2350 HDMI] in MODE 2: https://youtu.be/54ttFXpWKDE Peter, you're driving me crazy with how fast you're going! Matthias |
||||
| LeoNicolas Guru Joined: 07/10/2020 Location: CanadaPosts: 627 |
Peter Is this version available for the Mac/Linux emulator? |
||||
| hhtg1968 Guru Joined: 25/05/2023 Location: GermanyPosts: 323 |
greetings from so called mode 7 on super nintendo. f-zero in Basic! |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 694 |
I have a basic question to file-transfers to the Pico. Is it possible to transfer .app files or other binary files via X/Y/Z-Modem command? Tried it with MMCC but there seems to be a padding in the last block which confuses the loader and had no luck with TeraTerm as there was no file written at all. With TeraTerm I was using File -> Transfer -> X/Y/ZMODEM to send the file from Windows. So far my results: > xmodem receive Error : Not enough memory ----------------------------- > zmodem receive �Error : Line is too long ----------------------------- > ymodem receive Error : Expression syntax > option list PicoMitePC3 MMBasic USB RP2350B Edition V8.00.00b3 Gerald 73 de OE1HGA, Gerald |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 12306 |
xmodem should work to a file xmodem r "whatever.app" |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 694 |
My bad, xmodem receive (and the others) without filename sents the file to the MMBasic program memory of course and not to the filesystem. Should have thought a bit more before posting .... Gerald 73 de OE1HGA, Gerald |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1210 |
@Peter: Is there a chance you'll implement HERETIC and HEXEN as an app? Frank |
||||
| AlbertR Senior Member Joined: 29/05/2025 Location: GermanyPosts: 118 |
@Peter: Lately, there have been a lot of high-end enhancements being implemented; I have a few low-level requests if possible. I know the RP doesn’t have automatic DE switching for half-duplex, but since MMBasic already manages the 256-byte transmit buffer, could it also handle DE pin control? The PIO is incredibly fast, and the data can more or less only be received or made available in time via DMA. So more DMA channels would be great. Best regards Albert |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6325 |
Hi Albert, Not saying DE control is a good feature or not. The request is valid. But you can solve DE control also within MMBasic. As in below MODBUS interface. I calculate the length of the string to be sent, and using the bitrate pre-calculate how long DE must be active. This works fine (tested up to 115200 baud). 'sends ID+PDU in string a$, adds CRC16 Sub modsend a$ Local m$=a$ 'calculate string crc and append crc to string crc_val=math(crc16 m$,Len(m$),&h8005,&hffff,0,1 ,1) crcl=crc_val And 255 : m$=m$+Chr$(crcl) crch=crc_val \ 256 : m$=m$+Chr$(crch) 'calculate DE time ms_char!=11*1000/bitrate '1 char = 11 bits (start+8+parity+stop) ms_mess!=Len(m$)*ms_char! 'message total time 'print ms_mess! 'debug 'send it through the UART with controlled DE pin pin(gp2)=1 'DE high Print #1,m$; Pause ms_mess! pin(gp2)=0 'DE low End Sub PicomiteVGA PETSCII ROBOTS |
||||
| AlbertR Senior Member Joined: 29/05/2025 Location: GermanyPosts: 118 |
Hi Volhout, I was pleased to discover that “Print #1, TxTmp$” is non-blocking, which was ideal for my small S.N.A.P.(from High Tech Horizon) packets in conjunction with my cooperative scheduler. Unfortunately, this great feature is lost due to the wait. I ended up using a tick, but having it already integrated is certainly more elegant .Albert Edited 2026-11-30 20:23 by AlbertR |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 6325 |
Hi Albert, My application was simple. MODBUS is half duplex, the messages must be sent without gaps, there is a turn-around-time defined that is multiple characters. So a small DE delay is not an issue. Volhout Edited 2026-11-30 20:57 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
| Batteryman Newbie Joined: 05/04/2016 Location: United KingdomPosts: 32 |
To matherp, I have had a request from a member on here about creating an LCD designer web app similar to my ESP32 LCD Design Studio . However I would need the embedded graphics you and Geoff Graham have in MMBASIC to be visible in the design canvas and simulation run as it would be in MMBASIC run. You have GUI.c i found, but is this OK for me to do as a free web app or is there already a similar project done? For me it would be just to change the transpiler to output MMBASIC code instead of Arduino C++. Regards Peter |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 9420 |
I suspect the main reason that DE isn't supported is probably that the UART modules of the RPnnnn don't have it. They are fairly basic serial ports similar to the 16C650 UART. They have RTS/CTS but not from MMBasic. Mick Zilog Inside! nascom.info for Nascom & Gemini |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 533 |
G'day, As a long time user of the MicroMite I too miss the DE option for RS485, also the ability to set a character for the receive interrupt to fire on. These made RS485 and variable length data capture a breeze, however as Mixtel90 points out, these may have been made easier to implement in the PIC32 USART hardware. You can also poll the LOF(#) function to see when all data has been transmitted. A look into the RP2350 UART doesn't show any obvious way of doing this in hardware AFAIK. Regards, Lyle. |
||||
| AlbertR Senior Member Joined: 29/05/2025 Location: GermanyPosts: 118 |
The idea was that the 256-byte buffer has to be handled anyway, and switching the de-pin would only require a little effort here. Right now, I'm using a module with a MAX13487, which handles the switching automatically. But I still have a bunch of SN75176s lying around, hence the idea. Because of the variable length, I’m using S.N.A.P. with the length specified in the header. Of course, you could handle the whole thing in the PIO, but I’d rather save that one PIO-TX-DMA for other things. Albert Edited 2026-12-01 01:48 by AlbertR |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |