OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 11:04 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Stupid bicycle vs too large solution.
PostPosted: Tue Jan 31, 2017 2:28 am 
Offline
Member
Member

Joined: Wed Jan 25, 2017 3:37 pm
Posts: 71
So, now i'm need to repaint some parts of screen every loop pass.

And it's blink.

So, i'm now have only 640kb of ram, and double buffering is too large for it's(because only binary in memory weight approx 300kb).

I'm make for this small bicycle:

Pass counter, when it's > 20k then zero it's and redraw part of screen.

It's fast and reduce blink.

But it's bicycle.

What better? Double buffering in 300kb ram or bicycle with high CPU usage?


Top
 Profile  
 
 Post subject: Re: Stupid bicycle vs too large solution.
PostPosted: Tue Jan 31, 2017 2:39 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4591
Location: Chichester, UK
Best is to use a motorcycle and not restrict yourself to less than 1MB of RAM.


Top
 Profile  
 
 Post subject: Re: Stupid bicycle vs too large solution.
PostPosted: Tue Jan 31, 2017 2:49 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 1108
monobogdan wrote:
So, i'm now have only 640kb of ram, and double buffering is too large for it


Consider protected mode or unreal mode.


Top
 Profile  
 
 Post subject: Re: Stupid bicycle vs too large solution.
PostPosted: Tue Jan 31, 2017 3:24 pm 
Offline
Member
Member
User avatar

Joined: Sun Dec 25, 2016 1:54 am
Posts: 204
Not intending to be facetious.... but this is how the concept of virtual memory and paging was found to be needed.....

I will recommend this one thing though:

obviously your problem with graphics has been solved at some point in time in the past... it well worth the effort to research how they did it..... if you become well versed in working with resource constrained systems then that is a marketable skill...

good luck and keep at it

_________________
Plagiarize. Plagiarize. Let not one line escape thine eyes...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group