📄 taskwin.html
字号:
<!doctype html public "-//W3C//DTD HTML 3.2//EN"><html><head><title>Speeding up the TaskWindow</title><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><meta http-equiv="content-language" content="en" /><meta name="resource-type" content="document"><meta name="copyright" content="This document copyright 2001 by Richard Murray. Use for non-profit and education purposes explicitly granted."><meta name="author" content="Richard Murray"><meta name="rating" content="general"></head><!-- /assembler/taskwin.html --><!-- --><!-- (C) Copyright 2001 Richard Murray --><!-- Designed by Richard Murray --><!-- rmurray@heyrick.co.uk --><!-- --><body bgcolor="#f0f0f0" text="#000000" link="#0022dd" vlink="#002288"><table border = "0" width="100%"> <tr> <td align=center width=100> <img src="arm3.gif" width=79 height=78 align = middle> </td> <td> <h1 align="center"><font color="#800080">Speeding up the TaskWindow</font></h1> </td> <td align=center width=100> <img src="arm3.gif" width=79 height=78 align = middle> </td></table><p> <p>One of the least-touched parts of RISC OS is the TaskWindow. Sure enough, there are variousdifferent builds in the different versions of RISC OS, but they <i>all</i> seem to suffer fromthe two problems it has always had:<ol> <li> Doesn't support graphics - though third-party extensions such as David Ruck's GraphTask answer this. <li> Tediously slow</ol><p>Of them, the speed of the taskwindow was always a bit of an embarrassment. Entering<code>*modules</code> on my ARM710 machine takes just short of four seconds. On my A5000, it wasquite a bit slower.<p>But now?<br>Now, that same command takes slightly less than two seconds!<p>The speed improvement depends a lot on what you are doing. This has given a 50% increase, wheresome have reported as much as a 30-40 <i>times</i> increase for some tasks. Ie, it isn't twice asfast, it is <i>forty</i> times as fast!<p>But such niceties come with a caveat. If you try something that is forever outputting to theVDU, like <code>*Help .</code>, or a program like <code>PRINT "Alyson! ":RUN</code>then you'll find Bad Things Happen. This is because the speed up patch is a hack. A more elegantsolution is being devised, <i>watch this space!</i><p> <p>Fancy following this entire thread? In <a href="http://groups.google.com/">groups.google.com</a> <font color = "red" size = "-1">[EXTERNAL LINK]</font>,and in the advanced search page enter the newsgroup <i>comp.sys.acorn.programmer</i>, and thesubject <i>Faster taskwindow</i>. The first message was posted by Daniel Ellis on 2001-12-05.<p> <p>On the 5th of December, Daniel Ellis posted the following:<pre>One of the main things slowing down taskwindow is that it Wimp_Polls everytime its output buffer is full.You can stop it doing this by NOOPing the branch to the poll in the outputroutine, which on RO 4.02 looks like this:0000140C : ï..ë : EB0002EF : BL &00001FD000001410 : ...: : 3A000004 : BCC &0000142800001414 : Ó..ë : EB0002D3 : BL &00001F6800001418 : ì..ë : EB0002EC : BL &00001FD00000141C : ..
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -