1
0
mirror of https://github.com/aap/pdp6.git synced 2026-02-08 17:31:53 +00:00

implemented threads differently

This commit is contained in:
aap
2017-02-02 19:37:19 +01:00
parent a2de61d375
commit 0766d0216e
13 changed files with 376 additions and 414 deletions

View File

@@ -8,8 +8,9 @@ PRS==4
PTP==100
EXTERNAL PUTC,PUTS
EXTERNAL GETCH,GETC
EXTERN PUTC,PUTS
EXTERN GETCH,GETC
EXTERN PTPUT
ENTRY: JRST START
@@ -18,11 +19,11 @@ SP: XWD -100,PDL-1
START: MOVE PDP,SP
UUO1 123
; UUO1 123
CONO CPA,2001
CONO PRS,2300
JRST .
; CONO CPA,2001
; CONO PRS,2300
; JRST .
MOVSI AC2,440700
HRRI AC2,MSG
@@ -35,11 +36,6 @@ START: MOVE PDP,SP
HALT
PTPUT: CONSZ PTP,20
JRST .-1
DATAO PTP,AC1
POPJ PDP,
MSG: ASCIZ /Hello, world!
yo! > /