Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:26 28 Nov 2024 Privacy Policy
Jump to

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 : Print @ mode bug?

Author Message
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1101
Posted: 11:56pm 13 Sep 2013
Copy link to clipboard 
Print this post

Hi Folks,

Playing around with the PRINT @ command I have found a problem using mode 5. My understanding of mode 5 is that repeated use of the command in the same position with the same character should invert the pixels under the character each alternate pass?

Has anyone else found an issue with this command and mode and confirm the bug or am I just missing something?

MMBasic 4.4 on a Duinomite Mega and 4.4 on a CGCMM1

Test Code

Cls
Font #2
x=18
Print @(1,1,0)"ABCDEFGH"
Pause 4000
Print @(1,x*2,0)"Space mode 0",@(13,1,0)" "
Pause 4000
Print @(1,x*3,0)"B mode 0",@(13,1,0)"B"
Pause 4000
Print @(1,x*4,0)"Space mode 1",@(13,1,1)" "
Pause 4000
Print @(1,x*5,0)"B mode 1",@(13,1,1)"B"
Pause 4000
Print @(1,x*6,1)"Space mode 2",@(13,1,2)" "
Pause 4000
Print @(1,x*7,0)"B mode 2",@(13,1,2)"B"
Pause 4000
Print @(1,x*8,0)"Space mode 0",@(13,1,0)" "
Pause 4000
Print @(1,x*9,0)"X mode 5",@(13,1,1)"X"
Pause 4000
Print @(1,x*10,0)"O mode 5",@(13,1,1)"O"
Pause 4000
Print @(1,x*11,0)"W mode 5",@(13,1,1)"W"


PS. I can understand why it may not work on the CGCMM but it should be OK on the Duinomite?

Cheers, Doug.

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1101
Posted: 04:13pm 16 Sep 2013
Copy link to clipboard 
Print this post

Hi All,

Again, a victem of my own carelessness - mode 5 works fine on a mono Duinomite Mega running 4.4 (I had incorrectly tested on a DM running 4.3). It can be used to blink a character quite successfully - for Grogster, a possible cursor?

However, mode 5 does not work (understandably) on the CMM, it just works the same as mode 1.

Again, I am verry sorry to have wasted anyone's time on this,

Regards, Doug.

... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it!
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024