Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #781
| From | Martin Bazley <martin.bazley@blueyonder.co.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: SWI / BASIC command to read number of Pixels in a screen mode |
| Message-ID | <f4a7801952.martin@blueyonder.co.uk> (permalink) |
| References | <11510590.202.1317160195012.JavaMail.geo-discussion-forums@yqnk41> <4e824566$0$289$14726298@news.sunsite.dk> <29085508.197.1317160978519.JavaMail.geo-discussion-forums@yqgn17> <27271949.278.1317161932818.JavaMail.geo-discussion-forums@yqma37> |
| Organization | virginmedia.com |
| Date | 2011-09-27 23:36 +0100 |
The following bytes were arranged on 27 Sep 2011 by Michael : > DIM b% 8 > b%!0 = 11 > b%!4=-1 > SYS "OS_ReadVduVariables",b%,b% > > width% = b%!0 > > b%!0 = 12 > > SYS "OS_ReadVduVariables",b%,b% > > height% = b%!0 That's still two calls to the SWI, which is unnecessary because it's not OS_ReadModeVariable and can return values for more than one variable at once. See my earlier post. Variables 11 and 12 are values in pixels, not used by any RISC OS plotting routine. You need the eigen-factors, variables 4 and 5, as well, to convert them to OS units. -- __<^>__ "Your pet, our passion." - Purina / _ _ \ "Your potential, our passion." - Microsoft, a few months later ( ( |_| ) ) \_> <_/ ======================= Martin Bazley ==========================
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
SWI / BASIC command to read number of Pixels in a screen mode Michael <michaelremerton@gmail.com> - 2011-09-27 14:49 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode Alex Macfarlane Smith <nospam@archifishal.co.uk> - 2011-09-27 22:51 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Michael <michaelremerton@gmail.com> - 2011-09-27 15:02 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode Michael <michaelremerton@gmail.com> - 2011-09-27 15:18 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-09-27 23:36 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-09-27 23:34 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Michael <michaelremerton@gmail.com> - 2011-09-27 16:10 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode Martin Bazley <martin.bazley@blueyonder.co.uk> - 2011-09-27 23:19 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Michael <michaelremerton@gmail.com> - 2011-09-27 16:14 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode Steve Drain <steve@kappa.me.uk> - 2011-09-28 11:33 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-09-28 17:27 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode Michael <michaelremerton@gmail.com> - 2011-09-28 18:57 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode Gazza <usenet@garethlock.com> - 2011-10-18 16:12 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode "Ste (news)" <steve@revi11.plus.com> - 2011-10-25 14:33 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Martin Wuerthner <spamtrap@mw-software.com> - 2011-09-28 10:47 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode Steve Drain <steve@kappa.me.uk> - 2011-09-28 12:02 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Steve Drain <steve@kappa.me.uk> - 2011-09-28 12:09 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode "Ste (news)" <steve@revi11.plus.com> - 2011-09-28 15:13 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-09-28 17:36 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode Steve Drain <steve@kappa.me.uk> - 2011-09-28 17:32 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Martin <News03@avisoft.f9.co.uk> - 2011-09-28 12:55 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-09-28 17:34 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode Gazza <usenet@garethlock.com> - 2011-10-18 16:10 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-19 06:49 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode Steve Drain <steve@kappa.me.uk> - 2011-10-19 10:19 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Erik G <erikg@noname.invalid> - 2011-10-19 15:24 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-19 19:47 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode druck <news@druck.org.uk> - 2011-10-19 20:36 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-20 17:40 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode druck <news@druck.org.uk> - 2011-10-20 20:13 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-09-27 23:21 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Bryan Hogan <spam@nowhere.invalid> - 2011-09-28 01:49 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-09-28 18:22 +0200
Re: SWI / BASIC command to read number of Pixels in a screen mode Michael <michaelremerton@gmail.com> - 2011-09-28 19:12 -0700
Re: SWI / BASIC command to read number of Pixels in a screen mode "Ste (news)" <steve@revi11.plus.com> - 2011-09-29 12:42 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Steve Drain <steve@kappa.me.uk> - 2011-09-29 16:14 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode "Ste (news)" <steve@revi11.plus.com> - 2011-09-30 00:12 +0100
Re: SWI / BASIC command to read number of Pixels in a screen mode Steve Drain <steve@kappa.me.uk> - 2011-09-30 10:48 +0100
csiph-web