![]() |
Forum Index : Microcontroller and PC projects : CMM2: V5.05.05b14 experimental - please try and report
Page 1 of 3 ![]() ![]() |
|||||
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
Please try the attached and let me know your results. CMM2V5.05.05b14exp.zip Compared to version 5.05.04 this version has 4 new modes mode 6 = 256x240 (NES compatibility) mode 7 = 320x240 mode 8 = 640x480 mode 9 = 1024x768 12-bit colour depth is not available in mode 9 but 16-bit is available. JPGs work in 1024x768x16. In addition there is a new OPTION OPTION DEFAULT MODE n n can be 1 = 800x600, 8=640x480, 9=1024x768 This sets the resolution of the screen at the command prompt and in the filemanager and editor The default font for mode 8 is no. 1 (8x12). The default font for mode 9 is no. 4 (10x16) On a 400 or 480MHz processor with an oscillator I am seeing a completely stable image in mode 9 with 16-bit colour (130Mbytes per second video read rate) but I see some shimmer on a 400MHz cpu with a crystal 640x480 shouldn't be an issue with any CPU Edited 2020-08-20 23:10 by matherp |
||||
realmnm![]() Newbie ![]() Joined: 07/07/2020 Location: AustraliaPosts: 34 |
Entering mode 9 goes to 1024x768 as expected. Type files and it drops to mode 1. Press the esc and it stays in mode 1, but the font is now 16x10. That’s all I’ve seen so far. I have tried to make it the default mode yet. This signature intentionally left blank. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
Staying in mode 1 is correct - this is what happens in 5.05.04 but the ESC should reset the font. I'll fix that in the next version Edited 2020-08-20 23:33 by matherp |
||||
realmnm![]() Newbie ![]() Joined: 07/07/2020 Location: AustraliaPosts: 34 |
Setting it as the default option seems to work ok. I like the larger screen for editing. Gotcha for me was where I had moved all my constants before the code started, I had read the screen resolution from mm.hres and mm.vres before I had set the mode. Oooops! This signature intentionally left blank. |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 377 |
All options reset when flashed with 5.05.05b14 400MHz Waveshare module with crystal resonator - some minor timing issues (shimmer?) in mode 9 video but good enough to use! My second Waveshare module seems a little worse. Time to order some oscillators ![]() ![]() Also: in mode 9, Load JPG ignoring x,y coordinates and loading image at 0,0 Update: Load JPG loading at 0,0 in other modes too. Edited 2020-08-21 00:19 by Sasquatch -Carl |
||||
JoOngle Regular Member ![]() Joined: 25/07/2020 Location: SwedenPosts: 82 |
Works flawlessly for me. I'm using the www.micromite.org pre-assembled board (no waveshare module), but 400 MHz processor with a crystal oscillator. Mode 9 - fixed the diagonal noise pattern issue I have in the standard mode 1, now the video signal looks entirely crisp and clean in 1024 x 768. (Note, I'm using an cheap 10$ VGA to HDMI adapter) on a Samsung RU7105 SmartTV. The timing is a bit off, but I suspect that's the cheap VGA adapter, which means the last set of characters of the CMM2 screen is half out in the void, while the left side of the CMM2 screen has an half empty character row. Is this user settable in MMBasic somehow? Because the smarttv has no timing options, neither do the cheapo HDMI adapter. ![]() Also - the black isn't really black, but very grey, just look at the really black side-bars from the TV itself, any way to adjust that? Edited 2020-08-21 01:39 by JoOngle |
||||
William Leue Guru ![]() Joined: 03/07/2020 Location: United StatesPosts: 405 |
Looking good! Is there any chance of a mode that supports a 16:9 monitor edge-to-edge? For instance, 1024 x 576. |
||||
SWA-Guy Newbie ![]() Joined: 01/02/2019 Location: GermanyPosts: 24 |
Hi, all modes works correctly, only in mode 9 I see also some shimmer on a 400MHz cpu with a crystal. I attached TassyJim Testprogramm with the extension of the new modes. Good luck. colourBars.zip |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 377 |
You forgot Mode 9,16 Interestingly I see less shimmer in 9,16 than 9,8 In mode 9,8 I get a lot of shimmer across the center of the screen where the B/W vertical bars are. Edited 2020-08-21 04:35 by Sasquatch -Carl |
||||
darthvader Regular Member ![]() Joined: 31/01/2020 Location: FrancePosts: 87 |
Just tested all modes , everything seems to be ok ![]() 480Mhz , oscillator setup. Theory is when we know everything but nothing work ... Practice is when everything work but no one know why ;) |
||||
Sasquatch![]() Guru ![]() Joined: 08/05/2020 Location: United StatesPosts: 377 |
Some strange things in b14: In Mode 9,8 scrolling text down to the bottom of the screen using Print command causes some strange artifacts, try the following program in Mode 9,8 with Option Default Mode 9 enabled: DO Print "Hello World" Pause(100) Loop See what happens when the text reaches the bottom line of the screen. Then <Ctrl_C> and type Edit Mode 9,16 does not seem to have the same problem I have also had the Editor freeze up the system a few times now with Option Default Mode 9 enabled. Not sure what is happening and I haven't figured out how to reproduce the problem. Posting here in case it jogs a memory. I will post additional info if I can figure out how to reproduce the issue reliably. Edited 2020-08-21 05:21 by Sasquatch -Carl |
||||
mclout999 Guru ![]() Joined: 05/07/2020 Location: United StatesPosts: 490 |
I have tired 7 VGA to HDMI addapters and allllll of them cut it off to one side or top or bottom a bit. NOT ONE of them show every dot on the screen. I kept the ebay one that just clips a little of the last few columns of pixels. I just move a VGA monitor in and use that. |
||||
MauroXavier Guru ![]() Joined: 06/03/2016 Location: BrazilPosts: 303 |
I tested here. Gauntlet in 320x240x8 is in a 4:3 fullscreen glory. I´m using the 1.4v board with crystal and 400Mhz Waveshare. Some small noise on the image, but is the same as in 320x200, then I´m not worried about this. There is no speed downgrade in this screen mode, at least in Gauntlet. |
||||
yock1960 Senior Member ![]() Joined: 18/08/2020 Location: United StatesPosts: 167 |
Ran the icosahedron demo in modes 6,7,8 & 9 in 8 & 16 bit color, no artifacts noted. By eyeball, speed in mode 9 seemed respectable. Prebuilt 400MHZ version (Rictech). Text modes seemed not much different on my 19", 10-ish year old VGA monitor from previous versions, different modes aren't all perfectly centered/fitted...nothing terrible. Steve |
||||
Pilot352 Newbie ![]() Joined: 12/08/2020 Location: United StatesPosts: 34 |
Have you ever thought about a true text mode (perhaps a MODE (0) ) where the arrangement for text character only takes 2 bytes? One byte for the ASCII character and one byte for the color attribute. maybe 4 bits for foreground and four bits for background. This is how the text mode works in the original EGA/VGA spec. The advantages are more program memory and better attribute control in text modes. There are plenty of "non-game/graphics" apps that can be written for the Maximite in this mode. Mode (1) could still be as it is where text and graphics can be combined.. Just curious if it's ever been considered. |
||||
Pilot352 Newbie ![]() Joined: 12/08/2020 Location: United StatesPosts: 34 |
I just noticed a possible bug... From the files list, select a 800x600 JPG image. It views fine but doesn't clear the memory up returning to the prompt. FYI |
||||
Geoffg![]() Guru ![]() Joined: 06/06/2011 Location: AustraliaPosts: 3292 |
There is no "text mode", the Colour Maximite 2 is always in graphics mode. If you output text to the VGA monitor (eg, PRINT "Hello World") the firmware will convert each character to its graphic representation by looking up its bitmap and copying this into the graphics memory. The on-chip hardware does the rest by repeatedly copying the graphics memory to the VGA output. Geoff Geoff Graham - http://geoffg.net |
||||
JoOngle Regular Member ![]() Joined: 25/07/2020 Location: SwedenPosts: 82 |
Well that's interesting feedback, that means it can't be only the vga to HDMI adapters fault, there must be something with timing we can do with the CMM2. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
Back in 'the good old days', TV sets used overscan where the edges of the visible display were deliberately sized so that they were bigger than the screen. This was done so viewers didn't see the annoying edges which tended to flicker. I do have a Sony professional studio monitor than has the ability to turn overscan off so the full image can be seen. I expect that the newer TV/HDMI displays do something similar to overscan and this makes fitting the full display on very difficult. The CMM2 does output the correct frequencies and pixel clocks etc according to the VESA standards so there is little the CMM2 can do. Jim VK7JH MMedit |
||||
capsikin Guru ![]() Joined: 30/06/2020 Location: AustraliaPosts: 341 |
I have tired 7 VGA to HDMI addapters and allllll of them cut it off to one side or top or bottom a bit. NOT ONE of them show every dot on the screen. I kept the ebay one that just clips a little of the last few columns of pixels. I just move a VGA monitor in and use that. Well that's interesting feedback, that means it can't be only the vga to HDMI adapters fault, there must be something with timing we can do with the CMM2. Though if they're all different there may not be any one good timing setting that works with all of them. My projector clips off some of the screen in some of the earlier existing modes (maybe all, I don't remember). It has a VGA input which I'm using for this. edited to add: Back in 'the good old days', TV sets used overscan where the edges of the visible display were deliberately sized so that they were bigger than the screen. This was done so viewers didn't see the annoying edges which tended to flicker. I do have a Sony professional studio monitor than has the ability to turn overscan off so the full image can be seen. I expect that the newer TV/HDMI displays do something similar to overscan and this makes fitting the full display on very difficult. The CMM2 does output the correct frequencies and pixel clocks etc according to the VESA standards so there is little the CMM2 can do. Jim Okay I might need to see if there's any overscan settings to check. Edited 2020-08-21 13:32 by capsikin |
||||
Page 1 of 3 ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |