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 : picomitevga - mode and color commands result in black screen?
Page 2 of 2 | |||||
Author | Message | ||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
The other thing, which I don't think anyone has pointed out, is that the PicoMite only has two graphic modes: Mode 1 - 640 x 480 - 1 colour (i.e. you can have a common background colour but the foreground pixels are either on or off and are all the same colour) Mode 2 - 320 x 240 - 16 colours (i.e. every pixel can be coloured individually) In Mode 1 the TILE system gives you the ability to get low resolution colour. Each character cell can have a background and a foreground colour, and Font 3 characters are the same size as a character cell. So you can have coloured text, but any graphics need very careful planning. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Very cool, Martin--thanks for posting. Can you explain the derivation and use of the magic numbers, "CR = -.798" and "CI = .1618"? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1114 |
No, sadly not ...(I'm more into Boolean algebra than complex numbers). But I think they should be the real part, and the imaginary part of the complex number. I just translated the QBasic Source from https://rosettacode.org/wiki/Julia_set#QBasic to MMBasic. So far I've experimented a bit with the value of escala for zooming and maxiter for computational depth. At the moment, the Pico calculates a sequence of images that zooms into the Julia set. You can try out what happens when you change the values. Cheers Mart!n Edited 2023-07-13 01:12 by Martin H. 'no comment |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9129 |
Font 1 characters are the same size as a character cell (12x8) |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
I think (but am not sure) you are in effect viewing part of a potentially huge fractal area and this selects the part (or at least where the calculations start). Try different values which are almost the same and see if the picture is recognisably near the original - maybe? John Edited 2023-07-13 01:38 by JohnS |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
oops.... Font 1, correct. It's also the default font, which is quite handy. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Martin H. Guru Joined: 04/06/2022 Location: GermanyPosts: 1114 |
here is the Animation, the result of ~12 Hours pico calculation at 378MHz julia-Anni.zip Edited 2023-07-13 20:56 by Martin H. 'no comment |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
John--thanks for your probably correct stab. I was curious about the odd numbers, but not enough so to actually experiment. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Page 2 of 2 |
Print this page |