Re: SIMH Altair simulator question



Lee wrote:

I seems that the program can list files, but when it tries to open
them for copying, it can't find them.
I tried the L option, so it's not a problem with lower or uppercase
filenames. I tried to rename the files, but it didn't work.
I can always copy files individualy, one at the time, but wildcards
are very usefull to copy lot of files, all at the same time.

Wrote some days ago an e-mail to Peter Schorn at the address found
on his website, but I think it's spammed...

Any Idea why READ.COM doesn't work with wildcards?

Try

r c:\vde\*.COM

I moved my files to C:\VDE, and tried that command line, but didn't work :

-------------------
A>R C:\VDE\*.COM

READ V-2.23 (01-Mar-08) SIMH Interface V003
Read from "VDE.COM" and write to "VDE.COM".
File does not exist.
Read from "VINST.COM" and write to "VINST.COM".
File does not exist.
-------------------

.... because R doesn't know the destination drive.
Here is the correct syntax for command R :

-------------------
A>R

READ V-2.23 (01-Mar-08) SIMH Interface V003
Usage: READ <file name> [L]
Binary copy <file name> from host environment. L = use lower case for name.

Examples
READ bdos.mac copy BDOS.MAC to BDOS.MAC
READ bdos.mac L copy bdos.mac to BDOS.MAC
READ *.mac copy all files ending with .MAC
READ a:bdos.mac copy BDOS.MAC to A:
READ a:*.com copy all .COM files to A:
READ src\bdos.mac copy SRC\BDOS.MAC to BDOS.MAC
READ src\a:bdos.mac copy SRC\BDOS.MAC to BDOS.MAC on A:
READ src\*.mac copy all .MAC files from directory SRC
READ src\*.MAC L copy all .mac files from directory src
READ src\a:test.* copy all TEST.* files from directory SRC to A:
-------------------

For the R and W commands, the source root directory is the working directory
of the SimH Altairz80 emulator.
You can only access files with relative pathnames.
Example :
Altairz80 Working directory : D:\simh\altairz80
Files to copy : D:\FILES\*.COM
CP/M Destination Drive (virtual disk) : B:

The correct command syntax must be :
(I admit this syntax is quite confusing)
-------------------
A>R ..\..\FILES\B:*.COM

READ V-2.23 (01-Mar-08) SIMH Interface V003
Read from "VDE.COM" and write to "B:VDE.COM".
File does not exist.
Read from "VINST.COM" and write to "B:VINST.COM".
File does not exist.
-------------------

R can list files ( because it prints filenames) but can't open them.

I made a lot of testing, I can copy files using pathnames NOR wildcards.
But using pathnames AND wildcards doesn't work.
Maybe is this a windows only problem. I did not try the Linux version.

--
Emmanuel Da Piedade
http://retrocomputing.free.fr
http://apple2c.free.fr


.



Relevant Pages

  • Re: finding files with certain strings
    ... The dir command can use wildcards or filenames when it does it's ...
    (comp.soft-sys.matlab)
  • Re: D70 and Histogram
    ... > wildcard problems with the DCRAW command line raw converter which is ... the wildcards aren't processed by the ... OS, but would be passed directly to perl, expecting perl to expand ... short BASIC program that can create the batch files that would ...
    (rec.photo.digital)
  • Re: vim: loading in subdirectories
    ... The program sees exactly what you type on the command line. ... my final solution I'm currently working with are .bat files I'm now using to start up vim. ... They rely on the fact that winXP's "dir"-command can use wildcards on filenames and has a /s - switch making it recurse into subdirectories, in addition the /b - switch is needed to get just the list of filenames without any additional noise. ... Convert it to a windows batch file with the pl2bat utility which comes with the ActivePerl distribution. ...
    (comp.editors)
  • Re: Excercices
    ... >> command line to the program. ... >> prefer a preprocessing of this information by the shell, ... you can use either of the two wildcards the ... Enclosing an argument in double quotation marks suppresses the wildcard ...
    (alt.lang.asm)
  • Re: Un-erasable folder
    ... >> Since the folder/file name has a space character within it, ... >> enclose the entire filename (including the path if you are not in its ... Like the former deltree command. ... >> The rd command won't let us use wildcards but insists that we type the ...
    (microsoft.public.windows.file_system)