You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
4.8 KiB

  1. PAL20X10 PAL DESIGN SPECIFICATION
  2. VP4 BIRKNER/KAMZI/UDI 7/14/81
  3. LINES/SCROL GENERATOR
  4. MMI SUNNYVALE, CALIFORNIA
  5. CK /SWAP SCAN0 SCAN1 /INIT /SCAN3 /H255 NC /WRITE /LINE4
  6. /INCSCR GND /OC /SCROL0 /LINES0 /SCROL1 /LINES1 /SCROL2 /LINES2 /SCROL3
  7. /LINES3 /INITS /OE VCC
  8. LINES0 := /SWAP*/INITS*LINES0 ;HOLD
  9. + SWAP*/INITS*SCROL0 ;SWAP WITH SCROL
  10. :+: /SWAP*/INITS*H255*/LINE4 ;INC (12 DOT LINES)
  11. * SCAN3*SCAN1*SCAN0
  12. + /SWAP*/INITS*INCSCR ;INC (LF)
  13. SCROL0 := /SWAP*/INITS*SCROL0 ;HOLD
  14. + SWAP*/INITS*LINES0 ;SWAP WITH LINES
  15. :+: /SWAP*/INITS*INCSCR ;INC (LF OR CHAR = 47)
  16. + INITS ;INITIALIZE
  17. LINES1 := /SWAP*/INITS*LINES1 ;HOLD
  18. + SWAP*/INITS*SCROL1 ;SWAP WITH SCROL
  19. :+: /SWAP*/INITS*H255*/LINE4 ;INC (12 DOT LINES)
  20. * SCAN3*SCAN1*SCAN0*LINES0
  21. + /SWAP* /INITS*INCSCR*LINES0 ;INC (LF)
  22. SCROL1 := /SWAP*/INITS*SCROL1 ;HOLD
  23. + SWAP*/INITS*LINES1 ;SWAP WITH LINES
  24. :+: /SWAP*/INITS*INCSCR*SCROL0 ;INC (LF OR CHAR = 47)
  25. + INITS ;INITIALIZE
  26. LINES2 := /SWAP*/INITS*LINES2 ;HOLD
  27. + SWAP*/INITS*SCROL2 ;SWAP WITH SCROL
  28. :+: /SWAP*/INITS*H255*/LINE4 ;INC (12 DOT LINES)
  29. * SCAN3*SCAN1*SCAN0
  30. *LINES1*LINES0
  31. + /SWAP*/INITS*INCSCR ;INC (LF)
  32. *LINES1*LINES0
  33. SCROL2 := /SWAP*/INITS*SCROL2 ;HOLD
  34. + SWAP*/INITS*LINES2 ;SWAP WITH LINES
  35. :+: /SWAP*/INITS*INCSCR*SCROL0*SCROL1 ;INC (LF OR CHAR = 47)
  36. + INITS ;INITIALIZE
  37. LINES3 := /SWAP*/INITS*LINES3 ;HOLD
  38. + SWAP*/INITS*SCROL3 ;SWAP WITH SCROL
  39. :+: /SWAP*/INITS*H255*/LINE4 ;INC (12 DOT LINES)
  40. * SCAN3*SCAN1*SCAN0
  41. *LINES2*LINES1*LINES0
  42. + /SWAP* /INITS*INCSCR ;INC (LF)
  43. *LINES2*LINES1*LINES0
  44. SCROL3 := /SWAP*/INITS*SCROL3 ;HOLD
  45. + SWAP*/INITS*LINES3 ;SWAP WITH LINES
  46. :+: /SWAP*/INITS*INCSCR ;INC (LF OR CHAR = 47)
  47. *SCROL2*SCROL1*SCROL0
  48. + INITS ;INITIALIZE
  49. INITS := INIT*H255 ;INITIALIZATION SIGNAL
  50. OE := /WRITE ;ENABLE THREE STATE OF RAM
  51. FUNCTION TABLE
  52. CK SWAP SCAN3 SCAN1 SCAN0 INIT H255 WRITE LINE4 INCSCR /OC
  53. SCROL3 SCROL2 SCROL1 SCROL0 LINES3 LINES2 LINES1 LINES0 INITS OE
  54. ; I
  55. ; W L N I
  56. ; S I H R I C N
  57. ; W N 2 I N S / I
  58. ; C A SCAN I 5 T E C O SCROL LINES T O
  59. ; K P 310 T 5 E 4 R C 3210 3210 S E COMMENTS
  60. ---------------------------------------------------------------------------
  61. C X XXX H H X X X L XXXX XXXX H X SET INITIALIZE BIT
  62. C X XXX L X X X X L HHHH LLLL L X INITIALIZE COUNTERS
  63. C L XXX L L X X L L HHHH LLLL L X INITS = L
  64. C L HHH L H X L L L HHHH LLLH L X INC LINES, HOLD SCROL
  65. C L HHH L H X L L L HHHH LLHL L X INC LINES, HOLD SCROL
  66. C L HHH L H X L L L HHHH LLHH L X INC LINES, SCAN = 11
  67. C L HHH L H X L L L HHHH LHLL L X INC LINES, SCAN = 11
  68. C L XXX L H X X H L LLLL LHLH L X INC LINES & SCROL: LF
  69. C L XXX L X X X H L LLLH LHHL L X INC LINES & SCROL: LF
  70. C L XXX L L X X L L LLLH LHHL L X HOLD LINES & SCROL
  71. C H XXX L L X X L L LHHL LLLH L X SWAP LINES & SCROL
  72. C L XXX L X X X H L LHHH LLHL L X INC LINES & SCROL
  73. C X XXX X X L X X L XXXX XXXX X H SET OE
  74. C X XXX X X H X X L XXXX XXXX X L CLEAR OE
  75. ---------------------------------------------------------------------------
  76. DESCRIPTION
  77. "SCROL" AND "LINES" ARE COUNTERS AND POINTERS TO THE RAM. "LINES" IS A
  78. POINTER TO THE LINE THAT IS READ FROM THE RAM. "SCROL" IS A POINTER
  79. TO THE LOCATION IN THE RAM WHERE A NEW LINE CAN BE STORED. BOTH OF THEM
  80. COUNT UP TO A MAXIMUM OF 16 LINES.
  81. THE BIT "SWAP" ENABLES THE TWO COUNTERS TO TALK TO THE SAME ADDRESS LINES
  82. OF THE RAM.