Menu | JAQForum Ver 19.10.27 |
Forum Index : Microcontroller and PC projects : PicoMite V6.00.02 release candidates - all versions
![]() ![]() ![]() ![]() |
||||||
I haven't got a VGA system with PSRAM to test against - sorry |
||||||
Will reconfigure to HDMI and try. Lacking a HDMI breakout this is VGA but now have the guts and will to cut a cable. 800x600 is really nice ;) |
||||||
Hi Peter, The official RC8 for VGA 2040 is good!!! ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Sound has never been better. Even games like Petscii are a lot more professional now music changes happen plop-less. Thank you for your persistence. I will run RC8 through all my programs, but the ones that caused problems did run already. Volhout P.s. I always use page up and down in the internal editor. Much faster in 70kbyte sized program. So I never noticed the scroll problem. Edited 2025-03-30 00:00 by Volhout |
||||||
Phew..... at last ![]() ddns: just jury-rigged a VGA RP2350 with PSRAM using a one of my RP2350B DIL boards and no issues with 800x600 even with PSRAM enabled. What board are you using? |
||||||
If you're looking for a challenge, how about making a 6.00.02 version of MMBasic that runs on the PicoCalc? |
||||||
No chance whatsoever |
||||||
A Pimoroni PGA2350. Any chance that It runs better with the HDMI firmware? Edited 2025-03-30 01:36 by dddns |
||||||
That's right! ![]() And also on the HDMI/USB reference board. But I did find one PLOPP after all, reproducible ![]() > play mp3 "going > load "fm140 <-- P L O P P > Sorry Peter. But I can live with that. Matthias |
||||||
Test same program with RP2350A and RP2040 only different option list. > option list PicoMite MMBasic RP2350A Edition V6.00.02RC8 OPTION SYSTEM I2C GP4,GP5 OPTION FLASH SIZE 16777216 OPTION COLOURCODE ON OPTION HEARTBEAT OFF OPTION PICO OFF OPTION CPUSPEED (KHz) 150000 OPTION DISPLAY 44, 96 OPTION SDCARD GP15, GP10, GP11, GP12 OPTION RTC AUTO ENABLE > list variables > run > list variables Error: Invalid address - resetting > > PicoMite MMBasic RP2040 Edition V6.00.02RC8 Copyright 2011-2025 Geoff Graham Copyright 2016-2025 Peter Mather > option list PicoMite MMBasic RP2040 Edition V6.00.02RC8 OPTION SYSTEM I2C GP0,GP1 OPTION COLOURCODE ON OPTION HEARTBEAT OFF OPTION PICO OFF OPTION CPUSPEED (KHz) 200000 OPTION DISPLAY 44, 98 OPTION LCDPANEL SSD1306I2C, RLANDSCAPE OPTION SDCARD GP5, GP6, GP7, GP4 > list variables > run > list variables DIM FLOAT BEREIK_MAX(21) DIM FLOAT BEREIK_MIN(21) DIM FLOAT BINNEN_TEMP DIM FLOAT BSEC DIM FLOAT BUITEN_TEMP DIM FLOAT LCDI2C_BACKLIGHT DIM FLOAT LCDI2C_EMASK DIM FLOAT LCDI2C_I2CADDR DIM FLOAT LCDI2C_LCDBACKLIGHT DIM FLOAT LCDI2C_NIBPOS DIM FLOAT LCDI2C_RSDATAMASK DIM FLOAT LU_DICHT DIM FLOAT LU_OPEN DIM FLOAT MAX_MENU_TELLER DIM FLOAT MAX_RAAM DIM FLOAT MENU_TELLER DIM FLOAT MENU_TELLER_OLD DIM FLOAT MIN_VERSTELLING DIM FLOAT PIJL_DOWN DIM FLOAT PIJL_UP DIM FLOAT RAAM_0 DIM FLOAT RAAM_10 DIM FLOAT RAAM_100 DIM FLOAT RAAM_DICHT DIM FLOAT RAAM_MIN DIM FLOAT RAAM_OPEN DIM FLOAT RAAM_PLUS DIM FLOAT RAAMSTAND DIM FLOAT RAAMSTAND_10 DIM FLOAT RAAMSTAND_100 DIM FLOAT RAAMSTAND_A DIM FLOAT RAAMSTAND_ADC DIM FLOAT RAAMSTAND_B DIM FLOAT RAAMSTAND_BER DIM FLOAT RAAMSTAND_BU DIM FLOAT RAAMSTAND_BUI DIM FLOAT RAAMSTAND_IJK DIM FLOAT RAAMSTAND_IJK10 DIM FLOAT RAAMSTAND_M DIM FLOAT RAAMSTAND_MENU DIM FLOAT RAAMSTAND_MIN DIM FLOAT RAAMSTAND_N DIM FLOAT RAAMSTAND_N100 DIM FLOAT RAAMSTAND_T DIM FLOAT RAAMSTAND_T100 DIM FLOAT REGENMELDER DIM FLOAT REGENMELDER_ADC DIM FLOAT REGENMELDER_TIJD DIM FLOAT RESOLUTIE(21) DIM FLOAT STATUS_KAS DIM FLOAT STATUS_METEO DIM FLOAT STATUS_PIJL_DOWN DIM FLOAT STATUS_PIJL_UP DIM FLOAT STATUS_RAAM DIM FLOAT TEMP DIM FLOAT TEMP_OLD DIM FLOAT TEMPERATUUR(5) DIM FLOAT TIMERLOOP DIM FLOAT VERWERK_GEG DIM FLOAT WAARDE_OLD DIM INTEGER MAX_VERSTELLING DIM INTEGER WAARDE(21) DIM STRING I DIM STRING VERSIE > Greetings, Jan. |
||||||
PicoMiteHDMI MMBasic USB RP2350A Edition V6.00.02RC8 OPTION SERIAL CONSOLE COM2,GP8,GP9 OPTION SYSTEM I2C GP20,GP21 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION KEYBOARD GR OPTION CPUSPEED (KHz) 315000 OPTION RESOLUTION 640x480 OPTION SDCARD GP22, GP26, GP27, GP28 OPTION AUDIO GP10,GP11', ON PWM CHANNEL 5 OPTION RTC AUTO ENABLE OPTION MODBUFF ENABLE 192 OPTION PLATFORM HDMIUSB > list MODE 3 FRAMEBUFFER create FRAMEBUFFER layer > run [3] FRAMEBUFFER layer Error : Not enough Heap memory > Shouldn't that work? |
||||||
I've narrowed the list variables problem down a litte .... the following statements already spoil the list variables: -------------------------- ' OPTION EXPLICIT OPTION DEFAULT NONE dim string a, b, out_str(20) --------------------------- Error: Invalid address - resetting changing the DIM to dim string a, out_str(20) works. If I have 3 vars defined as string and one is an array, it crashes. Env: PicoMiteHDMI MMBasic RP2350B Edition V6.00.02RC8 setup as "OLIMEX" Gerald Edited 2025-03-30 06:31 by ville56 |
||||||
|
||||||
No chance. Describe the issue properly, which firmware, what options, and provide example programs/sound files if you want a fix, otherwise forget it. Edited 2025-03-30 08:37 by matherp |
||||||
Hello Peter, I'm afraid you misunderstood me. The "problems, problems..." was referring to the posts of my predecessors, who keep finding new bugs or "minor issues." And the "problems, problems..." appears in the song - hence the link to the YouTube video - I hoped you liked the song and could laugh? ![]() |
||||||
I'm trying to define a 3 row, 1 column array I need for a matrix multiplication. The code below gives Error: Dimensions What's wrong with this? option base 1 dim a(3,1)=(4,5,6) Edited 2025-03-30 10:19 by toml_12953 |
||||||
What's wrong with this? option base 1 dim a(3,1)=(4,5,6) a(3,1) should be a(3) Without knowing the dimensions of the second array, I am guessing - silly thing to do. To do what you are attempting this would work (if I have my maths correct) OPTION BASE 1 DIM a(3)=(4,5,6) DIM b(3)=(7,8,9) DIM c(3) MATH C_MUL a(), b(), c() answer = MATH(SUM c()) PRINT answer If that isn't suitable. try DIM a(3,2) and fill the second row/column with zeros Edited 2025-03-30 11:40 by TassyJim |
||||||
What's wrong with this? option base 1 dim a(3,1)=(4,5,6) a(3,1) should be a(3) Without knowing the dimensions of the second array, I am guessing - silly thing to do. To do what you are attempting this would work (if I have my maths correct) OPTION BASE 1 DIM a(3)=(4,5,6) DIM b(3)=(7,8,9) DIM c(3) MATH C_MUL a(), b(), c() answer = MATH(SUM c()) PRINT answer If that isn't suitable. try DIM a(3,2) and fill the second row/column with zeros I'm trying to solve three equations in three unknowns x + 2y + 3z = 3 2x + 4y + 5z = 4 3x + 5y + 6z = 5 The coefficient array is 1 2 3 2 4 5 3 5 6 The answer array is 3 4 5 To find the solution array (x, y, and z), I multiply the inverse of the coefficient array by the answer array to get the three solutions to the problem. The answer array and solutions array should be 3x1 matrices. Why doesn't MMBasic allow the two 3x1 arrays to be dimensioned? Edited 2025-03-30 13:35 by toml_12953 |
||||||
Some time ago I think Peter mentioned that array dimensions have to be 2 or more. Edit. Maybe I remembered that wrong, but as it doesn't work perhaps not. Quote MMBasic doesn't allow single element arrays. I wish it did for reasons such as array multiplication but it doesn't. I don't think this is something that could be easily changed as it is fundamental to the way the variable table is built Have not found any mention of a minimum in the manual. Edited 2025-03-30 15:34 by phil99 |
||||||
try DIM a(3,2) and fill the second row/column with zeros OPTION BASE 1 DIM a(3,3) DIM i(3,3) DIM b(2,3) DIM c(2,3) a(1,1)=1 a(2,1)=2 a(3,1)=3 a(1,2)=2 a(2,2)=4 a(3,2)=5 a(1,3)=3 a(2,3)=5 a(3,3)=6 b(1,1)=3 b(1,2)=4 b(1,3)=5 MATH M_INVERSE a(),i() MATH M_PRINT a() MATH M_PRINT i() MATH M_PRINT b() MATH M_MULT i(),b(),c() MATH M_PRINT c() FOR n = 1 TO 3 PRINT c(1,n) NEXT n RUN 1.0000, 2.0000, 3.0000 2.0000, 4.0000, 5.0000 3.0000, 5.0000, 6.0000 1.0000, -3.0000, 2.0000 -3.0000, 3.0000, -1.0000 2.0000, -1.0000, 0.0000 3.0000, 0.0000 4.0000, 0.0000 5.0000, 0.0000 1.0000, 0.0000 -2.0000, 0.0000 2.0000, 0.0000 1 -2 2 > For your purpose a second row of zeros seems to work I think that you can use MATH INSERT and MATH SLICE to interface to singe dimension arrays Jim Edited 2025-03-30 16:00 by TassyJim |
||||||
MODE 3 FRAMEBUFFER create FRAMEBUFFER layer > run [3] FRAMEBUFFER layer Error : Not enough Heap memory > Shouldn't that work? No: a mode 3 buffer takes 153,600 bytes so after the framebuffer is created there isn't enough left for the layerbuffer. It could work on a version with PSRAM IFF you define the layer buffer first. Fixed if you re-download. Note the bug applied to all versions including RP2040. It was just fluke as to whether it impacted in a given circumstance or not (current state of the stack) |
||||||
![]() ![]() ![]() ![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. |