Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 00:05 08 May 2026 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 paint program

Author Message
Macer_D
Newbie

Joined: 25/04/2026
Location: United Kingdom
Posts: 5
Posted: 05:42pm 26 Apr 2026
Copy link to clipboard 
Print this post

Hi all, I am using my recently acquired CMM2 to create a paint program for the 12-bit graphics mode - currently am just trying to draw things to the screen. I have run into the problem of moving objects leaving behind undesired trails, and it seems that the cls function is too slow to be called every frame - Things don't render properly when I do it. What would be the best way to go about writing to and clearing from the screen? Thanks for your time.
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1880
Posted: 08:50pm 26 Apr 2026
Copy link to clipboard 
Print this post

Two possibilities: GETSCANLINE and the other is the "int" option of the MODE command.

It's all in the manual.
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 572
Posted: 03:41am 27 Apr 2026
Copy link to clipboard 
Print this post

Hi

If you have a limited number of things to move, you can use sprites. I use a lot of them on my game port Knightmare

Another option is using multiple buffers and blit to copy data across them, and rerender only the areas of the screen that were updated, instead of using CLS and rendering the entire screen again.
 
hhtg1968
Senior Member

Joined: 25/05/2023
Location: Germany
Posts: 184
Posted: 11:51am 27 Apr 2026
Copy link to clipboard 
Print this post

a few weeks or months ago i posted a similar problem by my paint programm. i try to find my question i sent here to the forum.
i think the idea with sprites is a good idea. more to come...
 
hhtg1968
Senior Member

Joined: 25/05/2023
Location: Germany
Posts: 184
Posted: 11:59am 27 Apr 2026
Copy link to clipboard 
Print this post

hmm. i cannot find my earlier posts...

i asked dico4now and matherp.

i send my source code here and a link to show the problems...

then link to youtube:

movies to show the problems...


the code:

     
hg.bas.zip


yours heinrich
 
hhtg1968
Senior Member

Joined: 25/05/2023
Location: Germany
Posts: 184
Posted: 12:00pm 27 Apr 2026
Copy link to clipboard 
Print this post

by the way:

ist there a system to find old posts?
 
BarryH

Newbie

Joined: 05/01/2025
Location: Australia
Posts: 34
Posted: 12:08pm 27 Apr 2026
Copy link to clipboard 
Print this post

@hhtg1968
To easily find your own posts, go to the MEMBERS link at the top of the page, find your username, and all your posts are listed there.
BarryH
 
hhtg1968
Senior Member

Joined: 25/05/2023
Location: Germany
Posts: 184
Posted: 12:12pm 27 Apr 2026
Copy link to clipboard 
Print this post

@BarryH: many thanks. that is so easy...

a link to one of my earlier posts...:

earlier posts...
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3188
Posted: 12:18pm 27 Apr 2026
Copy link to clipboard 
Print this post

paint programm thread
Found using your username and "paint programm" with the normal search button.
 
hhtg1968
Senior Member

Joined: 25/05/2023
Location: Germany
Posts: 184
Posted: 01:45pm 27 Apr 2026
Copy link to clipboard 
Print this post

@phil99:

cause of using the hint from BarryH i got it.

in earlier tries of searching i do not use my username and therefore to much results...

thank you.
 
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 2026