Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:15 01 Aug 2025 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 : CMM2: Mode 8,12 and Right Edge

Author Message
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1132
Posted: 11:27pm 07 Feb 2021
Copy link to clipboard 
Print this post

MMBasic Version 5.07.00b2

With the above firmware, I notice a problem trying to draw on the very right edge of the screen in mode 8,12

mode 8,12
cls
box 0,0,320,200
do:loop

The right side of the box doesn't appear. Works fine in mode 3,8

Likewise, nothing appears with "line 319,0,319,199".

And no, it is not the monitor.

(I'm not sure where to report bugs right now...)
Visit Vegipete's *Mite Library for cool programs.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 03:57am 08 Feb 2021
Copy link to clipboard 
Print this post

I assume you mean MODE 3,12 not 8,12

I agree that the right hand column appears to be missing in mode 3,12 but visible in mode 3,8 and 3,16

mode 3,12
cls
line 318,0,318,199,1,rgb(green)
line 319,0,319,199,1,rgb(red)
'box 0,0,319,199
do:loop


Jim
VK7JH
MMedit
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1132
Posted: 05:28am 08 Feb 2021
Copy link to clipboard 
Print this post

Whoops, yes, mode 3,12.
Visit Vegipete's *Mite Library for cool programs.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 08:55am 08 Feb 2021
Copy link to clipboard 
Print this post

Thanks for the report - will have a look

UPDATE

Fixed in b12
Edited 2021-02-09 02:19 by matherp
 
Pilot352
Newbie

Joined: 12/08/2020
Location: United States
Posts: 34
Posted: 06:18pm 08 Feb 2021
Copy link to clipboard 
Print this post

If the right side is drawn, wouldn't that mean the width of the screen is 201 pixels? You are starting at 0. Range should be 0-199 not 0-200. Or am I wrong?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 06:21pm 08 Feb 2021
Copy link to clipboard 
Print this post

  Quote  Or am I wrong?


Yes

BOX x,y,w,h
LINE x1,y1,x2,y2
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025