Personal Computer News


Oric Code Considered

 
Published in Personal Computer News #047

Oric Code Considered

If you are trying to develop machine code programs on the Oric-1 there is a good possibility that you are having problems. The following points may be of help in saving Oric users a lot of trouble.

The instruction POKE 15342 #60 will not work because the number is specified in hexadecimal format. The computer does not respond with an error message but also does not perform the operation. The rule is, always specify the value to be POKEd in decimal. Also watch out for the keyword DEF popping up in hexadecimal numbers because the computer will report an error message and again will not perform the operation. Such an instruction might be:

LET A = #9DEF POKE #9DEF,9

Then can easily be amended so as not to produce an error message in two ways.

LET A = #9DEF (Place a space in the middle of the number)

or

LET A = #9DEF + 1

N. Jones
Acklam, Middlesbrough, Cleveland

N. Jones