[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A windows based program to write a CPM3 image to a CF card for the S100 IDE board



Dave,
I finally found a download of cpmtools that works on my Windows 7 system.  I had downloaded copies from 2 other sources, and though the program seemed to run, it would not recognize my new entry in the 'diskdefs' file.

Here is where I found a working version:

Windows cpmtools that actually work.

Now, I must tell you that you are correct.  Once you have you 'dummy.file' if is very easy to create your image using the command sequence you provided:

1) mkfs.cpm -f s100ide -b dummy.file -b CPMLDR.COM s100.dsk

where s100ide is an entry in diskdefs that specifies the geometry of the drive
dummy.file is a 512 byte empty file to get CPMLDR.COM to be in the correct sector start.
s100.dsk is the file that represent the disk image.

2) cpmcp -f s100ide s100.dsk CPM3.SYS 0:
    cpmcp -f s100ide s100.dsk <cpm file> 0:     copies <cpm file> to user area 0 on disk image
    continue until you have all the files you want on the disk

3) use a disk image write tool (dd on Linux or Mac) to write s100.dsk to CF card



Thanks a lot Dave!

Thomas




On Friday, June 20, 2014 10:35:38 AM UTC-4, yoda wrote:
Thomas

I think the only other file that needs to change is HDRVTBL3.ASM to define the disk.  John can probably speak up if there are other files that need to be modified.

Dave


On Friday, June 20, 2014 9:05:15 AM UTC-5, Thomas Owen wrote:
Everyone,
I realize that there are several others working on this presently, but I still wanted to experiment with getting a system to work with dual drives.

Here is what I have done this morning:  took my original single drive HIDE3.ASM and incorporated all the code into it from John's copy ('My CPM System') that was used for the second IDE drive.

My system will boot all the way through and stop after sector 152 (reads all of cpm3.sys) but then I never get the A:> prompt.

Good effort, but I may have to wait for Dave to finish his solution after all.

Thanks,
Thomas


On Friday, June 20, 2014 5:21:44 AM UTC-4, Thomas Owen wrote:
Hello Dave,
Thanks for your reply - I have been looking at all the code that John has on the site, and had downloaded the version you referenced.  What I wanted to know, for my own curiosity, was If I have a single drive system, would all changes to support the second drive reside solely in HIDE3.ASM?   Would any of the other modules that assemble to CPM3.sys need to be altered?

Thank you for your time and suggestions with this project - I have really enjoyed digging back into this at such a detailed level after all these years.

Regards,
Thomas


On Thursday, June 19, 2014 10:52:43 PM UTC-4, yoda wrote:
Thomas

The code is not in HIDE3.ASM to support both Drive A and B that you have.  You can look at the code at the bottom of John's CPM page that says Most Current HmakeCPM (ABCDEF ...) you can see how it is done (A and F are the IDE drives).  It is not hard and I am adding it to my code (will be A and B for IDE drives) and should have it up on the web this weekend if everything goes well.

Dave

On Thursday, June 19, 2014 7:20:55 PM UTC-5, Thomas Owen wrote:
Dave or David,
Can either of you tell me if all parameters to support drives A and B in a simple non banked environment reside solely within Hide3.asm?  If not, which other files contain any code required to support drive B.

Thanks and keep up the good work!

Thomas