home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / amigae / e_v3.2a / modulessrc / graphics / gfxbase.e < prev    next >
Text File  |  1977-12-31  |  4KB  |  171 lines

  1. OPT MODULE
  2. OPT EXPORT
  3.  
  4. OPT PREPROCESS
  5.  
  6. MODULE 'exec/interrupts',
  7.        'exec/libraries',
  8.        'exec/lists',
  9.        'exec/semaphores',
  10.        'exec/tasks',
  11.        'graphics/copper',
  12.        'graphics/monitor',
  13.        'graphics/sprite',
  14.        'graphics/text',
  15.        'graphics/view',
  16.        'hardware/blit'
  17.  
  18. OBJECT gfxbase
  19. -> Um, this was missing
  20.   lib:lib
  21.   actiview:PTR TO view
  22.   copinit:PTR TO copinit
  23.   cia:PTR TO LONG
  24.   blitter:PTR TO LONG
  25.   loflist:PTR TO INT  -> Target is unsigned
  26.   shflist:PTR TO INT  -> Target is unsigned
  27.   blthd:PTR TO bltnode
  28.   blttl:PTR TO bltnode
  29.   bsblthd:PTR TO bltnode
  30.   bsblttl:PTR TO bltnode
  31.   vbsrv:is
  32.   timsrv:is
  33.   bltsrv:is
  34.   textfonts:lh
  35.   defaultfont:PTR TO textfont
  36.   modes:INT  -> This is unsigned
  37.   vblank:CHAR  -> This is signed
  38.   debug:CHAR  -> This is signed
  39.   beamsync:INT
  40.   system_bplcon0:INT
  41.   spritereserved:CHAR
  42.   bytereserved:CHAR
  43.   flags:INT  -> This is unsigned
  44.   blitlock:INT
  45.   blitnest:INT
  46.   blitwaitq:lh
  47.   blitowner:PTR TO tc
  48.   tof_waitq:lh
  49.   displayflags:INT  -> This is unsigned
  50. -> This is really PTR TO PTR TO simplesprite
  51.   simplesprites:PTR TO LONG
  52.   maxdisplayrow:INT  -> This is unsigned
  53.   maxdisplaycolumn:INT  -> This is unsigned
  54.   normaldisplayrows:INT  -> This is unsigned
  55.   normaldisplaycolumns:INT  -> This is unsigned
  56.   normaldpmx:INT  -> This is unsigned
  57.   normaldpmy:INT  -> This is unsigned
  58.   lastchancememory:PTR TO ss
  59.   lcmptr:PTR TO INT  -> Target is unsigned
  60.   microsperline:INT  -> This is unsigned
  61.   mindisplaycolumn:INT  -> This is unsigned
  62.   chiprevbits0:CHAR
  63.   memtype:CHAR
  64.   crb_reserved[4]:ARRAY
  65.   monitor_id:INT  -> This is unsigned
  66.   hedley[8]:ARRAY OF LONG
  67.   hedley_sprites[8]:ARRAY OF LONG
  68.   hedley_sprites1[8]:ARRAY OF LONG
  69.   hedley_count:INT
  70.   hedley_flags:INT  -> This is unsigned
  71.   hedley_tmp:INT
  72.   hash_table:PTR TO LONG
  73.   current_tot_rows:INT  -> This is unsigned
  74.   current_tot_cclks:INT  -> This is unsigned
  75.   hedley_hint:CHAR
  76.   hedley_hint2:CHAR
  77.   nreserved[4]:ARRAY OF LONG
  78.   a2024_sync_raster:PTR TO LONG
  79.   control_delta_pal:INT  -> This is unsigned
  80.   control_delta_ntsc:INT  -> This is unsigned
  81.   current_monitor:PTR TO monitorspec
  82.   monitorlist:lh
  83.   default_monitor:PTR TO monitorspec
  84.   monitorlistsemaphore:PTR TO ss
  85.   displayinfodatabase:LONG
  86.   topline:INT  -> This is unsigned
  87.   activiewcprsemaphore:PTR TO ss
  88.   utilbase:PTR TO LONG
  89.   execbase:PTR TO LONG
  90.   bwshifts:PTR TO CHAR
  91.   strtfetchmasks:PTR TO INT  -> Target is unsigned
  92.   stopfetchmasks:PTR TO INT  -> Target is unsigned
  93.   overrun:PTR TO INT  -> Target is unsigned
  94.   realstops:PTR TO INT
  95.   spritewidth:INT  -> This is unsigned
  96.   spritefmode:INT  -> This is unsigned
  97.   softsprites:CHAR  -> This is signed
  98.   arraywidth:CHAR  -> This is signed
  99.   defaultspritewidth:INT  -> This is unsigned
  100.   sprmovedisable:CHAR  -> This is signed
  101.   wantchips:CHAR
  102.   boardmemtype:CHAR
  103.   bugs:CHAR
  104.   layersbase:PTR TO LONG
  105.   colormask:LONG
  106.   ivector:LONG
  107.   idata:LONG
  108.   specialcounter:LONG
  109.   dblist:LONG
  110.   monitorflags:INT  -> This is unsigned
  111.   scandoubledsprites:CHAR
  112.   bp3bits:CHAR
  113.   monitorvblank:analogsignalinterval
  114.   natural_monitor:PTR TO monitorspec
  115.   progdata:LONG
  116.   extsprites:CHAR
  117.   pad3:CHAR
  118.   gfxflags:INT  -> This is unsigned
  119.   vbcounter:LONG
  120.   hashtablesemaphore:PTR TO ss
  121.   hwemul[9]:ARRAY OF LONG
  122. ENDOBJECT     /* SIZEOF=497 */
  123.  
  124. #define chunkytoplanarptr hwemul[0]
  125.  
  126. CONST OWNBLITTERN=0,
  127.       QBOWNERN=1,
  128.       BLITMSG_FAULTN=2,
  129.       BLITMSG_FAULT=4,
  130.       QBOWNER=2,
  131.       GBFLAGSF_TIMER=$40,
  132.       GBFLAGSF_LASTBLIT=$80,
  133.       GFXB_BIG_BLITS=0,
  134.       GFXB_HR_AGNUS=0,
  135.       GFXB_HR_DENISE=1,
  136.       GFXB_AA_ALICE=2,
  137.       GFXB_AA_LISA=3,
  138.       GFXB_AA_MLISA=4,
  139.       GFXF_BIG_BLITS=1,
  140.       GFXF_HR_AGNUS=1,
  141.       GFXF_HR_DENISE=2,
  142.       GFXF_AA_ALICE=4,
  143.       GFXF_AA_LISA=8,
  144.       GFXF_AA_MLISA=16,
  145.       SETCHIPREV_A=1,
  146.       SETCHIPREV_ECS=3,
  147.       SETCHIPREV_AA=15,
  148.       SETCHIPREV_BEST=-1,
  149.       BUS_16=0,
  150.       NML_CAS=0,
  151.       BUS_32=1,
  152.       DBL_CAS=2,
  153.       BANDWIDTH_1X=0,
  154.       BANDWIDTH_2XNML=1,
  155.       BANDWIDTH_2XDBL=2,
  156.       BANDWIDTH_4X=3,
  157.       NEW_DATABASE=1,
  158.       NTSCN=0,
  159.       NTSC=1,
  160.       GENLOCN=1,
  161.       GENLOC=2,
  162.       PALN=2,
  163.       PAL=4,
  164.       TODA_SAFEN=3,
  165.       TODA_SAFE=8,
  166.       REALLY_PALN=4,
  167.       REALLY_PAL=16,
  168.       LPEN_SWAP_FRAMES=32
  169.  
  170. #define GRAPHICSNAME 'graphics.library'
  171.