News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Fran123

CP/M and M4 or UsifacII

Started by Fran123, 08:48, 28 January 22

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fran123

Hello,


Is there any way or project to boot and use CP/M with the M4 board or UsifacII?


Thanks!

HAL6128

If @d_kef changes his mass storage routines of his CPM version then it would be possible. But access M4 or X-Mass, SF3 are different.
...proudly supported Schnapps Demo, Pentomino and NQ-Music-Disc with GFX

d_kef

The CP/M hard disk driver I wrote implements the BIOS routines READ and WRITE.
CP/M itself expects those routines to get as parameters the DMA address, DMA track and DMA sector. So my driver reads the CP/M DMA sector and track, converts them to the corresponding LBA address and reads or writes a sector of the hard disk. This way it only occupies 225 bytes of RAM.

The ROM itself contains routines for examining the hard disk (MBR, boot sector, FAT file system) and decide which and how many image files and/or partitions will be mounted.It finds the first sector of each mounted image file or partition and copies them to a table in the driver.

So if the said interfaces allow accessing the media sector by sector then it would be relatively easy to make drivers for each one of them.

d_kef

HAL6128

Regarding M4 there are information about how to read / write a sector of the M4 card. By the way, the M4 was highly sold in the CPC scene (Duke said something about 1000 pieces), so it could be worth to write a corresponding change / driver.




www.spinpoint.org/cpc/m4info.txt (see lower part of the site)
...proudly supported Schnapps Demo, Pentomino and NQ-Music-Disc with GFX

Mark_wllms

#4
 The USIFAC II can already mount and boot CP/M 2.2 directly from disk images. This is because it emulates the CPM 2.2 Bios stored in the Amsdos lower ROM. I use this to load Infocom games on my CPC6128.

You can't currently boot CPM 3 disk images, because the BIOS is loaded from the disc not run from ROM, so it can't be modified.

My preferred solution is to use the USIFAC to load a modified CPM 2.2 from Dobbertin that uses the additional memory in 128k machines to give a 61K TPA., giving the best of both worlds!

d_kef

#5
Quote from: HAL 6128 on 12:12, 28 January 22Regarding M4 there are information about how to read / write a sector of the M4 card. By the way, the M4 was highly sold in the CPC scene (Duke said something about 1000 pieces), so it could be worth to write a corresponding change / driver.


Noted... ;D


Almost there...... https://www.cpcwiki.eu/forum/applications/hdcpm-boot-and-run-cpm-plus-from-hard-disk/msg213560/#msg213560


d_kef


Powered by SMFPacks Menu Editor Mod