CPCWiki forum

General Category => Applications (CPC and CPC-related) => Topic started by: rpalmer on 06:48, 09 January 11

Title: HDOS ROMs
Post by: rpalmer on 06:48, 09 January 11
Hello all,

I have viewed a previous topic regarding HD-DOS roms.
Well I have a version which works for Floppy and RAM disk versions.

I will still continue to work on getting it to work for SF-II, but I am also working on CPC/IP as well so please be patient.

Please do leave comments or questions here or via email.

Ray Palmer
Title: Re: HDOS ROMs
Post by: Ygdrazil on 16:25, 09 January 11
what is HDOS/HD-DOS exactly?

/Ygdrazil

Quote from: rpalmer on 06:48, 09 January 11
Hello all,

I have viewed a previous topic regarding HD-DOS roms.
Well I have a version which works for Floppy and RAM disk versions.

I will still continue to work on getting it to work for SF-II, but I am also working on CPC/IP as well so please be patient.

Please do leave comments or questions here or via email.

Ray Palmer
Title: Re: HDOS ROMs
Post by: rpalmer on 23:54, 09 January 11
HDOS/HD-DOS is an extension to AMSDOS to allow for other devices to work on the CPC systems.

Attached is draft documentation for the ROM, which describes in more detail what HDOS can do (and not in some cases not do).

HDOS can support a variety of devices via drivers either in another ROM or within main memory itself. Currently only the Floppy Disk and RAM Disk drivers have been tested, but there are in progress developments for SF-II and CF interfaces.  The respective driver S/W files provide details of the sort of hardware the has been developed for.

Again, like CPC/IP, further work is on-going to see if i can get SF-II driver working in WinAPE and hence for the real thing.
Title: Re: HDOS ROMs
Post by: Xyphoe on 04:41, 10 January 11
Quote from: rpalmer on 06:48, 09 January 11
I will still continue to work on getting it to work for SF-II

Street Fighter II?


Can't wait!  ;) ;D
Title: Re: HDOS ROMs
Post by: Ygdrazil on 08:41, 10 January 11
Great stuff

/Ygdrazil

Quote from: rpalmer on 23:54, 09 January 11
HDOS/HD-DOS is an extension to AMSDOS to allow for other devices to work on the CPC systems.

Attached is draft documentation for the ROM, which describes in more detail what HDOS can do (and not in some cases not do).

HDOS can support a variety of devices via drivers either in another ROM or within main memory itself. Currently only the Floppy Disk and RAM Disk drivers have been tested, but there are in progress developments for SF-II and CF interfaces.  The respective driver S/W files provide details of the sort of hardware the has been developed for.

Again, like CPC/IP, further work is on-going to see if i can get SF-II driver working in WinAPE and hence for the real thing.
Title: Re: HDOS ROMs
Post by: arnoldemu on 10:34, 10 January 11
Quote from: rpalmer on 23:54, 09 January 11
HDOS/HD-DOS is an extension to AMSDOS to allow for other devices to work on the CPC systems.

Attached is draft documentation for the ROM, which describes in more detail what HDOS can do (and not in some cases not do).

HDOS can support a variety of devices via drivers either in another ROM or within main memory itself. Currently only the Floppy Disk and RAM Disk drivers have been tested, but there are in progress developments for SF-II and CF interfaces.  The respective driver S/W files provide details of the sort of hardware the has been developed for.

Again, like CPC/IP, further work is on-going to see if i can get SF-II driver working in WinAPE and hence for the real thing.
does it hook into the standard firmware functions CAS IN OPEN etc?
A few months back I thought of a nice cheap interface to allow cpc464 to easily load stuff quickly from SD Card and was planning to hook into those.
Perhaps I could make it HDOS compatible eventually.
Title: Re: HDOS ROMs
Post by: rpalmer on 22:58, 10 January 11
"does it hook into the standard firmware functions CAS IN OPEN etc?
A   few months back I thought of a nice cheap interface to allow cpc464 to   easily load stuff quickly from SD Card and was planning to hook into   those.
Perhaps I could make it HDOS compatible eventually."

arnoldemu,

