1
0
mirror of https://github.com/aap/pdp6.git synced 2026-01-27 04:32:36 +00:00

membus pulses; pt thread

This commit is contained in:
aap
2016-10-25 20:30:28 +02:00
parent 2a37a8f74d
commit 2c3242fd4d
6 changed files with 90 additions and 66 deletions

View File

@@ -3,6 +3,8 @@ AC1==1
AC2==2
PDP==17
PTP==100
EXTERNAL PUTC,PUTS
EXTERNAL GETCH,GETC
@@ -19,10 +21,18 @@ START:
PUSHJ PDP,PUTS
PUSHJ PDP,GETC
JRST .-1
; CONO PTP,20
PUSHJ PDP,PTPUT
JRST .-2
HALT
PTPUT:
CONSZ PTP,20
JRST .-1
DATAO PTP,AC1
POPJ PDP,
MSG: ASCIZ /Hello, world!
yo! > /