Re: Getting a file into CP/M
- From: no.spam@xxxxxxxxxxxxxxxxxxxxxxx
- Date: Mon, 04 Jun 2007 11:37:44 GMT
On Mon, 04 Jun 2007 02:14:28 -0000, Grant Stockly <grant@xxxxxxxxxxx>
wrote:
On Jun 3, 2:12 pm, John Elliott <j...@xxxxxxxxxxxxxxxxxx> wrote:
Grant Stockly <g...@xxxxxxxxxxx> wrote:
: Would it be possible with one of these tools to input a binary file?
: Do I have to write something special? I could tell it, input 256
: bytes and then exit. PIP seems pretty limited compared later versions.
I'd suggest converting your small binary file to hex format (you could use
UNLOAD.COM in a CP/M emulator, or find a native equivalent). Then transfer
it to the CP/M box, either over a serial port or by typing the lines by hand
into ED. Finally use DDT to reconstitute it:
A>DDT file.HEX
DDT VERS 2.2
NEXT PC
nnnn 0000
-^C
A>SAVE ss file.BIN
where ss is the number of 256-byte pages to save.
Alternatively you can key the hex bytes directly into DDT:
A>DDT
DDT VERS 2.2
-S100
0100 01 xx
0101 BC xx
...
014C 07 .
-^C
A>SAVE ss file.BIN
Thanks. I just received a modified Tarbell disk drive card that is
formatting and using 3.5" disks as a 40 track 18 sector 5.25"
minifloppy. It really stinks that I only have 69k per disk freshly
formatted, but at least I have disks and an operating system working
on cheap disks and cheap drives. : )
I have to ask. Why are you only using 40 tracks of a 80 track two
sided drive. Even with the SD formatting your not using nearly 200k.
Having run a SD system at that same very size I can say that even
trivial program development or what have you is a serious pain for
lack of space. I only used it long enough to develop a new bios
for a bigger/better controller to do DD.
Allison
Are there any utilities available designed to transfer program files
between a CP/M machine and a DOS/Windows based computer over a serial
port? Something to make the process a little less painful? I think I
would have to use the console for the transfer. I'm not sure if my CP/
M has two serial ports configured.
There is a patch area in pip that you can add a user driver to.
Create and add a serial input routine and then you can pip
small programs to the system.
Thanks,
Grant
.
- References:
- Getting a file into CP/M
- From: Grant Stockly
- Re: Getting a file into CP/M
- From: John Elliott
- Re: Getting a file into CP/M
- From: Grant Stockly
- Getting a file into CP/M
- Prev by Date: Re: CP/M 1.4 Alteration
- Next by Date: Re: Getting a file into CP/M
- Previous by thread: Re: Getting a file into CP/M
- Next by thread: Re: Getting a file into CP/M
- Index(es):
Relevant Pages
|