











						    November 14, 1991














       Pascal 3.25 External
       Reference Specification

       Preliminary - HP
       Confidential Information

       November 14, 1991



































       PaWS 3.25 Prelim ERS November 14, 1991			  2



       1.  PPPPaaaassssccccaaaallll 3333....22225555 SSSSyyyysssstttteeeemmmm

       1.1  DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn

       Pascal 3.25 is a minor upgrade  of  the	Pascal	Workstation
       software  for  the  series  200	and series 300 systems. The
       primary objectives of this release are to  add  support	for
       the  new  SPU  models  362,  382  and  385,  and resolve all
       critical and serious defects.

       1.2  HHHHeeeewwwwlllleeeetttttttt----PPPPaaaacccckkkkaaaarrrrdddd  PPPPrrrroooopppprrrriiiieeeettttaaaarrrryyyy

       The information in this ERS is preliminary  and	subject  to
       change.	This  document contains HP proprietary information,
       and should not be  distributed  outside	HP  unless  a  non-
       disclosure agreement has been executed.














































       PaWS 3.25 Prelim ERS November 14, 1991			  3



       2.  PPPPrrrroooodddduuuucccctttt SSSSttttrrrruuuuccccttttuuuurrrreeee

       2.1  GGGGeeeennnneeeerrrraaaallll IIIInnnnffffoooorrrrmmmmaaaattttiiiioooonnnn

       The PaWS 3.25 release will be supplied with the	same  media
       options	 available   on   the	3.2  release:  single-sided
       minifloppy,  single-sided  microfloppy,	 and   double-sided
       microfloppy.

       It should be noted that only double-sided floppy discs  will
       work  with  the built-in 3.5" floppy drive on the new models
       362 and 382. The correct boot floppy for the new models	362
       and  382  is  the double sided BOOT2: floppy. The 385 should
       boot correctly with either the single or double-sided BOOT2:
       floppy disc.

       The format of the manual set for the standard  product  will
       not  change.  The number of manuals and their titles will be
       the same as used  for  the  3.2	release.  Manuals  will  be
       updated	to include information relating to new features and
       known manual problems will be repaired.

       2.2  DDDDiiiisssscccc CCCChhhhaaaannnnggggeeeessss

       Revision 3.25 will not require any new discs in	either	the
       single-sided or the double sided configurations.

       Changes to single sided media (Options 042, and 044) are  as
       follows:

       BOOT3:

	     1.  Module CRTF has been added to INITLIB.

       Changes to double sided media (Option 045) are as follows:

       BOOT2:

	     1.  Modules CRTF, SCSIDVR and SCSIDISC have been added
		 to INITLIB.

       The module CRTF is the  crt  driver  for  the  new  displays
       available  with the models 362 and 382. SCSIDVR and SCSIDISC
       are needed for booting from the built in 3.5"  floppy  drive
       on these models.

       The required order for modules in the INITLIB file is  given
       in chapter 18 of the "Pascal Workstations System Manual (Vol
       II)".  CRTF should be placed after (or in  place  of)  CRTE,
       and  SCSIDVR  and  SCSIDISC  should  be placed in that order
       before the module LAST.











       PaWS 3.25 Prelim ERS November 14, 1991			  4



       3.  NNNNeeeewwwwllllyyyy SSSSuuuuppppppppoooorrrrtttteeeedddd PPPPeeeerrrriiiipppphhhheeeerrrraaaallllssss

       3.1  NNNNeeeewwwwllllyyyy SSSSuuuuppppppppoooorrrrtttteeeedddd SSSSCCCCSSSSIIII DDDDiiiissssccccssss

       Five new disks will be supported for  the  first  time  with
       3.25,  all  of which are built-in to the models 362 and 382.
       These disks are :

	       1.) 3.5" floppy drive (double-sided floppies only)
	       2.) 200 Mbyte built-in hard disc
	       3.) 52 Mbyte built-in hard disc
	       4.) 210 Mbyte built-in hard disc
	       5.) 425 Mbyte built-in hard disc


       3.2  SSSSooooffffttttwwwwaaaarrrreeee RRRReeeeqqqquuuuiiiirrrreeeedddd

       To use any supported SCSI Disc, the SCSI bus driver and	the
       SCSI  Disc  Driver  should be placed in INITLIB.  These file
       names are:

	  o+ SCSIDVR and SCSIDISC.

       These files are located on the LIB: disc  for  single  sided
       media  and  on the ACCESS: disc for double sided media. Also
       these modules are present in the INITLIB file on the  double
       sided  BOOT2:  floppy  disc. This is the correct disc to use
       when booting the system with the 3.5" floppy  drive  on	the
       models 362 and 382.

       Once placed in INITLIB, PaWS should be rebooted	to  acquire
       support of SCSI discs.

       Alternatively, the user could execute each  of  these  files
       (which PLOAD themselves), and then execute TABLE.

       The major change involves the 3.5" floppy drive. As this  is
       a  SCSI	device,  the  SCSI  bus  driver and disc driver are
       required to use this drive. This requires  the  SCSIDVR	and
       SCSIDISC modules be present in the INITLIB file when booting
       from this drive, hence the inclusion of these modules in the
       INITLIB file on the double sided BOOT2: floppy disc.

       The 3.5" built in drive supports these format options :

	Option 0 or 1 : 256 byte sectors, 77 cylinders
	Option 2 : 512 byte sectors, 77 cylinders
	Option 3 : 1024 byte sectors, 77 cylinders
	Option 16 : 512 byte sectors, 80 cylinders













       PaWS 3.25 Prelim ERS November 14, 1991			  5



       These  are  the	only  options  supported  with	this  drive
       (single-sided  floppies	may  not  be initialized or used in
       this drive). Option 0 is the default option when  using	the
       PaWS  MEDIAINIT	program and and is the option used with the
       double sided system discs.

























































       PaWS 3.25 Prelim ERS November 14, 1991			  6



       4.  CCCCRRRRTTTT DDDDrrrriiiivvvveeeerrrr CCCCRRRRTTTTFFFF

       There will be three new displays supported (SPU	models	362
       and  382)  for  the first time with 3.25. They are the Color
       VGA display, the Greyscale VGA, the 75 Hz  medium-resolution
       color  1024x768 display, and the 72 Hz high-resolution color
       1280x1024  display.   A	new  CRT  driver  (CRTF)  is  being
       developed for use with these displays.

       4.1  DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn ooooffff NNNNeeeewwww DDDDiiiissssppppllllaaaayyyyssss

       A new display subsystem is used by the  362  and  382.  This
       subsystem  contains  frame  buffer  memory,  a  DAC,  and  a
       controller. The controller controls the communication of the
       backplane  to  the  video RAM and timing. There is no vector
       generating or block mover capabilities with this  subsystem.
       It  is  the responsibility of the software to manipulate all
       screen data. There is a hardware cursor that is designed  to
       be  compatible  with  X/Windowing system.  The new subsystem
       does have one  attribute  of  the  previous  CRT  subsystem,
       however.  An  ID  ROM  is  present  containing configuration
       information and	the  Roman-8  character  set.	This  ROM's
       structure is compatible with previous CRT ID ROM's.

       The new displays have the following characteristics:


       Type of display |   VGA |  Medium|  High
		       |       |	|
       Screen Width    |    640|    1024|   1280
       Screen Height   |    480|     768|   1024
       Character Width |      8|       8|     10
       Character Height|     16|      16|     20
       Number of Planes|      8|       8|      8
       Refresh Rate    |  60 Hz|   75 Hz|  72 Hz
		       |       |	|
       Monitor size    |  14 in|   16 in|  19 in




       Although   several   different	display   resolutions	are
       available, the architecture is the same for all displays. To
       simplify software design, the frame  buffer  is	constructed
       with each line of the display on a 2K byte boundary.

















       PaWS 3.25 Prelim ERS November 14, 1991			  7



			       FRAME BUFFER LAYOUT

	     0		       639	 1023	  1279	       2047
	       ___________________________________________________
	   0  | 		 |	    |	    |		  |
	      | 		 |	    |	    |		  |
	      |       VGA	 |	    |	    |		  |
	      |  FRAME BUFFER	 |	    |	    |	 HIGH	  |
	      | 		 |	    |	    | RESOLUTION  |
	 479  |__________________|	    |	    |  offscreen  |
	      |   VGA offscreen area	    |	    |	 area	  |
	 511  |-----------------------------|	    |		  |
	      |      MEDIUM RESOLUTION	    |	    |		  |
	      |        FRAME BUFFER	    |	    |		  |
	 767  |_____________________________|	    |		  |
	      | 				    |		  |
	      |      HIGH RESOLUTION		    |		  |
	      |       FRAME BUFFER		    |		  |
	 1023 |_____________________________________|_____________|


       Note that there is offscreen frame buffer  memory  available
       on  VGA	and  high-resolution  only.   There is no offscreen
       frame buffer memory on the Medium Resolution display.

       The video hardware is located at  DIO-II  Select  Code  132.
       This  is  at  physical address 16M (Hex $1000000). The frame
       buffer starts at address Hex $1200000.	This  is  the  only
       location  the  this  video  hardware  will  reside at on the
       362/382 SPU's.

       The hardware cursor operates as a sprite. This  requires  no
       manipulation  of  the  frame buffer for cursor movement. The
       cursor is actually seperate video RAM that is  displayed  at
       the  same  time	the  framebuffer  is displayed.  The cursor
       position and color is controlled via registers  on  the	new
       CRT hardware. The cursor memory is 64x64 bits in size and is
       2 planes deep.  The cursor has a seperate  colormap  similar
       to  the	frame buffer colormap.	The only limitation is that
       there is no hardware blinking capability for the cursor.

       4.2  FFFFuuuunnnnccccttttiiiioooonnnnaaaalllliiiittttyyyy

       To  minimize  impact  to  developers,  all  driver  routines
       implemented  in	the  CRTE driver will be implemented in the
       CRTF driver. Functionality will be duplicated  to  make	the
       CRTF driver appear to operate the same as the CRTE driver.















       PaWS 3.25 Prelim ERS November 14, 1991			  8



       4.3  PPPPeeeerrrrffffoooorrrrmmmmaaaannnncccceeee

       Scrolling performance for the new hardware is  rated  at  35
       lines/sec  for  VGA,  26  lines/sec  for  Medium Res, and 18
       lines/sec for High Res with a 25Mhz 68040.  The	CRT  driver
       will  perform  at  75  percent  of  these numbers or better.
       Screen clearing time will be approximately  10  msec  for  a
       full screen clear.






















































       PaWS 3.25 Prelim ERS November 14, 1991			  9



       5.  GGGGrrrraaaapppphhhhiiiiccccssss LLLLiiiibbbbrrrraaaarrrriiiieeeessss ffffoooorrrr 3333....22225555

       There will be four new displays supported  (SPU	models	362
       and  382)  for  the first time with 3.25. They are the Color
       VGA display, the Greyscale VGA, the 75 Mhz medium-resolution
       1024x768  color	display,  and  the  72	Hz  high-resolution
       1280x1024 color display. A new Alpha CRT driver	(CRTF)	has
       been  developed	for  use  with these displays. The Graphics
       Library software itself will have to  be  modified  to  work
       with these new displays.

       5.1  CCCChhhhaaaannnnggggeeeessss ttttoooo tttthhhheeee GGGGrrrraaaapppphhhhiiiiccccssss LLLLiiiibbbbrrrraaaarrrriiiieeeessss

       Changes will be made to to utilize  the	new  CRT  hardware.
       New  specifictions  will  be  included in the initialization
       routines  to  ensure  proper  scaling  and  behaviour.	New
       colormap routines will be written to update and read the new
       colormap.

       5.2  FFFFuuuunnnnccccttttiiiioooonnnnaaaalllliiiittttyyyy

       The  new  graphics  routines  will   be	 designed   to	 be
       functionally  equivalent to the HP 98550A driver. The design
       objective is to require no code changes for customers  using
       the   existing	Graphics  Library  except  where  there  is
       dependancy on display  resolution.  Since  the  VGA  display
       (640x480)  is  larger  than previous low-resolution displays
       (512x400), there should	be  miminal  impact.   The  medium-
       resoluion  (1024x768)  is  the  same  resolution  as  the HP
       98545A, HP 98547A, HP 98549A, and HP 98700A video interfaces
       and   should   require	no   changes.	The  high-resoluion
       (1280x1024) is the same resolution as the HP 98550A  and  HP
       98548A  video interfaces and should also require no changes.
       The new displays will be identified by the Graphics  Library
       as  E640  for  the  color  VGA, E640G for the greyscale VGA,
       E1024 for the Medium Resolution display, and E1280  for	the
       High Resolution display.

       5.3  PPPPeeeerrrrffffoooorrrrmmmmaaaannnncccceeee

       Performace for  the  VGA  subsystem  will  be  substantially
       faster the current low-resolution displays. This is a result
       of the new graphics hardware coupled to a  faster  68030  or
       68040   processor.   Medium-resolution  and  high-resolution
       performance  may  be  slower  that   the   current   display
       subsystems   of	the  same  resolution  offered	on  similar
       performance SPU's. This is due to  the  lack  of  blockmover
       hardware  used  for area fills. Vector performance should be
       the same as current offerings.

















				 CONTENTS


       1.  Pascal 3.25 System...................................  2
	   1.1	Description.....................................  2
	   1.2	Hewlett-Packard  Proprietary....................  2

       2.  Product Structure....................................  3
	   2.1	General Information.............................  3
	   2.2	Disc Changes....................................  3

       3.  Newly Supported Peripherals..........................  4
	   3.1	Newly Supported SCSI Discs......................  4
	   3.2	Software Required...............................  4

       4.  CRT Driver CRTF......................................  6
	   4.1	Description of New Displays.....................  6
	   4.2	Functionality...................................  7
	   4.3	Performance.....................................  8

       5.  Graphics Libraries for 3.25..........................  9
	   5.1	Changes to the Graphics Libraries...............  9
	   5.2	Functionality...................................  9
	   5.3	Performance.....................................  9






























				  - i -




