Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TSS8 "SAS" macro

9 views
Skip to first unread message

van...@vsta.org

unread,
Aug 12, 2009, 11:45:27 AM8/12/09
to
Hi,

Can anybody tell me where to find the implementation of the
"SAS" macro in TSS8? It prints a string, and I can find lots
of uses of it, but I'm having no luck finding out where it's
defined and implemented.

Thanks!

--
Andy Valencia
Home page: http://www.vsta.org/andy/
To contact me: http://www.vsta.org/contact/andy.html

Tim Radde

unread,
Aug 12, 2009, 9:05:25 PM8/12/09
to

I looked in TS8.PA (8.24 version) and found this:

/ "SEND-A-STRING"

UTELS, UDF /SELECT USER'S FIELD
TAD I L2SA
SNA CLA
JMP UTELS4 /USER'S W.C. IS ZERO - SO SEND NOTHING
DCA UKT0
TAD L2SA
IAC
DCA UTELC /POINTS TO ADDRESS OF STRING IN USER AREA
TAD I UTELC /GET ADDRESS-1 OF STRING
DCA AXS2 /SAVE POINTER TO STRING
UTELS3, TAD I AXS2 /GET CHARACTER FROM USER
CDF
DCA TTCHAR
PRINT /OUTPUT THE CHARACTER
JMP UTELS5 /BUFFER FULL
UDF
ISZ I UTELC /BUMP ADDRESS IN USER AREA
ISZ UKT0 /DOESN'T MATTER THAT WE MAY SKIP THIS
ISZ I L2SA /BUMP USER'S WORD COUNT
JMP UTELS3 /KEEP GOING
UTELS4, DCA L2SA /ALL DONE --- CLEAR USER AC
JMP I UTELS1 /EXIT AND SKIP
UTELS1, UUOEX2

vrs42

unread,
Aug 12, 2009, 10:18:53 PM8/12/09
to
van...@vsta.org wrote:
> Can anybody tell me where to find the implementation of the
> "SAS" macro in TSS8? It prints a string, and I can find lots
> of uses of it, but I'm having no luck finding out where it's
> defined and implemented.

It's not a macro, it's an IOT instruction. The TSS8 operating
system interprets it (using in part the code Tim cited from
TS8.PA).

Vince

van...@vsta.org

unread,
Aug 12, 2009, 10:41:44 PM8/12/09
to
vrs42 <v.sly...@verizon.net> wrote:
> It's not a macro, it's an IOT instruction. The TSS8 operating
> system interprets it (using in part the code Tim cited from
> TS8.PA).

Thanks, both of you. So if I were to find the source to the PAL
assembler for TSS8, this would be a built-in instruction?

And, looking around, it appears that PAL assembler source is in
short supply....

Thanks again,
Andy

vrs42

unread,
Aug 13, 2009, 3:21:09 AM8/13/09
to
van...@vsta.org wrote:
> Thanks, both of you. So if I were to find the source to the PAL
> assembler for TSS8, this would be a built-in instruction?

Yes. According to the PAL-D Programmer's Reference manual
(DEC-08-ASAB-D), Page B-3, SAS is opcode 6040. (Appendix B
is basically a list of the predefined symbols and pseudo-ops.)

This information is also available in Chapter 10 of "Introduction
to Programming, 1970" (pages 10-47 and 10-84).

> And, looking around, it appears that PAL assembler source is in
> short supply....

Source, yes, though the PAL-D binary is around, as is the manual.

Vince

Rich Alderson

unread,
Aug 13, 2009, 6:43:58 PM8/13/09
to
vrs42 <v.sly...@verizon.net> writes:

> van...@vsta.org wrote:

>> And, looking around, it appears that PAL assembler source is in
>> short supply....

> Source, yes, though the PAL-D binary is around, as is the manual.

One of the best ways I know of to learn an architecture (or an OS) is to write
a disassembler for its binaries.

--
Rich Alderson "You get what anybody gets. You get a lifetime."
ne...@alderson.users.panix.com --Death, of the Endless

John Everett

unread,
Aug 15, 2009, 7:51:48 PM8/15/09
to

Some history: When Don Witcraft and I wrote TSS-8 we never intended it
to be assembled using PAL-D. We had Bob Bowering (who wrote MACRO-10)
whip up a handy cross-assembler called PAL-X, which ran on the PDP-10.
We did all our assemblies on the -10.

As an aside, I also sort of wrote PAL-D, basing it on the old PAL
paper tape assembler. If it ever became capable of assembling TSS-8
it's because of work someone else did after I had joined the PDP-10
Monitor Group and no longer admitted any connection to the PDP-8. ;-)


--
jeverett3<AT>sbcglobal<DOT>net (John V. Everett)

Al Kossow

unread,
Aug 15, 2009, 8:54:11 PM8/15/09
to
John Everett wrote:

>>
>>> And, looking around, it appears that PAL assembler source is in
>>> short supply....
>> Source, yes, though the PAL-D binary is around, as is the manual.
>>
>> Vince
>
> Some history: When Don Witcraft and I wrote TSS-8 we never intended it
> to be assembled using PAL-D. We had Bob Bowering (who wrote MACRO-10)
> whip up a handy cross-assembler called PAL-X, which ran on the PDP-10.
> We did all our assemblies on the -10.
>
> As an aside, I also sort of wrote PAL-D, basing it on the old PAL
> paper tape assembler. If it ever became capable of assembling TSS-8
> it's because of work someone else did after I had joined the PDP-10
> Monitor Group and no longer admitted any connection to the PDP-8. ;-)
>
>

The TSS/8 sources on bitsavers, from the University of Wisconsin - Milwaukee's
system, were assembled using OS/8.

0 new messages