You can indeed use HDOS to re-direct CAS OS calls to HDOS equivalent (see documentation zipped file).
The documentation also includes a picture showing how HDOS works with AMSDOS/OS (see ReadMe-AnnexeD.txt).

The SD card interface driver would be something similar to the Compact Flash version.

HDOS only assumes the user provides 3 basic routines
1.  To read 512 bytes of data.
2.  To write 512 bytes of data
3.  To return the geometry of the device.

The device initialisation/formatting is not included as I expect the devices devveloper to supplied an external program to the job.

An example of these can be found in the drivers contained in a previous attached file (see Dr-cf.asm).

The format of the implementation for HDOS would be to create two files
1.  A drivers management file (see JP-*.asm), and
2.  The actual drivers/routines.
Title: Re: HDOS ROMs
Post by: rpalmer on 23:04, 10 January 11
The drivers for HDOS are in a zip file associated with the CPC/IP on ROM topic in the hardware section.
Title: Re: HDOS ROMs
Post by: arnoldemu on 10:26, 11 January 11
Quote from: rpalmer on 23:04, 10 January 11
The drivers for HDOS are in a zip file associated with the CPC/IP on ROM topic in the hardware section.
great thanks for the info. I'll look at it closer to the time.

The SD Card device I was thinking of would be really cheap, the Z80 would have to do all the work, including talking to the SD card over SPI. The hardware would be a slot and some very simple glue logic. I would access all through a few I/O ports. Essentially the SD card would be formatted to fat16,fat32 or similar, and files copied on from PC.

Then on CPC464 side, I would patch cas routines.
So as long as you used these files would load. I would also provide functions in the rom for reading files.
I could then supply a driver for HD-DOS too.

The idea is for the cpc464 to be able to load/save files easily and without a disc drive or more expensive interface.
at this time it is still an idea and nothing has been done on it.

Title: Re: HDOS ROMs
Post by: steve on 17:58, 14 January 11
I think that if you connect a 3.5" HD floppy drive to a disk controller as an 8" drive it will work, so it might be possible to have disk capacities of 1.44MB or even 1.76MB like the amiga.
The difficult bit will be modifying the disk interface.
Title: Re: HDOS ROMs
Post by: arnoldemu on 18:18, 14 January 11
Quote from: steve on 17:58, 14 January 11
I think that if you connect a 3.5" HD floppy drive to a disk controller as an 8" drive it will work, so it might be possible to have disk capacities of 1.44MB or even 1.76MB like the amiga.
The difficult bit will be modifying the disk interface.
Yes, I thought about this in the past.

The nec765 would need a switchable 8Mhz/4Mhz clock derived from the gate-array clock.
(talking cpc here, for cpc+ it would need to come from the 40Mhz clock).

Switchable using a i/o port.

Then you could switch it in and out of high density mode.

Title: Re: HDOS ROMs
Post by: TFM on 19:36, 14 January 11
It the Plus.... forget it.. for a normal CPC... a lot of work, but once I saw an 8" on it ;-)

But - hey - before you add a hd drive, just use two 3.5" like the Vortex M1-D or similar. That's 1.5 MB, not bad.

The ultimate solution remains a hard-disc.
Title: Re: HDOS ROMs
Post by: Gryzor on 12:52, 15 January 11
Quote from: TFM/FS on 19:36, 14 January 11
a lot of work, but once I saw an 8" on it ;-)

AND YOU DIDN'T TAKE A PHOTO???!
Title: Re: HDOS ROMs
Post by: RockRiver on 07:35, 24 May 11
Thanks for your work, partners!!!
I'm BonnyDOS user on Amsdos-Symbiface and it works OK... It's a shame that don't read FAT16/32

Do you think that HDOS will be somehow compatible with BonnyDOS ?

I will check this new drivers and HDOS roms.
Title: Re: HDOS ROMs
Post by: TFM on 17:13, 24 May 11
Quote from: RockRiver on 07:35, 24 May 11
Thanks for your work, partners!!!
I'm BonnyDOS user on Amsdos-Symbiface and it works OK... It's a shame that don't read FAT16/32

Do you think that HDOS will be somehow compatible with BonnyDOS ?

I will check this new drivers and HDOS roms.

