10.07.2015 Views

Uncompressed - The Tech Heap

Uncompressed - The Tech Heap

Uncompressed - The Tech Heap

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

EXTENDED BASIC UNRAVELLED IIAPPENDIX DORIGIN:SPECTRAL ASSOCEXTENDED BASIC ROUTINES AND ENTRY POINTS REVISED:12/26/1999 WALTER K ZYDHEKX 950D INCREMENT VERTICAL POSITION - Gets the currentvertical coordinate (VERBEG) and moves it one down.X 9515 DECREMENT HORIZONTAL POSITION - Gets the currenthorizontal coordinate (HORBEG) and moves it oneto the left.X 951B DECREMENT VERTICAL POSITION - Gets the currentvertical coordinate (VERBEG) and moves it one up.A,B,X,U 9522 GET MAXIMUM COORDINATES - Get the maximum valuesof the horizontal and vertical coordinates for thecurrent PMODE. Return HOR in VD3 and VER in VD5.A,B,X 9536 CLEAR GRAPHIC SCREEN - Clear the current graphicsscreen to the color in ACCB. If ACCB = 0 thenclear to the current background color.A,B 9710 CALCULATE ABS(VEREND-VERBEG) - Calculate theabsolute value of the distance between VERENDand VERBEG. Carry flag will indicate which wasthe larger coordinate.A,B 971D CALCULATE ABS(HOREND-HORBEG) - Calculate theabsolute value of the distance between HORENDand HORBEG. Carry flag will indicate which wasthe larger coordinate.U,Y 9FB5 16 BIT MULTIPLY - Multiply (unsigned) two 16 bitnumbers together. Enter with one number in ACCDand the other in the X register. <strong>The</strong> four byteproduct will be returned in the Y and U registers.D3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!