• Please review our updated Terms and Rules here

VersaFloppy II CBIOS and Disk Images

glitch

Veteran Member
Joined
Feb 1, 2010
Messages
5,051
Location
Central VA
I've been working on writing up my process of getting CP/M bootstrapped for the SD Systems VersaFloppy II using Bruce Jones' code that Herb Johnson has on his site. I've had it working for a good while (geneb has a system I set up with it) but I've just not had the time to get it all together. Today, I uploaded cleaned-up code and 5.25" diskette images for the TDL SMB or SMB-II:


I did this customization for a hobbyist in Canada, he's going to be using a TDL ZPU in his IMSAI and wanted an I/O board and floppy controller, so I suggested either the TDL SMB or SMB-II and the VersaFloppy II. The VersaFloppy II is an excellent choice if you're going to be running a Z80. Here's pictures of the test system running today:



I usually don't do IOBYTE implementations (just leave the skeleton code in place) since there's a huge variety in what people may or may not have for I/O devices, but the SMB and SMB-II provide a pretty complete set of interfaces, and the Zapple monitor has its own IOBYTE support too! I customized the CBIOS to read from the Zapple IOBYTE holding register, 0x76. The CP/M device assignment follows the Zapple assignment pretty closely. I haven't tested cassette for PUN: and RDR: yet but it just calls out to the ROM routines.

Since there's IOBYTE support, that means Kermit-80 with the "Generic CP/M 2.2" overlay works! I also did PCGET/PCPUT customizations that can use either the TTY or CRT ACIAs.

Finally had diskettes I felt were complete enough to put typewritten labels on this afternoon:



I will try and update this thread as I get more disk images online. I have a bunch of customizations that aren't in the Github repo yet, and the others that are there are just the CBIOS source at the moment. I'll be wrapping up customizations for the SD Systems SBC-200 this week, so those should be up soon.

While 5.25" diskettes are fine, the real high point of VersaFloppy II interfacing is 1.44 MB PC-style drives. With a simple modification to a PC twist-type cable, you can use unmodified 1.44 MB drives with HD media and get a fairly impressive 1.66 MB per diskette -- and that's at 77 tracks, not even using all 80! That's my usual personal method of using the VersaFloppy II, but in the TDL SMB customization the guy getting the boards wants to use 5.25" drives.

I need to modify the formatting program to use 40 tracks on 5.25" -- the existing code only formats 35 tracks for compatibility with very old drives. I like the compatibility aspect, but it'd be nice to get a little more storage on there. The formatter also won't do 1K sectors on 5.25", which I think shouldn't be a problem to support.
 
Updated the repository with 5.25" images for the SD Systems SBC-100 and SBC-200:


This commit includes a fixed V2LD2001.ASM which is the on-disk bootblock that switches out the SBC's ROM and scratchpad RAM. Bruce Jones' original code didn't initialize the stack pointer in the bootblock code, so when the switch-out happened, the monitor's stack went away in systems with 62K or less of RAM. This didn't affect 64K systems as the SBC-200 scratchpad RAM overlays main system memory for writes which means the monitor's stack was also being written into main memory! That was fun to figure out. I always start with 48K images so that I can leave the ROM monitor mapped in, and had a 48K board in the system at the time, which is why I caught it.
 
Bravo! The VF-II with Bruce Jones' code and 3.5" floppies has been a long time curiosity for me. I even have a homebrew 3.5" and 8" disk box. Does your setup support 8" and 3.5" floppy drives simultaneously?
 

Attachments

  • after.jpg
    after.jpg
    276 KB · Views: 3
  • side.jpg
    side.jpg
    262.7 KB · Views: 3
I don't think you'd have a problem running both together, since the BIOS just treats 3.5" HD as 8" that it can put more sectors on, if desired. There's a media descriptor in the system tracks that tells the BIOS what kind of diskette is in the drive. I haven't personally tried mixing 3.5" HD and 8" though!

You will have to ground the *READY line on the 8" connector to use standard PC 3.5" drives, but that should not be a problem for 8" either, as most of the time it's not necessary, except to make the FDC happy.
 
Back
Top