[net.micro.cpm] SID Write command?

bridger@Rand-Unix.ARPA (04/10/84)

Does SID have a write-memory-to-file command?  My copy doesn't.  DR
says no.  But haven't there been patching instructions on this list
that use it?
--bridger

rconn@Brl-Mis.ARPA (04/10/84)

From:      Rick Conn <rconn@Brl-Mis.ARPA>

SID/ZSID by themselves do not support a Write/Save command, but in
conjunction with the utility RELS.UTL (or REL.UTL) they do.  The utility
provides a number of additional commands which may be executed from within
SID/ZSID, and one such command is C.SAVE, which is used as follows:

	ZSID A.RELS.UTL
	Imyfile.hex
	R		<-- Read in file from disk
	Imyfile.com	<-- Define Name of output file
	C.SAVE 100 endadr	<-- Write data to disk from 100H to endadr
	G0		<-- done

The ZEX.ZEX command file gives a graphic example of the use of RELS.UTL
with some explanation.  I'll see if I can look up some documentation on
it.  The 4th section (pp 42-49) of the SID manual talks about utilities.

	Rick

kevinw%isl@sri-unix.UUCP (04/11/84)

there is a write command for sid 3.0 (the one which comes standard with
the distribution disk).  the documentation for it is in one of the refs
but not the other (typical dri...).

anyway, if you have a cpm3 system the command is:
Wfile[,start,stop]
`file' is a standard cpm file description -- eg q:foo.baz
`start' and `stop' are optional start and stop addresses.  if none
are specified then the start of the tpa is used as start and the
address of the LAST end of load address is used.  this is a nasty bug!
e.g.

A>sid foo.com
SID 3.0...
NEXT LAST HIGH PC <or some such>
0C00 0C00 CDFF 0100

#rbar.com
NEXT LAST HIGH PC
0300 0C00 CDFF 0100

#wquux.com
Saved 4 records (4h) <or some such>

n.b. -- one would have expected 11 records but someone at dri
screwed up this.  thus to get what would be expected, one must
say

#wquux.com,100,c00
Saved 11 records (0bh)

  -- K

rconn@Brl-Mis.ARPA (04/11/84)

From:      Rick Conn <rconn@Brl-Mis.ARPA>

I did not find RELS.UTL or REL.UTL (there are two different files)
in the main CP/M archives on SIMTEL20.

In scanning the SIG/M catalog, I note the following references:

	REL.UTL in Vol 76

I can find no other documentation on REL.UTL or RELS.UTL.  Perhaps someone
else knows of the source for details?

	Rick