Display on a Type 340 display - Eureka!

51 views
Skip to first unread message

Francis King

unread,
Jan 8, 2026, 11:48:59 AM (14 days ago) Jan 8
to PiDP-10
Hello. 

I have found a way to draw a dot on a Type 340 display. Based on the Lorenz code.

title Draw a point

A=1
DIS=130
N=1

define display data
    conso DIS, 200
     jrst .-1
    datao DIS, data
termin

start:    seto A,
          .iotlsr A,
          cono DIS,100
init:     MOVSI A, -N  
          display <[020016]>
loop:     display TABLE(A)
          AOBJN A, loop
          JRST init 
table:    XWD 220055, 022055
end start

I've also discovered that macros in Midas are recursive, so that the following code works:

Title test of macro recursion

define nop
     JUMP
termin

define NOP2
      NOP
      NOP
termin

start:    nop2
           .value
end start
Reply all
Reply to author
Forward
0 new messages