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

Re: Transferring NorthStar CP/M file to/from MS-DOS

24 views
Skip to first unread message
Message has been deleted

Dave Dunfield

unread,
Jul 15, 2007, 6:58:23 PM7/15/07
to
>I have been using Dave Dunfield's excellent Northstar Horizon
>simulator and disk imaging tool kit and have made several disk
>images. It works great for that purpose and even includes a tool
>called NSI which allows importing and exporting of N* DOS files to and
>from the MS-DOS file system.

>One thing I have not found, however, is a similar tool for disk images
>of NorthStar CP/M file system. Does anyone know of a means to import/
>export files from disk images in the NorthStar CP/M format to MS-DOS
>file system?

>Alternatively, does anyone know of a CP/M or Z80 emulator for DOS or
>MS Windows which allows loading and manipulation of NorthStar CP/M
>disk images? Some of those I have seen such as MYZ80 allow importing
>and exporting of MS-DOS files into their disk image format but as to
>whether it allows loading the NorthStar CP/M disk image format, I do
>not know.

I've made an update to the HORIZON simulator which allows you to attach
I/O ports to PC files - effectiving allowing you to read or write a file by
PIPing it to a CP/M devicet. I am able to export CP/M text files under
lifeboat by PIPing them to PTP

Unfortunately I've been unable to update my site all day - terrible
internet connection and worthless FTP client - If I am able to get it
uploaded, it will probably do what you want.

Dave

--
dave06a@ Low-cost firmware development tools: www.dunfield.com
dunfield. Classic computer collection: www.classiccmp.org/dunfield
com Stuff I have for sale: www.dunfield.com/sale

Message has been deleted

Dave Dunfield

unread,
Jul 16, 2007, 6:22:32 AM7/16/07
to
>> I've made an update to the HORIZON simulator which allows you to attach
>> I/O ports to PC files - effectiving allowing you to read or write a file by
>> PIPing it to a CP/M devicet. I am able to export CP/M text files under
>> lifeboat by PIPing them to PTP


>Wow! That is fantastic and it sounds exactly like what I am looking
>for. Thanks!

Ok - I was able to get the site updated this morning. If you download the
new HORIZON.ZIP, you will find that it has new "Input file" and "output file"
entries in the F7 Mount command (stop mode).

There is also two new I/O port definition types, one for status/control register
of a virtual uart which can be attached to a file, and one for the data port.

I have changed the default I/O setup so that instead of redirecting the second
Horizon mainboard serial port addresses to a virtual 8251 on COM1, the
virtual 8251 now references mounted PC files. (I have provided a
USECOM1.CMD option file to allow you to switch it back COM1 if you wish)

The virtual 8251 shows TX-READY if an output file is mounted, and RX-READY
if an input file is mounted. At EOF on the input file, it returns an EOF
character (configured as 1A in my defaults) and closes the input file. Reading
or writing the data port will transfer a byte from/to the mounted file. All of
this is covered to some extent in the interactive help.

Under Lifeboat CP/M, the secondary mainboard serial port shows up as the
paper-tape reader (PTR) for input, and paper-tape punch (PTP) as output,
so to transfer a file to a PC file, you would perform the following steps:

- Start the simulator and boot up CP/M, mount the disk with your file.
- Press F3 to halt, then F7 to mount, pick "Output file" and
select/enter the file you wish to write on the PC.
- Press 'G' to continue
- Use the CP/M command: PIP PTP:=filename
to transfer the file from CP/M to the PC file.
- Press F3, then F7 and select "close output" (or just exit
the simulator - that closes the file as well).

Have fun!

John Crane

unread,
Mar 19, 2009, 10:27:03 AM3/19/09
to

"Dave Dunfield" <Dave.D...@use.techsupport.link.on.my.website> wrote in
message news:ea8e7$469b47a7$cce1f906$12...@PRIMUS.CA...


Let's all take a step back and look at the big picture.

The Xmodem protocol was invented on CP/M machines in the BBS days and many
PC commo programs can still use it (even Windows Hyperterm).

PIP in the source for MODEM or XMODEM (popular communications programs
found on the Walnut CP/M CDROM), set the I/O for your Northstar, assemble &
load it. Then start transferring files like it was meant to be done.


The PIP command should look something like: PIP A:MODEM.ASM=CON:
Then, send the source from your PC as a text file and terminate with a ^Z.

-J


0 new messages