/ RGISHD - HEADER FOR REGIS / 004 DFB 13-AUG-84 Comments on how to convert GTE to WPS / 003 DFB 30-MAY-84 Comments on how to convert GTE to WPS / 002 DFB 30-APR-84 Set hdr to accomodate field 1 / 001 SBB 20-SEP-83 Made header file to integrate graphics / modules from Maynard into WPS /----------------------------------------------------------------------------- /**************************************************************** / / The following directions are here to aid in converting / ....the GTE sources to WPS... / DEBUG MUST BE COMMENTED OUT / AS WELL AS THE PARAMETERS FOLLOWING DEBUG... /....... AS LISTED BELOW. /.........CODE COPIED AS BELOW DELETING /-------------- /...........WILL GIVE CORRECT RESULTS / /--------------/DEBUG=0 /IF IN DEBUG /DFB WPS CHANGE /--------------IFDEF DEBUG < MACFLD= 7 /FOR DEBUG ONLY > /--------------IFNDEF DEBUG < MACFLD= 4 /FIELD 4 IF THE REAL THING.> /-------------- MCFLD= MACFLD^10 /--------------/ REGFLD= 4 /FIELD OF REGIS /--------------/ PRMFLD= 30 /FIELD OF PRIMATIVES /-------------- PRIMS=200 /ADDRESS OF PRIMATIVES /--------------/ RGFLD=REGFLD^10 /--------------/ TABFLD= 5 /FIELD OF TABLES, BUFFERS AND MACROGRAPH CODE /--------------/ TBLFLD= TABFLD^10 /FOR CDF STUFF. /--------------/ TABADD= 200 /STARTING ADDRESS OF TABLES AND BUFFERS. / IN REGIS FIELD TABFLD MUST BE CHANGED / *1 TO / / FIELD TABASY / *1 / / / / NUMBER is defined and located in WPs WPF1. / This label and all references to it must be changed in / in the regis module to NUMMER.. to avoid ID errors. / / THERE ARE 4 BASIC ROUTINES THAT HAVE TO BE TAKEN FROM / VT125 AND INTERFACED TO THE WPS CODE.. / THESE MODULES ARE PUT AT THE END OF THE REGIS CODE / BUT ARE CALLED FROM THE CX MODULE ITSELF.. / IN ORDER TO SIMPLIFY THE PROCESS TO CALL THE SIXEL DUMP / A DISPATCHER WAS ADDED. THIS IS THE ROUTINE THAT CALLS THE 4 / FUNCTIONS NEEDED... CRSVRS cursor visibility routine / REPORT reports / TIMER timer routine / HARDCP screen dump / / The easiest way to do this would be to copy the existing / code starting at DISREG in the REGIS source module / already interfaced to WPS and compare it to any changes / in the latest VT125 source code. / REPORT is defined in WPS already so references are changed / to RPORT1... MYSUB is deleted from TIMER.. / and TIMER is just a dummy routine at this time.. / Calls to output to the COMM line and PRINTER are / VIA WPS calls in the routines COMCHR and PRCHR.. / SCRDMP is used as entry point only .. and the main / code is in SCRDM1 .... DOSHPY and DOSHPX and MAKVIS are /also taken from VT125 .......... / / Hope these instructions are helpful / / GOOD LUCK / /********************************************************* REGFLD=2 /FIELD REGIS WILL ASSEMBLE IN RGFLD=10 /CDF FOR REGIS RUNFIELD PRMFLD=50 /FIELD PRIM WILL RUN IN PBMFLD=5 /CONTROL PANEL FIELD FOR ALFA BITS PRIMS=200 /ENTRY ADDRESS FOR PRIMATIVE ROUTINES PRIM=200 /ENTRY ADDRESS FOR PRIMATIVE ROUTINES TABASY=3 /ASSEMBLY FIELD FOR TABADD TABFLD=6 /RUN FIELD FOR TABLES TBLFLD=60 /FIELD FOR TABLES AT RUN TIME TABADD=400 /START ADR OF TABLES (ASSEMBLY &RUN) CMDSET=42 /PRIM GRAPHIC CONTROL PARAMS *200 JMP I .+3 JMP I .+1 7605 RXLOAD /CALL LOADER TO IMBED GRAPICS ONTO WPS DISK *RXLDLS RXEWT=4 /WRITE COMMAND RXEWT 0 RXQBLK=11 RXQBLK . DLORGS /1ST BLOCK# 0 / 100 /MEMORY LOCATION CDF 20 /FIELD OF ASSEMBLY -DSORGS /NUMBER OF BLOCKS DLRGS1 / REGIS PART 2 FIELD 6 1ST BLOCK# TABADD / 400 /MEMORY LOCATION CDF 30 /FIELD OF ASSEMBLY -DSRGS1 /NUMBER OF BLOCKS 0 /STOPPER