The PSION Organiser II Homepage
Forum Home Forum Home Help Help Search Search Members Members Login Login Register Register

Welcome, Guest. Please Login or Register.
Why register?
   The Psion Organiser II Forum
   User Forum
   General
(Moderator: Mikesan)
   UDG command syntax?
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: UDG command syntax?  (Read 499 times)
barfieldm
Member




   
Email

Posts: 22
UDG command syntax?
« on: Feb 26th, 2004, 3:31pm »
Quote Quote Modify Modify

This is probably going to sound very silly, but i cant get a UDG command going! Im just playing about and have entered the simple chase game from the LZ manual (p. 8-10) into my XP (LA) i know that the display lines are different, but for some reason it just wont let me put in the UDGs!
 
Am i doing something stupid here?
Zac Schroff
Power Member




   
WWW

Posts: 81
Re: UDG command syntax?
« Reply #1 on: Feb 26th, 2004, 5:04pm »
Quote Quote Modify Modify

Some of the LZ OPL implementation include commands which are not available on CM or XP.  UDG is one of several.  The asterisks on the chapter nine page for the online LZ programmer manual indicate which commands are only available on LZ class machines.

Tact is for those who are not witty enough to be sarcastic.
Mikesan
Administrator




   
WWW

Posts: 252
Re: UDG command syntax?
« Reply #2 on: Feb 26th, 2004, 7:34pm »
Quote Quote Modify Modify

UDG does not exist on the XP, or CM, but was included as an example in the manual.  To save you typing, create an OPL file from this;
 
UDG:(X%,A%,B%,C%,D%,E%,F%,G%,H%)
REM i.e. X%=CHR$(X%), A-H% are the definition data (Org 2 Manual pg 195)
POKEB $180,64+X%*8  
POKEB $181,A% :POKEB $181,B%  
POKEB $181,C% :POKEB $181,D%  
POKEB $181,E% :POKEB $181,F%  
POKEB $181,G% :POKEB $181,H%  
 
Hope this helps.
« Last Edit: Feb 26th, 2004, 7:34pm by Mikesan »
Boris
Administrator




   
WWW

Posts: 552
ANY command syntax!
« Reply #3 on: Feb 27th, 2004, 1:43am »
Quote Quote Modify Modify

UDG, the CM/XP replacement for it, and all the other OPL commands (including commslink and barcode) are listed at  
 
The Psion Organiser II Homepage > OPL Reference
 
 
              
« Last Edit: Feb 27th, 2004, 1:44am by Boris »

Triholerahduliäöhh gugguh !! (tyrolean joy jodler)
Rough translation: There's a new build of Psi2Win!!
Email: boris[at]psion2[dot]org
barfieldm
Member




   
Email

Posts: 22
Re: UDG command syntax?
« Reply #4 on: Feb 27th, 2004, 8:10am »
Quote Quote Modify Modify

Many Thanks All!
 
That explains the problem! The only manuals i have are for the LZ, and theres no asterisk! (dec '91 reprint)
 
Many thanks for the routine mikesan, i will put that in when i get a moment. I did download the reference file, but havent unzipped it yet!
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

The Psion Organiser II Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2002,
Xnull. All Rights Reserved.
top