Bonnydos has a proprietary format, so don't expect anything else to be compatible.
In contrast, the HDOS goes towards FAT system. Don't ask me for FAT16 or 32.
Title: Re: HDOS ROMs
Post by: RockRiver on 20:16, 27 May 11
I send an email to Brüeggi (BonnyDOS maker) asking for an update for FAT16/32. He could find old work and make BDOS v2.0 if some people were interested in... The Spanish CPC forum was talking about it but we need more CPC-IDE / Symbiface users...
Maybe HDOS and BDOS coders would work in the same direction ¿?
Title: Re: HDOS ROMs
Post by: MiguelSky on 20:31, 27 May 11
I'm a BonnyDOS user !!
Title: Re: HDOS ROMs
Post by: xesrjb on 05:46, 28 May 11
Me too. And It's great!

xesrjb
Title: Re: HDOS ROMs
Post by: MiguelSky on 18:24, 28 May 11
Really great, of course :D
Title: Re: HDOS ROMs
Post by: Joseman on 12:46, 02 June 11
Here is another user of symbiface and bonnydos

Very simple, well documented and with a little knowledge of asm, all the games can run on this environment

chapeau


Title: Re: HDOS ROMs
Post by: rpalmer on 21:46, 03 June 11
I have had a look at other DOS versions and find all are limited to a few devices and NONE can be implemented on user developed ones.

HDOS is different to all other DOSes, as the drivers support for devices like SF-II are contained in a 2nd rom. This has the advantage of allowing users to create there own devices with out the need for developing a DOS to go with it.  I think this is a much better deal for the H/W developers out there.

HDOS also allows for a "Virtual Disk", however a patched AMSDOS/ParaDOS would need to be used with this in order to complete this functionality. I have created a patched AMSDOS version and testing of this is underway.  A virtual disk would allow HDOS to possibly work with other OS's such as SymBOS, FutureOS, etc.  I am currently look at first seeing if I can get CP/M to work from the virtual disk.

Although the HDOS file system is a custom one, it's main design was for use on the CPC IDE/8255 hard disc interface while allowing the host DOS to remain available, so in theory BDOS could still be available under HDOS.

regards
rpalmer
Title: Re: HDOS ROMs
Post by: TFM on 17:18, 21 June 11
Well, when I started to developp FutureOS I was looking at the things in a similar way:

- First, check which kind of devices are more or less standard (or do exist at all)

- Second, support as much as possible (or better all) of them

However, I decided to use a monolithic architecture to increase speed of the OS / DOS compared to a solution using drivers. (The disadvantage is, that it is a bit more complex to add new hardware later on).

For HDOS it would be great to start up with the feature of using drivers, but in a later stage it will be an advantage to integrate "drivers" for some devices more "deeply". This can lead to a significant speed-up (and may also save some memory).
Title: Re: HDOS ROMs
Post by: rpalmer on 08:30, 22 June 11
hi TFM,

Nice to hear from you.

The chance for me to put in the IDE-8255 driver would be impossible with the current version as there is insufficent space for the code.

It might be possible if the FAT component were to be removed.

My drivers design actually uses the same memory whether they exist in the same ROM or another.

regards
rpalmer
Title: Re: HDOS ROMs
Post by: TFM on 21:39, 22 June 11
Hi, so.... why not face the 2-ROMs = 32 KB solution? But - hey - at the moment it really doesn't matter. It's great to see the HDOS project evolving  :)
Title: Re: HDOS ROMs
Post by: rpalmer on 04:12, 24 June 11
well it has been put into two ROMs, one for HDOS and one for independent drivers.

The HDOS rom is now available to be purchased with the IDE/8255 intefrace.

rpalmer
Title: Re: HDOS ROMs
Post by: TFM on 16:04, 24 June 11
Please keep us updated about the HDOS documentation. Would be great to read about it in detail.
Title: Re: HDOS ROMs
Post by: Nilquader on 15:16, 28 March 12
Quote from: arnoldemu on 10:26, 11 January 11
The SD Card device I was thinking of would be really cheap, the Z80 would have to do all the work, including talking to the SD card over SPI. The hardware would be a slot and some very simple glue logic. I would access all through a few I/O ports. Essentially the SD card would be formatted to fat16,fat32 or similar, and files copied on from PC.

