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 : RP2350 firmware
Page 19 of 20 | |||||
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9100 |
V6.00.00b9 PicoMiteRP2350V6.00.00b9.zip Fixes a bug in drawing triangles/polygons in widescreen mode NB: github now up-to-date Edited 2024-09-26 23:21 by matherp |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
Hi Peter, Yes that's now fine thanks, :-) could you also look at the colour highlighting in the editor in mode 1 wide screen. If you scroll a page at a time the colour highlighting is correct, if however you scroll a line at a time, the text moves up, but the colour highlighting does not, in the terminal it is correct but on the HDMI screen it doesn't work. Thanks. Regards, Kevin. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9100 |
Is it correct in non-widescreen mode? |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
Yes fine in non wide screen mode 1 Regards, Kevin |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9100 |
Should be fixed now PicoMiteRP2350V6.00.00b9.zip |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
flashed and no hdmi usb hdni. back to v6 and olimex 2350 no hdmi console option reset optimex but monitor says no input . olimex or the pico2 gone tits? |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9100 |
Oops - sorry.This should fix it PicoMiteRP2350V6.00.00b9.zip |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
serious. no olimex hdmi since last update.. if I was paranormal then a virus to stop olimex so no threat for other pcb designers |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
yes thanks but mode 1 still flickers bad sorry to moan option list PicoMiteVGA MMBasic USB Edition 6.00.00b9 OPTION SERIAL CONSOLE COM2,GP8,GP9 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION KEYBOARD US OPTION CPUSPEED (KHz) 315000 OPTION DISPLAY 24, 80 OPTION HDMI PINS 1, 3, 7, 5 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION MODBUFF ENABLE 192 OPTION PLATFORM OLimex what messed it and then fixed it as a user? luvin' it Edited 2024-09-27 07:47 by stanleyella |
||||
Sasquatch Guru Joined: 08/05/2020 Location: United StatesPosts: 362 |
Sorry to bring this up again. Using Martin's little HDMI demo program, the color mapping doesn't seem to update with the "Map Set" command??? I'm pretty sure this was working at some point along the beta trail. As I understand it, the following program should print text in 15 different colors, and then the color map should cycle leaving the text in place but shifting the colors by "rotating" the color mapping, so that all 15 colors are displayed but shifted in the color map. What I see is that the text is all the same color and the colors of all text are changing to the same color as the map is shifted. I am using the latest HDMI beta version posted today: PicoMiteHDMI MMBasic Version 6.00.00b9 OPTION FLASH SIZE 4194304 OPTION KEYBOARD US OPTION CPUSPEED (KHz) 315000 OPTION DISPLAY 30, 53 OPTION HDMI PINS 1, 3, 7, 5 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION MODBUFF ENABLE 192 OPTION PLATFORM OLIMEX MODE 2 Dim co(16,3) For f=1 To 15:Read co(f,0),co(f,1),co(f,2) Text 0,f*12,"Color MAP("+Str$(f)+")"',,,,Map(f) 'TEXT 0,0,"Hello world",,,,MAP(1) Next Do ' Color-map-rotation For f=0 To 15 Map(F)=RGB(co(f,0),co(f,1),co(f,2)) Next Map set Pause 100 R1=co(1,0):G1=co(1,1):B1=co(1,2) For n=2 To 15:co(n-1,0)=co(n,0):co(n-1,1)=co(n,1):co (n-1,2)=co(n,2):Next co(15,0)=R1:co(15,1)=G1:co(15,2)=B1 Loop Data 0,0,128 Data 0,128,0 Data 0,128,128 Data 128,0,0 Data 128,0,128 Data 128,128,0 Data 128,128,128 Data 0,0,0 Data 0,0,255 Data 0,255,0 Data 0,255,255 Data 255,0,0 Data 255,0,255 Data 255,255,0 Data 255,255,255 Data 255,0,0 -Carl |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
For n=2 To 15:co(n-1,0)=co(n,0):co(n-1,1)=co(n,1):co Error : Unknown command |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6093 |
Wordwrap! VK7JH MMedit MMBasic Help |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
carl please try as my original request for palette colour switching like amstrad 464 didn't think it would be implemented 'map switching demo Dim integer cmap(13) 'Clear the screen MODE 2 Map reset CLS rgb(black) 'Set up colours in the array cmap(1)=RGB(white) cmap(2)=RGB(black) cmap(3)=RGB(black) cmap(4)=RGB(black) cmap(5)=RGB(black) cmap(6)=RGB(black) cmap(7)=RGB(white) cmap(8)=RGB(black) cmap(9)=RGB(black) cmap(10)=RGB(black) cmap(11)=RGB(black) cmap(12)=RGB(black) ' Do an initial update of the Colour map to set up our colours domap hline=76:hy=1:mch=1 line 0,75,319,75,,RGB(white) do'draw horizontal lines line 0,hline,319,hline,,map(mch) inc mch:if mch=7 then mch=1 hline=hline+hy:hy=hy+0.6 loop until hline>240 xb=-149:xt=10:mch=7 do'draw vertical lines line xb,239,xt,75,,map(mch) inc mch:if mch=13 then mch=7 xb=xb+8:xt=xt+4 loop until xb>=479 ' lr=0 do cmap(0)=cmap(6) For i=5 To 0 Step -1' move horizontal lines cmap(i+1)=cmap(i) Next if lr<40 then cmap(6)=cmap(12) For i=11 To 6 Step -1' move vertical lines cmap(i+1)=cmap(i) Next else cmap(12)=cmap(7) For i=7 To 12' move vertical lines cmap(i)=cmap(i+1) Next end if inc lr:if lr>80 then lr=0 domap pause 100 loop end Sub domap Local integer i Map (0)=RGB(black) For i=1 To 12 Map (i)=cmap(i) Next Map set End Sub Edited 2024-09-27 09:25 by stanleyella |
||||
Sasquatch Guru Joined: 08/05/2020 Location: United StatesPosts: 362 |
Yes! That one works! If you stop the program and type map reset, you can see how the colors are mapped. Very cool! Edited 2024-09-27 13:37 by Sasquatch -Carl |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
Thanks Peter, colour highlighting in wide screen Mode 1 now working great. :-) Thanks very much. Regards Kevin. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9100 |
B10 for HDMIUSB. Includes "OPTION RESET HDMIUSB" for the motherboard design just posted - no other changes PicoMiteHDMIUSBV6.00.00b10.zip |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
option list PicoMiteVGA MMBasic USB Edition 6.00.00b10 OPTION SERIAL CONSOLE COM2,GP8,GP9 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION KEYBOARD US OPTION CPUSPEED (KHz) 315000 OPTION HDMI PINS 1, 3, 7, 5 OPTION SDCARD GP22, GP6, GP7, GP4 OPTION AUDIO GP26,GP27', ON PWM CHANNEL 5 OPTION MODBUFF ENABLE 192 OPTION PLATFORM OLIMEX > anything you want tested sir? what's "OPTION RESET HDMIUSB" ? stan stuff works like bubble universe Edited 2024-09-28 02:04 by stanleyella |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6768 |
It sets the OPTIONs if you are using Peter's new board. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2112 |
this version ok on olimex pico 2 supposed to test as can't contribute. |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6768 |
NOT the Olimex. Just the new HDMI / USB one that Peter has just shown a photo of. His "reference design". Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Page 19 of 20 |
Print this page |