Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:12 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 : where does the framebuffer live in memory?

Author Message
berighteous
Senior Member

Joined: 18/07/2020
Location: United States
Posts: 110
Posted: 01:56am 17 Aug 2020
Copy link to clipboard 
Print this post

Hi!
Where does the frame buffer live in memory?  Does it occupy the same memory as regular video pages?
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1132
Posted: 02:56am 17 Aug 2020
Copy link to clipboard 
Print this post

Test the command "mm.info(page address framebuffer)"

Edit:
Or maybe not. With or without framebuffer defined, it returns the same as "mm.info(page address 0)"

I guess it's a request for matherp.

Maybe a loop peeking through all of memory could find it ...
Edited 2020-08-17 13:04 by vegipete
Visit Vegipete's *Mite Library for cool programs.
 
berighteous
Senior Member

Joined: 18/07/2020
Location: United States
Posts: 110
Posted: 03:23am 17 Aug 2020
Copy link to clipboard 
Print this post

it gives the same address as page 0.
Edited 2020-08-17 13:25 by berighteous
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 07:05am 17 Aug 2020
Copy link to clipboard 
Print this post

The framebuffer is allocated in variable memory when the create command is used. A second copy is allocated when the backup command is used. The position in memory is dependent on other variable use before the framebuffer command. It is not fixed. I'll include
  Quote  MM.INFO(FRAMEBUFFER)
in the next beta (V5.05.05b11) to give its address
Edited 2020-08-17 18:14 by matherp
 
berighteous
Senior Member

Joined: 18/07/2020
Location: United States
Posts: 110
Posted: 04:46pm 17 Aug 2020
Copy link to clipboard 
Print this post

We're up to b11 now?  wow.  You the man!
 
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