Re: BASIC MODE Question
- From: Darren Salt <news@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 03 Jul 2007 19:08:36 +0100
I demand that Michael Emerton may or may not have written...
[snip]
MODE 800,600,32
PRINT "Hello"
[snip]DIM block% 256
!block%=1
block%!4=800
block%!8=600
block%!12=5
block%!16=60
block%!20=-1
SYS "OS_ScreenMode",0, block%
PRINT "Hello"
Oddly the first suggestion returned a syntax error,
And so it should, unless you're using a new enough BASIC module.
and the second needed a tweak (I changed !16 = 60 To !16 = -1
=> unspecified frame rate.
and removed !20
Wrong. At offset 20, you have index/value pairs (words) for VDU variables,
terminated with index=-1.
This works in the desktop, but fails outside (pre-desktop)
Any more ideas?
Yes. Load your mode definition file pre-desktop. :-)
--
| Darren Salt | d @ youmustbejoking,demon,co,uk | nr. Ashington, | Toon
| RISC OS, Linux | s zap,tartarus,org | Northumberland | Army
| + Buy local produce. Try to walk or cycle. TRANSPORT CAUSES GLOBAL WARMING.
See that ZX81, that's your 486 DX66, that is.
.
- Follow-Ups:
- Re: BASIC MODE Question
- From: Michael Emerton
- Re: BASIC MODE Question
- References:
- BASIC MODE Question
- From: Michael Emerton
- Re: BASIC MODE Question
- From: David Pitt
- Re: BASIC MODE Question
- From: Michael Emerton
- BASIC MODE Question
- Prev by Date: More Font Help
- Next by Date: Re: BASIC MODE Question
- Previous by thread: Re: BASIC MODE Question
- Next by thread: Re: BASIC MODE Question
- Index(es):
Relevant Pages
|
Loading