 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Sun Dec 02, 2007 10:27 pm
[2.14] Display optimization with #GAG |
I seem to recall the extra layer added to screen display was to make #GAGged lines never appear on the screen. This seems to work fine, text doesn't appear when it shouldn't. There is still a repaint occurring that shouldn't be though, it actually is very visible on my slow system.
Procedure
1. Launch CMud
2. Close Sessions window (ESC)
3. Press CTRL-Q to make a bunch of stuff so you can see the repaint
4. Enter at the command line
| Code: |
| #TRIGGER {^0} {#GAG};#LOOP 4000 {#SHOW 0} |
If you need longer to see it repeat the loop again. Do not go above 4995 in a single loop though.
You should be able to see flickers in the CTRL-Q test lines from to bottom. My system specs for quick reference
| Code: |
operating system : Windows XP Service Pack 2 build 2600
system language : English
processor : AMD Athlon(tm) Processor
physical memory : 130/383 MB (free/total)
free disk space : (C:) 14.29 GB
display mode : 1024x768, 32 bit |
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Dec 03, 2007 12:44 am Re: [2.14] Display optimization with #GAG |
| Vijilante wrote: |
operating system : Windows XP Service Pack 2 build 2600
physical memory : 130/383 MB (free/total) |
How exactly hasn't this computer exploded into a fiery ball of flame yet? I was forced to use a computer with about that much memory with Windows XP installed and it survived about two hours before the intensity of my impatient glare as it took two minutes just to open firefox made it spontaneously combust. |
|
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Mon Dec 03, 2007 1:24 am |
I borrow memory from other systems. It actually is pretty simple, I have quite the bunch of old hard drives and dvd drives in my system. They are split up onto different controller cards, each of which has 64MB of on board cache. My VM swapfile is split between drives on each controller card. Since they are old junk drives they don't actually see any usage except for the VM. This leaves that using the card cache as long as I don't need to use anything else attached to that card. So I have plenty of secondary memory running about 1/5th the speed of my system memory.
Basically the first time I do anything in a given boot it takes a while. After that first time things tend to be quite smooth. That might be why my computer never gets shut down. Once again this forum is forcing me to give away all my secrets.
Oh yeah, I have a 1GB stick of memory sitting on my desk. All the specs for it are correct for my system, but it isn't compatible...go figure. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Dec 03, 2007 6:28 pm |
Yeah, I'm afraid I can't do much about the "extra" repaint. When the initial line is received, the line is marked as "invalid" to tell Windows to repaint the line when it gets a chance. CMUD delays this repaint until the trigger is complete (to avoid the original line from being seen), but there is no way to "undo" this to tell Windows not to repaint that part of the screen without causing all sorts of other problems. I'd much rather have the extra repaint rather than having trouble with the screen sometimes not refreshing properly (which you'll probably remember as being messed up in a couple of the beta versions when I tried to optimize this).
|
|
|
|
 |
|
|
|