1
0
mirror of https://github.com/DoctorWkt/unix-jun72.git synced 2026-03-06 03:28:50 +00:00

- tweaks to fix assembly.

This commit is contained in:
tim.newsham
2008-04-26 03:36:41 +00:00
parent 9f15492d6d
commit a7a00a33fd
4 changed files with 5 additions and 5 deletions

View File

@@ -21,7 +21,7 @@
movb tty+3(r0),0f
inc 0f
jsr r0,putc; 0:.. / put char just input on output clist
br: .+2
br .+2
jsr r0,starxmt
mov (sp)+,r1
3:

View File

@@ -18,7 +18,7 @@ starxmt:
/ buf in r1 (cc,cf,cl offset)
cmpb cc+1(r1),$10. / is char count for tty output greater
/ than or equal to 10
bbl 1f / yes
bhi 1f / yes
mov r1,0f / no, make offset an arg of "wakeup"
inc 0f / increment arg of wakeup
jsr r0,wakeup; runq+2; 0:.. / wakeup process identified

View File

@@ -1,4 +1,4 @@
blc $!177,r3 / to make it teletype code and then clear
bic $!177,r3 / to make it teletype code and then clear
/ bits 7-15 of r3
3:
@@ -35,7 +35,7 @@
clrb (r2) / col set column count = 0
br 1f
2:
blt $1,r1 / is bit 0 of ASC11 char = 1 (char = lf)
bit $1,r1 / is bit 0 of ASC11 char = 1 (char = lf)
bne 2f / yes
bitb $20,3(r2) / cr flag is bit 4 of 5th byte of "tty"
/ area = 1

View File

@@ -1,7 +1,7 @@
bne 1f / if not, branch
mov $511,rcsr(r1) / set control bits for receiver
mov $511,tcsr(r1) / set control bits for transmitter
mcvb $210,tty+4(r1) / put 210 in tty table word 3 / set flags
movb $210,tty+4(r1) / put 210 in tty table word 3 / set flags
1:
incb (r5) / inc first byte of tty buffer
tst (sp)+