![]() |
Forum Index : Microcontroller and PC projects : PicoMite/PicoMiteVGA V5.07.03 betas - major update
![]() ![]() |
|||||
Author | Message | ||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2510 |
Suggestion for a possible extension to: OPTION COLOUR VGA OFF To allow the same hardware to be used for both colour and monochrome in any colour would it be possible switch in extra video output pins in mono mode? eg OPTION COLOUR VGA OFF, GP18, GP19, GP20 ,GP21 If any/all of the above pins could be selected then the full RGB(1,2,1) range would be available. If no pins are entered the current default would apply. This way there is no need for an emitter follower to get white. Does anyone think this is worth Peters time and effort? |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10134 |
Not possible. Each pin needs a bit in the framebuffer to drive the PIO routine |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2510 |
Ok, thanks for looking at it Peter. Plug-in modules will do the job. |
||||
mobluse![]() Newbie ![]() Joined: 10/02/2013 Location: SwedenPosts: 24 |
This worked, but the documentation for Maker Pi Pico says it is WS2812 B, and that also works, see page 2 in https://cdn-shop.adafruit.com/product-files/5160/5160_Maker+Pi+Pico+Datasheet.pdf. I ported an old program I originally wrote for TinyBASIC (32 bit) to PicoMiteVGA MMBasic Version 5.07.03b4: Aritm, a mental calculation trainer: https://github.com/mobluse/aritmjs/blob/master/aritm-mm.bas. That uses the RGB LED and audio on Maker Pi Pico Rev1.2 by Cytron. Maker Pi Pico Rev1.2, DuinoMite-Mini, Raspberry Pi 0-4, iCE40HX8K, Arduino Uno, VM111, STK500, ZX81 |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4259 |
Hi Peter, Use of argument/wildcard with FILES command appears to have stopped working, I'm 99.99% sure it was working previously: > ? MM.Info(Device) PicoMite > ? MM.Info(Version) 5.070304 > files A:/ <DIR> cmm2-basic-challenge <DIR> cmm2-forth <DIR> cmm2-fun <DIR> kingdom <DIR> mmbasic-polar-snake <DIR> mmbasic-scratch <DIR> saaint-private <DIR> saaint-public <DIR> sptools <DIR> zmim 64 buzz.bas 1922 fileview.bas 40588 kingdom_pico_led.bas 40335 kingdom_pico_led_2.bas 3483 spi_led.bas 12637 tst_mminfo.bas 10 directories, 6 files > files "*" A:/ 0 directories, 0 files > files "*.bas" A:/ 0 directories, 0 files > files "buzz.bas" A:/ 0 directories, 0 files Best wishes, Tom Edited 2021-12-31 08:34 by thwill MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10134 |
Works in DIR$ never in FILES |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4259 |
Then what are lines 880-883 of FileIO.c for ? if(*cmdline) p = getCstring(cmdline); else p = "*"; Like I said I'm pretty certain this was working earlier. Also note the source on GitHub contains two FileIO.c files with different name capitalisations. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |