[comp.sys.apple] ASSEMBLY ROUTINES GRAPHICS/RANDOM

GA.NES@isumvs ("") (05/09/88)

About some questions on assembly language programming:

   Graphics:  There are graphics routines in (Applesoft)? that draw
              lines, clear screens, etc., that can be used in single
              resolution graphics.  I'm not near any books with the
              addresses right now, but I'm sure it isn't very hard
              to find a good graphics book which explains them.

   Random :   I have a routine that generates random numbers made
              from theory given in a book I own.  Essentially what
              it does is take a set of bytes, and adds the bytes
              from Applework's random routine to the sequence.
              Random numbers are then chosen by taking the n
              bits from the left side of the sequence and adding
              them together, works quite well.  I set up a routine
              to get random numbers for each of the following dice:
              4,6,8,10,12,100 (two ten sided dice & yes, I used to play
              Dungeons and Dragons ).

     If anyone wants a copy badly enough, I suppose you could E-mail me.

     But does anyone know about assembly routines for DOUBLE HI-RES graphics
     routines?  This is what I still haven't figured out. I have HGR6, but
     they don't give entry points, or an assembly listing.

     Good luck programming.


     Niko Schuessler
     GA.NES@ISUMVS