I made such a device for the Amstrad NC100 and the Schneider Euro PC and ported the Sector read/write functions to the CPC. Should be easy to integrate these into HDOS. Here is a Picture: www.dosforum.de • Thema anzeigen - Parallelport SD-Kartenleser (http://www.dosforum.de/viewtopic.php?f=1&t=6066) (Sorry, only german, but you can look at the pictures...)

By the way, I still have at least 10 spare PCBs...
Title: Re: HDOS ROMs
Post by: Bryce on 15:22, 28 March 12
Very nice, I don't suppose you'd like to share the schematics would you?

Bryce.
Title: Re: HDOS ROMs
Post by: Nilquader on 15:47, 28 March 12
I will share the schematics in the future. I just made some changes to the schematics (to support new SD slots and an USB port for power supply) and the new batch will be in production soon. As soon as I've tested that all changes are working as expected, I will share the schematics.
Title: Re: HDOS ROMs
Post by: robcfg on 17:05, 28 March 12
One of those for the NC100 would be nice  ;D


How much would that be? I'm obviously interested. And how about the necessary software for the nc100?
Title: Re: HDOS ROMs
Post by: Nilquader on 18:28, 28 March 12
Quote from: robcfg on 17:05, 28 March 12
One of those for the NC100 would be nice  ;D
The hardware is the same for the NC100, PC and CPC (A DB25 Printer port adapter is needed for the CPC)

Quote from: robcfg on 17:05, 28 March 12
How much would that be? I'm obviously interested. And how about the necessary software for the nc100?
If you don't want to solder yourself, you should wait for the new batch of boards to be produced and tested. There will only be kits abaliabe. The old ones were about 15€ (Board and parts).

The software for the NC100 only supports copying files to and from the SD card (just like the NC200 floppy - the NC100 OS seems to have no support for 'real' mass storage devices) and backing up whole SRAM cards. It includes my own implementation of the FAT16 file system in Z80 assembler (still lacking directory support) and supports cards up to 2 GB.


Title: Re: HDOS ROMs
Post by: TFM on 18:59, 28 March 12
Quote from: Nilquader on 18:28, 28 March 12
The hardware is the same for the NC100, PC and CPC (A DB25 Printer port adapter is needed for the CPC)

Well, the CPC can only send data to the printer port, but it can receive data only using a single bit (busy). Do you transfer data to the computer by using 8 bits or single bits?


Quote from: Nilquader on 18:28, 28 March 12
The software for the NC100 only supports copying files to and from the SD card and backing up whole SRAM cards. It includes my own implementation of the FAT16 file system in Z80 assembler (still lacking directory support) and supports cards up to 2 GB.

That's AWESOME!!!
Title: Re: HDOS ROMs
Post by: Nilquader on 20:26, 28 March 12
Quote from: TFM/FS on 18:59, 28 March 12
Well, the CPC can only send data to the printer port, but it can receive data only using a single bit (busy). Do you transfer data to the computer by using 8 bits or single bits?

Single bits - I do the complete SPI protocol in software on the Z80. That's not very fast, but keeps the hardware simple, cheap and compatible with almost all 7/8 bit printer ports.
Title: Re: HDOS ROMs
Post by: TFM on 22:15, 28 March 12
Quote from: Nilquader on 20:26, 28 March 12
Single bits - I do the complete SPI protocol in software on the Z80. That's not very fast, but keeps the hardware simple, cheap and compatible with almost all 7/8 bit printer ports.

Ah! WoW! That's pretty cool! Can you post example code how to write / read a byte? (Only if it is not confidental).
Title: Re: HDOS ROMs
Post by: Gryzor on 08:06, 29 March 12
This is actually very elegant and really nice... I'd definitely want one of these!
Title: Re: HDOS ROMs
Post by: xesrjb on 07:36, 15 August 12
Any news? Did someone use HDOS?

xesrjb
Title: Re: HDOS ROMs
Post by: RockRiver on 14:16, 10 December 12
Some people tried it in Spain. But without success  :(

Powered by SMFPacks Menu Editor Mod