Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #784
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!cyclone01.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!npeersf01.ams.highwinds-media.com!newsfe30.ams2.POSTED!00000000!not-for-mail |
|---|---|
| Subject | Re: SWI / BASIC command to read number of Pixels in a screen mode |
| Newsgroups | comp.sys.acorn.programmer |
| Reply-To | Bryan Hogan <news@helpful.demon.co.uk> |
| From | Bryan Hogan <spam@nowhere.invalid> |
| X-Editor | EmailEdit 6.00 |
| Message-ID | <20cc8c1952.bryan@helpful.demon.co.uk> (permalink) |
| References | <11510590.202.1317160195012.JavaMail.geo-discussion-forums@yqnk41> |
| Lines | 20 |
| User-Agent | Messenger-Pro/6.00 (MsgServe/6.00S) (RISC-OS/4.39) NewsHound/1.42 |
| NNTP-Posting-Host | 62.49.21.160 |
| X-Complaints-To | abuse@demon.net |
| X-Trace | newsfe30.ams2 1317171003 62.49.21.160 (Wed, 28 Sep 2011 00:50:03 UTC) |
| NNTP-Posting-Date | Wed, 28 Sep 2011 00:50:03 UTC |
| Date | Wed, 28 Sep 2011 01:49:19 +0100 |
| Xref | x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:784 |
Show key headers only | View raw
In message <11510590.202.1317160195012.JavaMail.geo-discussion-forums@
yqnk41>
Michael <michaelremerton@gmail.com> wrote:
> suitable SWI to return the width of a MODE MODE'd Screen
Dragging out some very old code of mine:
SYS "OS_ReadModeVariable",-1,3 TO ,,ncolours%:ncolours%+=1
SYS "OS_ReadModeVariable",-1,4 TO ,,screenXfact%
SYS "OS_ReadModeVariable",-1,5 TO ,,screenYfact%
SYS "OS_ReadModeVariable",-1,11 TO ,,screenXpix%
SYS "OS_ReadModeVariable",-1,12 TO ,,screenYpix%
screenXmax%=screenXpix%<<screenXfact%
screenYmax%=screenYpix%<<screenYfact%
Bryan.
--
RISC OS London Show - Saturday 29th October 2011
http://www.riscoslondonshow.co.uk/
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