![]() |
Forum Index : Microcontroller and PC projects : probably I did something that you shouldn't do....
Author | Message | ||||
yock1960 Senior Member ![]() Joined: 18/08/2020 Location: United StatesPosts: 167 |
...but it worked on my original monitor, an oldish 4:3 Acer 19". So, I decided to try a different monitor today, a Vizio 19" TV/monitor, in order to take advantage of widescreen modes. In testing this out, to see if there were any issues with the different modes, all was going well until I tried it with my current project (Qbert). It 'immediately' kicked back to the prompt. It took me a few minutes to find the problem. I'm using mode 4,12...for now at least, but recently took advantage of the frame blanking interrupt capability. When I first did this, it crashed, as some objects don't exist before the interrupt 1st fires. I fixed this by not specifying the interrupt at first, but after all the objects are created, put in another 'mode 4,12,interrupt' command in and all was well....until the new monitor. Now, perhaps what I did originally is bad practice...certainly this TV/monitor doesn't like it. Fixed it by adding a flag to return from interrupt until all objects are created. Live and learn...and share something if it seems....interesting. Steve |
||||
vegipete![]() Guru ![]() Joined: 29/01/2013 Location: CanadaPosts: 1132 |
I don't see how something plugged into the VGA port can possibly affect programs running on the CMM2. Crazy voltages might fry MCU pins, but change program operation? Visit Vegipete's *Mite Library for cool programs. |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
Given yock1960's description it would be random if it crashed depending of the timing of the first frameblanking relative to the initialisation running |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |