TUI lag
Re: TUI lag
Thanks again Brendan for your helpful reply I will work through the code and see what I can do
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Currently - Busy with FAT12 driver and VFS
Re: TUI lag
That's interesting. You set the PIT to 10MHz, when its internal decrementer runs at 1.19MHz. That's quite impressive - how did you manage that?salil_bhagurkar wrote:Wtf? I had once set the PIT to 10000 Hz and even my scheduler worked fine. There was no question of lag in the screen display.
Re: TUI lag
Hi,
I'm guessing the PIT's count was set to about 119.
Cheers,
Brendan
Um, 10000 Hz is 10 KHz, or 0.01 MHz...JamesM wrote:That's interesting. You set the PIT to 10MHz, when its internal decrementer runs at 1.19MHz. That's quite impressive - how did you manage that?salil_bhagurkar wrote:Wtf? I had once set the PIT to 10000 Hz and even my scheduler worked fine. There was no question of lag in the screen display.
I'm guessing the PIT's count was set to about 119.
Cheers,
Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Re: TUI lag
Hahaha! woops! Thanks for the correction BrendanBrendan wrote:Hi,
Um, 10000 Hz is 10 KHz, or 0.01 MHz...JamesM wrote:That's interesting. You set the PIT to 10MHz, when its internal decrementer runs at 1.19MHz. That's quite impressive - how did you manage that?salil_bhagurkar wrote:Wtf? I had once set the PIT to 10000 Hz and even my scheduler worked fine. There was no question of lag in the screen display.
I'm guessing the PIT's count was set to about 119.
Cheers,
Brendan
Re: TUI lag
Ok i worked through the code and debugged it.. It works fine now except that the screen is split into to columns, i think that the scroll doesnt move the text a full line up. Only half a line. With regard to creating a video buffer in RAM would i just allocate some memory after my kernel and then write to this as normal? I have created a copy algorithm that works fine.
Gizmic OS
Currently - Busy with FAT12 driver and VFS
Currently - Busy with FAT12 driver and VFS