[no-trimming damage repaired manually]
It where really good to know where te putc and getc
routines in the
KAV30 are..
It's a long shot, but it might be worth typing in a small test program
that uses IPRs 32-35, because if they work you don't need to go through
a ROM code trampoline. Here's an example, including assembled binary.
(This was hand-assembled; I thought I had a VAX assembler but can't
seem to find it. But I checked by disassembling.)
movb $'x,r0 90 8f 78 50
movab 9f,sp 9e af 31 5e
bsbb 1f 10 06
3: bsbb 2f 10 0f
bsbb 1f 10 02
brb 3b 11 fa
1: mfpr $34,r1 db 22 51
tstb r1 95 51
bgeq 1b 18 f9
mtpr r0,$35 da 50 23
rsb 05
2: mfpr $32,r1 db 20 51
tstb r1 95 51
bgeq 2b 18 f9
mfpr $33,r0 db 21 50
rsb 05
.align 4
.space 16
9:
The code is PIC, so you can base it anywhere you like. At 0, for
example, you might
d/l/p 0 50788f90
d/l/p 4 5e31af9e
d/l/p 8 0f100610
d/l/p c fa110210
d/l/p 10 955122db
d/l/p 14 daf91851
d/l/p 18 db052350
d/l/p 1c 51955120
d/l/p 20 21dbf918
d/l/p 24 00000550
Then start it. My memory of VAX console is fuzzy, but I think that
would be something like (again, based at 0)
d pc 0
d psl 041f0000
g
If MFPR/MTPR console access works, it should print an x and then echo
back whatever is typed at it. I haven't been able to test this; none
of my VAXen are in runnable shape right now. But I'm moderately sure
the code is right; it's pretty simple. Perhaps someone with a KA630
set up to run can test it. On my emulator, it prints the x but nothing
more - but, as far as I can tell from reading the code, that emulator
doesn't support console input at all, so that's hardly surprising.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse at
rodents-montreal.org
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B