CPCWiki forum

General Category => News & Events => Topic started by: TotO on 18:32, 14 December 14

Title: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 18:32, 14 December 14
Hello everyone,

Most of you already know that SyX and I are working on a mass-storage expansion for CPC.
X-MASS embeds a 128MB flash drive that allows to store thousands files.
Here the picture of the final board! :)

[attach=2]

Users can access it from BASIC using the ACMEDOS ROM. RSX commands allow to browse folders for storing your files.
Developers will be able to work on ambitious projects requiring megabytes of resources and code, breaking the floppy limitation!
Last but not least, X-MASS is natively compatible with SymbOS and BDOS.

1- Preorder X-MASS here: CentPourCent [dot net] (http://www.centpourcent.net/store/c1/Produits_disponibles.html)
2- Download AcmeDOS here: AcmeDOS ROM (https://github.com/realmml/X-Mass-ROM)
3- FW3.1x users must update it here: FW3.1x ROM (https://github.com/realmml/FW3.1x)


I will try to add informations to this post if you ask questions.   ;D
I would like to thanks gerald for his precious help and support.  8)

---

Questions and Answers

Q: What is the X-MASS storage form factor?
A: A 44 pins auto-powered disk on module.

Q: What is the X-MASS storage capacity?
A: 128MB. You can store several[nb]It's the capacity of around 350 double-sided DATA floppy discs.[/nb] thousands of files on it.

Q: What is the X-MASS speed?
A: 160K/s (1.300.000[nb]+6.532 bauds exactly. That is more than Tape speed. XD[/nb] bauds for 464 users) and no drive delay.

Q: Is the X-MASS work on all CPC?
A: Yes. But, it require a ROM board to use it from BASIC.

Q: How to use the X-MASS from BASIC?
A: The ACMEDOS ROM mount it at boot and add new RSX commands.

Q: Is X-MASS use a custom file system, like BDOS does?
A: You can. But ACMEDOS allow you to use a PC FAT to be accessed independally from BASIC or SymbOS.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 18:44, 14 December 14
So... If it's called X-Mass, and If I already ordered one I guess I can expect it within the next week? :)

Otherwise: yeah, new hardware!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Pentagon on 19:16, 14 December 14
A dream becomes true, thank you so much for that awesome piece of hardware. I am totally happy, that it is working with BDos. I do have some older DOM Modules with higher capacity here (512Mb / 8 Gigabyte). Is it possible to change the 128Mb DOM to a 512 Mb or 8 Gbyte Version? Are there any limitations of the DOM Module?

However, i have preordered and i am thankful for any piece of new hardware for CPC. Thank you for that work!

Regards
Tom

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 19:59, 14 December 14
I need to do more tests before answering to you. For information, it's a 44-pins connector.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Terje_Norway on 20:13, 14 December 14
Hi,


Probably a stupid question, but where could we find the ACMEDOS ROM to download ? ? ?


I know it's most likely to be of little use without this hardware, but it could be nice to have a look at it before we do get access to the real hardware.
(I have ordered the complete hardware set earlier today  :D Guess if I'm looking forward to getting later)


Looking forward to hearing from You.


Yours

Terje Grind
NORWAY
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: fano on 20:39, 14 December 14
Sooo Sexy ! I am impatient to get this on my MX4  :-*
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 20:39, 14 December 14
The ACMEDOS will be available at the bottom of this page (http://www.centpourcent.net/store/p82/X-MASS_MX4_Board.html) when all the software side will be finished.  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: McKlain on 21:00, 14 December 14
What about the transfer speeds, how fast it is?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 21:06, 14 December 14
No precise benchmark was done, but it look to be around 10 times faster than a floppy drive.
As I know, the CPC expansion bus is close to 180KB/s ... So, it should be limited by that.
I will add this information when a program will allow to test it.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: McKlain on 21:11, 14 December 14
My guess was that, the limit might be imposed by the speed of the expansion bus. I suppose that there is no way to go beyond that limit  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 21:12, 14 December 14
Except overclocking the CPC... No.  :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: McKlain on 21:27, 14 December 14
How fast might actually be one of those flash modules?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 21:43, 14 December 14
100 times faster.  :laugh:  (10MB/s to 20MB/s)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: McKlain on 21:47, 14 December 14
Enough for industrial use, of course  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Morri on 22:55, 14 December 14
Apologies if the following questions are beyond dumb, but as I have just acquired a CPC6128 again after 20 odd years I'm out of touch with all this new hardware  ??? .
Is the MX4 board + all 4 available boards an all-in-one solution for the CPC?
What I mean is: you mention the need for a ROM, can one of these boards hold that ROM image so I don't need another ROM board (I'm thinking the X-MEM does this?)
Can this new X-MASS hold DSK images so I can have my favorite CPC games stored, loaded and played through it? (I can only find reference to development so had to ask.)

Would the process be: use MINIBOOSTER to transfer cyberchicken DSK file from PC to X-MASS. The game loads and PLAYCITY plays cyberchickens 6 channel sound. All of this is controlled by the ROM image on the X-MEM.

Do I have this stuff right? Again apologies if this has already been covered.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 23:21, 14 December 14

Morri, I think that for a guy who slept during 20 years, you are almost right in your awaked post! :D
Except that X-MASS not allow[nb]actually[/nb] to mount image, but you should run games avaliable is files version.
All the other things are OK.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Morri on 00:05, 15 December 14
Quote from: TotO on 23:21, 14 December 14
Morri, I think that for a guy who slept during 20 years, you are almost right in your awaked post! :D
Thank you @TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) for the quick reply. I have have definitely awakened to a new age of the CPC that you have helped create!  :-*

Quote from: TotO on 23:21, 14 December 14
Except that X-MASS not allow[nb]actually[/nb] to mount image, but you should run games avaliable is files version.
All the other things are OK.  8)
I'm glad I was on the right track[nb]Almost[/nb]. These "files versions" you mentioned. Is this similar to the format of the HxC or similar? Is there software to convert or a webpage for downloads?
I am sorry for these questions, but I promise once I have my head around it all, I will start saving [nb]And once I have permission from my wife[/nb] to buy the full set of your amazing work.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 00:14, 15 December 14
I can't said more, as it is actually not defined.  ;D
If you have any questions about the boards in general, please send me a PM or a message to contact@centpourcent.net

Thank you! :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 08:21, 15 December 14
Quote from: TotO on 19:59, 14 December 14
I need to do more tests before answering to you. For information, it's a 44-pins connector.


Depending on how many games can be run from files, it's be nice to have a bigger alternative...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:29, 15 December 14
May be today we love to waste space with useless things, but the goal is not to put cpc-power into each CPC...  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 08:31, 15 December 14
Not CPC-Power, but CPCGamesCD.... ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:35, 15 December 14
Hundreds games should fit on this drive, without problem. I never owned that in 80's.
Copying all CPC games = piraty.  :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 08:37, 15 December 14
Sure, because copying just a few hundreds is not piracy :p
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:39, 15 December 14
Some peoples really own hundreds games in box at home.  :P

I know the "harddrive syndrome", where peoples need 1TB to store today's 50GB usefull things and 950GB useless Internet shit that can be downloaded at anytime. (sometime, 50% of the download folder is never read and files downloaded in many times because forgotten)
Peoples in this case will have never enough space to store the world instead of their stuffs.  :-\

But, it's not the subject here and I don't said that 128MB is a limitation. It is not.
I just said that you get it "out of the box" and is far enough for most usage, if not wasted.  8)
How do we do with only "178K" floppies side from now? It's 700 times more.  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Shining on 09:02, 15 December 14
Will we be able to order additional flash-modules or do you have an external source for them ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:07, 15 December 14
I have edited the previous post. It should be possible after tests will be done.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: McKlain on 09:24, 15 December 14
Quote from: Gryzor on 08:37, 15 December 14
Sure, because copying just a few hundreds is not piracy :p


As long as they are single files, it's not piracy  :laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Optimus on 11:29, 15 December 14
Great! That will complete the collection.


I am wondering what project we can do with this. Maybe something like this for a start? [Touhou] Bad Apple!! - Sega Megadrive / Genesis version - YouTube (https://www.youtube.com/watch?v=2vPe452cegU)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 11:42, 15 December 14
May be... I know this Steph's video. A nice guy! :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: McKlain on 11:46, 15 December 14
I think that those kind of productions on the cpc are @Devilmarkus (http://www.cpcwiki.eu/forum/index.php?action=profile;u=93) speciality. Just let him get an X-MASS and wait  :laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:48, 15 December 14
Those useless streaming annimations took less space on youtube...  :-\
Back to the topic!  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 22:03, 15 December 14
Please keep cool with me for the delay ; I will do the best during the holidays. :D (if some goblins should help me)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 23:31, 15 December 14
Quote from: Gryzor on 08:31, 15 December 14
Not CPC-Power, but CPCGamesCD.... ;)


Will fit easily. Just put more than one game on a DSK. That already saves 70% space.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CPC_Fan on 19:53, 16 December 14
TotO - Do you try and take payment for any orders placed straight away, or do you wait until you have made the order up and then take payment for it?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 20:10, 16 December 14
To make things simple for everyone, the preorder is made on the centpourcent.net website only.
You have to pay to open a preorder and allow to buy the needed parts to build your boards.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 20:12, 16 December 14
For CPC Tape users, the X-MASS speed is around 1 300 000 bauds.
For CPC Floppy users, the X-MASS speed is around 160KBs.


:-*
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Token on 20:18, 16 December 14
 :blank:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CPC_Fan on 20:21, 16 December 14
Quote from: TotO on 20:10, 16 December 14
To make things simple for everyone, the preorder is made on the centpourcent.net website only.
You have to pay to open a preorder and allow to buy the needed parts to build your boards.


Thanks for the quick reply TotO. I only asked, as I didn't want to try and order some boards if you took payment straight away and I didn't have the money in my account.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Optimus on 11:40, 17 December 14
So, will it be accessed like AMSDOS loading files?
Or can it be seen like a huge memory, asking for bytes on the fly?


I am still wondering about what one can do with it.
Store many files for future loading? Generate massive amount of precalced data? Something else?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:19, 17 December 14
It's a hard drive like on any computer.
You can read and write files like you already do with AMSDOS for floppies.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 15:32, 17 December 14
Ok. As the x-mass is compatible with the symbiface ide devices does this mean that the amsdos Rom will also work on a symbiface drives?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Token on 15:39, 17 December 14
I think I didn't get it first. With just a 464 it won't be usefull. Copy files from the .DSK require more hardware that I don't have.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:42, 17 December 14

Quote from: CraigsBar on 15:32, 17 December 14
Ok. As the x-mass is compatible with the symbiface ide devices does this mean that the amsdos Rom will also work on a symbiface drives?
It should, but I can't confirm that actually.
Can't use WinAPE for test too, as no harddrive image work properly.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 16:11, 17 December 14
If you have a Rom image I can test it for you in my symbiface.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 04:11, 21 December 14
Can I use 40 Pin D.O.M's with the X-Mass as i have some.


Thanks


Ray W
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 12:42, 21 December 14
Quote from: Audronic on 04:11, 21 December 14
Can I use 40 Pin D.O.M's with the X-Mass as i have some.


Thanks


Ray W
With an adaptor and an external power supply I don't see why not. But initially at least I am gonna stick with the one that TotO has tested and provides.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 13:19, 21 December 14
Same here for the biginning.  ;)
128mb should be enough for the usual programs.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:37, 21 December 14
128MB is 134 217 768 bytes. (one billion bits)
The CPC is orriginaly a 8bit computer with 64K RAM a 4MHz CPU and some hundred bytes storages.

100MB was the hard drive capacity used 10 years later on 16/32bit PC 486DX2@66MHz with 4MB RAM.
With DOS/Windows, many programs and games...

So, it should be time to start to make programs now if you want to upgrade it! ;)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 14:47, 21 December 14
any news about the release date of ACMEDOS ROM ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:52, 21 December 14
When it will be finished.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Hicks on 23:32, 21 December 14
Thumb up to TotO for this new and very usefull extension!
128 Mb is more than enough to help native CPC developers... For example, it will be possible with this extension to easily manage the "include" fonction of the Orgams incoming assembler. It will also allow to organize our projects into structured directories... So it's the perfect complement of the X-MEM!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 12:49, 31 December 14
Some X-MASS sent today...  ;D

[attachimg=1]



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 12:57, 31 December 14
It's so coooooool !  :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Tai on 09:09, 02 January 15
Shiny!!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 20:03, 02 January 15
Officially in waiting mode...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 18:32, 05 January 15
Pics look awesome!  ;D ;D ;D  Ok TotO, I'm back from Mexico! Can't wait to get one  :) :) :) :) :) :) :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Executioner on 06:01, 06 January 15
Quote from: TotO on 15:42, 17 December 14
Can't use WinAPE for test too, as no harddrive image work properly.

Hard drive images should work, but they are my own IDE format, not compatible with VHD. I've had them working in SymbOS a number of times. You can also mount any FAT partition.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:00, 06 January 15
Sure, it should. But, sadly it don't.  :(
All the harddrive programs/tests done by SyX for making our ROM, fail on WinAPE and work on a real CPC.
So I have to test myself as SyX have not received its X-MASS again... (it's why, that slowdown the ROM development)

i.e. geting the drive ID, reading or writing a sector. (that are IDE low level commands and not FAT related)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 10:48, 06 January 15
Well, order placed for X-MASS, X-MEM and Mother X4. :) Time to take this to the next level.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Executioner on 11:24, 06 January 15
Quote from: TotO on 09:00, 06 January 15
All the harddrive programs/tests done by SyX for making our ROM, fail on WinAPE and work on a real CPC.

i.e. geting the drive ID, reading or writing a sector. (that are IDE low level commands and not FAT related)

I know the Drive ID doesn't work, SymbOS didn't require it, but all read sector and write sector commands should work, only in LBA mode currently.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 12:51, 06 January 15
Quote from: Executioner on 11:24, 06 January 15I know the Drive ID doesn't work, SymbOS didn't require it
OK, that explain why that not work with the X-MASS.

Quote from: Executioner on 11:24, 06 January 15but all read sector and write sector commands should work, only in LBA mode currently.
We are only using LBA mode. So, it's strange. I will see with SyX.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:14, 07 January 15
[attachimg=1]
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 15:19, 07 January 15
Finally a dream comes true!!!!  :P :P :P Congratulation again!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 15:44, 07 January 15
Quote from: TotO on 09:00, 06 January 15So I have to test myself as SyX have not received its X-MASS again... (it's why, that slowdown the ROM development)
And this nerd was visitting the family (spanish and brazillian) since 1st of december until yesterday, i have coded more z80 in airports than in home in the last months xDDD... and this week we are moving to the new flat and prying the samba postal service doesn't delay too much, because if Carnival starts, then it will work exactly like postal service during a Zombi Apocalyptic :P... i have the feeling that the first version of the rom will be finished, before i can touch the prototype xDDD

But don't worry, in the moment we have a functional version and we are not too far from it, we will release the first beta for people can fill my mailbox with bug reports xDDD
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 16:20, 07 January 15
Quote from: SyX on 15:44, 07 January 15
in the moment we have a functional version and we are not too far from it, we will release the first beta for people can fill my mailbox with bug reports xDDD

If i recall correctly, this rom is compatible with SF2?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 16:45, 07 January 15
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324), what a great work (and a good story)!!  :D :D You have my full respect for writing the first available FAT implementation for AMSDOS ever in history!

@Joseman (http://www.cpcwiki.eu/forum/index.php?action=profile;u=135), if SyX didn't include a dongle, it should  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:04, 07 January 15
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) Thank you so much! I lack words to express how great your work is. I would even propose you for the CPC Nobel price category OS & DOS. And you would be the winner by far.

What nobody ever could do before: YOU DID IT!!! :) :) :)

The first time ever we can use FAT under the native CPC-OS. No need for other stuff anylonger! Yay! Compatibility rulez!

Also all the poor SF2 owners waiting for FAT for the native OS will now after 10 years have the chance to use the SF2 with all regular CPC programs!!!


Thank you so much!!!

I can't wait to use it the first time in my life!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 19:31, 07 January 15
Great Work !!!!


CPC will live forever :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Executioner on 01:16, 08 January 15
Quote from: TotO on 12:51, 06 January 15
We are only using LBA mode. So, it's strange. I will see with SyX.

Can you send me the working ROM as pictured above and I'll see if I can get it to work (and fix any WinAPE bugs for the upcoming release).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 08:12, 08 January 15
Nice work TotO and SyX!

I was wondering what are my options for getting stuff onto the flash drive?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 19:23, 08 January 15
load and save commands! Or connect it to a PC and fill it with all kind of stuff. (I'm guessing).  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: talrek on 21:11, 08 January 15
Sorry to interrupt but i have a question. You say it doesn't work with dsk (ok it is normal i understand) But what do you mean by "single files" ?
i'm not sure to understand. Can you give an example ? Thanks  :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: 00WReX on 22:15, 08 January 15
Hi talrek, I'm pretty sure the "single files" simply means that the structure on the X-MASS needs to look like it would on a normal floppy disk.
So if you place a .dsk file on it then the X-MASS cannot mount it (open it up and view the files).
The files need to be in "extracted" form if you like, and all the files that make up a program need to be copied onto the X-MASS.

Hope I made sense.

Cheers,
Shane
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 22:18, 08 January 15
Exactly.  8)
See the X-MASS on CPC like a harddrive on a PC, with all things that can be done compared to a PC w/O harddrive.  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 22:19, 08 January 15
IIRC then there are some DSK utilities (like DSK-CPC) which can access an DSK and extract files. The question is why the heck should one use DSKs on a CPC except for making a real disc once.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: talrek on 09:38, 09 January 15
Ok it is as I thought. Wanted to be sure of it.
Problem is just for utilities or games with same filenames ... Because if I'm not wrong the is no folders with amsdos....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:58, 09 January 15
It's why the ACMEDOS is used to handle the X-MASS. Like you can see on the screenshot, it support folders.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 11:27, 09 January 15
Is ACMEdos ready now?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:35, 09 January 15
Work In Progress.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 16:04, 09 January 15
Quote from: TFM on 19:23, 08 January 15
load and save commands! Or connect it to a PC and fill it with all kind of stuff. (I'm guessing).  :)
Do you need a MiniBooster or similar to connect to PC?

Is the flash connector a 44-pin IDE type? Can you connect some other flash media to X-MASS with an adapter?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 16:50, 09 January 15
Sorry for getting off topic a little... but just to answer.


For DSK-CPC you need an DSK image on on 3.5" disc and it can write the data of the DSK to a 3" disc for example. It's used to recreate real disc out of DSK images.
However in 2015 I would suggest the Mini-Booster with cable and Arkos ROM, that works very nice too and saves the time to copy everything on a disc (on PC side) first.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 19:02, 09 January 15
Quote from: TFM on 17:02, 09 January 15Does anybody know if the X-MASS is compatible to the CPC-IDE?
The CPC-IDE was developed before the SF2 and it found its way into the SF2 eventually.
So I assume the X-MASS is compatible to the CPC-IDE.
Personally I don't have access to both, anybody else?
The X-MASS use the same ports range. Like the SF2 does too. So, it should be compatible with the existing software.

Quote from: TFM on 16:50, 09 January 15For DSK-CPC you need an DSK image on on 3.5" disc and it can write the data of the DSK to a 3" disc for example. It's used to recreate real disc out of DSK images.
However in 2015 I would suggest the Mini-Booster with cable and Arkos ROM, that works very nice too and saves the time to copy everything on a disc (on PC side) first.
Arkos ROM already allow to write from PC (dsk) to CPC (floppy)... Or I don't understand the question.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 19:18, 09 January 15
Quote from: TotO on 19:02, 09 January 15
The X-MASS use the same ports range. Like the SF2 does too. So, it should be compatible with the existing software.
Arkos ROM already allow to write from PC (dsk) to CPC (floppy)... Or I don't understand the question.
Well, my question basically is that how can I get stuff transferred onto the X-MASS?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 19:30, 09 January 15
OK. So yes, using the MiniBooster is a good way to exchange data with a PC.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 19:33, 09 January 15
Quote from: protek on 19:18, 09 January 15
Well, my question basically is that how can I get stuff transferred onto the X-MASS?

The fastest way would be to connect the DiskOnModule directly with a PC via a powered 44pin IDE connector.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 19:49, 09 January 15
Ok, thanks!  :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 19:54, 09 January 15
can you replace the DiskOnmodule flash with this adapter?


(http://www.addonics.com/products/diagrams/adeb44ide2cf_diagram.gif)


Then you can swap the CF card easy between PC and CPC :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 22:23, 09 January 15
Yes, you can use a 44-PIN IDE adapter to plug the DOM to the PC and backup or fill its content.

This CF adapter is too thick to be plugged on the X-MASS slot.
Next, I will not support untested hardware as that require more investissement (time and cost) that I can't/don't want to spend.
Understand that X-MASS is not intended to be an exchange support but a mass-storage for CPC.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 22:50, 09 January 15
Quote from: TotO on 22:23, 09 January 15
Yes, you can use a 44-PIN IDE adapter to plug the DOM to the PC and backup or fill its content.


And also keep in mind which files you will put on it. While you have on the PC side usually DSKs, HFEs, PDFs or what ever you will need single files on the CPC side like you're used to use when working with the CPC (like BAS, BIN etc.)


I intend to make a data structure for FutureOS files, so that everybody can put that folder on the DOM on PC side to save time. There may not be much interest in such things, but I think it's also a great kind of backup.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 06:46, 10 January 15
Great !!!! :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 21:03, 24 January 15
Why the symbos cant see the xmass?
Should i do something extra ?  I see only the floppy drive A and B, the ramdrive C is also not detected.
:o
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 21:17, 24 January 15
Hi Radu,


You need to configure the Mass storage drive in the "Control Panel"


Symbos does not use Silicon Disc as all RAM is used for the OS and Multi-Tasking aspects of the OS


In the COntrol Panel there is a Mass Storage option, in here select IDE drive, partition 1 etc...
From the Start menu save settings to your floppy disc


the copy SYMBOS.ini from the Floppy to the root of the C: drive


It should then just work.


It is better to copy the whole contents of both sides of the Symbos disc to C:\symbos and set this up as the system drectory aswell.


Craig

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 08:12, 25 January 15
thanks Craig, i follow your indications step by step and it"s working :)


i'm impressed ! :o





Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:13, 25 January 15
Are you impressed that Craig's instructions was good, or that you had been able to follow them?  :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 10:47, 25 January 15
I"m impressed about the x-mass and how nice the combination x-mass and symbos is working.


The X-mass made the CPC complete, this as imho the missing "hard drive " support that we have been waiting for since 90'.

The read/write speed is good, now only the ACMEROM is missing  ;)  and a nice apps and games package collection ( creme de la creme )


P.S. Craig"s instructions are definitely good  :P 
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 13:57, 25 January 15
Quote from: radu14m on 10:47, 25 January 15

P.S. Craig"s instructions are definitely good  :P
LOL maybe my chosen career in a it Helpdesk was not such a bad idea after all.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 14:30, 25 January 15
very precise explanation Craig, you lead me directly to the solution  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 16:12, 25 January 15
I am really glad, that Craig could help you! :)
You can boot SymbOS completely without a floppy disc, if you install the ROM version of SymbOS. Just type |SYM and that's it, it will load the SYMBOS.INI directly from the root directory of IDE Master, Partition 1.
Please make sure, that you choosed "C" as boot drive (Control Panel -> System -> Boot drive) after adding the IDE device. Only in this case the SYMBOS.INI will always be stored there in case of changes.

CU,
Prodatron
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 20:43, 25 January 15
well, i installed on drive D :)
and it"s working, without need of a floppy disk.

it saved the SYMBOS.INI on drive D, and additionaly i copy all the applications and games into a SYMBOS directory.

i choose drive D because the drive C was used as a memory drive from CPM.


P.S. Can you make the 640x200 resolution to look better ? :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Poliander on 20:50, 25 January 15
Quote from: radu14m on 20:43, 25 January 15
well, i installed on drive D :)
and it"s working, without need of a floppy disk.

it saved the SYMBOS.INI on drive D, and additionaly i copy all the applications and games into a SYMBOS directory.

i choose drive D because the drive C was used as a memory drive from CPM.

Did you have to create a partition + format the drive on your PC first? Or is the X-MASS expected to run out of the box?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 21:14, 25 January 15
The X-MASS contains a DOM storage, which is FAT32 formatted and includes an MBR. You have one partition (partition 1) with effective 117MB.
So no need to format it. But you have to copy all the files of course. I used the HxC direct access version of SymbOS for that to copy a bunch of directories and large files from an SD card to the X-MASS. Next week I will try to get a 44pin IDE adapter -> USB to be able to copy it directly at the PC.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Poliander on 21:42, 25 January 15
Quote from: Prodatron on 21:14, 25 January 15
The X-MASS contains a DOM storage, which is FAT32 formatted and includes an MBR. You have one partition (partition 1) with effective 117MB.
So no need to format it. But you have to copy all the files of course. I used the HxC direct access version of SymbOS for that to copy a bunch of directories and large files from an SD card to the X-MASS. Next week I will try to get a 44pin IDE adapter -> USB to be able to copy it directly at the PC.

Thanks for the response. Strange... my X-MASS is playing dead (http://oi62.tinypic.com/2h5ttp3.jpg) :-( Any idea? (It's a 664, with a power supply connected to the X-Mother)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 21:54, 25 January 15
05 = "medium or partition not supported"

That means:
- SymbOS can access the device and the storage -> hardware seems to work fine
- but SymbOS can't access the partition, as it's either not formatted or in a wrong way

Maybe the DOM hasn't been formatted with an MBR. Can you try "not partitioned" instead of "Primary partition 1"?
If this is still not working you should first have a look at the DOM on a PC, maybe it needs to be formatted first?

CU,
Prodatron
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Poliander on 22:06, 25 January 15
Quote from: Prodatron on 21:54, 25 January 15
05 = "medium or partition not supported"

That means:
- SymbOS can access the device and the storage -> hardware seems to work fine
- but SymbOS can't access the partition, as it's either not formatted or in a wrong way

Maybe the DOM hasn't been formatted with an MBR. Can you try "not partitioned" instead of "Primary partition 1"?
If this is still not working you should first have a look at the DOM on a PC, maybe it needs to be formatted first?

That's quite what I'm suspecting, too. Same error message when selecting "not partitioned". Okay, I'll see further next week. But thank you anyway :-)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 22:15, 25 January 15
It's a bit strange, as I have formated all the DOM to the same way and then tested each board on my 6128 with SymbOS, before shipping them.  :-\
Do you see the LED blinking one time "bright red" when SymbOS start to display the desktop and checking for drives?
If no, do you see it blinking one time "low red"?

Thank you,

  TotO.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 14:29, 26 January 15
@toto are all the xmass storage shipped or any unit is still waiting to be sent?


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:07, 26 January 15
Still waiting for mine to arrive, but overseas may take quite a while.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 18:14, 26 January 15
I have received close to 60 preorders in 2/3 weeks. Only 20 are shipped actually. (10 are work in progress)
Peoples who ordered other boards with the X-MASS will have to wait a bit more...


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Piotr on 18:26, 26 January 15
Run Forrest, run ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 19:14, 26 January 15
60!  :o
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 19:25, 26 January 15
Yes, it more than I expected for a start, but I will do the best for.  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 19:43, 26 January 15
mine worked out of the box !
no format was needed !


what is "HxC direct access version of SymbOS "?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 23:28, 26 January 15
Quote from: radu14m on 19:43, 26 January 15
what is "HxC direct access version of SymbOS "?
You can download it here:
SymbOS with HxC Direct Access FAT32 support (http://www.cpcwiki.eu/forum/applications/symbos-with-hxc-direct-access-fat32-support/msg87782/#msg87782)
It allows you to access the FAT32 formatted SD card inside your HxC floppy emulator directly. That makes it possible to swap tons of files of any sizes with the PC in a very easy way. The only disadvantage is, that the HxC is quite slow even in direct access mode, as it is still handling the SD sectors like floppy disc sectors.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 19:16, 27 January 15
it is then possible to access the SDcard directly from Basic too ?
the ACMEROM maybe will do this ?  :o
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:52, 27 January 15
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) Does the DOM of the X-MASS speak LBA? I assume so, but I'm not sure. Can you confirm?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 21:08, 27 January 15
Quote from: TFM on 20:52, 27 January 15
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) Does the DOM of the X-MASS speak LBA? I assume so, but I'm not sure. Can you confirm?
Absolutly.

Quote from: radu14m on 19:16, 27 January 15
it is then possible to access the SDcard directly from Basic too ?
the ACMEROM maybe will do this ?
Definitively no.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 21:09, 27 January 15
Why using the slow HxC instead of the quick X-MASS?  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 21:28, 27 January 15
To have a second storage device  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 22:27, 27 January 15
@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179): LBA is a standard since nearly 20 years :) IIRC harddiscs already had it middle/end of the 90ies.
I wonder if todays mass storage devices still speak CHS? (optional)

@Radu: It is very easy to provide simple sector read/write functions for additional hardware for a FAT based (or any other) filesystem. Then you can add HxC direct SD card access, printer port SD card access etc. etc. with a low amount of work. The only question is, if ACMEROM would allow it. Anyway most important thing is probably to finish it for the X-MASS/SF2 hardware now.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 23:46, 27 January 15
Well, yes, it's of course not 2004 any longer. But I never got into closer touch with DOM or SD-cards.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 21:14, 28 January 15
Quote from: Prodatron on 22:27, 27 January 15

@Radu: It is very easy to provide simple sector read/write functions for additional hardware for a FAT based (or any other) filesystem. Then you can add HxC direct SD card access, printer port SD card access etc. etc. with a low amount of work. The only question is, if ACMEROM would allow it. Anyway most important thing is probably to finish it for the X-MASS/SF2 hardware now.


Thanks, would be great to get a ROM with such read/write functions !
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 14:28, 31 January 15
I've just received my own X-Mass.  :P  I'm so happpppyyyyyyyy!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 10:41, 01 February 15
did you install symbos already ?  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 11:48, 01 February 15
No because i don't have my Cpc with me here  :-\
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 19:56, 03 February 15
Yippee my X-Mass arrived and works perfectly. My 4128plus now has all 4 slots on it's Mother4x occupied. I remember reading somewhere here that a 6 channel playcity aware version of SymAMP existed to play PT3 files. Now does anyone know which thread I might find that in, I'd love to blast out some 6 channel tunes from my X-Mass :)


Craig
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: MacDeath on 21:39, 03 February 15
QuoteI remember reading somewhere here that a 6 channel playcity aware version of SymAMP existed to play PT3 files. Now does anyone know which thread I might find that in, I'd love to blast out some 6 channel tunes from my X-Mass
@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482) : you can't have this, it was just a fake pretense so you got lured into buying this card.
Sorry but you've been had...
You should never believe something seeming too good to be true, it is probably not.




;D


Reminds me I still have some Mother4X holes to fill too... this card is a real MILF : Mother4X I'd Like2 Fill.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 21:44, 03 February 15
Quote from: MacDeath on 21:39, 03 February 15
@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482) : you can't have this, it was just a fake pretense so you got lured into buying this card.
Sorry but you've been had...
You should never believe something seeming too good to be true, it is probably not.




;D


Reminds me I still have some Mother4X holes to fill too... this card is a real MILF : Mother4X I'd Like2 Fill.
but... I know I had it playing when I had only the play city, and loaded symbos from disc. I seem to remember it crashed on each and ever track change, so you had to reload between tracks. But I a sure I did not dream it.

Prodatron??

Out of interest, why can it not be done at present?

Sent from my HTC One_M8 using Tapatalk

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 22:48, 03 February 15
@Craigsbar: Here is the link to the thread and the download:
PlayCity support in SymAmp (SymbOS) (http://www.cpcwiki.eu/forum/amstrad-cpc-hardware/playcity-support-in-symamp-%28symbos%29/msg88404/#msg88404)
This is a 6channel PlayCity specific version for PT3 files. The next version has to handle it in a flexible way.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 00:53, 04 February 15
Quote from: Prodatron on 22:48, 03 February 15
@Craigsbar: Here is the link to the thread and the download:
PlayCity support in SymAmp (SymbOS) (http://www.cpcwiki.eu/forum/amstrad-cpc-hardware/playcity-support-in-symamp-%28symbos%29/msg88404/#msg88404)
This is a 6channel PlayCity specific version for PT3 files. The next version has to handle it in a flexible way.
excellent yes that was it. Running from x-mass storage seems to have ended the instability. I love it. One thing I did notice however, is that it only works with pt3 files without an AmsDOS header.

Is there any chance of a symbos tool that will add or remove an amsdos header on a file? Even as a command line tool this would be awesome for file maintenance tasks.

Sent from my HTC One_M8 using Tapatalk

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 01:16, 04 February 15
Guess, I remember there was a French tool called header maker or so. You can load a binary file under futureos and then save it as file, so the header will get lost too (header stays when saving as foreground or background program though).


Adding a header: You reassemble it with the first 128 bytes header data (checksum must be ok), then save under maxam as .COM file : WRITE"NAME.COM"


:)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 01:32, 04 February 15
Quote from: CraigsBar on 00:53, 04 February 15Is there any chance of a symbos tool that will add or remove an amsdos header on a file? Even as a command line tool this would be awesome for file maintenance tasks.
Thanks for the hint, I am currently working on it and will hopefully finish it for SymbOS SymShell tomorrow (thursday). TBH I used WinApe for this task in the past, but to be able to do this directly on the CPC is quite cool!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 08:12, 04 February 15
Quote from: Prodatron on 01:32, 04 February 15
Thanks for the hint, I am currently working on it and will hopefully finish it for SymbOS SymShell tomorrow (thursday). TBH I used WinApe for this task in the past, but to be able to do this directly on the CPC is quite cool!
yes. I did it with winape too last night. But a CPC tool to do it would be so much nicer.

Sent from my HTC One_M8 using Tapatalk

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 10:08, 04 February 15
Quote from: CraigsBar on 08:12, 04 February 15
yes. I did it with winape too last night. But a CPC tool to do it would be so much nicer.

Sent from my HTC One_M8 using Tapatalk
if it's not too late, may I suggest the following syntax.

Header -add <filename>
Header -remove <filename>

Both should check the files and add a header if one is not present, or remove one if it is there.
Both should also accept wildcards.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 10:17, 04 February 15
Quote from: CraigsBar on 10:08, 04 February 15
if it's not too late, may I suggest the following syntax.

Header -add <filename>
Header -remove <filename>

Both should check the files and add a header if one is not present, or remove one if it is there.
Both should also accept wildcards.

my addhead tool does nearly this.

addhead -r <source> <dest>

addhead -a <source> <dest>
(-a lets you set start, execution, file type that kind of thing).

Unofficial Amstrad WWW Resource (http://www.cpctech.org.uk/download.html)


The tool doesn't accept wildcards.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 10:23, 04 February 15
Quote from: arnoldemu on 10:17, 04 February 15
my addhead tool does nearly this.

addhead -r <source> <dest>

addhead -a <source> <dest>
(-a lets you set start, execution, file type that kind of thing).

Unofficial Amstrad WWW Resource (http://www.cpctech.org.uk/download.html)


The tool doesn't accept wildcards.
add wildcards and make it a symbos app and it'd be perfect! I could not find anything to do it last night, so resorted to winape in a windows xp VM on my Mac Pro. A symbos tool, either shell or GUI would be nicer tho.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:28, 04 February 15
Wildcards seem not to work with SymbOS (PDT correct me if I'm wrong). I tried with SymShell. Also drive letters must contain the backslash, which is something Trebmint told me. It would be great if a drive is also recogniced as a: for example without the backslash. Sorry for the off-topic, but whý not some constructive critics.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 01:42, 05 February 15
Yes, you are wrong.

From the documentation ("SymbOS-File.TXT"):


===============================================================================
DIRECTORY MANAGEMENT FUNCTIONS

The directory management functions allow to show and edit the content of a
directory.
Many functions require a path with or without a filename. A path including the
filename must never be longer than 255 bytes. It is built like this:

[Drive:][\][directory1\][directory2\][...\][filename or filemask]
A       B  C                               D

[A] If the drive is specified, not the active device will be used but the
    specified one. If the device is not included in the path, the system will
    search on the current device.
[B] If the path itself starts with a "\", the system starts working from the
    root directory. If there is not "\" at the beginning, the system starts
    searching in the current directory.
[C] You can go into as many sub directories as you want. You can also change to
    the parent directory ("..") or the current one ("."). In the following
    example at the end you will stay in your current directory:
    new_path = "subdir\.\..\subdir\..\"
    If it makes sense or not, but such a path is possible.
[D] If you want to specify a directory, the path must end with a \. If you want
    to specify a filename or a filemask you append it behind the last \.
    A filemask can contain ? (any char at this place) and * (any chars until
    the end of the current filename part).

Instead of the backslash ("\", Microsoft), you can also use the normal slash
("/", Unix, Linux).



ID:             038 (DIRINP)
Name:           Directory_Input
Library:        SyFile_DIRINP
Input:          IXH  = Directory path ram bank (0-15)
                HL   = Directory path address (may include a search mask)
                IXL  = attribute filter
                       Bit0 = 1 -> don't show read only files
                       Bit1 = 1 -> don't show hidden files
                       Bit2 = 1 -> don't show system files
                       Bit3 = 1 -> don't show volume ID entries
                       Bit4 = 1 -> don't show directories
                       Bit5 = 1 -> don't show archive files
                A    = Destination buffer ram bank (0-15)
                DE   = Destination buffer address
                BC   = Destination buffer length
                IY   = Number of entries, which should be skipped
Output:         HL   = Number of read entries
                BC   = Remaining unused space in the destination buffer
                CF   = Error state (0 = ok, 1 = error; A = error code)
Destroyed:      AF,DE,IX,IY
Data structure: 00  4B  File length (32bit double word)
                04  1W  Date code, see 023 (FILF2T)
                06  1W  Time code, see 023 (FILF2T)
                08  1B  Attributes, see 035 (DIRPRR)
                09  ?B  File or sub directory name
                ??  1B  0 terminator
Description:    Reads the content of a directory. You can specify a name filter
                by adding a file mask to the path (* and ? are allowed) and an
                attribute filter. We recommend always to set Bit3 (volume ID)
                of the attribute filter byte.
                The system skips the specified amount of entries first and
                then loads as many entries as exist or as there is place in the
                destination buffer. Please note, that the entries will not be
                sorted. Depending on its name every entry in the destination
                buffer can have a different length and is terminated with 0
                behind the file name. Filenames don't contain spaces.
                For a more powerful function see 013 (DEVDIR).



ID:             039 (DIRDEL)
Name:           Directory_DeleteFile
Library:        SyFile_DIRDEL
Input:          IXH  = File path and name/mask ram bank (0-15)
                HL   = File path and name/mask address
Output:         CF   = Error state (0 = ok, 1 = error; A = error code)
Destroyed:      AF,BC,DE,HL,IX,IY
Description:    Deletes one or more files. You can delete multiple files by
                using a file mask (* and ? are allowed). Files, which are read
                only, can't be deleted.
                This function also can't be used for deleting directories. Use
                040 (DIRRMD), if you want to delete directories.


Not really a special feature btw.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Subaru on 02:24, 05 February 15
mai o saptamana ptr mine  >:(
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 18:18, 05 February 15
Quote from: Prodatron on 01:42, 05 February 15
Yes, you are wrong.

From the documentation ("SymbOS-File.TXT"):Instead of the backslash ("\", Microsoft), you can also use the normal slash("/", Unix, Linux).

@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) : Thanks for the answer. Eventually I got some information.

Sorry, not working! See screen!

Another hint for you: Please add the "COPY" command in the list of commands displayed by the HELP command (Symshell). It's missing there.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 19:01, 05 February 15
Quote from: Subaru on 02:24, 05 February 15
mai o saptamana ptr mine  >:(


hei!!! romanian language  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: villain on 20:35, 05 February 15
@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179)

Backslash instead of slash could help.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 23:02, 05 February 15
The Docs clearly state that backslash and slash can be both used (see Prodatrons post, or the part I quoted in my last one). Of does this work only in some cases?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Subaru on 06:14, 06 February 15
FR
Peut-être:

copy a:*.* b:*.*

ou

copy a:*.* , b:*.*

------------------
ENG
Maybe:

copy a:*.* b:*.*

or

copy a:*.* , b:*.*
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: villain on 07:41, 06 February 15
Oh, didn't read that. Only compared the screenshots...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Subaru on 08:03, 06 February 15
FR:
Mais je pense que c'est uniquement parce-que la commande "copy" doit être inconnu. (Ce n'est pas du MS-DOS lool)  :laugh:

----------------------
ENG:
But I think it is only because-as the "copy" command must be known. (This is not the MS-DOS lool)  :laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:58, 06 February 15
You know, it's not needed to post in french.
If peoples don't understand, they will ask again.  :-*
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: kribjo on 15:02, 06 February 15
Pure joy.  :)  Currently at work though, but my wife texted me that I got a package from France.


I got the X-MASS. Let the fun begin.


Bjørn,
Norway





Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:51, 06 February 15
Quote from: Subaru on 06:14, 06 February 15
copy a:*.* b:*.*

ou

copy a:*.* , b:*.*
ENG:
Neither one of them work, check by yourself. :)


DEU:
Hab ich schon probiert, funktioniert auch nicht, k.a. was ich da falsch mache.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 19:33, 07 February 15
Still waiting for mine :(
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Subaru on 21:06, 07 February 15
Quote from: TotO on 08:58, 06 February 15
You know, it's not needed to post in french.
If peoples don't understand, they will ask again.  :-*

Je sais, mais vu que googletrad n'est pas fiable à 100%, je préfère que les FR puissent me "corriger" si besoin est.  ;)

Quote from: TFM on 17:51, 06 February 15
ENG:
Neither one of them work, check by yourself. :)


DEU:
Hab ich schon probiert, funktioniert auch nicht, k.a. was ich da falsch mache.  :)

FR:
J'ai pas besoin de tester. La commande "copy" n'existe pas. Que ce soit sous cp/m ou sous amsdos.

Et n'ayant pas encore reçu mon combo x-mem/x-mass, je ne peux affirmer si c'est également le cas sous FW 3.15.

----------------------
ENG:
I do not need to test. The "copy" command does not exist. Whether in cp / m or under amsdos.

And have not yet received my combo x-mem / x-mass, I can not say whether this is also the case in FW 3.15.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 21:47, 07 February 15
Quote from: Subaru on 21:06, 07 February 15
I do not need to test. The "copy" command does not exist. Whether in cp / m or under amsdos.


I talked about the syntax in SymbOS. CP/M has of course a copy command, it's called PIP.COM and is pretty powerful. For Amsdos I would recommend X-DDOS 2 which provides the RSX command !COPY or at least as good as the nice ParaDOS / VaraDOS which provides similar functionality.  :)


Nice avatar btw. (I liked the TV series a lot).

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 01:18, 11 February 15
Quote from: CraigsBar on 00:53, 04 February 15Is there any chance of a symbos tool that will add or remove an amsdos header on a file? Even as a command line tool this would be awesome for file maintenance tasks.
Here we are :)
AHEAD - Amsdos Header Utility for SymbOS SymShell (http://www.cpcwiki.eu/forum/applications/ahead-amsdos-header-utility-for-symbos-symshell/msg93735)
Thanks for yours and Kevins inspiration, would be nice if you can test it!

CU,
Prodatron
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: archcosmo on 03:30, 11 February 15
is there any progress on the X-MASS ROM/software & documentation?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Terje_Norway on 05:14, 11 February 15
Hi,

I sent a mail to the developers with the same question yesterday.

The reply came very fast, and was as following :

"About the ROM, I hope to get a first usable version in 2 weeks."

Yours


Terje Grind
NORWAY

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 17:33, 13 February 15
What's the latest on production and shipments?  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 18:23, 13 February 15
Dear Team ACME! You guys do an incredible _AWESOME_ work! You always provides quality products of the highest class. So please take all the time you need, and don't feel rushed by people who get excited, which is of course understandable. I prefer to wait for the fully fledged product - We waited 30 years for this, so please 3 weeks or months or years really don't matter.  :) :) :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: vash999 on 12:00, 18 February 15
Hello toto , nice work!!!.
I have a question . HOw much shipping to uruguay? I want to know to buy...
Thanks.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 22:19, 18 February 15
Hello !

Sure, I send worldwide. The price depend of the wished method.
Look the wished international shipping at centpourcent.net
Now, you have to know that for Brazil it took close to 2 months to be delivred.
So, I hope that your postal service is fastest than samba! ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 22:54, 17 March 15
TotO, do you notify customers, when their orders are shipped or will we just be pleasantly surprised?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 23:28, 17 March 15
You boards will be shipped this week.

My auto-notification look to have problems. So, it is a surprise, because I can't write many emails.
I check the tracking numbers (if exist) to know if the parcels are delivred. If problem, I write an email.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 06:31, 18 March 15
Ok, thanks for the heads up!  :)

Looking forward to try the boards out.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: jamie on 01:56, 08 April 15
So how much is a complete board. Everything i need to store games on etc? I looked at the website but unsure. Also how much are they? Could you send me a link please to the complete board? Cheers
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 15:51, 08 April 15
It's not possible to send a PM to a Guest. But if you would register in the forum one could help you. We are nice people here.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 17:49, 19 April 15
My board is still not here :(
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 20:37, 19 April 15
I have sent it 2 weeks ago. Should be close to you.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 07:55, 20 April 15
Let's see what happens this week...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 08:38, 20 April 15
Lol, it just arrived :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:50, 20 April 15
Haha, the weeks are realy short in Greece!  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: remax on 22:34, 20 April 15
Quote from: TotO on 14:50, 20 April 15
Haha, the weeks are realy short in Greece!  ;D

It's been a week since Gryzor looked inside his mailbox  :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 18:19, 03 May 15
Aw, shut up :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 02:21, 04 May 15
Quote from: remax on 22:34, 20 April 15
It's been a week since Gryzor looked inside his mailbox  :P


He looked at is a week ago? Was his wife sick back the day? Well my best wishes to the whole family then. Please get healthy (and able to walk) again ;-)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 07:10, 04 May 15
Erm...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 07:32, 24 July 15
Quote from: archcosmo on 03:30, 11 February 15
is there any progress on the X-MASS ROM/software & documentation?


How is it going.
Soon ??


Thanks    Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:47, 24 July 15
SyX is close to finish the ROM. Only the SAVE function left to code.
Actually, the ROM can do someting like :
- |D, |DIR, |MKDIR, |CD, |ERA, |REN
- CAT, LOAD, RUN

I will send to peoples the preordered floppies with doc when all will be OK.
(the download section will be added on the X-MASS page with the files too)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 07:53, 24 July 15
@ TotO


Thanks for the Update


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 08:42, 24 July 15
Quote from: TotO on 07:47, 24 July 15
SyX is close to finish the ROM. Only the SAVE function left to code.
Actually, the ROM can do someting like :
- |D, |DIR, |MKDIR, |CD, |ERA, |REN
- CAT, LOAD, RUN

I will send to peoples the preordered floppies with doc when all will be OK.
(the download section will be added on the X-MASS page with the files too)
Excellent. One question, is there going to be an amsdos file copier to actually get the single file games onto the X-mass in the first place? The one thing amsdos always missed IMHO was a |copy command. OK and |format.

Craig
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:08, 24 July 15
Yes, it is planned to add a copy and format features.
Unlike BDOS, ACMEDOS is AMSDOS friendly and not require to "switch" between them.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 12:32, 24 July 15
Great news !!
I think a lot of people are waiting for this ROM for a while  ;D  I'm in a hurry to test it asap...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 16:20, 24 July 15
Being in a hurry doesn't make things better - and patience is a virtue. Embrace the chance to make this experience.  :) :) :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 16:33, 24 July 15
Quote from: TotO on 07:47, 24 July 15
SyX is close to finish the ROM. Only the SAVE function left to code.
Actually, the ROM can do someting like :
- |D, |DIR, |MKDIR, |CD, |ERA, |REN
- CAT, LOAD, RUN

I will send to peoples the preordered floppies with doc when all will be OK.
(the download section will be added on the X-MASS page with the files too)

Great news!!

Pitty that now i don't have time to test it!

but trust me... i have plenty of multiload games cracked by me (that i don't released because of incompatibilites with BDOS) that i *REALLY* like to test with it!

@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) @TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) , thanks for this hardware, for this software (fat32 much needed by the community), really really THANKS!


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 16:37, 24 July 15
Quote from: CraigsBar on 08:42, 24 July 15
Excellent. One question, is there going to be an amsdos file copier to actually get the single file games onto the X-mass in the first place? The one thing amsdos always missed IMHO was a |copy command. OK and |format.

Craig

With Fat32 support, now you can use symbos and symcommander to copy all what you need!!... I can't wait to test it... Symbos + AcmeDOS, just think on the possibilities...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 17:10, 24 July 15
Quote from: Joseman on 16:37, 24 July 15
With Fat32 support, now you can use symbos and symcommander to copy all what you need!!... I can't wait to test it... Symbos + AcmeDOS, just think on the possibilities...
Hell yeah! @Prodatron , any chance of a client for aft using the minibooster for symbos?

Craig
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 18:30, 24 July 15
Great News Toto !!!!


thanks  :o
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: MacDeath on 18:56, 25 July 15
So now we will be able to watch full porn movies in mode1 with 6 extra sound channels while playing PacMan... on a CPC ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 19:40, 25 July 15
Exactly!  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 19:43, 25 July 15
Quote from: CraigsBar on 17:10, 24 July 15
Hell yeah! @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) , any chance of a client for aft using the minibooster for symbos?
There is still some progress with the Minibooster network project :)
Beside that now I think that a client for AFT should be quite easy as well, as the network driver for SymbOS will have these routines for serial communications with the MiniBooster anyway. I need to read some specs now.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ZbyniuR on 22:30, 25 July 15

1. Is X-Mass have a mechanism to boot up some program after reset?
I mean some kind system startup, for example run"start  if it exist, if not - just show Ready. ;)

2. Is it files games, I mean those that you can easily copy files to tape or disk of different format will work with X-Mass?

3. What is largest capacity card supports it?

4. Is it any emulator can pretend this hardware? ;)

5. Is anyone already working on some kind Video Player for of CPC, and some kind conversion program for PC to create such files? :D

6. Any chances for version with SD card, and USB mouse adapter in one?
Or version to connect directly for CPC without MotherX4 ?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 22:59, 25 July 15


Quote from: ZbyniuR on 22:30, 25 July 15
1. Is X-Mass have a mechanism to boot up some program after reset?
I mean some kind system startup, for example run"start  if it exist, if not - just show Ready. ;)

2. Is it files games, I mean those that you can easily copy files to tape or disk of different format will work with X-Mass?

3. What is largest capacity card supports it?

4. Is it any emulator can pretend this hardware? ;)

5. Is anyone already working on some kind Video Player for of CPC, and some kind conversion program for PC to create such files? :D

6. Any chances for version with SD card, and USB mouse adapter in one?
Or version to connect directly for CPC without MotherX4 ?

1. Not as yet. Unless this is also in acmedos? If you use symbos, then you can autostart apps in symbos.

2. So long as the ROMs are not reinitialised I see no reason why unprotected releases should not work. Cngsofts list will be my first port of call once acmedos is released.

3. No sure anyone has tested yet... TotO?

4. Its exactly the same as the symbiface HDD, so winape already emulates it, not sure about any others.

5. In symbos yes. A video player already exists, and works very well.

6. If you can find one a symbiface will provide all of that in one board so no mother 4x needed, but will cost you more than the X-mass, xmem, mother 4x and a Bryce mouse adaptor combined. OK the symbiface mouse is much better than the Bryce adaptor, but is also less compatible with old software.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ZbyniuR on 00:55, 26 July 15

Bootable partition with USB mouse (and DigiBlaster) it's all I need to be happy CPC owner.  I'm not interested other stuff.

If you have partition on SD/CF card, standard 128K RAM is enough to play games and watch demos...
It's enough to copy whole disk (even 800K) at once with one disk drive only...
It's enough to play some kind CPC version WAV or AVI files by hours without loading it to RAM whole at once... :)
Enough to edit realy big files without keep it whole in memory.

Era of cassette recorder already Gone with the Wind, so we don't need a lots of ROMs to enjoy loading in one second. With one ROM capable to use big partition and some starter program and mouse, you can start all in second, even without touch keyboard like on 16bit computer with hard drive. :)

Thats why I think to make this kind ROM is sooo important to bring joy for all CPC owners. :D   So, no rush, just do it right. :)

With whole respect, but PlayCity? Bluetooth? For what? 
If you think few channels is better than DAC, why most people prefer Amiga music than AY? 
SD/CF card take from one computer to put into other and transfer is faster than radio wave.

And one more. I believe shape like (64K dk'Tronics) is more "space on my desk" frendly than MotherX4.


About answer 5 - Sorry but 4 colors in small window it's not interesting for me. I thought rather about something like this:
Amstrad CPC playing a scene from the movie "Elvira - Mistress of the dark" - (https://www.youtube.com/watch?v=Vv1DG1TN1eg)   ... but with sound of course. ;)

Where I can find this acmedos to try it on WinApe?


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 01:01, 26 July 15
Quote from: ZbyniuR on 00:55, 26 July 15
Bootable partition with USB mouse (and DigiBlaster) it's all I need to be happy CPC owner.  I'm not interested other stuff.

If you have partition on SD/CF card, standard 128K RAM is enough to play games and watch demos...
It's enough to copy whole disk (even 800K) at once with one disk drive only...
It's enough to play some kind CPC version WAV or AVI files by hours without loading it to RAM whole at once... :)
Enough to edit realy big files without keep it whole in memory.

Era of cassette recorder already Gone with the Wind, so we don't need a lots of ROMs to enjoy loading in one second. With one ROM capable to use big partition and some starter program and mouse, you can start all in second, even without touch keyboard like on 16bit computer with hard drive. :)

Thats why I think to make this kind ROM is sooo important to bring joy for all CPC owners. :D   So, no rush, just do it right. :)

With whole respect, but PlayCity? Bluetooth? For what? 
If you think few chanels is better than DAC, why most people prefer Amiga music than AY? 
SD/CF card take from one computer to put into other and transfer is faster than radio wave.

And one more. I believe shape like (64K dk'Tronics) is more "space on my desk" frendly than MotherX4.


About answer 5 - Sorry but 4 colors in small window it's not interesting for me. I thought rather about something like this:
Amstrad CPC playing a scene from the movie "Elvira - Mistress of the dark" - (https://www.youtube.com/watch?v=Vv1DG1TN1eg)   ... but with sound of course. ;)

Where I can find this acmedos to try it on WinApe?
Sounds like you want a whole new expansion! An X-mass with 1 ROM socket, USB, mouse, DAC audio hardware but no ram expansion. You might be on your own with that I'm afraid, which is why the modular design of the mother4x is so good. Everyone can buy just the boards they want.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: MacDeath on 02:10, 26 July 15
Also I guess it will work as well with FutureOS, more specifically the MacDeath graphics icons  pack edition...
;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:41, 26 July 15
Quote from: ZbyniuR on 22:30, 25 July 15...


Q: Is X-MASS have a mechanism to boot up after reset?
A: It should be possible with something like an AUTOBOOT file. We think about it.

Q: Is it files games, I mean those that you can easily copy will work with X-Mass?
A: Games in files versions work on X-MASS, as well as they not force to acces to a different drive unit. (A for example)

Q: What is largest capacity card supports it?
A: The X-MASS drive size is limited by the OS or BIOS. ACMEDOS will support 128MB first (X-MASS default drive size).

Q: Is it any emulator can pretend this hardware?
A: Any emulators who support IDE drives on CPC with SymbOS/BDOS compatilbe ports

Q: Is anyone already working on some kind Video Player/Converter for CPC?
A: I don't know. I watch video on my PC to not kill my eyes.

Q: Any chances for version with SD card and USB mouse adapter in one?
A: No chance. The X-MASS is a fast and reliable SSD unit using SLC memory.
Use the HxC or the MiniBooster for exchanging files. Mouse and RTC should come as MiniBooster add-on.

Q: Or version to connect directly for CPC without MotherX4?
A: Sure. Connect it without the MotherX4, using a ribbon able.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 14:05, 26 July 15
Quote from: ZbyniuR on 00:55, 26 July 15I thought rather about something like this:
Amstrad CPC playing a scene from the movie "Elvira - Mistress of the dark" - (https://www.youtube.com/watch?v=Vv1DG1TN1eg)   ... but with sound of course. ;)
This is not possible on a CPC. This 40MB video stream is played at about 24 fps, which is nearly 400KB/s.
With the CPC-IDE (SYMBiFACE II, X-MASS) you have a theoretical maximum speed of 162 KB/s (6 microseconds/byte) minus IDE managing stuff minus file system overhead, so something around 130KB/s is realistic. And this is still without sound.

I recorded these videos back in 2004 showing my real CPC playing fullscreen video streams (16K frames) from a FAT32 harddisc at about 8fps:
SymbOS movieplayer with Matrix2 trailer - YouTube (https://www.youtube.com/watch?v=_9S8DvimBdo)
SymbOS movieplayer with Troy trailer - YouTube (https://www.youtube.com/watch?v=7yzUHyZBz20)
This is the reality for a 4MHz CPC.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ZbyniuR on 14:19, 26 July 15
I think 8fps (16K) with sound about 11kHz mono should be possible and quite fine. :)
Are you use some compress or just whole 16K for frame?
And I don't see reason to not use Mode 0. :)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 14:49, 26 July 15
Quote from: ZbyniuR on 14:19, 26 July 15I think 8fps (16K) with sound about 11kHz mono should be possible and quite fine. :)
In this case you need a special sector read routine which is written for exactly playing a video and sending bytes to the DigiBlaster at the same time. Within a 512byte sector you will have a few PCM bytes between the bitmap bytes.
Example:
Every 16byte is a PCM byte. Then you have 15x writing a byte to the screen (=15x6=90 microseconds) and 1x sending a byte to the DigiBlaster (=10 microseconds if my little calculation is right). That means you have a raw bitmap rate of 100/15 microseconds/byte, which is 150KB/s and a sound frequency of 10KHz. Minus overhead you will end up at about 7fps and 8,5KHz mono 8bit PCM.
So yes, something like this is possible, but not with a general purpose filesystem implementation.

Quote from: ZbyniuR on 14:19, 26 July 15Are you use some compress or just whole 16K for frame?
The 16K frames are not compressed: As long as the mass storage device can send bytes faster than the CPU is able to receive compression doesn't make sense but would even slow down the transfer.

Quote from: ZbyniuR on 14:19, 26 July 15And I don't see reason to not use Mode 0. :)
Sure, these videos back at this time were more for testing and demonstrating the new FAT routines :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ZbyniuR on 16:02, 26 July 15
So, maybe 4bit 11kHz by AY ? ;)

I wonder about way of compress video on CPC.
Use doublescreen &C000 and &4000. And load not directly but by buffer.

In first byte two bits 11000000 mean what to do with next bytes. And rest bits 00111111 mean how many next bytes treat the same.

00 - mean next (3 to 63) bytes just copy to screen memory.
10 - mean next (3 to 63) bytes in screen memory just skip because in present frame there is the same what already is in memory.
01 - mean next (3 to 63) bytes in screen memory fill up by value from next byte.
11 - mean end of frame. And if in rest bits is more than 0, mean so many next frames is the same picture. :)

Why 3 to 63? Because less it's no makes sens comparing to quantity of bytes without compress.

What you think about it?  Is it make sens or it's gibberish? ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 16:15, 26 July 15
Sending 4bit PCM bytes to the AY (using the volume register) is much slower unfortunately.
Compression doesn't make sense, because...
- speed-wise: it will be always slower than transfering the bytes directly to the screen memory, no matter what algorythm you use.
- filesize: this doesn't matter at all on a FAT16 or FAT32 partition  :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: KaosOverride on 17:27, 26 July 15
Also we have the CPCBooster, with DAC. There is no PPI in the middle so could be a little faster.

And minibooster has some DAC compatible pins at the SPI+serial expansion conector. (LOL, PlayCity+Minibooster is a real sound card combo!!!)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 19:03, 26 July 15
The MiniBooster allow stereo PWM sound.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:42, 27 July 15
Quote from: MacDeath on 02:10, 26 July 15
Also I guess it will work as well with FutureOS, more specifically the MacDeath graphics icons  pack edition...
;D
That's right! The MacDeath Icon Graphics Pack is a defined prerequisite.  ;)  I plan an update in 3-6 weeks anyway.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:51, 27 July 15
Quote from: TotO on 08:41, 26 July 15
Q: Is X-MASS have a mechanism to boot up after reset?
A: It should be possible with something like an AUTOBOOT file. We think about it.

Q: Is it any emulator can pretend this hardware?
A: Any emulators who support IDE drives on CPC with SymbOS/BDOS compatilbe ports

Q: Is anyone already working on some kind Video Player/Converter for CPC?
A: I don't know. I watch video on my PC to not kill my eyes.


My 3 Pfennige: ...
- To enable something like an automatic boot one could do his own ROM and just use the functions provided by ACMEDOS or Floppy-Disc-DOS. Which would be basically something like to look for a file on connected media and run them. But honestly such solutions are kind of bugging, since such a ROM will _always_ do that. Which get's tedious when you f.e. intend just to fire up a game.


- WinApe for example can simulate (parts) of it.IMHO it's kind of misleading to say 'SymbOS/BDOS compatilbe ports'. IMHO it would be more clear to say: Anything which can emulate ports and I/O similar to the CPC-IDE or SF2 expansion cards. The reasoning is that neither symbos nor bdos use all feature of the simulated IDE ports. WinApe still lacks to emulate for example bit 6 of the status register correctly. But I'm sure this will be fine after the next update.  :)


- Video Players: You can use the one for symbos for exmple. But basically everything dealing with files should work.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:56, 27 July 15
Quote from: ZbyniuR on 00:55, 26 July 15
About answer 5 - Sorry but 4 colors in small window it's not interesting for me. I thought rather about something like this:
Amstrad CPC playing a scene from the movie "Elvira - Mistress of the dark" - (https://www.youtube.com/watch?v=Vv1DG1TN1eg)   ... but with sound of course. ;)


Well, FutureOS can do this:
Captain Future on Amstrad CPC with 4 MB RAM expansion - YouTube (http://youtu.be/wBK2_LBDl6Y?t=40)


The Elvira video would be desirable to be on CPC and X-MASS too. Give it some time. That may be doable too.




Of course 8 fps is not the maximum the CPC can do. Full screen (full 16 KB) with way more than 8 fps was done a long time ago. Of course this uses compression, here an example:


! No longer available (http://www.youtube.com/watch?v=XIeUEqPZ-04#)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 19:33, 27 July 15
Hmm, Full Screen in Monochrome, albeit at a very high frame rate is not more than 4 colours windowed.


OH This is a z80 so I think we all know decoding DivX is not gonna work, but based on the OP the goal is video display with sound from a X-Mass. Until FutureOS supports Mass the IDE Devices od the X-Mass and Symbiface it's not gonna help anyway even in silence and monochrome.


For the record (And before any offence is taken) I still think both FutureOS and SymbOS do an incredible job of video, but in a different way, Neither of which provide the request of the OP.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 20:05, 27 July 15
Receiving a stream from an I/O based mass storage device is a little bit slower than copying data from RAM to RAM. The last one is limited by the amount of available memory (and has to be filled first before playing anything):
With 4MB you have about 20 seconds, with the standard maximum of 64+512K ram you have about 2,5 seconds.

"Compression" using PUSH commands is faster for simple objects with repeating patterns (was the "All in 3D" demo part by Overflow the first one with this methode?), but not realistic for videos using the full display area, dithering and multiple colours.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:26, 27 July 15
Quote from: CraigsBar on 19:33, 27 July 15
Hmm, Full Screen in Monochrome, albeit at a very high frame rate is not more than 4 colours windowed.


It doesn't matter if MODE 0, 1 or 2. The examples are made in the way, because the conversion result was the best that way (ok, let's say the other ways just looked even worse.  :laugh:  And youtube also makes pictures more ugly). However 16 KB is 16 KB doesn't matter which mode. I will provide a nice streamed MODE 0 example as soon as I got a decent looking. Maybe I can take the Elvira movie from Markus. We'll see.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:34, 27 July 15
Quote from: Prodatron on 20:05, 27 July 15
Receiving a stream from an I/O based mass storage device is a little bit slower than copying data from RAM to RAM. The last one is limited by the amount of available memory ...

Guess we agree, that the main saver in time is a decent algorithm for compression. Of course for the CPC we need something else than DivX, because the CPC's screen layout is different, the Z80 performs 8 bit ADD's more quick than 16 bit and the CPC doesn't use true color.  ;)
With my FilmeMacher / MovieMaker compression works in a way that the difference between two pictures gets converted into a 'small' and quick executable program which changes the screen in a way that it becomes the next frame. This saves lots of time and especially space. I used PUSH commands. But today I wouldn't use it again. Cyber Chicken uses similar technique, but more simplified.
It would be nice to have a player for bigger movies. I just don't know if other projects aren't more fun!  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 20:49, 27 July 15
I think this is fine for simplified videos. IIRC back in 2004 we made several tests with 4 and 16 colour videos including compressions with SymbOS/SymStudio. Because of the dithering it was more or less impossible to make them faster either with any compression or with a frame-by-frame difference algorythm. In the latter case it was a problem of too many different starting addresses for the "difference" data.
Does the Captain Future video you showed some posts above contains your compressions? As it's a SymStudio converted video, it would be already quite realistic for such a case.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:58, 27 July 15
No, CF is not compressed vs DarthVader's Ship (compressed). I agree, with dithering the background one will face a massive break in speed. Also a lot of cuts (this is what makes movies enjoyable) we got the same problem. On the other hand: Let's say you want to make a game or demo or what ever, if you choose your raw material already with keeping in mind that it shall run on CPC it will be fine. Also you got a point about the way things get converted from PC to CPC, that's a major issue. I remember I did one example (it's even more ugly, so no link here), which was made on CPC (using OCP), it has no problem to run at 50 fps (compressed of course). So if we keep in mind what we do then IMHO compression is a bargain in time.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ZbyniuR on 22:50, 27 July 15
Did you see how Commodore was doing with playing video?

C64 with Ultimate loads REU files from SD card to 16MB ramdisk, it's enought for about 3 minutes, but sound is normal SID music not digital. It looks like 320x200 with 16 colors with attributes of 2 colors in the 8x1. I guess.
Here are two hours of such videos.
C64 Nuvie-Videos (103 -2 .reu files) - YouTube (https://www.youtube.com/watch?v=Htx6-FF-5Cw)

C+4 reading direct from a CF card and play. It looks like MODE 0 with palette of 121 colors, and attributes, I supposed 4 colors in 4x8. And digitized sound. I don't know what a miracle it happened here, but it looks great.
Evo Lution (rc1) - YouTube (https://www.youtube.com/watch?v=9cSbjXAFvDg)


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: MacDeath on 04:45, 28 July 15
HQ video playback on a C64 | MOS 6502 (http://www.mos6502.com/friday-commodore/hq-video-playback-on-a-c64/)

Basically they pulls a massive bank switching thing on C64 ?

! No longer available (http://www.youtube.com/watch?v=IXLv7UosQXs#)

! No longer available (http://www.youtube.com/watch?v=9cSbjXAFvDg#)



anyway, just to have decent smooth 160x100 videos in Mode1 should be fine... ;D
so 100p we meet again ?


oh 240p I meet you again...
notice the irony in her name.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 10:07, 28 July 15
The REU of the C64 doesn't provide bankswitching, but a very fast DMA transfer to and from the 64K memory. The speed is about 1MB/s!
A C64 screen is 8KB, that means, a 16MB REU could store 2048 uncompressed screens, which is about 82 seconds at 25fps. Because of the fast DMA they can even implement some advanced compression and still have a very high framerate and time left for sound.
The Commodore Plus4 demo was made with a special hardware expansion, which did everything by itself.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 14:18, 28 July 15
The only way to reduce bandwidth would be to redefine the character set and compress images using that charset along with palette changes.

Quality wouldn't be marvelous but may be worth trying.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ZbyniuR on 14:36, 28 July 15
Yes, you right about C+4 and DMA transfer in C64.

About REU, I don't know how much FPS there is, but it's look for me like 320x200, so in 8KB mean black & white without attribute what look more like this on ZX Spectrum with DivIDE:
Streaming video on a Sinclair Spectrum - YouTube (https://youtu.be/ooi9rpx6ECM?t=74)

Normal called hires on C64 have 1KB attributes, 2 colors for each 8x8,
what should look similar like this ZX again:
Spectrum 128K +2 playing movies - YouTube (https://www.youtube.com/watch?v=GN-75cw3rcQ)

But in REU look more like 8x1 or least 8x2. So there is rather 16 or least 12KB on frame.

PS.: This second film with ZX in some moments remind me ANSI anim on PC, made by color characters like robcfg says.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 14:58, 28 July 15
Quote from: ZbyniuR on 14:36, 28 July 15
About REU, I don't know how much FPS there is, but it's look for me like 320x200, so in 8KB mean black & white without attribute what look more like this on ZX Spectrum with DivIDE:
Streaming video on a Sinclair Spectrum - YouTube (https://youtu.be/ooi9rpx6ECM?t=74)
This isn't DivIDE but seems to be the Spectranet (W5100) ethernet card. It only loads the 6144 bitmap for each frame without changing attribute colours. Btw, there seems to be a bug in the source code, which should cause a stack pointer crash   ;D (see "jr z,.startscreen").
It's quite impressive how fast it loads from the Wiznet.

Quote from: ZbyniuR on 14:36, 28 July 15what should look similar like this ZX again:
Spectrum 128K +2 playing movies - YouTube (https://www.youtube.com/watch?v=GN-75cw3rcQ)
This is using the DivIDE and changes the attribute colours for each frame as well (so it's loading 6912 bytes/frame + digisound). This really looks cool for a Spectrum, even with this ugly colour clash sometimes. The sound seems to be lower than 11KHz.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: KaosOverride on 21:48, 28 July 15
What about painting only even lines (scanline efect) to reduce screen bandwitdh? We lose vertical definition but it can be visually cool
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Munchausen on 11:18, 29 July 15
For audio, why not connect something like the VS1011 SPI MP3 decoder to the minibooster SPI socket?

This should increase audio quality and/or reduce required audio bandwidth.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 12:19, 29 July 15
Soon we need multiple miniboosters connected at the same time (Mouse, Bluetooth, Ethernet, MP3, ...) :D

Quote from: KaosOverride on 21:48, 28 July 15
What about painting only even lines (scanline efect) to reduce screen bandwitdh? We lose vertical definition but it can be visually cool
Absolutely! 160x100x16 at 15fps + digisound should be cool :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 12:42, 29 July 15
If you think about connecting a mp3 chip, why not connecting a mpeg chip instead?  :-\
In both cases, it is no more CPC related... Better to watch video on your PC and not waste time with that.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Munchausen on 16:56, 29 July 15
Quote from: TotO on 12:42, 29 July 15
If you think about connecting a mp3 chip, why not connecting a mpeg chip instead?  :-\
In both cases, it is no more CPC related... Better to watch video on your PC and not waste time with that.

For an mpeg chip I agree, since you'd really also need a separate video interface that can handle the bandwidth.

For mp3 it is just a peripheral like any other. It isn't much different than using the PWM on the minibooster, or the AY in the PlayCity, it is not as though it contains a whole other computer/micro processor (like a minibooster does), though in this case it would need the minibooster to work, but you could connect an mp3 decoder somewhere else to avoid that.

You can really make this argument for _anything_ extra connected to the CPC.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:14, 29 July 15
Quote from: Munchausen on 16:56, 29 July 15
For an mpeg chip I agree, since you'd really also need a separate video interface that can handle the bandwidth.

For mp3 it is just a peripheral like any other. It isn't much different than using the PWM on the minibooster, or the AY in the PlayCity, it is not as though it contains a whole other computer/micro processor (like a minibooster does), though in this case it would need the minibooster to work, but you could connect an mp3 decoder somewhere else to avoid that.

You can really make this argument for _anything_ extra connected to the CPC.


That's a hard discussion, where does it start to be not CPC any longer? New sound card? New Video card? New CPU? or already more memory? Is having more than 64 KB already a sin or does the true sin require a new CPU? Well, I don't dare to join this discussion.


But MP3 is a good idea somehow, since it allows compression. So sound can be stored in a more space saving way than f.e. samples for the DigiBlaster.
You can take a look at the FuturePlayer, which makes it simple for the CPC. It's connected to the printer port and you just have to send data there. That's it. I would love to see this for the CPC as common sound card, but I'm Dr. Software not Dr. Hardware.  :laugh:   ;)   :) :) :)
And btw. X-MASS would be the ideal storage medium!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 18:59, 29 July 15
Quote from: Munchausen on 16:56, 29 July 15You can really make this argument for _anything_ extra connected to the CPC.
As usual I completely agree. It's the old discussion. It's cool to have the challenge to get as much as possible out of a limited system. This is one of the reasons why we are all here in the retro and not in the PC modding scene (the other ones are probably the nostalgic feeling, or the fact that you are able to understand every single bit of your machine compared to modern computers).
But I also like expandable systems much more than static ones. This includes all kind of I/O, mass storage and memory. As long as the base architecture (CPU, bus, maybe also the speed) stays the same, it's not a different system for me. Just have a look at the MSX, the best example for an expandable 8bit system. I wonder why expansions, which do not change the base architecture, are bad and would turn the system into another computer?
As a programmer it's cool to have access to new hardware possibilities like USB, IDE, SD card, ethernet, MP3 etc. These are only attached expansions, but your program is still running on a Z80 with low speed and limited 64K addressing.
IMHO for new software projects it's much more interesting to support real new hardware than attaching "hardware emulators" like the HxC to the CPC.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:16, 29 July 15
Support of existing hardware is indeed important. And i thought about this already in the 80ies. The problem was that all expansions come with their own software, but they don't work _ALL_ together. Ok, for example products from Vortex, Dobbertin or dk'tronics were compatible to each other, but it was had to mix them, sometime impossible. This situation was one main reason which made me developing FutureOS, because I wanted one system to be able to run with everything (this goal was reached in part, for most main expansions). What I try to say is that new expansions should be created with the whole CPC system in mind. TotO does this very well. And the X-MEM and X-MASS are great examples for that. However where do you draw the line? What is 'base architecture' anyway. If it would be a PC then literally everything can be replaced, right? There a are a lot of things I like at the CPC, one is that it is clearly defined? Video, Sound, CPU, memory mapping, printing, disc handling (FDC, not HD) and other things are clearly defined. So a program can rely on running on a pretty well defined system / unlike CP/M or Windows.


Prodatron mentioned a couple of 'characters' or kinds of CPC users. I guess is is right at least for some. However I have different reasons for using the CPC. My point is, that our reasons are so different as we are as persons. Our duty now it to find agreements and be productive.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 20:54, 29 July 15
A MP3 expansion card for CPC... who in this world can't want this so badly!!!!

As @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) said, while the CPU, BUS & system clocks stay the same that the original CPC, it always will be a real CPC, the rest are expansions working in our beloved CPC, the heart is the same!.

You can use or not the expansions, you can choose, but you can't limit the expansion bus of the CPC, because the CPC is a real computer, and a real computer can be expanded (the PC is a good example), limit the number of expansions for the CPC is a non sense idea, because of the nature of the CPC itself (a real computer)




Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 21:02, 29 July 15
Quote from: Munchausen on 16:56, 29 July 15For mp3 it is just a peripheral like any other. It isn't much different than using the PWM on the minibooster, or the AY in the PlayCity
I totaly disagree.
The PWM pins on the MiniBooster are not dedicated to sound. You should use them for many purposes that existed in 80's.
The same with the PlayCity, that is just 6ch AY to be able to play music and sfx like in 80s, but at the same time.
A mp3 board on a 8bit computer is just an anachronic geek feature ; No more, no less...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 21:19, 29 July 15
My definition is easy. The Z80 is the core. As long as the expansion is just enhancing the capabilities of the Z80, ie: The Z80 is still the core of the system, doing the majority of the computing, using the internal RAM and just pushing data to a chip / device that makes use of it, then it's fine. As soon as the CPC becomes just a keyboard/media extension to an external core, then it's "out of bounds" for me. There are expansions for other 8-bit systems that seriously cross this border, the 8-bit computer is literally just a keyboard for an almost stand-alone system. This isn't pushing the boundaries of the 8-bit computer, it's demoting it to an input device.

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 21:55, 29 July 15
Quote from: Bryce on 21:19, 29 July 15
My definition is easy. The Z80 is the core. As long as the expansion is just enhancing the capabilities of the Z80, ie: The Z80 is still the core of the system, doing the majority of the computing, using the internal RAM and just pushing data to a chip / device that makes use of it, then it's fine. As soon as the CPC becomes just a keyboard/media extension to an external core, then it's "out of bounds" for me. There are expansions for other 8-bit systems that seriously cross this border, the 8-bit computer is literally just a keyboard for an almost stand-alone system. This isn't pushing the boundaries of the 8-bit computer, it's demoting it to an input device.

Bryce.
agreed. you have defined my thoughts exactly.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 21:57, 29 July 15
Quote from: Bryce on 21:19, 29 July 15My definition is easy. The Z80 is the core. As long as the expansion is just enhancing the capabilities of the Z80, ie: The Z80 is still the core of the system, doing the majority of the computing, using the internal RAM and just pushing data to a chip / device that makes use of it, then it's fine. As soon as the CPC becomes just a keyboard/media extension to an external core, then it's "out of bounds" for me. There are expansions for other 8-bit systems that seriously cross this border, the 8-bit computer is literally just a keyboard for an almost stand-alone system. This isn't pushing the boundaries of the 8-bit computer, it's demoting it to an input device.
Bryce, I agree, this is really easy and no rocket science at all. It is probably exactly what Joseman, Munchhausen and me mentioned, too.
From a NoRecess interview in 2012: "But you shouldn't mix it up with these beasts like the CMD SuperCPU (http://www.cmdweb.de/scpu.htm) for the C64, which transmutes the C64 machine into a stupid zombie graphic/keyboard-terminal, while all the work and intelligence is now done by the expansion card."
I think, that the difference is really clear.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ZbyniuR on 22:14, 29 July 15

To CPC can be connected some microcontroller with a power much greater than Z80 and sound/video cards to display movies better quality, but for what?
You can put your MP3 player inside of CPC and played music through built-in speaker, what would did a good first impression. But as someone asks if any parts of CPC participates in this play, and I can say power supply, and good impression disappears.

Just like someone to show you Chameleon 64. Which is faster than rocket and can emulate ZX 128K. WOW Impressive! But that doesn't mean C64 can do that. Yuck. That's cheating, and good impression disappear.

My motivation to asking for about video on CPC is - I would like surprise fans of other platforms what Amstrad can do. Such as it was then in 80's, if only hard drives were not so expensive.

If this mean all we can do is only 8 fps, and 6 kHz sound, Ok, I can live with that. Because I don't need one more device that plays music and videos. I just would like to impress fans of other platforms. :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 22:19, 29 July 15
Quote from: Prodatron on 21:57, 29 July 15
CMD SuperCPU (http://www.cmdweb.de/scpu.htm) for the C64, which transmutes the C64 machine into a stupid zombie graphic/keyboard-terminal, while all the work and intelligence is now done by the expansion card."

In this case I think that there is an inverse situation, a computer: CMD SuperCPU with an "'unexpansion card'" that is the C64 with his ugly keyboard  :laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 22:27, 29 July 15
Quote from: ZbyniuR on 22:14, 29 July 15
You can put your MP3 player inside of CPC and played music through built-in speaker, what would did a good first impression. But as someone asks if any parts of CPC participates in this play, and I can say power supply, and good impression disappears.

But you can't deny that an expansion mp3 card + symbos + symamp, where you can choose the playlist, the volume, skip one track, repeat the track, load the mp3 from hdd to the mp3 card, even make a screen saver where you can put a nice demo effect + the title of the song, the artist, etc... the CPC is clearly participating on this process, it's pretty cool and pretty impressive only this way!

take off the PC soundcard (creative, realtek...) and let the PC with their original soundcard: pc speaker, let we see what kind of sound emerge from it!  :laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 22:40, 29 July 15
Quote from: Prodatron on 21:57, 29 July 15
Bryce, I agree, this is really easy and no rocket science at all. It is probably exactly what Joseman, Munchhausen and me mentioned, too.
From a NoRecess interview in 2012: "But you shouldn't mix it up with these beasts like the CMD SuperCPU (http://www.cmdweb.de/scpu.htm) for the C64, which transmutes the C64 machine into a stupid zombie graphic/keyboard-terminal, while all the work and intelligence is now done by the expansion card."
I think, that the difference is really clear.

That's exactly the device I was referring to :)

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 23:39, 29 July 15
Oh, well.... what's about the CPC-Booster then?!?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Munchausen on 23:54, 29 July 15
 :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:45, 30 July 15
Quote from: TFM on 23:39, 29 July 15
Oh, well.... what's about the CPC-Booster then?!?
It is something like boderline.  ;D

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 08:31, 30 July 15
Na, the booster is ok. It's doesn't take over from the Z80, it just handles the data the Z80 sends it.

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:00, 30 July 15
Quote from: Bryce on 08:31, 30 July 15
Na, the booster is ok. It's doesn't take over from the Z80, it just handles the data the Z80 sends it.

Bryce.


Nah, it can reset the CPC and with the 'right' program on the ATmel it 'could' take over the CPC.
I agree with TotO here. Well, the CPC-Booster is somehow accepted though.  :)  I really like this device anyway, just wished that I had more time to dedicate to it. Even got a Atmel programmer, then my only PC which can connect to the programmer died. Thank's Amstrad our CPC's have a way longer half life.

Now back to the X-MASS... I can't wait to dedicate way more time to it.  :)

EDIT: [nb]This is one of these days I think about coding a virus for CPC ... and Anti-Virus software too.  :laugh: [/nb]
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 22:54, 11 August 15
Hello,
I want to use a "CF-Card to 44pin IDE Adapter" together with the X-Mass. My intent is to replace the DOM with this adapter. Is there someone in the CPC community, which did this before or is able to recommend a specific adapter, which fits into the X-Mass?
I have already disconnected the DOM and I saw, that the entry pilot of the DOM was rubbed away. A marking on the PCB reads "Warning: Pins are inverted".
Now I'm confused about the position of pin 1 or pin 20 (keypin) of the IDE - connector at the X-Mass.
Can someone explain ?

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:17, 12 August 15
Hi!

The pins are inverted to allow this little board design possible.
That mean, the DOM is only returned. (front to back and back to front)

I have tested with 2 differents CF unsuccessfully. May be you will be more lucky that I.
By the way, I suggest that you will have to use a ribbon cable to fit and swap pins.

Let me know...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 02:55, 29 August 15
The ACMEDOS Rom is it near completion. ??


Thanks     Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 12:36, 29 August 15
I was thinking of reply #229... this is what you'd expect a PC without soundcard to sound like (if you don't want to enjoy the whole 8088 demo and skip to the music about 6:28 into it)
and some tech specks
here: [size=78%]http://trixter.oldskool.org/2015/04/07/8088-mph-we-break-all-your-emulators/[/size]


btw... got my CPC hardware yesterday including X-MASS etc... awesome... now to work out where my CPC discs are or how to transfer stuff to my 6128+ from something else.


Julian
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 22:56, 03 September 15
Quote from: Audronic on 02:55, 29 August 15
The ACMEDOS Rom is it near completion. ??
The first public version of ACMEDOS should come next week.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 23:01, 03 September 15
Quote from: TotO on 22:56, 03 September 15
The first public version of ACMEDOS should come next week.  :)
Yippee, I hope my X-mass is back by then ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 23:15, 03 September 15
Quote from: TotO on 22:56, 03 September 15
The first public version of ACMEDOS should come next week.  :)


Great news! Great work SyX!  :) :) :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:09, 04 September 15

@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) & @ SyX


Thats good news, Looking forward to it.
Thanks for all the good work.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 04:54, 04 September 15
Great news! Good work you guys!  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:01, 11 September 15
From SyX (cpcwiki shoutbox):

The wait is over... ;)
No more code need to be written, only need to be tested and bugs fixed... but my free time returns to negative again ;)
Actually is 5 KBs of code, there is a lot of space for growing up

Works all the usual commands:
LOAD, SAVE, RUN, CLOSEIN, CLOSEOUT, OPENIN, OPENOUT
|ERA/|RM (both are only for files), |MD (makedir), |RD (removedir), |REN(,new_name,old_name)
CAT, |DIR, |D, |HD |DRIVE -> Go Parados tool, |DRIVE,"A" -> A, |DRIVE,"B" -> B, |DRIVE,"D" -> HD |DRIVE,"H" ->HD |DRIVE,"HD" -> HD
|CD,"folder"

The ROM needs to be in a rom number lower than Amsdos/Parados and use the ram between $BE7F - $BEDB (maybe i can save a few bytes or take a few more) and the Amsdos buffers for headers and sector.

DSK mounting will go in the future and the snapshot loader and a few extras more
In the most lazy scenary, the disk mounter would be something so simple as unzip the dsk files in a folder, hehehe
But i need to say, that i continue super busy, i have been coding only 12 days in the last year, and maybe i dont get more z80 time until december, but i hope that we can launch the rom this weekend or next week, after make a few tests.

Another thing is in the future is a COPY RSX for copy files easy from a disk to the hd but everytihng is amsdos compatible
For the system we are the drive number 4 (|D) and this first version is not compatible with the RAM disc, because my RAM disc was a little hack and now i should make a better implementation.

The code will be published in the moment that we reach a more final version, but that it will happen in a more far future.

If there is an amsdos file copier, maybe i could fix it to use the HD. In other case, i need to make the COPY rsx.
Of course, the ROM don't use one byte of expansion RAM, because that it should work in 64 KBs machines.
I want to use the expansion RAMs in future versions, for example for loading files bigger than 64 KBs.  (the code is designed for that)

Other important thing, it's that bad cracks need to be fixed.
If the crack try to access to A drive, it's not going to work, but this is not difficult to fix. And for example, cngsoft cracks works perfectly.
Another reason for a crack not working, it's that the loader try to load a file called "file", but the filename is "file.bin" or "file.bas". In this version, i am very strict about filenames. But the |REN command can fix easily this minor problems.

There is a few amsdos calls not implemented yet, CAS_IN_CHAR and CAS_OUT_CHAR. And the low level amsdos routines for Read/Write sectors and format tracks.
Everything that works fine in a normal CPC with B drive, it will works perfectly in the HD.
The low level amsdos routines can be added easily, but i didn't wanted to open that possibility to delete the disk yet, hehehe.

Another important thing, this first version is FAT16 only... but the next version will be FAT32.
As i only has a X-MASS board, this is the only board supported, other it could work, but for being 64 KBs friendly, i hardcoded all the the disk variables in the code. For bigger drives, it will be possible to use a tool for patching the rom to use different drives.
That is the reason for not supporting partitions, because that needs more ram.

And that is all! :)
Only ask for a little more patience, let us to test a few days and it will be released.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 18:33, 11 September 15
X-DDOS 2.10 has a nice !COPY RSX command, even working with HD partitions and RAM disc C. Maybe this can be used. Sadly i don't have the source of 2.10, only of 1.something). Gotta look.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: KaosOverride on 17:35, 13 September 15
Some kind of SyX Commander will be great as a helper resident for those 11Kb free at the rom :D


Great work SyX and ToTo!!!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 22:19, 13 September 15
Hmmmm, I am having problems with my replacement x-Mass. Did I remember a special patched release of Symbos for some Xmass Cards that did not play nice with the default one? @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) please confirm I am not going mad!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:48, 14 September 15
Yes, you need the patched version now.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 08:56, 14 September 15
Quote from: TotO on 07:48, 14 September 15
Yes, you need the patched version now.
OK, thanks for the confirmation. Now... Which thread was that attached to? Some searching will be required I thinks. ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 10:15, 14 September 15
Quote from: CraigsBar on 22:19, 13 September 15
Hmmmm, I am having problems with my replacement x-Mass. Did I remember a special patched release of Symbos for some Xmass Cards that did not play nice with the default one? @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) please confirm I am not going mad!

Yes, in april I removed an LBA detection, which seemed to use a wrong methode. I don't find the post from april anymore, haha!
But the modification is included in the last beta release, too ( SymbOS 3.0 beta network edition released with new applications (http://www.cpcwiki.eu/forum/news-events/symbos-3-0-beta-network-edition-released-with-new-applications/) ), so just try this. Another beta release is coming soon, which will also be available as ROM again.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 14:10, 14 September 15
Quote from: Prodatron on 10:15, 14 September 15
Yes, in april I removed an LBA detection, which seemed to use a wrong methode. I don't find the post from april anymore, haha!
But the modification is included in the last beta release, too ( SymbOS 3.0 beta network edition released with new applications (http://www.cpcwiki.eu/forum/news-events/symbos-3-0-beta-network-edition-released-with-new-applications/) ), so just try this. Another beta release is coming soon, which will also be available as ROM again.
Excellent, thanks will try that tonight. Any idea when a rom version will be available? Or.... Once the acmedos rom is released, a pure hdd release perhaps?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 19:45, 14 September 15
Quote from: TotO on 07:48, 14 September 15
Yes, you need the patched version now.
Yep I do ;) all working just fine. Thanks.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 22:41, 14 September 15
Good to hear that! :)

I am currently finishing the "advanced desktop" for SymbOS (real active desktop widgets, complete icon handling like in Windows, dynamic startmenu with any structure and amount of entries and submenus). It's finished now, a few bugs have to be fixed, and then I make another beta release, which will contain a ROM version, too.

But good point :)
The "raw loader" of SymbOS is exactly that, which you can use with the ACME IDE ROM to boot SymbOS directly from harddisc! :)

The CPC was the only platform where it was necessary to develop some special loaders ("ROM", "fast loader", etc.). The limitations of Amsdos require such things, while all other platforms (MSX, PCW, EP) only need a "raw loader", as their native OS are able to load these very large files directly in a fast way from any kind of device (SD, IDE etc.; PCW at least 80K or so from disc in one piece with CP/M).
So I am looking forward, that the ACME rom will change this for the CPC as well
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 00:19, 15 September 15
Quote from: Prodatron on 22:41, 14 September 15
Good to hear that! :)

I am currently finishing the "advanced desktop" for SymbOS (real active desktop widgets, complete icon handling like in Windows, dynamic startmenu with any structure and amount of entries and submenus). It's finished now, a few bugs have to be fixed, and then I make another beta release, which will contain a ROM version, too.

But good point :)
The "raw loader" of SymbOS is exactly that, which you can use with the ACME IDE ROM to boot SymbOS directly from harddisc! :)

The CPC was the only platform where it was necessary to develop some special loaders ("ROM", "fast loader", etc.). The limitations of Amsdos require such things, while all other platforms (MSX, PCW, EP) only need a "raw loader", as their native OS are able to load these very large files directly in a fast way from any kind of device (SD, IDE etc.; PCW at least 80K or so from disc in one piece with CP/M).
So I am looking forward, that the ACME rom will change this for the CPC as well
Excellent so with a futureOS plus cart, and symbos on HDD, that'll be 7 slots cleaned up on the xmem / symbiface 2. More space for games lol.

7 because future os  and symbos take 4 each, but acmedos will need installing.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 00:59, 15 September 15
If you use FutureOS on Cartridge then you can leave the X-MEM / SF2 untouched.  :)


About AMSDOS loading: It can load at least 58 KB in one piece. symbos biggest file is 26 KB IIRC. I don't get it.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: majikeyric on 22:31, 16 September 15
Hi,

It's still possible to pre-order hardware at www.centpourcent.net (http://www.centpourcent.net/) ?

I would be interested in XMas (of course) and other things.

Thanks.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 23:31, 16 September 15
Btw, can someone post the link, where you can download the IDE-Rom of FutureOS?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 06:44, 17 September 15
Quote from: majikeyric on 22:31, 16 September 15
It's still possible to pre-order hardware at www.centpourcent.net (http://www.centpourcent.net/) ?
I would be interested in XMas (of course) and other things. Thanks.
Sure. Go to the Store section, select items and check-out.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ||C|-|E|| on 07:54, 17 September 15
I still have to order my own pack... at least the mother, a X-MEM and a X-MASS...  :-X
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 08:54, 17 September 15
Quote from: Prodatron on 23:31, 16 September 15
Btw, can someone post the link, where you can download the IDE-Rom of FutureOS?
It's not finished yet :( I think we'll see ACMEdos first
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:57, 17 September 15
SyX sent to me the ACMEDOS ROM 4 days ago, but I can't test it before Saturday.
I prefert to not release it before, as you can understand.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 09:15, 17 September 15
Quote from: TotO on 08:57, 17 September 15
SyX sent to me the ACMEDOS ROM 4 days ago, but I can't test it before Saturday.
I prefert to not release it before, as you can understand.  8)
I have a blank Dom, I'll test it for you ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:06, 17 September 15
Quote from: CraigsBar on 09:15, 17 September 15I have a blank Dom, I'll test it for you ;)
It need to be converted to FAT16 actually. The tool to do that is not ready, so I have to test myself if you can't format it.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 10:07, 17 September 15
Oops. I need to resolve that sooner rather than later lol.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:30, 17 September 15
The idea is to be able to init the DOM from the CPC. So, it is not required that you solve yourself this "problem".  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 10:56, 17 September 15
I get that, but with the formatter some way off yet, the arrival of AcmeDOS this weekend (hopefully but we've heard that before) makes it a problem :| does anyone have experience with 44 pin gender changers? Are they really just straight through pins?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 11:15, 17 September 15
They should be straight throug as you can change the gender with an IDE pin header. Keep in mind though, that the pin order in the DOM is mirrored compared to an ordinary hard disk as it is meant to be connected directly to the IDE  header of the motherboard.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 11:21, 17 September 15
Quote from: protek on 11:15, 17 September 15
They should be straight throug as you can change the gender with an IDE pin header. Keep in mind though, that the pin order in the DOM is mirrored compared to an ordinary hard disk as it is meant to be connected directly to the IDE  header of the motherboard.
Meaning? Which pins need swapping over?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 11:23, 17 September 15
Check out this page: Upgrading an IBM L40SX to an SSD (http://www.brutman.com/L40SX_DOM/L40SX_DOM_Upgrade.html)

I got the DOM communicating with my PC by flipping it upside down. However, none of the hard disk tools I tried on PC could create a FAT16 partition on the DOM that would see eye to eye with for example the SymbOS mass storage utility.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 12:49, 17 September 15
Yes, pins are swapped up/down if you don't use a ribbon cable with pins on each side.
I have no problem to format with FAT16 (I does that many times). By the way, formating from the CPC will solve the problems.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 15:01, 17 September 15
Hope you'll be able to perform test asap :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: majikeyric on 17:44, 17 September 15
Quote from: TotO on 06:44, 17 September 15
Sure. Go to the Store section, select items and check-out.  8)

order passed :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 17:49, 17 September 15
I have seen that.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 18:28, 17 September 15
Quote from: CraigsBar on 08:54, 17 September 15
It's not finished yet :( I think we'll see ACMEdos first

You will definitely, and with this we don't need other OS having FAT support any longer. Sadly 95% of the scene destroyers are Germans.  >:(  And they bitched at me since 2007 or may be even longer. So I totally lost interest in anything FAT or IDE related. Screw it! I prefer to do something else, bringing fun to me.

We will have ACME-DOS soon, we won't need anything else, no FutureOS, no CP/M and no other crap.

Just my 3 Pennies about that.


Now this is an X-MASS thread, so let's got with X-MASS and ACME-DOS.  :) :) :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 16:12, 18 September 15
Euh, TFM & Prodatron : is war finished now ?
This topic consists of speaking about the great X-MASS Expansion, so stop your stupid war here, please!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 16:25, 18 September 15
Thread cleared, apologies for being late in catching this flame, I was working on the forum software.


@TFM (http://www.cpcwiki.eu/forum/index.php?action=profile;u=179) , next time that a post of yours contains such expressions, it will earn you a ban.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 16:37, 18 September 15
Thanks Gryzor to clean all these bad commands.
Only one comment, if TFM could be banned, don't forget Prodatron too.
We're all adult, so stop kidding.
Mode off.


Waiting for AcmeDos as all of you...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:20, 22 September 15
After testing the last ACMEDOS version, 2 bugs lefts.
- CAT on a new directory create display problems related to control chars.
- SAVE display the message "broken in" and create a 0 byte file.

Those bugs not occure on WinAPE (Z80 emulation bug?) but only on a real CPC. It should be difficult to fix them.
So, understand that is not the time to release it.  8)

By the way, I RUN with success some games put into folders, like BARBARIAN and ZYNAPS. :)
That means the AMSDOS compatibility is accurate!
 
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 07:28, 22 September 15
@Toto


Thanks for testing, Good idea not to release the rom.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 11:59, 22 September 15
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Gryzor on 17:26, 22 September 15
How cool is that!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 18:49, 22 September 15
Quote from: TotO on 07:20, 22 September 15
After testing the last ACMEDOS version, 2 bugs lefts.
- CAT on a new directory create display problems related to control chars.
- SAVE display the message "broken in" and create a 0 byte file.

Those bugs not occure on WinAPE (Z80 emulation bug?) but only on a real CPC. It should be difficult to fix them.


The problem is that WinApe emulates only the parts of the SF2 being used by sos - and few bits more. I can't work with a single of my IDE OS functions, because of missing bits in status registers etc. on WinApe. It is absolutely important to use real hardware here. But I have good hopes that the problems can be fixed in few weeks, because SyX is an excellent coder.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: madram on 16:40, 01 October 15
Great news Syx, bravo !

Quote from: TotO on 15:01, 11 September 15

There is a few amsdos calls not implemented yet, CAS_IN_CHAR and CAS_OUT_CHAR.


Sad news ! Orgams uses them for "fast" read/write by chunks. BTW it allows to manage 64k+ files already.
Starkos uses them for slow read/write  (funny, coming from Targhan).
Digitracker also has "by chunk" access.

Courage for bugs hunting.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:28, 01 October 15
Any idea about ACMEdos official release ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: manic23 on 11:39, 08 October 15
Sorry for being thick, but I am a little confused about what you get when you buy this, so you get the main device plus a ROM chip that you have to install inside the CPC computer is that right?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 12:28, 08 October 15
Sorta. You get the X-mass expansion board, and an ide  DOM (essentially a solid state drive).

You also can add a cable to connect it to your expansion port. Or it can be fitted internally if you fancy some modding to provide an internal connector, but most people seem to take the external or mother4x approach.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: manic23 on 12:41, 08 October 15
OK thanks CraigsBar that sounds easier than installing a chip. I think I will order one :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 12:59, 08 October 15
Be aware that the ROM is still not avalaible due to some bugs; Syx is currently working (more or less) on bugs fixing.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:14, 08 October 15
The ROM should be available before he receive his board.  8)
But... For information, that means he need a ROM Board too.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: manic23 on 13:34, 08 October 15
Thanks guys
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TrainingForUtopia on 19:41, 18 October 15
Sorry for this question, but ... why "pre-order"?

I thought, that the X-Mass project is finished since month and i always thought, that "pre-order" is for not yet released products ...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:50, 19 October 15
All boards are always in pre-order, because nothing is in stock.
I have to order parts, then building them...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 10:37, 19 October 15
Any news of ACMEdos ? Maybe a little presentation for Alchimies' 2015 (http://triplea.fr/alchimie/pages/index.php) event ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:44, 19 October 15
I will post a 30s video this evening. But, some bugs left.
I should try to go to the Alchimie to show it, yes.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 11:13, 19 October 15
Yeaaahhh... So koool to read that... Nice to see you at Alchimie.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 20:46, 19 October 15
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 21:01, 19 October 15
Wow, that looks really good and loading is fast, isn't it!?
What does the number at the end display: 118M free?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 21:02, 19 October 15
Exactly.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 21:33, 19 October 15
Wow, fast!

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:54, 19 October 15
Same thing as Bryce, very fast....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 06:45, 20 October 15
Yes. Thanks to SyX optimized code.  8)
The X-MASS SLC flash is as fast as the CPC ROM. (close to load a floppy side in 1s)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ||C|-|E|| on 10:41, 20 October 15
It is amazingly fast, and with that huge capacity the possibilities are endless. It should be very possible to develop super complex and large games using it. In practice, is almost like having 128MB of RAM  :o
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 10:50, 20 October 15
Same comment as above: how fast loading we have !!
I can imagine how appreciable it will be to use the X-Mass !  :o


Great job Toto & Syx ! :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 15:35, 20 October 15
2nd that opinion!  8)


Very impressive!  :) :) :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: majikeyric on 17:38, 20 October 15
Just great !!!! :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 19:26, 22 October 15
Some questions about X-Mass :

Could you tell me in which configuration is the X-Mass at the beginning (without ACMEdos) ?
How many tracks composed this expansion ? How many sectors ?
What is the name of sectors ? 01 to xxx ?

Do you use FDC to access this expansion ?

Too many questions without answers......
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 20:23, 22 October 15
The X-Mass is a memory card system separated in 512kBytes sectors (no tracks or records in comparison to the CP/M disc file system).
There should be about 262144 sectors available.
Through the X-Mass (IDE) Interface within the port range FD06-FD0F you can send command or read to/from the buffer inside the IDE which handles all the stuff for you.
The FDC doesn't access the X-Mass.
So, you can apply any file system which support 512kB sector size or bigger (multiplied with 2, 4, 8 etc. > FAT16/FAT32/ext2/ext3...).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Misel982001 on 15:17, 31 October 15
Sorry for the irrelevant comment but you have a very cool nickname and pic!!!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Misel982001 on 15:19, 31 October 15
Amazing drokking piece of hardware. I want it right now!!!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Misel982001 on 15:22, 31 October 15
Important question: Is it possible with this hardware to create snapshots so we may continue the game from where we left it after reseting?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: pelrun on 16:26, 31 October 15
No,  you'll need talrek's multiface clone (or an original) to do that.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 16:46, 31 October 15
Quote from: Misel982001 on 15:17, 31 October 15
Sorry for the irrelevant comment but you have a very cool nickname and pic!!!!
...thanks! :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 17:18, 08 November 15
I made a dull test today: The X-Mass holds 262144 sectors. It tooks me 2573 seconds (or about 50kB/s) to erase all sectors with &00 from BASIC :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: dxs on 19:50, 08 November 15
Just à short message for @SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) and @TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) a lot of people are expecting the Acmedos so keep up the good work !! Thank you!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 21:05, 08 November 15
Quote from: dxs on 19:50, 08 November 15
Just à short message for @SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) and @TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) a lot of people are expecting the Acmedos so keep up the good work !! Thank you!

They do their best work for sure!  :) :) :)


Quote from: HAL 6128 on 17:18, 08 November 15I made a dull test today: The X-Mass holds 262144 sectors. It tooks me 2573 seconds (or about 50kB/s) to erase all sectors with &00 from BASIC :P

OMG! Did you erase the master boot sector too? I can sent you a copy if you need then you can write it back.

50 KB from BASIC is quite nice. In machine language you get 3-4 times more quick.  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 21:43, 08 November 15
Quote from: TFM on 21:05, 08 November 15
OMG! Did you erase the master boot sector too? I can sent you a copy if you need then you can write it back.
50 KB from BASIC is quite nice. In machine language you get 3-4 times more quick.  ;)
Yes, I've erased everything so far! :)
I try to replicate a FAT16/32 Volume. Not a partitioned harddrive with MBR, only the volume with a proper boot sector, FAT table(s) and first directory preparation.
I'm working with a RSX extension which allows me to read or write the typical 512 Bytes of an IDE drive. This RSX for writing works likes this:

|HDW,LBA-address-High, LBA-address-Mid, LBA-address-Low, RAM-address (source)

I executed it 262144 times with some interrupt between for counting time and printing it on screen. I will rewrite it to full assembler. So, let me see how fast it will be. ;)

I'm looking forward to ACMEDOS too. I think it's pretty hard to develop such kind of software which will be embedded / replace AMSDOS and should be comfortable, easy and in a way like AMSDOS do. Testing is time consuming and most important.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 05:58, 03 December 15
How is the Progress on the ACMEDOS.ROM .
Where is it up to, will it be ready for ChristMass.


Thanks


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 14:43, 03 December 15
Livre estouuuuu, livre estouuuuuuuuu... ehem  ??? , sorry by the long long long delay, i am finishing the semester AT LAST (the conference/workshop about  data mining,  my python workshop and sharing/helping in the success of a friend (https://www.facebook.com/traf.onanim/) project), i need to install my CPCs for fixing the last bug, TotO found a funny bug in the makedir function and it should be released. As always, only a few days more...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 15:58, 03 December 15
SyX : did you ever think working as politician ??? :-)

Ps : vote SyX as president !
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 17:23, 03 December 15
Quote from: Ast on 15:58, 03 December 15
SyX : did you ever think working as politician ??? :-)

Ps : vote SyX as president !
Well, maybe in Europe :P, because in Brazil you need to be a superhero or your soul should be much more corrupted than an european could imagine   :laugh: :laugh: :laugh:


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 20:22, 03 December 15
Not related to this or maybe :P, you can find the new fw3.16 in my github (https://github.com/realmml/FW3.1x). As always if the sky fall while you use this software in your cpc, it's your problem.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 20:33, 03 December 15
If I'm not wrong, it allow to use the RAM Drive if FW3.0 is set too.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 20:44, 03 December 15
Quote from: SyX on 20:22, 03 December 15
Not related to this or maybe [emoji14], you can find the new fw3.16 in my github (https://github.com/realmml/FW3.1x). As always if the sky fall while you use this software in your cpc, it's your problem.
Does this mean we cannot have ramdrive and xmass?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 22:32, 03 December 15

Thanks i will be looking forward to the Release.


Ray

Quote from: SyX on 14:43, 03 December 15
Livre estouuuuu, livre estouuuuuuuuu... ehem  ??? , sorry by the long long long delay, i am finishing the semester AT LAST (the conference/workshop about  data mining,  my python workshop and sharing/helping in the success of a friend (https://www.facebook.com/traf.onanim/) project), i need to install my CPCs for fixing the last bug, TotO found a funny bug in the makedir function and it should be released. As always, only a few days more...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 22:46, 03 December 15
Quote from: CraigsBar on 20:44, 03 December 15
Does this mean we cannot have ramdrive and xmass?
In the actual beta both softwares patch the system in the same places, because that, one needs to change for compatibility with the other one. And in this moment I am more happy with the fat than the ram disc.

But as always depends in the feedback, I have not received any message asking about the ram disc and since I am using the xmass, I am not using the ram disc.

But after xmass, I am going to be far away of making tools, my day work is going the big data/data mining world and I want to make fun things in the very small moments of free time that I got (remember I only have worked in z80 less than a week in the last two years, and that time was focused in xmass).

It is time of finishing all the game projects!!! :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 01:39, 04 December 15
Quote from: SyX on 22:46, 03 December 15
In the actual beta both softwares patch the system in the same places, because that, one needs to change for compatibility with the other one. And in this moment I am more happy with the fat than the ram disc.

But as always depends in the feedback, I have not received any message asking about the ram disc and since I am using the xmass, I am not using the ram disc.

But after xmass, I am going to be far away of making tools, my day work is going the big data/data mining world and I want to make fun things in the very small moments of free time that I got (remember I only have worked in z80 less than a week in the last two years, and that time was focused in xmass).

It is time of finishing all the game projects!!! :)
Makes sense, thanks for the detailed answer ;) I guess with high speed DOM access, the ram disc is kinda unnecessary anyway. Oh, is anyone working on cp/m support?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 02:52, 04 December 15
Quote from: CraigsBar on 01:39, 04 December 15
Oh, is anyone working on cp/m support?
Or even better, is anybody porting the PCW cp/m to CPC? Because, the cpc one lacks of the nice driver system that the pcw has, and it would be so easy and nice to give support to the HD or other expansion as the minibooster.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 18:49, 04 December 15
Just a question... is there somewhere the source code of the PcW CP/M Plus? (I only got it for CPC, and the lord knows where this disc is ....  :-X ).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ||C|-|E|| on 19:23, 04 December 15
Actually, if there was a way to use X-MASS as a hard drive in CP/M it would be really great for adventure games like mine, that would load much faster  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 19:39, 04 December 15
Not to mention protect CPM and supercalc (obviously)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:08, 04 December 15
Quote from: ||C|-|E|| on 19:23, 04 December 15
Actually, if there was a way to use X-MASS as a hard drive in CP/M it would be really great for adventure games like mine, that would load much faster  :)


Meanwhile you can use the RAM disc for CP/M Plus.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 23:06, 22 December 15
Hello,
I want to use a "CF-Card to 44pin IDE Adapter" together with the X-Mass. My intent is to replace the DOM with this adapter.

Quote from: TotO on 08:17, 12 August 15
Hi!

The pins are inverted to allow this little board design possible.
That mean, the DOM is only returned. (front to back and back to front)

I have tested with 2 differents CF unsuccessfully. May be you will be more lucky that I.
By the way, I suggest that you will have to use a ribbon cable to fit and swap pins.

Let me know...

Now I have tested an adaptor with CF-card uncuccessfully, too. The CPC6128 didn't boot at power on and the screen shows only a green screen (GT65). Same behavior as if the ROM is disabled. (No additional extensions or ROMs, only the CPC6128, the X-Mass and a ribbon cable)  :(

@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290): Did you observe the same manner at your tests with CF?  :D

I saw another remarkable behavior of my CPC when mounting the X-MASS to the CPC without DOM or CF.
The CPC didn't boot as before with CF card inserted.
Afterwards I mounted the DOM on the X-MASS and all worked again properly.

I wonder if someone would tell me why the CPC hangs at power on with a "naked" X-MASS board connected.
The X-Mass board is controlled by normal I/O ports. I think, that AMSDOS doesn't access to these ports at boot up. Why should it hang ??   :-\

Best regards
netmercer


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 23:12, 22 December 15
Because the X-MASS force the CPC to RESET while its DOM is not initialized.
If the CF don't answer to the X-MASS (because incompatible), the CPC will not boot.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 23:27, 22 December 15
Thank you. I see ...
In which way recognises the X-Mass the correct initialisation of the DOM?
Is there a special pin or something like this?

Best regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:04, 23 December 15
It is not a simple check to f*ck the world to use DOM instead of CF... But a state machine process.  8)
SLC Disk On Module are reliable industrial "SSD" IDE devices that allow to handle 8-bit ATA mode, like a real hard drive.

When the CPC is powered ON, the X-MASS force /RESET and use the CPC DATA bus to configure the DOM.
It is why, the X-MASS board design is far less complex than a Symbiface II IDE interface, for the same result.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 13:52, 30 December 15
Hi,
it's marvellous. I have found a CF card, which works together with X-Mass and 44-pin IDE Adaptor. See the pictures below.
[attach=2]

[attach=3]

If I understood TotO's declarations aright, then X-Mass isn't a GIDE Interface. Rather, X-Mass is forcing the IDE device into 8-Bit data transfer mode during power on. Therefor the FLASH memory has to support this 8-Bit mode, otherwise it won't work. This 8-Bit mode at power on is perhaps the reason why it works like a GIDE for Symbos.

First sign of life with CP/M:
[attach=4]

(source code of "cfinfo" comes from german PROF-80 homepage with modified I/O access for 16-Bit port adress)

Best regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 16:54, 30 December 15
Exactly. As said, the X-MASS set the DOM to work in 8bit mode.
The Symbiface II have to handle some buffers to translate the 16bit to 2x8bit data instead.
At end, SymbOS see exactly the same thing, a 8bit bus sending 8Bit data.

If your CF is able to support this mode, like a real harddrive, yes it work. :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Munchausen on 22:15, 31 December 15
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) I saw this comment on a blog[nb]http://www.waveguide.se/?article=8-bit-compact-flash-interface[/nb]:

Quotewhat I saw in your source code is that you first select the mode and drive (write $E0 to UNIT register) and then set the feature (1 to the FEATURE register) and then the command ($EF set feature to the command register). As it seams many CF-Cards will not work when you change the order (1 to FEATURE, $E0 to UNIT and $EF to COMMAND register). So your source code solved quit a lot of issues

And this one:

QuoteIt took me some trial and error before I got it right also. I suspect that changing mode via REG6 in mid-flight is a bit shaky. I read somewhere that the SET FEATURE command should be issued directly after every FEATURE written. The documentation I've found so far is also pretty vague about the 8-bit mode. Perhaps it's not even supported on all cards. It would not surprise me. I have used only SanDisk (4GB and 8GB) and Kingston (2GB) and they have all worked fine so far.

I don't know if it can help improve CF compatibility for the X-MASS (or maybe your code already does the right order) but anyway just a thought.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 11:41, 01 January 16
Thank you for your post.  8)
I will see what is possible to do next for peoples wanting to use compatible CF.
The first goal is to fix the X-MASS ROM bugs to make it properly working under BASIC for everyone.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 17:48, 01 January 16
Quote from: TotO on 11:41, 01 January 16
Thank you for your post.  8)
I will see what is possible to do next for peoples wanting to use compatible CF.
The first goal is to fix the X-MASS ROM bugs to make it properly working under BASIC for everyone.
Great news. We are all patiently waiting for the X-Mass ROM.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: angelcaio on 13:05, 12 January 16
After intall and format with BonnyDos it's possible to reformat with Acmedos?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ||C|-|E|| on 13:39, 12 January 16
Quote from: TFM on 20:08, 04 December 15

Meanwhile you can use the RAM disc for CP/M Plus.  :)

The only problem is that the game does not fit inside!  :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:38, 12 January 16
Quote from: angelcaio on 13:05, 12 January 16
After intall and format with BonnyDos it's possible to reformat with Acmedos?
Yes, it will be.
Today, the main problem is that SymbOS not allow to format drives.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: angelcaio on 16:44, 12 January 16
then, formating first with bdos i can use bdos.  But  formating  later with acmedos, i can use SymbOS?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 17:11, 12 January 16
Yes. Formated by ACMEDOS will allow to reuse SymbOS.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Fessor on 23:37, 27 January 16
Is there a Copy-Tool that works with BDOS for easy filecopy from Tape to X-MASS?

Tried some ROMs:
Locksmith: Files on X-Mass are safed as plain ASCII (Amsdos header get lost) and the Filename is also changed that it contains now a drive-letter. "IKARI.BIN" -> "A:IKARI.BIN"
Utopia does it only slightly better, as the filename is unchanged, but is also stored as plain ASCII.
JLCopy will only save to real disc drives.
AMSBACKUP - I don't know how to start the operation, but i fear it also works only with real disc drives...


(6128, X-MASS, X-MEM)



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 23:45, 27 January 16
The problem is here the BDOS, the other 'COPY' ROMs use standard file-I/O and they work with all other DOS. The best is to be patient and wait for ACMEDOS.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Fessor on 00:37, 28 January 16
Its hard to be patient after experiencing the loading time of a game. (between 2 to 3 seconds for star strike 3d)
That makes hungry for more... (for games on the x-mass, not for loading time ;) )
(It took more time to type the commands to start the game than the loading time of the game itself)

(and after going the manual way, loaded the files the classic way into memory and saved them from basic)


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 06:47, 28 January 16
Quote from: TFM on 23:45, 27 January 16
The problem is here the BDOS, the other 'COPY' ROMs use standard file-I/O and they work with all other DOS. The best is to be patient and wait for ACMEDOS.  :)
ACMEDOS didnt support Cas-in-Char and maybe other problems will occur (e.g. Read-Sector is not supported and Cas-Catalog on a FAT-Drive with Directorys may be
different to the standard Cas-Catalog, ...).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 12:56, 28 January 16
Quote from: SOS on 06:47, 28 January 16
ACMEDOS didnt support Cas-in-Char and maybe other problems will occur (e.g. Read-Sector is not supported and Cas-Catalog on a FAT-Drive with Directorys may be
different to the standard Cas-Catalog, ...).
Just wait. Cas-in-Char and Read-Sectors are generally possible. I' m convinced that ACMEDOS will provide more than only a plain user's DOS. :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:00, 28 January 16
Quote from: SOS on 06:47, 28 January 16
ACMEDOS didnt support Cas-in-Char and maybe other problems will occur (e.g. Read-Sector is not supported and Cas-Catalog on a FAT-Drive with Directorys may be
different to the standard Cas-Catalog, ...).


How can you know? It's not released yet!  :laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 17:08, 28 January 16
Quote from: TFM on 17:00, 28 January 16

How can you know? It's not released yet!  :laugh:
SyX wrote it:
"There is a few amsdos calls not implemented yet, CAS_IN_CHAR and CAS_OUT_CHAR. And the low level amsdos routines for Read/Write sectors and format tracks."
(see reply 245 in this thread)
And the part with the directory, i added 1+1 .....

(Added: 18:30):
And not to forget the handling of the DPB and maybe other things ...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:52, 28 January 16
That's snow from last year. Let him finish in peace and then we see what we get.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 00:50, 30 January 16
Hi,
I'm playing a little bit around with CF-card, 44-pin adaptor, X-MASS and CP/M+. Basically it runs very well.  :D
But because of the bank switching of CP/M I needed some place in common RAM for a part of the X-MASS driver. Actually I put it in a RSX, which I had to load after booting CP/M. :(
See pictures below.
[attach=2]
[attach=3]
A disadvantage of this method is, that I lost at least 1K of TPA and I had to load the RSX after booting from disk (the picture shows programm B:CFM.COM, which does this). Booting alone from CF-card without disk drive is not possible.
Does someone know a small safe place in common area (address above F600h) for ca. 43 Bytes?
How about placing this bytes in upper ROM? But what to do with RST7 Interrupt, which aims
into common RAM ? Would be a simple "DI" instruction enough? ::)

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Fessor on 18:40, 30 January 16
What about using Dobbertins CP/M / CP/M+ and modifying their HD-drivers or using their mechanism?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 21:22, 30 January 16
Good point!

I want to dare (maybe a silly) question because I have no clue about modifying existing software:

Dobbertin is using following ports for their harddisc:
 #FBE0  Dobbertin Harddisc Data Port (read/write)
#FBE1  Dobbertin Harddisc Status (read), Reset (write)
#FBE2  Dobbertin Harddisc Select (write), Configuration (read)
#FBE3  Dobbertin Harddisc DMA, Interrupt (Used on CPC???)
#FBE4  Dobbertin Harddisc Reset (read or write will reset)

The Symbiface or X-Mass allow following I/O ports:

#FD08    IDE Data Register    IDE Data Register
#FD09    IDE Error Register    IDE Features Register (Write Precomp Reg.)
#FD0A    IDE Sector Count    IDE Sector Count
#FD0B    IDE Sector Number    IDE Sector Number
#FD0C    IDE Cylinder Low    IDE Cylinder Low
#FD0D    IDE Cylinder High    IDE Cylinder High
#FD0E    IDE Device/Head Register    IDE Device/Head Register
#FD0F    IDE Status Register    IDE Command Register

Would it be possible to change "old-Dobbertin" ports to new port addresses? (I don't know how sector addressing will happens at Doppertins HD.)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 21:11, 31 January 16
Hi,
thank you for your hints.
Unfortunately I have no knowledge at all about Dobbertins CP/M.
I tried another solution this weekend and used the buffer of BIOS function "Interbankmove" for temporary storage of the relevant part of the X-Mass driver. It runs very good so far. I will do more tests.

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 11:42, 08 February 16
Hi, a short and general question for the X-MASS developers: does ACMEDOS expect a partition table (MBR) at sector 0 or a non-partitioned environment with a plain FAT16 boot sector (BS) at sector 0?
Just because of my observation: formatting the X-Mass (DiscModul) from Windows/Linux OS has passed in creating a partition table (MBR) at sector 0 and a FAT16-BS at sector 156 (Windows) or sector 2048 (Linux).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:12, 08 February 16
A non-partitioned environment with a plain FAT16 boot sector at sector 0.
SyX actually encounter problems to release the final version... A format command is include to do that.
(windows is able to read/write this format, but not to create it)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 14:58, 08 February 16
Quote from: HAL 6128 on 21:22, 30 January 16
Good point!

I want to dare (maybe a silly) question because I have no clue about modifying existing software:

Dobbertin is using following ports for their harddisc:
 #FBE0  Dobbertin Harddisc Data Port (read/write)
#FBE1  Dobbertin Harddisc Status (read), Reset (write)
#FBE2  Dobbertin Harddisc Select (write), Configuration (read)
#FBE3  Dobbertin Harddisc DMA, Interrupt (Used on CPC???)
#FBE4  Dobbertin Harddisc Reset (read or write will reset)

The Symbiface or X-Mass allow following I/O ports:

#FD08    IDE Data Register    IDE Data Register
#FD09    IDE Error Register    IDE Features Register (Write Precomp Reg.)
#FD0A    IDE Sector Count    IDE Sector Count
#FD0B    IDE Sector Number    IDE Sector Number
#FD0C    IDE Cylinder Low    IDE Cylinder Low
#FD0D    IDE Cylinder High    IDE Cylinder High
#FD0E    IDE Device/Head Register    IDE Device/Head Register
#FD0F    IDE Status Register    IDE Command Register

Would it be possible to change "old-Dobbertin" ports to new port addresses? (I don't know how sector addressing will happens at Doppertins HD.)


You can't change the ports directly because Dobbertin HD is not an IDE device.
I'm not sure exactly what it is, but it's closer to SASI (precursor to SCSI).
Dobbertin uses cylinders, heads and sector addressing. Some older IDE drives will still support this.

If the read/write code in the xddos rom was re-written to use IDE and these ports then yes you could use it on symbos/x-mass.

Another difference is that it didn't use FAT, it formatted it as CPM, so you could not use the drives directly from x-mass/symbiface 2 - but then is is this a problem? BonnyDOS uses it's own disc structure too and so does the vortex hd.


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:15, 08 February 16
The ports are not compatible, because the Dobbertin drive use the old CHS method instead of LBA.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 18:35, 08 February 16
Quote from: TotO on 15:15, 08 February 16
The ports are not compatible, because the Dobbertin drive use the old CHS method instead of LBA.
Old IDE drives can use CHS ;)

The ports are not compatible because the dobbertin is not IDE!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 23:15, 08 February 16
Quote from: TotO on 13:12, 08 February 16
A non-partitioned environment with a plain FAT16 boot sector at sector 0.
Adding MBR support is quite easy as you only have to do one additional sector read (the MBR itself) and grab one of the four entries at the end of the sector, which contains the offsets of the 4 primary partitions. (This could be a cool feature for the future, maybe for the first version you just leave it.)

CU,
Prodatron
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:01, 09 February 16
Yes. Just, it was expected to add only one drive letter to the BASIC for now.  8)
The more problematic look to be a persistent bug for handling folders/path that remain since months...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Dizrythmia on 12:29, 12 February 16
Just ordered the X-MEM & X-MASS with a Mother 4X, the winning combination!


I'm hoping to install the 2 boards inside my 464 at some point, but have the Mother 4X to use on my 6128.


Thought I would try & also buy a DD3 to complete the set but it looks like after that review was posted Zaxon sold out. Half my luck!


I guess I'll keep going on my Gotek in an FD-1 project. Just waiting on a friend to help with my cable issue. I had a go but I'm a real novice at this stuff :(


Trying to learn though :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:17, 12 February 16
Quote from: Dizrythmia on 12:29, 12 February 16
I'm hoping to install the 2 boards inside my 464 at some point, but have the Mother 4X to use on my 6128.


IMHO it's better to leave it "outside". Some software working with an 6128 will not run with an 464, but will use the expansions. So it's better to keep it connectable to the 6128.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 11:20, 20 February 16
Quote from: HAL 6128 on 21:22, 30 January 16The Symbiface or X-Mass allow following I/O ports:

#FD08    IDE Data Register    IDE Data Register
#FD09    IDE Error Register    IDE Features Register (Write Precomp Reg.)
#FD0A    IDE Sector Count    IDE Sector Count
#FD0B    IDE Sector Number    IDE Sector Number
#FD0C    IDE Cylinder Low    IDE Cylinder Low
#FD0D    IDE Cylinder High    IDE Cylinder High
#FD0E    IDE Device/Head Register    IDE Device/Head Register
#FD0F    IDE Status Register    IDE Command Register



Can someone explain me how to use this ? Examples are welcome...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 11:39, 20 February 16
Quote from: Ast on 11:20, 20 February 16

Can someone explain me how to use this ? Examples are welcome...
The ATA specification describes the registers, the list of commands, the results etc.

http://www.t13.org/documents/UploadedDocuments/project/d1153r18-ATA-ATAPI-4.pdf (http://www.t13.org/documents/UploadedDocuments/project/d1153r18-ATA-ATAPI-4.pdf)

(This doc is ATA specification 4).

Example for writing "identify device", command ec.
(8.12 in the doc above)

in 8.12.4 inputs says "na" for most registers which means: do not need this register/bit.

we set DEV for master/slave and write ech (&ec) into command register.


ld a,0
ld bc,&fd0e ;; set which drive (master/slave)
out (c),a

;; we don't need to set cylinder, sector count etc. Specification says this is not required for this command.

ld a,&ec        ;; identify device
ld bc,&fd0f
out (c),a

;; command execution begins.



When data is ready:

;; command returns 512 bytes with device information.
ld de,512
ld hl,buffer
ld bc,&fd08
read_data:
in a,(c)
ld (hl),a
inc hl
dec de
ld a,d
or e
jr nz,read_data


When command is complete we can also read the status register, see if there is an error then read the error register.

the result of the commands really does depend on the ide device connected and not the symbiface 2 or x-mass.

If you plug in an old ide harddisc it will support a different ata version to a modern one.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 11:58, 20 February 16
Very interresting... Thanks ArnoldEmu!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 12:05, 20 February 16
Don't know where you took "&ec" for the device ???
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 12:18, 20 February 16
Quote from: Ast on 11:20, 20 February 16Can someone explain me how to use this ? Examples are welcome...

You can also have a look here:
SYMBiFACE II:IDE routines - CPCWiki (http://cpcwiki.eu/index.php/SYMBiFACE_II:IDE_routines)
SYMBiFACE II:IDE registers - CPCWiki (http://cpcwiki.eu/index.php/SYMBiFACE_II:IDE_registers)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 12:59, 20 February 16
From the pdf.

page 77 describes the command in detail.

page 319 has a list of all the commands in this version of ATA.

table e.2 commands sorted by command value:

NOP
00h
CFA REQUEST EXTENDED ERROR CODE
03h
DEVICE RESET
08h
READ SECTOR(S)
20h-21h
WRITE SECTOR(S)
30h-31h
CFA WRITE SECTORS WITHOUT ERASE
38h
READ VERIFY SECTOR(S)
40h-41h
SEEK
70h
CFA TRANSLATE SECTOR
87h
EXECUTE DEVICE DIAGNOSTIC
90h
INITIALIZE DEVICE PARAMETERS
91h
DOWNLOAD MICROCODE
92h
PACKET
A0h
IDENTIFY PACKET DEVICE
A1h
SERVICE
A2h
SMART
B0h
CFA ERASE SECTORS
C0h
READ MULTIPLE
C4h
WRITE MULTIPLE
C5h
SET MULTIPLE MODE
C6h
READ DMA QUEUED
C7h
READ DMA
C8h-C9h
WRITE DMA
CAh-CBh
WRITE DMA QUEUED
CCh
CFA WRITE MULTIPLE WITHOUT ERASE
CDh
GET MEDIA STATUS
DAh
MEDIA LOCK
DEh
MEDIA UNLOCK
DFh
STANDBY IMMEDIATE
E0h
IDLE IMMEDIATE
E1h
STANDBY
E2h
IDLE
E3h
READ BUFFER
E4h
CHECK POWER MODE
E5h
SLEEP
E6h
FLUSH CACHE
E7h
WRITE BUFFER
E8h
IDENTIFY DEVICE
ECh
MEDIA EJECT
EDh
SET FEATURES
EFh
SECURITY SET PASSWORD
F1h
SECURITY UNLOCK
F2h
SECURITY ERASE PREPARE
F3h
SECURITY ERASE UNIT
F4h
SECURITY FREEZE LOCK
F5h
SECURITY DISABLE PASSWORD
F6h
READ NATIVE MAX ADDRESS
F8h

SET MAX ADDRESS F9h
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 13:11, 20 February 16
in the pdf, page 48. section 7.15 describes the status register.

The "address" part is decoded by symbiface 2/x-mass into the i/o ports above (fd08-fd0f). The symbiface 2/x-mass pass the data through to the hard disc and disc-on-module, but they also do a little more to make it easy for cpc:

The commands and results come from the hard disc or disc-on-module. So test with different hard discs to ensure your code works well and consider that drives have various capabilities and support different versions of the ATA spec.

The symbiface 2 and x-mass I think do these things (but correct me if I am wrong):
1. i/o port decode to map onto the "address" part in the document. (cs1/cs0/da2/da1/da0).
2. buffer the 16-bit data from the device so we can do 8-bit reads on cpc.
3. reset the hard disc/disc-on-module to a default state.

@ToTO what does the x-mass do in the hardware?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:52, 20 February 16
The X-MASS don't buffer anything using 16-bit.
Instead, when the CPC boot or Reset, the CPLD force the CPC reset signal and send commands to the DOM to set it in 8-bit mode.
Next, the data bus is connected to the CPC and the reset signal is released to allow the CPC the be usable.
From that, you can start to access it using ATA commands through the given ports.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 15:00, 20 February 16
Quote from: TotO on 14:52, 20 February 16
The X-MASS don't buffer anything using 16-bit.
Instead, when the CPC boot or Reset, the CPLD force the CPC reset signal and send commands to the DOM to set it in 8-bit mode.
Next, the data bus is connected to the CPC and the reset signal is released to allow the CPC the be usable.
From that, you can start to access it using ATA commands through the given ports.
What are those commands? Are they ATA ones?

EDIT: I see. The device must support the "CFA feature set".
Writing 01 will put it into 8-bit PIO mode.

I wonder what the symbiface 2 does?? probably something similar...?

@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573):

ATA PIO Mode - OSDev Wiki (http://wiki.osdev.org/ATA_PIO_Mode)

This describes more. It uses the PC ports, but we can substitute those for the CPC ports.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:14, 20 February 16
Using the SET FEATURES 01h command to ENABLE 8-BIT DATA TRANSFERT.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 15:27, 20 February 16
Quote from: TotO on 15:14, 20 February 16
Using the SET FEATURES 01h command to ENABLE 8-BIT DATA TRANSFERT.
Great. Thanks :)

So in theory I could set it into 16-bit mode and read half the data?  :laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 16:10, 20 February 16
Quote from: arnoldemu on 15:00, 20 February 16I wonder what the symbiface 2 does?? probably something similar...?
The SYMBiFACE II is working in 16bit IDE mode, so it does exactly this:
Quote from: arnoldemu2. buffer the 16-bit data from the device so we can do 8-bit reads on cpc.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 16:41, 20 February 16
Quote from: Prodatron on 16:10, 20 February 16
The SYMBiFACE II is working in 16bit IDE mode, so it does exactly this:
@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13): Do you know how this works exactly?

Does it hold 16-bit at a time or does it hold an entire buffer?

Does it support a specific ATA specification or can I use both "old" and "new" ide devices (e.g. an ide drive from 1997 and an ide drive from a few years ago)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 16:54, 20 February 16
Quote from: arnoldemu on 15:27, 20 February 16So in theory I could set it into 16-bit mode and read half the data?  :laugh:
Yes... But, you only acces the half size of the device.  ;)
And, it only work if you directly access data without supporting any form of file system that require to not miss "FAT" bytes.  :-\
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 17:13, 20 February 16
Quote from: arnoldemu on 16:41, 20 February 16Does it hold 16-bit at a time or does it hold an entire buffer?
It only holds one 16bit word at the same time, so that it's possible to send two 8bit bytes one after another to the CPC.
Most IDE devices don't support 8bit mode (at least it was like this in the past), so it is/was necessary to do it in this way to support all kind of harddiscs, CF cards etc.

Quote from: arnoldemu on 16:41, 20 February 16Does it support a specific ATA specification or can I use both "old" and "new" ide devices (e.g. an ide drive from 1997 and an ide drive from a few years ago)
It doesn't care about any ATA specific stuff. It is just an interface between the CPC and the controller inside the IDE device. So you do all ATA specific stuff on CPC side (like using CHS mode, LBA 28bit addressing, LBA 48bit addressing etc.). You could also use it for connecting ATAPI devices like CD-ROMs or ZIP drives if you develop an ATAPI driver for the CPC. These devices work in a different way, they are using SCSI-like packets for the communication.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 17:39, 20 February 16
Thanks ToTO and Prodatron.  :)

I will be working on implementing both in Arnold and I wanted to make sure I got the details correct.

I am planning to try and implement almost all the ATA specifications from 1-8 and writing more tests.

I've got a symbiface 2 and 8 old ide drives which i'll be trying with it. I'll get an x-mass in a few months when I have time to use it  :)


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 17:41, 20 February 16
disk-on-module. it is like an ssd for a cpc!  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 18:36, 20 February 16
Quote from: arnoldemu on 17:41, 20 February 16
disk-on-module. it is like an ssd for a cpc!  :)
Yes, it is.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 21:48, 20 February 16
Hi TotO,
if I apply the "Identify Device" Command on the X-Mass I receive a proper model number on word 27-46 ("IQP IDE Secure DiskOnModule"), but the datas for number of cylnders, heads and sectors seems to be by random (either &D0 or &D8).

Do you know what does it mean?

(Edit: If I connect the DOM via USB directly to PC and attach it to WinApe then the "Identify Device" put out the right datas for cylinder, heads and sectors.)

HAL6128
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: MacDeath on 00:05, 21 February 16
I went to visit Ast and we tested his X-MASS...

quite bluffing to have an "SSD" on CPC/PLUS.
Had to use SymbOS.

Was quite a pain to install properly actually.
I there a right method to get it to work from ROM and X-MASS ?

are some content needed to be put into specific folders ?

Basically we had to :
>>install the ROMs.
>>Launch it with the floppies for Apps and SymbOS (2 disks) (used an HxC of course)
>> "mount"/create the C: as the X-Mass.
>> do a setup then save it.
>>copy the .ini on the c:

the hardest part was when we tried to put the apps and utilities/OS on the X-Mass... the control panel created some sort of issue.
basically we copy pasted the contents of the system disk and apps disk into folders on the X-Mass.
then used the desktop links function to given ew addresses to the links.

Big issue was that while you can set some new address to control panel's link/shortcut, it is basically just a folder but you can't assign new addresses to the apps inside... Date and Time, desktop... couldn't open them anymore... had to anticipate and create them in the start menu, after checking the files to see their names and new address.

Does it work better if you create new links then suppress the old ones ? instead of editing the old links/icons/shortcuts ?

"apps" in the control panel are those functions or real apps ? why can't you set their adresses in some settings for the "control panel" application/folder ?
when you copy the control panel, does it corrects the addresses of the apps/panels "inside" it ?


Else SymCommander and Symshell are nice.

Symshell could use a few more mnemonics/options... hard to check a long list of files, no "dir /w" ?
But text interface is great when you don't have a good working mouse...

Symcommander is  nice but could not find all the shortcuts (are there any ? oh ok found them... ) so can be a bit painfull with a joypad. but the dual screen with it is top notch and quite modern actually.



very impressed to see SymbOS launched in 3-5 seconds and just some LED light from the X-MASS card...


Also : those pron videos seems nice but how can I put 9megs of Mode1 aerobic porn from a PC into X-MASS ?

I know you can plug the 128k Flash into a PC but is there some specifications for the files/formats ? what/how do you copy ? need some convertions ?

Does SymbOS handle the Minibooster with USB/Bluetooth into the PC ?



Tried to load some porn... err Herotic GFantasy art/photos in SymSee... had errors... those 4colours "SGX" files wouldn't work.




But Ast was quite bluffed by symbOS actually... or to have some eSSD on his amstrad too...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:54, 21 February 16
Quote from: HAL 6128 on 21:48, 20 February 16
Hi TotO,
if I apply the "Identify Device" Command on the X-Mass I receive a proper model number on word 27-46 ("IQP IDE Secure DiskOnModule"), but the datas for number of cylnders, heads and sectors seems to be by random (either &D0 or &D8).

Do you know what does it mean?

(Edit: If I connect the DOM via USB directly to PC and attach it to WinApe then the "Identify Device" put out the right datas for cylinder, heads and sectors.)
I really don't know if it is significative in LBA... I have pushed the question to SyX.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 11:00, 21 February 16
Quote from: MacDeath on 00:05, 21 February 16I there a right method to get it to work from ROM and X-MASS ? [...] I know you can plug the 128k Flash into a PC but is there some specifications for the files/formats ?
The X-MASS DOM is FAT32 formated by default. So, You should use directly from SymbOS after adding it as Primary partition.
By the way, it should be fine that SymbOS allow to format the drives by itself, like all OS does when a drive look to be not initialised.
(i.e. that will avoid problems when testing first BDOS)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 11:02, 21 February 16
Quote from: HAL 6128 on 21:48, 20 February 16
Hi TotO,
if I apply the "Identify Device" Command on the X-Mass I receive a proper model number on word 27-46 ("IQP IDE Secure DiskOnModule"), but the datas for number of cylnders, heads and sectors seems to be by random (either &D0 or &D8).

Do you know what does it mean?

(Edit: If I connect the DOM via USB directly to PC and attach it to WinApe then the "Identify Device" put out the right datas for cylinder, heads and sectors.)

HAL6128
Check the version of the ATA specification support. It is one of words in the identify device.
New devices don't report cylinders, heads and sectors and are always LBA. They should report the max sector that can be used in LBA.

Perhaps this is why you see random values here.
There are two cylinder, head and sectors values. One is configured with an ATA command, the other I think is the max value.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: dodogildo on 22:00, 21 February 16
I got my X-MASS last week and found out that the HDD is somehow not formatted so I couldn't install Symbos. (I tried both regular, and patched versions with no luck)

So I formatted the HDD using Bdos. Now I'm able to load save from within Basic, lacking Symbos compatibility.

(After exchanging PMs with TotO I learned that Symbos is not compatible with Bdos formatted file system.)

Now I have to format the X-MASS HDD to Fat. I know I can do it using some 2.5 inch hdd to usb connector and a PC/Mac.

Is there a more convenient way to do formating with my 6128?

I wish there was a hard disk format utility in Symbos. :(




Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:34, 22 February 16
@Tot0 & @SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324)


Is it possible to release a Format/Partition tool for the X-Mass prior to releasing The ACMEDOS rom.
It would be appreciated.


Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 11:37, 22 February 16
The actual format tool is expected to initialise the X-MASS to be used as "unparted FAT".
But... It not properly work for me, so it was not actually released.

By the way, have you tried to set the X-MASS using "Unparted" into SymbOS to override its content? (not sure that work)
The best will be that each OS allow to format their drives.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 15:25, 22 February 16
Quote from: MacDeath on 00:05, 21 February 16I there a right method to get it to work from ROM and X-MASS ?
For SymbOS 2.1 I recommend the following way:
- install the ROMs
- boot SymbOS with |SYM
- start the control panel from floppy disc and setup the IDE device as drive C
- change the boot drive in control panel/"system" to drive C
- save the settings -> the SYMBOS.INI is now written to the IDE device (drive C) and will be loaded from there as well, when you boot SymbOS again later with |SYM

Not sure if I got your problems with the shortcuts exactly. When adding or editing shortcuts (control panel/"desktop links") you can either specify the full path of the file or add % at the beginning, which is the placeholder for the "system directory". The system directory is specified in control panel/"system" and should always end with "\" (or the Unix way "/").
For some fixed system apps like the control panel, SymbOS will always try to load them from the system directory.
E.g. you create a directory "symbos" on drive C and copy the control panel and other applications into it, after this you set the system directory to "c:\symbos\" and start all stuff from there.
The control panel is currently splitted into 3 parts (display properties, date/time, all other stuff), so not all icons in the main window will launch an additional app.

For more details about the system directory (starting from page 21) and shortcuts (starting from page 35/37) you can have a look into the new manual:
http://www.symbos.org/download/symbos3-0.pdf (http://www.symbos.org/download/symbos3-0.pdf)
It isn't 100% finished yet but most topics are already included. Though some CPC specific stuff is currently missing.

I am planning to add a setup utility for the CPC version of SymbOS 3.0 which can be started after booting the first time, which will do all this automatically.

Quote from: MacDeath on 00:05, 21 February 16Also : those pron videos seems nice but how can I put 9megs of Mode1 aerobic porn from a PC into X-MASS ?
The actual SymbOS version is able to access the SD card of the HxC directly. I used this to copy large files from the SD card to the X-MASS. Here is an old preview package, which already includes the new driver:
http://www.symbos.org/download/preview-package.zip (http://www.symbos.org/download/preview-package.zip)

Quote from: MacDeath on 00:05, 21 February 16Tried to load some porn... err Herotic GFantasy art/photos in SymSee... had errors... those 4colours "SGX" files wouldn't work.
That's strange. Usually it should all work (also 16 colour graphics, which will be downrendered). What exactly happend?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 15:34, 22 February 16
Quote from: dodogildo on 22:00, 21 February 16I wish there was a hard disk format utility in Symbos. :(
In the past I didn't see the need for such a tool. One reason for the native FAT12/16/32 support was the ability to exchange data storage with a PC directly in a fast and simple way, so you could use your PC to do the FAT formatting. Now I realize that it could make sense if you are hardly able to connect the device to a PC like the X-MASS dom. It shouldn't be a big task. Unfortunately I still have a long ToDo list, let's see when I can start this.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 16:38, 22 February 16
I tried following thing:
I erased every sector of the DOM (filled with &00) until the sector where the data sector starts (at offset / LBA 545).
Then I copied from a fresh formatted drive the sectors of LBA0 (Bootsector), LBA1 (FAT1 table), LBA257 (FAT2 table), LBA513 (Root-Directory) to the DOM.
I transfered the sector datas onto a CPC disc then via RSX onto the X-MASS.
It works somehow, but I don't know if it's correct or if I missed something.
SymbOS recognised the X-MASS as a FAT16 drive.
My X-MASS has a capacity of 108MB.
HAL6128
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 20:30, 22 February 16
Quote from: HAL 6128 on 16:38, 22 February 16SymbOS recognised the X-MASS as a FAT16 drive.
That's a very useful solution!
Could you post the sector data here?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 20:48, 22 February 16
Hi,

Could you tell me if LBA513 is 513th byte read ?
I can't imagine this "new" kind of storage...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 21:09, 22 February 16
LBA513 means the 513th logical sector on the drive.
You don't have sectors/tracks/heads anymore but just plain sectors from 0 to the maximum.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:11, 22 February 16
So first sector is named 00 ?
what is the name of the last sector for an x-Mass 128mb ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 21:21, 22 February 16
Probably something like
128*1024*1024/512=262144  :)
or if it's only 108MB around 220000
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 22:22, 22 February 16
Yes.
223.200 Sector exactly.

The reason why it's only 108 MB is that I formatted the DOM from Windows with a tool called "CF Card Recover". It formatted the DOM with a single FAT16 file-system without a MBR, but the application left 8 MB free at the end. I don't know why.

Then I extracted an image with a tool called "Odin File Recovery". So I have an Image which could be attached to WinApe (last version), for testing purposes within the emulator.

At the end you will find txt-files from the different sectors in hex-format (without any delimiter). Anything else on the DOM is filled with &00.

The results from WinApe with an "Identify Device" command show the whole sector size of the DOM but not the true "model number or name" (still "WinApe IDE") of the device: (&3E) 62 x (&10) 16 x (&FF) x 255 = 252.960 (123MB).
The results from a real hardware show only random number at the provided addresses (weird), but the true "model number or name". That's the reason why I'm asking.

The boot sector not always tell you the whole truth of the whole sectors. The "Identify Device" does.

HAL6128
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 22:48, 22 February 16
Thank you very much!
I will put together a small app for writing these few sectors.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 13:33, 23 February 16
Where Will acmedos have to be put ? Before rom 7 ? Between rom 8-15 ? Etc....
Have you some good News about AcmeDos ?
Is SyX still working on it ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:42, 23 February 16
Quote from: Ast on 13:33, 23 February 16
Where Will acmedos have to be put ? Before rom 7 ? Between rom 8-15 ? Etc....
Have you some good News about AcmeDos ?
Is SyX still working on it ?
Under ROM 7, because it patch AMSDOS to work together. Some peoples with the required skill are beta-testing it.
SyX doesn't have the free time required to do it fast... Else, it will be finished since 6 months.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 22:33, 23 February 16
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290)


Some Thoughts about X-Mass.


****The actual format tool is expected to initialise the X-MASS to be used as "unparted FAT".
        But... It not properly work for me, so it was not actually released.

What did you use ?? and can that be released Please.


****The best will be that each OS allow to format their drives.

I Politely disagree. All I want is for an appropriate Rom Or Driver to be installed Regardless of Operating system, so i can use the X-Mass as bulk storage to be used as a Hard Drive (DOM)

In one of your earlier videos you demonstrated the DOM being used as a Hard drive with what looked like Various folders to demonstrate a Game.

Please supply the tools to make my X-Mass work like yours,  Or the Method that was used to make it work.

I have tried BDos, Symbos and cannot get the DOM to respond (the light flashes for a very short time after the commands are sent)

I would like to get a copy of the BETA rom Please

Frustrated ? YES

Politely Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 22:59, 23 February 16
Quote from: Audronic on 22:33, 23 February 16I Politely disagree. All I want is for an appropriate Rom Or Driver to be installed Regardless of Operating system, so i can use the X-Mass as bulk storage to be used as a Hard Drive (DOM)
It is what BDOS does and ACMEDOS will do. By the way, the X-MASS is a IDE storage and any OS have to be able to initialise it with its own format (like OSX, Linux, Windows... And now SymbOS does).

If you are frustrated, I'm too... And?
We have to wait for a FAT/AMSDOS compatible DOS.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 23:08, 23 February 16
We just finished the little formatting tool for the standard X-MASS 128MB DOM storages!
[attachimg=2]
[attachimg=3]
I am currently not home, but HAL6128 was able to test it successfully.
Boot SymbOS, start this little tool ("xmass.exe"), press the button and the DOM is formatted in FAT16. You shouldn't use this for other IDE storages devices as it's fixed to the 128MB standard X-MASS DOMs.
After the formatting you should be able to add the X-MASS as a new IDE device (not partitioned) with the "control panel"/"mass storage".
Thanks a lot again to HAL6128 for the idea, sector dumps and testing!

Application is attached (source codes included).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 23:24, 23 February 16
Great tool!  8)
Thank you for your work. I will not forget.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 05:47, 24 February 16
Quote from: Prodatron on 23:08, 23 February 16
We just finished the little formatting tool for the standard X-MASS 128MB DOM storages!
[attachimg=2]
[attachimg=3]
I am currently not home, but HAL6128 was able to test it successfully.
Boot SymbOS, start this little tool ("xmass.exe"), press the button and the DOM is formatted in FAT16. You shouldn't use this for other IDE storages devices as it's fixed to the 128MB standard X-MASS DOMs.
After the formatting you should be able to add the X-MASS as a new IDE device (not partitioned) with the "control panel"/"mass storage".
Thanks a lot again to HAL6128 for the idea, sector dumps and testing!

Application is attached (source codes included).


Hi Prodatron


It all goes well up to the point where we write to the drive.and then it just falls back to the top Picture and then locks up .


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 09:33, 24 February 16
Silly question, does the DOM have a write-protection switch by any chance?


Like the one on SD cards...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:57, 24 February 16
No. It is an IDE flash drive, not a removable card.
If his X-MASS work with BDOS and can't be formated with SymbOS, that mean something may goes wrong about the software.
Because all the DOM don't have exactly the same "128MB" size, depending the flash used, it sould be interresting to test with a bit lower capacity?

EDIT:
Reading the other topic, it look that you can't access it from BDOS too.
Your board worked fine for me. May be, a power supply issue? Or something goes wrong with the DOM...
I should replace your full board and do extra-test if you want.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 10:03, 24 February 16
Quote from: Audronic on 05:47, 24 February 16

Hi Prodatron


It all goes well up to the point where we write to the drive.and then it just falls back to the top Picture and then locks up .


Ray
It's a little bit misleading that the window pop up again or stays, but it's ok. Your DOM should be formatted and you should have access via SymCommander.
Just a little question: Have configured your XMASS with ControlPanel before formatting?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:25, 24 February 16
Quote from: HAL 6128 on 10:03, 24 February 16
It's a little bit misleading that the window pop up again or stays, but it's ok. Your DOM should be formatted and you should have access via SymCommander.
Just a little question: Have configured your XMASS with ControlPanel before formatting?


Hi Hal 6128

I have only the SymbOS Roms fitted,  I have removed The FW3.15 Roms as well, I have tried with another Working DOM that was used in an Other Project (TRS-80).
I am beginning to believe that the X-Mass card is Unwell.

Yes I have tried to configure the XMASS with the control panel.


Have started SymbOS with |sym  from Rom and Run"sym" from Floppy

And the problem still persists.

I will keep on trying


Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 10:44, 24 February 16
Hi Ray, it's probably a hardware issue, if BDOS fails as well.
The formatting tool should be finished after about 5 seconds, and then you should see the confirmation message. But in your case the whole system is hanging or only the tool itself isn't responding anymore? (which means that it's waiting for "data request" forever)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:49, 24 February 16
Hi Prodaton


A complete lockup.
It locks up as soon as i hit the button.


Drats.


Thanks   Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 15:18, 24 February 16
Just to understand, what is precisely :

-cylinder low
-cylinder high
-sector count (number of sector we want to count?)
-sector number (1st sector ?)

How many cylinders ? How many sectors (256 ?)

where can we find the directory (sector/cylinder?)

Thanks to reply these questions very important for a lot of people (like me!)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 20:46, 24 February 16
When using CHS (cylinder/head/sector) addressing you have still sectors, tracks (=cylinders) and heads (for a floppy this would be disc side 1 and side 2). The track number (cylinder) is 16bit, the sector number is 8bit and the head number is 4bit (so a hard disc could have 16 different "sides").
It depends on the harddisc how many sectors, tracks and heads are available, there is a special command for reading these information.

Today CHS isn't used anymore and had been replaced by LBA (logical block addressing). Here you only have sectors 0-xxxxx, and they can have 28 (128GB) or even 48bit (128PB) addresses, which makes it easier and faster to address a cluster/sector. LBA "misuses" the sector (bit 0-7), cylinder (bit8-23) and head (bit24-27) bits of the IDE registers for setting the LBA28 address.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 22:51, 24 February 16
Quote from: Ast on 15:18, 24 February 16
Just to understand, what is precisely :
...
How many cylinders ? How many sectors (256 ?)

where can we find the directory (sector/cylinder?)

Thanks to reply these questions very important for a lot of people (like me!)
You will find any information in the FAT16/32 Specification from Microsoft.
For example: if there is no partition then the first physical sector (LBA 0 or CHS 0/0/1) provide a standard boot sector with 512 Bytes of information.
Here you can read:
at Byte 11&12 the number of Bytes per Sector (default=512 Bytes with FAT16/32), so Byte 11 holds &00 and Byte 12 hold &02.
at Byte 13 there's the number of Sectors per Cluster. If you format a harddrive from Windows you can change the cluster size (e.g. 2K = 4 Sectors / 4K = 8 Sectors and so on.)
at Byte 16 the number of FAT table (default = 2)
and so on.
FAT16 and FAT32 differs from Byte 32 where they have different standards until the boot code.
With all the information you can calculate the Filesystem, FAT table and the Start Sector of the Root-Directory.
If you are in the Root Directory you are able to seek after filenames, attributes, starting cluster ("almost" similar to the CP/M ) in a 32 Byte information block. Ok CP/M has no FAT table, but it is in principle integrated in the 32 Byte block or split into more then one entry.

Look for Spec. of MS. It's very clear, but you will need to read it more than one times before understanding...(ok, this counts only for me). :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 01:06, 25 February 16
For those who are interested... Just click Here (http://read.pudn.com/downloads77/ebook/294884/FAT32%20Spec%20(SDA%20Contribution).pdf) to download Microsft's fat 12/16/32's doc.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:15, 25 February 16

FirmWare 3.16 (Unofficial Installer ) Caveat Emptor.

A Copy of the Disc that i used to Install Firmware 3.16.
As SyX said Use it to test your system it is NOT an Official release.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 11:58, 25 February 16
and what about x-Mass ? I don't really understand why you post fw316 here ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 13:09, 25 February 16
@ast


Because it was used in my testing of the X-Mass.
SyX referred to it earlier in this thread.Reply #322

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 13:40, 25 February 16
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573): The Fw 3.16 disabled the RAM disk at boot so as to launch the X-Mass ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 13:43, 25 February 16
So we can use the x-mass with this fw ?
What are the new functions ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 13:45, 25 February 16
There are not so much details at the moment; we have to wait for the final release  :D

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: MacDeath on 14:57, 25 February 16
Ast is really craving for the full use of his X-MASS indeed...
;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 15:11, 25 February 16
Quote from: MacDeath on 14:57, 25 February 16
Ast is really craving for the full use of his X-MASS indeed...
;)


Like all of us  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 18:42, 25 February 16
Quote from: Prodatron on 23:08, 23 February 16
We just finished the little formatting tool for the standard X-MASS 128MB DOM storages!
....
Application is attached (source codes included).

Just because I'm curious. Are there any other people who tested that application?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 22:22, 25 February 16
Quote from: Ast on 13:43, 25 February 16
So we can use the x-mass with this fw ?
What are the new functions ?
Hi Ast
The only information that i have is :-
Below is a quote from Syx in the GitHub

FW3.1X
A few patches for the original firmware of the Amstrad CPC.
Last version: 3.16
Changeling:

Disabled the ram disk for the launch of the XMASS rom.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:41, 25 February 16
Do i have to use ata doc or Microsoft ide doc when i send #ec command ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 22:47, 25 February 16
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573) : you have to consider the ATA documentation. The identify device has nothing to do with the (a) filesystem.

By the way: the fw3.1x has also nothing to do (as far as I can see today) with a integration of the X-Mass in the CPC environment. No driver (system )has been included. You need or wait for the extra ROM or software to communicate with the X-Mass.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 22:51, 25 February 16
Quote from: Ast on 22:41, 25 February 16
Do i have to use ata doc or Microsoft ide doc when i send #ec command ?
ata doc for hardware (e.g. nec765 for disc)
microsoft doc for filesystem (e.g. cpm/amsdos for disc)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:53, 25 February 16
So how can i do to give back count sector, sector number, cylnder low and high and adress of directory or which position?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 23:01, 25 February 16
Quote from: Ast on 22:53, 25 February 16
So how can i do to give back count sector, sector number, cylnder low and high and adress of directory or which position?
this would be in the microsoft doc because it is part of filesystem.

i dont know if the x-mass is partitioned.

with fat filesystem there is 1 root directory. inside the root directory there are entries for files and sub-directories with the cluster of the start of the file. the is the number in the fat table. Then you can follow the chain of clusters to find all parts of the file or sub-directory.


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:16, 25 February 16
I really need help from those who know...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 23:20, 25 February 16
...so, everything what you need (or I read out of you question) is described in the MS-Filesystem (FAT16/32):

Normally the X-Mass is not used to be partioned. So, there is no MBR (with a partition table), but a Boot-Sector of a file sytem (FAT16) on the first physical sector.

Regarding the MS-Spec: You only have to take care (...in the spec) between the difference of a FAT16 FS with a fixed position of the beginning of the Root-Directory ( e.g. Boot-Sector at LBA0, first FAT-table at LBA1, second FAT-table at LBAxxx and Root-Directory at LBAxxx, the information of xxx  has to be calculated with information in the Boot-Sector) and the FAT32 with a flexible Root-Directory which start at (normally) cluster 2. So, you have to calculate or find the information about cluster size, reserved sectors, sector size and multiplicate it as an offset to the start of the Boot-Sector.

I don't know how now how the formatting application from SyX/TotO determines the sectors of the DOM, so addresses could differ, but the formatting tool of Prodatron deliver a fixed BS at LBA0, first FAT-table at LBA1, second FAT-table at LBA257, Root-Direcotry-entry at LBA513. E.g. read the sector at address LBA513 you will read the first 32 entries of the Root-Directory (like CP/M).
But, if you want to stay flexible you have to calculate with the infos out of the Boot-Sector.
If you want to create an formatting application, you should need at least the information of the whole sector numbers of the drive, which could be provided by the &EC ATA command, and then calculate with the help of the MS-Spec. the cluster size etc. (as far as I know...)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 23:32, 25 February 16
Ok, maybe this will also help (LBA28Bit):
#FD0B  Sector Number  Sector Number  = LBA low (0-7)
#FD0C  Cylinder Low  Cylinder Low  = LBA mid (8-15)
#FD0D  Cylinder High  Cylinder High  = LBA high (16-23)
...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:36, 25 February 16
Quote from: HAL 6128 on 23:32, 25 February 16
Ok, maybe this will also help (LBA28Bit):
#FD0B  Sector Number  Sector Number  = LBA low (0-7)
#FD0C  Cylinder Low  Cylinder Low  = LBA mid (8-15)
#FD0D  Cylinder High  Cylinder High  = LBA high (16-23)
...
I already know that... What i want to know is where i can find these information when i send #ec command... In which adress, offset.?.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:43, 25 February 16
When i put #ec ata command i can't use ata doc or microsoft ide doc, because the informations are not present in the offset given...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 23:44, 25 February 16
You can't gain that information with the help of &EC. The ATA command will only provide information from the hardware, not filesystem.
The ATA command doesn't read the first sector, it's a hardware given information stored somewhere, maybe not on disc.

Read the first sector then look after (e.g. FAT32)

[attachimg=1]:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:54, 25 February 16
So i must use the #20 ata command to read a sector, am i ok with that ?
But which sector ? And which cylinder low, high ?
Sector count and sector number may have to be 1 and cylinder high and low must be 0 ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 09:25, 26 February 16
Quote from: Ast on 23:54, 25 February 16
So i must use the #20 ata command to read a sector, am i ok with that ?
But which sector ? And which cylinder low, high ?
Sector count and sector number may have to be 1 and cylinder high and low must be 0 ?
To make it simple, just forget about Sector/Cylinder/Track.
Just consider the device as a collection of 512 byte LBA.
If you only want to read/write to an existing partition, you can even forget about the identify device command.

At the beginning, you just read LBA0, which may contains a MBR (https://en.wikipedia.org/wiki/Master_boot_record), a FAT, or anything else like custom boot sector/ RDB / GUID)
You need to guess what is inside by verifying signature (ie 55AA et end of LBA for FAT/MBR, "FAT" in FAT ...)

If you have a MBR, just take the partition records in order, it (https://en.wikipedia.org/wiki/Master_boot_record#PTE) will tell you where the partition is, its type etc. Then read the LBA given and check that you have a FAT or not.

If you have a fat boot sector (either at LBA 0, or partition 1st LBA), you now have to use the microsoft documentation to access your data.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 09:34, 26 February 16
Quote from: Ast on 23:54, 25 February 16
So i must use the #20 ata command to read a sector, am i ok with that ?
But which sector ? And which cylinder low, high ?
Sector count and sector number may have to be 1 and cylinder high and low must be 0 ?
It is easier to work with LBA numbers. These are 0-max. (max is the number of 512 byte sectors on the device).

The ATA doc describes which bits of LBA go into each register. Cylinder high,low, sector registers etc are re-used in LBA mode to define some bits of the LBA.

Use #20 ata command to read.

To find which LBA to read with #20 follow gerald's advice. Read the MBR from LBA 0, find the partitions, read the partition, find the root directory etc.


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 09:36, 26 February 16
#ec command tells you the number of 512 sectors in the device.
It tells the drives identity, and tells you which version of ATA it supports so you know which commands will work or not.

#20 is in ATA specification 1 and is supported by all specifications so it is good to use this.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 13:01, 26 February 16
What i found :

to select LBA mode, you must set bit 6 to 1 in Device/Head register so :


ld a,0+%01000000 ; set bit 6 to 1
ld bc,#fd0e ; ide Device/Head
out (c),a
;
bit 0...3 are used to select Head


is it good or not ?

Now, sector number, cylinder low and cylinder high & Device/Head composes Lba28 adress.

Is it that or not ?

-Count sector will always be 1 ?
-How can i do to switch off x-Mass light after reading the sector using the #20 command ?
-How can i do to reset x-Mass instead of switch off my Cpc ?



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 13:18, 26 February 16
Quote from: Ast on 13:01, 26 February 16
What i found :

to select LBA mode, you must set bit 6 to 1 in Device/Head register so :


ld a,0+%01000000 ; set bit 6 to 1
ld bc,#fd0e ; ide Device/Head
out (c),a
;
bit 0...3 are used to select Head


is it good or not ?
Good, more or less. If you write a generic driver, you have to add the 4 MSB of the LBA in the 4 LSB of that register

Quote from: Ast on 13:01, 26 February 16
Now, sector number, cylinder low and cylinder high & Device/Head composes Lba28 adress.

Is it that or not ?
Yes

Quote from: Ast on 13:01, 26 February 16
-Count sector will always be 1 ?
No, you can request up to 256 sector (0=256). Returned sector are all contiguous. If you request LBA0010 and 5 sector, you will get LBA0010, LBA0011 ... LBA0015.

Quote from: Ast on 13:01, 26 February 16
-How can i do to switch off x-Mass light after reading the sector using the #20 command ?
The light will stay on as long as its buffer is not empty. Did you read all data ?

Quote from: Ast on 13:01, 26 February 16
-How can i do to reset x-Mass instead of switch off my Cpc ?
Send a reset command, but then you will have to configure the DOM to 8bit mode again.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 13:34, 26 February 16
Quote from: gerald on 13:18, 26 February 16
Good, more or less. If you write a generic driver, you have to add the 4 MSB of the LBA in the 4 LSB of that register
Yes
No, you can request up to 256 sector (0=256). Returned sector are all contiguous. If you request LBA0010 and 5 sector, you will get LBA0010, LBA0011 ... LBA0015.
The light will stay on as long as its buffer is not empty. Did you read all data ?
Send a reset command, but then you will have to configure the DOM to 8bit mode again.

-the 4 LSB of that registers are used to select drive/side ? so 0 is good no ?
-How to select LBA0010 ? what value can i put in the LBA28 address ?
-buffer is not empty... I think i read all data. I used a routine like that :


          ld bc,#fd08 ; ide data register
          ld hl,buffer  ; data read will be set at buffer
          ld de,512    ; size of one sector
rd       in a,(c)
          ld (hl),a
          dec de
          inc hl
          ld a,d
          or e
          jr nz,rd

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 14:07, 26 February 16
Quote from: Ast on 13:34, 26 February 16
-the 4 LSB of that registers are used to select drive/side ? so 0 is good no ?
The 4 lsb of CDH register are LBA[27:24] bit when in LBA mode. You will need them for drive bigger than 8GB.

Quote from: Ast on 13:34, 26 February 16
-How to select LBA0010 ? what value can i put in the LBA28 address ?
If DEHL contains your LBA, you just put
  L in SECNUM (register 3)
  H in CYLLOW (register 4)
  E in CYLHIGH (register 5)
  (D and 0x0F) or 0x40[nb]or 0xE0, bit 7 and 5 are obsolete in later IDE spec, but i older one, these bit have to be set at 1[/nb] in CDH (register 6)

Remember that you have to fill all relevant register before writing the command.

Quote from: Ast on 13:34, 26 February 16
-buffer is not empty... I think i read all data. I used a routine like that :


          ld bc,#fd08 ; ide data register
          ld hl,buffer  ; data read will be set at buffer
          ld de,512    ; size of one sector
rd       in a,(c)
          ld (hl),a
          dec de
          inc hl
          ld a,d
          or e
          jr nz,rd

Did you wait for the data ready flag ?
After sending a command, you have to poll the status register. As long as bit 7 of this register is high, the command is still in progress and other bit are not valid. Reading data register during this time will return garbage.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 14:35, 26 February 16
Quote from: gerald on 14:07, 26 February 16
Did you wait for the data ready flag ?
After sending a command, you have to poll the status register. As long as bit 7 of this register is high, the command is still in progress and other bit are not valid. Reading data register during this time will return garbage.
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573): Sorry I didn't add that to my example code.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 14:37, 26 February 16
Yes I do this to wait for data request :


wait    ld bc,#Fd0f
waitda in a,(c)
          and #08
          jr z,waitda
...

just before my read routine...

my proggy is like that :


          ...
          ld bc,#Fd0e
          ld a,0+%01000000 ; set bit 6 to 1 to enter LBA Mode
          out(c),a
;
          ld bc,#fd0a
          ld a,1 ; sector count
          out (c),a
          inc c
;
          ld a,0 ; sector number - bits (7:0)
          out (c),a
          inc c
;   
          ld a,0 ; cylinder low - bits (15:8)
          out (c),a
          inc c
;
          ld a,0 ; cylinder high - bits (23:16)
          out (c),a
          inc c
;
          ld a,#20 ; Read function
          out (c),a
;
          call wait ; wait request
          ld bc,#fd08 ; ide data
          ld hl,#1000 ; buffer
          ld de,512
read    in a,(c)
          ld (hl),a
          inc hl
          dec de
          ld a,d
          or e
          jr nz,read
          ret

Here you could find the entire routine i wrote to read x-Mass Lba data...
Give me your opinion and where i made mistakes to read Lba0 ????

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 14:45, 26 February 16
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573): code looks good to me.

Does your code get to the reading of the data register? Maybe your code is stuck waiting for data ready but device has return an error?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 14:51, 26 February 16
Yes my code read data and put the result in #1000 up to #11FF.
I made some tests modifing sector number and many #ff byte are written in the zone (#1000-#11FF)
I don't find LBA0 and I don't know how to find it... pfff... What a pity !
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 15:02, 26 February 16
When I put sector num to 70, I have the follwing result... Is it good ????
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Fessor on 15:26, 26 February 16
For a boot Sector it looks good,  comparing with this
MS-DOS 5.0 Floppy Disk Boot Record (http://thestarman.pcministry.com/asm/mbr/DOS50FDB.htm)


*edit*
Overseen "Sector 70"
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 15:35, 26 February 16
So with all these informations who could tell me which value i'd have  to put to access root directory ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 16:06, 26 February 16
Quote from: Ast on 15:35, 26 February 16
So with all these informations who could tell me which value i'd have  to put to access root directory ?
To know where the root directory is located, you 1st need to determine which FAT you are looking at.
For FAT12/FAT16 this is a reserved area, and its location is expressed in LBA on the FAT boot sector.
For FAT32 this is a regular folder and its location is expressed in cluster on the FAT boot sector.
All this is well explain in the FAT32 specification (Chapter 3.5, P14).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Fessor on 16:13, 26 February 16
From the Values of the Screenshot
Byte B+C = 00 02 = 0x200 = 512 Bytes per Sector
Byte D = 2 = 2 Sectors per Cluster
Byte E + F = 21 00 = 0x21 = 21 reserved Sectors (starting with Sector 0) ; Fat begins at logical Sector nr 21.
Byte 10 = 2 = 2 FATs on disc
Byte 11+12 = Value for possible Root directory Entrys (dunno why set to 0)
Byte 13+14 = Total Sectors on Disc (dunno why set to 0)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 16:22, 26 February 16
Quote from: Fessor on 16:13, 26 February 16Byte 11+12 = Value for possible Root directory Entrys (dunno why set to 0)
Byte 13+14 = Total Sectors on Disc (dunno why set to 0)
Because it's a FAT32 partition, which leaves 0 here and uses 32bit values at another place (see the Microsoft documentation).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:10, 26 February 16
Quote from: gerald on 16:06, 26 February 16
To know where the root directory is located, you 1st need to determine which FAT you are looking at.
For FAT12/FAT16 this is a reserved area, and its location is expressed in LBA on the FAT boot sector.
For FAT32 this is a regular folder and its location is expressed in cluster on the FAT boot sector.
All this is well explain in the FAT32 specification (Chapter 3.5, P14).
In my case, my x-Mass is Fat32 format. So what are the value to access directory ? explanations will be welcomed.

(of course, i see the following formula : RootDirSectors = ((BPB_RootEntCnt * 32) + (BPB_BytsPerSec – 1)) / BPB_BytsPerSec)

the calcul would be :

((2*32)+(512-1))/512 -> 64,99.....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 17:22, 26 February 16
Quote from: Ast on 17:10, 26 February 16
In my case, my x-Mass is Fat32 format. So what are the value to access directory ? explanations will be welcomed.

(of course, i see the following formula : RootDirSectors = ((BPB_RootEntCnt * 32) + (BPB_BytsPerSec – 1)) / BPB_BytsPerSec)

the calcul would be :

((2*32)+(512-1))/512 -> 64,99.....
((2*32)+(512-1))/512 = 64, you're doing integer calculation.
Are you sure you have a FAT32 ? Your BPB_RootEntCnt sould be 0, and RootDirSectors= 0
Note that RootDirSectors tells you the size (in sectors) of the root directory, not where it is located.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:27, 26 February 16
@Gerald : see pictures in reply #454, you could see FAT32... (address #1050)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 17:32, 26 February 16
Please have a look at the document.
It says (page 13):
QuoteRootDirSectors = ((BPB_RootEntCnt * 32) + (BPB_BytsPerSec – 1)) / BPB_BytsPerSec;
Note that on a FAT32 volume the BPB_RootEntCnt value is always 0, so on a FAT32 volume RootDirSectors is always 0.

RootDirSectors is not the start position of the root directory but its size for FAT12 and FAT16 partitions.

The root directory of a FAT32 partition starts at this cluster (page 22):
QuoteFor FAT32, the root directory can be of variable size and is a cluster chain, just like any other
directory is. The first cluster of the root directory on a FAT32 volume is stored in BPB_RootClus.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:47, 26 February 16
The value (4 bytes) is 0x00000002, so the result is the same as previous... 64
and now ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 17:54, 26 February 16
Quote from: Ast on 17:47, 26 February 16
The value (4 bytes) is 0x00000002, so the result is the same as previous... 64
and now ?
RootEntCnt is 2 byte, at offset 17 (0x11) : 0x0000 on the picture you posted  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 18:07, 26 February 16
So, when you take the 2 bytes (#3F,#00)...
the result is 1,121.... so... the winner is ?????
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 18:13, 26 February 16
Quote from: Ast on 18:07, 26 February 16
So, when you take the 2 bytes (#3F,#00)...
the result is 1,121.... so... the winner is ??? ??
0x00 0x00, where do you see 3F 00 at offset 0x11 ?
[attachimg=1]
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 18:16, 26 February 16
J'étais parti sur #17 (juste en dessous :-p). Désolé je parlais en Hexa.
J'ai confondu 17 avec #17...

Donc je ne vois pas ce que ça peut donner et où trouver ce ?#** de directory...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 18:29, 26 February 16
That's normal to have 00 because the doc says : **

For FAT32 volumes, this field must be set to 0.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 18:44, 26 February 16
Quote from: Ast on 18:16, 26 February 16
Donc je ne vois pas ce que ça peut donner et où trouver ce ?#** de directory...
Si tu t'arrete a ca, t'es pas pret de le trouver  :laugh:


You need to follow the procedure :
Get the partition type. To do this you have to know the total number of cluster available for data storage :
DataSec = TotSec – (BPB_ResvdSecCnt + (BPB_NumFATs * FATSz) + RootDirSectors);
CountofClusters = DataSec / BPB_SecPerClus


Now you know which fat type you have with this test :
If(CountofClusters < 4085) {
/* Volume is FAT12 */
} else if(CountofClusters < 65525) {
/* Volume is FAT16 */
} else {
/* Volume is FAT32 */
}


Once you know you fat type, you know where to get your root directory sector/cluster
For FAT32 it's at offset 44 (0x2C), and it' a cluster number, not a sector.

To translate the cluster number to LBA, you have some additional calculation:
The 1st usable data sector is after the reserved sector, FAT(s),  and root dir sectors. And you have to remember that sectors are relative to the partition.
Something like

sector = PartitionOffset                + // sectors a relative to start of partition
              cluster - 2                       +  // cluster start at 2
              BPB_RsvdSecCnt            +  // 
              FATSize * BPB_NumFATs + // FATSize location is function of fat type, number of fat can be 1 or more
              RootDirSectors

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 19:10, 26 February 16
So, I must calculate to see the result :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 19:27, 26 February 16
To Gerald :

if BPB_FATSz16 (Offset 22, 2 bytes) field is fill of zero (00 00), you have a FAT32 volume....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 20:03, 26 February 16
The document describes it very clearly:

Quote
If(CountofClusters < 4085) {
/* Volume is FAT12 */
} else if(CountofClusters < 65525) {
/* Volume is FAT16 */
} else {
/* Volume is FAT32 */
}
This is the one and only way that FAT type is determined. There is no such thing as a FAT12 volume
that has more than 4084 clusters. There is no such thing as a FAT16 volume that has less than 4085
clusters or more than 65,524 clusters. There is no such thing as a FAT32 volume that has less than
65,525 clusters.
[...]
NOTE: As is noted numerous times earlier, the world is full of FAT code that is wrong.

;)

PS: And yes, we already had problems on the MSX: Someone tried to extend FAT16 partitions in an illegal way, as he didn't follow this rule, and SymbOS was thinking that it's FAT32.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 20:21, 26 February 16
You're right Prodatron but what i have written is also written in the ide Microsoft's documentation... Just see Page 9.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 20:27, 26 February 16
That's true, but for a good implementation you should exactly follow these official rules, as you can never know what could go wrong in other respects, and it wouldn't be your fault.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 20:28, 26 February 16
Quote from: Ast on 20:21, 26 February 16
You're right Prodatron but what i have written is also written in the ide Microsoft's documentation... Just see Page 9.
The documentation say that if you have a FAT32, those bytes are 0. Not the other way round.
You should not assume that if these byte are 0, you have a FAT32.
The only way to get the fat type is by calculating the number of clusters your partition have.

edit: some missing char .... really should re-read before posting  :picard:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 20:33, 26 February 16
I must admit, that I really liked this Microsoft document back in these days, as it is written in an "idiot proofed" way (and this FAT detection paragraph is an example for this).
They provide formulas for everything you need to calculate and they often describe things in more than one sentence to ensure, that it's really clear for the coder.

Example: "There is considerable confusion over exactly how this works, which leads to many "off by 1", "off by 2", "off by 10", and "massively off" errors. It is really quite simple how this works. The FAT type— one of FAT12, FAT16, or FAT32—is determined by the count of clusters on the volume and nothing else." :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 20:58, 26 February 16
You could also read ascii char "FAT xx", and you'll know where you re.
In the pictures i posted here you could read "FAT 32"
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 21:23, 26 February 16
Quote from: Ast on 20:58, 26 February 16
You could also read ascii char "FAT xx", and you'll know where you re.
In the pictures i posted here you could read "FAT 32"
BS_FilSysType :
NOTE: This string is informational only and does not determine the FAT type.
;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:38, 27 February 16
Quote from: Ast on 17:10, 26 February 16
In my case, my x-Mass is Fat32 format. So what are the value to access directory ? explanations will be welcomed.

(of course, i see the following formula : RootDirSectors = ((BPB_RootEntCnt * 32) + (BPB_BytsPerSec – 1)) / BPB_BytsPerSec)

the calcul would be :

((2*32)+(512-1))/512 -> 64,99.....
Sorry but i make a big mistake because on fat32 BPB_RootEntCnt value is 0 so :

((0*32)+(512-1))/512 -> 0,9980

value is Strange, no ??
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 21:56, 27 February 16
Quote from: Ast on 21:38, 27 February 16
Sorry but i make a big mistake because on fat32 BPB_RootEntCnt value is 0 so :

((0*32)+(512-1))/512 -> 0,9980

value is Strange, no ??
No, that's expected.
You only keep the integer part, and 0 is expected.

This calculation is to know the minimal number of sector needed by the root directory according to the number of entry.
The (512-1)[nb]It could have been anything between 512-1 and 512-32[/nb] term is there to force one sector as soon as 1 entry is required when doing round down arithmetic.
Then you just have to shift right by 9 bit to get your result.
That's the fastest way.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:11, 27 February 16
Quote from: gerald on 21:56, 27 February 16
Then you just have to shift right by 9 bit to get your result.
That's the fastest way.
shift right by 9 bit ???

You think about multiply 9 times (512-1)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:16, 27 February 16
Quote
4.1: Determination of FAT entry for a cluster
Given any valid cluster number N, this section describes the algorithm used to determine the
entry in the FAT(s) for that cluster number.
FAT 16 and FAT 32
The FAT entry in the first FAT is determined as described below:
If(BPB_FATSz16 != 0)
FATSz = BPB_FATSz16;
Else
FATSz = BPB_FATSz32;
If(FATType == FAT16)
FATOffset = N * 2;
Else if (FATType == FAT32)
FATOffset = N * 4;
ThisFATSecNum = BPB_ResvdSecCnt + (FATOffset / BPB_BytsPerSec);
ThisFATEntOffset = REM(FATOffset / BPB_BytsPerSec);2

What is N value ???
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 22:37, 27 February 16
Quote from: Ast on 22:11, 27 February 16
shift right by 9 bit ???

You think about multiply 9 times (512-1)
Division by 512 = shift right by 9 bit (512 = 2^9)

Quote from: Ast on 22:16, 27 February 16
What is N value ???
N is the cluster value. 12 bit in FAT12, 16 bit in FA16, 32 bit in FAT32
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:37, 27 February 16
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) : tu ne serais pas un peu moqueur toi ???? :-D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 23:54, 27 February 16
I agree about using bit shifting to do 2^n calculations.  :-*
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Executioner on 00:00, 28 February 16
Quote from: gerald on 22:37, 27 February 16
Division by 512 = shift right by 9 bit (512 = 2^9)
N is the cluster value. 12 bit in FAT12, 16 bit in FA16, 32 bit in FAT32

I wouldn't be using simple shifting for multiples of 8 bits. If it's in assembler, use LD reg, reg to shift the 8 bits, then a single shift for the 9th. Not sure how you'd do that in C precisely. (Of course, a decent optimising compiler might do it for you on >> 9)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 10:15, 28 February 16
Quote from: Executioner on 00:00, 28 February 16
I wouldn't be using simple shifting for multiples of 8 bits. If it's in assembler, use LD reg, reg to shift the 8 bits, then a single shift for the 9th. Not sure how you'd do that in C precisely. (Of course, a decent optimising compiler might do it for you on >> 9)
I usually look at the compiled C to see it the compiler is decent, and then adapt the code if not.  ;)
I think Ast is using ASM, and to my mind shifting by 9 is dropping le LSB + one shift.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 13:39, 28 February 16
Here is the result of what is written in Microsoft's doc :

Quote
FDT start sector

33 = ResvdSecCnt
02 = BPB_BytsPerSec
00000002 = FATSz32

FatOffset = N*4

Si N=1 alors FatOffset=4
----

formule :

FatSecNum=RevdSecCnt+(FatOffset/BPB_BytsPerSec)
=33+(4/2)
=35
-----
FatEntOffset=(FatOffset/BPB_BytsPerSec)
=(4/2)

------
SectorNumber=(FatNumber*FATSz32)+FatSecNum

FatNumber=2 pour second Fat, 3 pour 3ème..etc

-> (2*2)+35=39

But what can i do now ???


Edit :
Exploring all X-mass sectors, i finally found the directories...
Directories seems to use 2 sectors, then displays the files present in this directory...

More far, you can find another directory (2 sectors too), + files are following...

I really need to know how it works (I know many things to make a driver but I want to know more...)

Edit 2:
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) : Why is my X-Mass formated in Fat32? Can you tell me where I can find the directory of ACMEdos ?
---
@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) : Why do your SymbOS format Tools use Fat 16 format ?

Some words : I think using Fat16 for x-Mass would have to be better cause of his size (128 Mb) It's written in the Microsoft's Doc because Fat 32 use mirrors and lost spaces on the disc...
Fat 32 is more interresting for bigger spaces >128 Mb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:49, 28 February 16
Yes, it is possible that you DOM was formated in FAT32. It is not a problem as SymbOS work fine with...
But, better to reinitialise it by using the unparted FAT16 tools now.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 15:03, 28 February 16
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) : which is the tool you use to format these DoM ?
Have you connected them in usb using an usb 44 pins adaptator ?

---

You haven't answer my question about ACMEdos...

Quote
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) : Why is my X-Mass formated in Fat32? Can you tell me where I can find the directory of ACMEdos ?

Edit : Concerning the fat16 format, yes i'll do it for sure, but Prodatron, is your format Tools will erase SymbOS on the X-Mass ? Do i have to re-install SymbOS after the formatting ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:25, 28 February 16
The SymbOS tool destroy the FAT to create and unparted FAT16 device, like expected by ACMEDOS.
So yes, you will have to copy again your files on the DOM after.

I will like to have the same from BASIC to initialize the DOM before shipping the X-MASS, but it is not the case.
So... Actually, I connect the DOM to a PC and I use Windows to format them.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 15:37, 28 February 16
Quote from: Ast on 13:39, 28 February 16
Here is the result of what is written in Microsoft's doc :
But what can i do now ???
Let's start from the begining

0x00B : BPB_BytsPerSec : 00 02 -> 512 byte per sector
0x00D : BPB_SecPerClus : 02    -> 2 sector per cluster
0x00E : BPB_RsvdSecCnt : 21 00 -> 33 reserved sector
0x010 : BPB_NumFATs    : 02    -> 2 FAT
0x011 : BPB_RootEntCnt : 00 00 -> 0 Root entry
0x013 : BPB_TotSec16   : 00 00 -> 0 -> look at BPB_TotSec32
0x016 : BPB_FATSz16    : 00 00 -> 0 -> look at BPB_FATSz32

0x020 : BPB_TotSec32   : 0f ad 03 00 -> 240911 sectors
0x024 : BPB_FATSz32    : a6 03 00 00 -> 934 sectors

To find the 1st sector of data section :
1- get the number of sector used by the FAT12/16 root directory
RootDirSectors  = (BPB_RootEntCnt  * 32 + BPB_BytsPerSec-1 ) / BPB_BytsPerSec;
                = (        0       * 32 + 512           -1 ) / 512
                = 0
2- get the number of sectors used by non-data section
systemSectors = BPB_RsvdSecCnt + BPB_FATSz * BPB_NumFATs + RootDirSectors
              = 33             + 934       * 2           + 0
              = 1901

3- get the number of cluster for data storage
clusters = (BPB_TotSec - systemSectors) / BPB_SecPerClus
         = (240911     - 1901         ) / 2
         = 119504

119504 > 65525 => FAT32 => root directory is a regular folder starting at cluster BPB_RootClus

0x0x2c : BPB_RootClus : 02 00 00 00 -> cluster 2

Now where is cluster N on disk :
1stClusterSector = patritionOffset +  systemSectors + (N-2)*BPB_SecPerClus
                 = patritionOffset +  1901          + (2-2)*2
                 = patritionOffset +  1901

Quote from: Ast on 13:39, 28 February 16
Edit :
Exploring all X-mass sectors, i finally found the directories...
Directories seems to use 2 sectors, then displays the files present in this directory...

More far, you can find another directory (2 sectors too), + files are following...


I really need to know how it works (I know many things to make a driver but I want to know more...)
The fact that files are following the directories is just a side effect of when these were written. Do not count on that to find your way.
All you need to know is were to find on which cluster start a file/directory, and this is within the Fat directory structure : collection of 32bytes that makes a directory.
Next you need to understand how to follow the cluster chain, ie use the FAT itself.

Quote from: Ast on 13:39, 28 February 16
I think using Fat16 for x-Mass would have to be better cause of his size (128 Mb) It's written in the Microsoft's Doc because Fat 32 use mirrors and lost spaces on the disc...
Fat 32 is more interresting for bigger spaces >128 Mb
Its a trade-off.
To use a FAT16 on a 128MB device you have to use 2k clusters.
If you store a majority of small file (let say less than 1k), you end up wasting half your storage space.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 16:17, 28 February 16
Another advantage of FAT32 is the "FSInfo" sector, which is speeding up cluster allocation and free space calculation:
It stores "FSI_Free_Count" and FSI_Nxt_Free". The latter one makes it much faster to allocate new clusters inside the FAT (writing new files or extending existing files is quicker). With FAT12 and FAT16 you always have to search through the whole FAT when you need a new cluster.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 16:40, 28 February 16
Quote from: Prodatron on 16:17, 28 February 16
Another advantage of FAT32 is the "FSInfo" sector, which is speeding up cluster allocation and free space calculation:
It stores "FSI_Free_Count" and FSI_Nxt_Free". The latter one makes it much faster to allocate new clusters inside the FAT (writing new files or extending existing files is quicker). With FAT12 and FAT16 you always have to search through the whole FAT when you need a new cluster.
You still need to maintain tha FSI_Nxt_Free, so you still have to search for it  ;) (but if done well, you do not need to parse the FAT from begining)
However, the FSI_Free_Count is real speedup.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 16:41, 28 February 16
First Step after using the SymbOS format tool...

Now DoM is Fat16 formatted so :

-> Re-install properly SymbOS (I really love it, very well done Prodatron!!!)
-> Install Properly all the Tools
-> Create "Format XMASS Dom" icône... I know, icône picture is still missing ^^

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 16:48, 28 February 16
Quote from: gerald on 15:37, 28 February 16
Let's start from the begining

0x00B : BPB_BytsPerSec : 00 02 -> 512 byte per sector
0x00D : BPB_SecPerClus : 02    -> 2 sector per cluster
0x00E : BPB_RsvdSecCnt : 21 00 -> 33 reserved sector
0x010 : BPB_NumFATs    : 02    -> 2 FAT
0x011 : BPB_RootEntCnt : 00 00 -> 0 Root entry
0x013 : BPB_TotSec16   : 00 00 -> 0 -> look at BPB_TotSec32
0x016 : BPB_FATSz16    : 00 00 -> 0 -> look at BPB_FATSz32

0x020 : BPB_TotSec32   : 0f ad 03 00 -> 240911 sectors
0x024 : BPB_FATSz32    : a6 03 00 00 -> 934 sectors

To find the 1st sector of data section :
1- get the number of sector used by the FAT12/16 root directory
RootDirSectors  = (BPB_RootEntCnt  * 32 + BPB_BytsPerSec-1 ) / BPB_BytsPerSec;
                = (        0       * 32 + 512           -1 ) / 512
                = 0
2- get the number of sectors used by non-data section
systemSectors = BPB_RsvdSecCnt + BPB_FATSz * BPB_NumFATs + RootDirSectors
              = 33             + 934       * 2           + 0
              = 1901

3- get the number of cluster for data storage
clusters = (BPB_TotSec - systemSectors) / BPB_SecPerClus
         = (240911     - 1901         ) / 2
         = 119504

119504 > 65525 => FAT32 => root directory is a regular folder starting at cluster BPB_RootClus

0x0x2c : BPB_RootClus : 02 00 00 00 -> cluster 2

Now where is cluster N on disk :
1stClusterSector = patritionOffset +  systemSectors + (N-2)*BPB_SecPerClus
                 = patritionOffset +  1901          + (2-2)*2
                 = patritionOffset +  1901


Now, I'm in Fat16 format, so all calculate must be done !!!
But, good news, first sector (0) is Fat16 one ;-)

So many data to read...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 16:56, 28 February 16
Quote from: Ast on 16:41, 28 February 16
First Step after using the SymbOS format tool...

Now DoM is Fat16 formatted so :

-> Re-install properly SymbOS (I really love it, very well done Prodatron!!!)
-> Install Properly all the Tools
-> Create "Format XMASS Dom" icône... I know, icône picture is still missing ^^

I am glad that it works, @Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573) ! :)

Ok, I will add an icon for this little app  :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 17:02, 28 February 16
Quote from: gerald on 16:40, 28 February 16
You still need to maintain tha FSI_Nxt_Free, so you still have to search for it  ;) (but if done well, you do not need to parse the FAT from begining)
However, the FSI_Free_Count is real speedup.
You are right, but FSI_Nxt_Free usually points to the end or close to the end of the existing FAT entries, so in most cases there are not many entries to parse. Indeed you have to update this FSInfo entry everytime you allocate or free clusters (same for FSI_Free_Count), but in total it's faster in most cases.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:33, 28 February 16
Quote from: Prodatron on 16:56, 28 February 16
I am glad that it works, @Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573) ! :)

Ok, I will add an icon for this little app  :D
Yeahhh, it will be cool to have an icon...
If possible, add Something like one key to modify drive a to drive c instead of all these modification.... It will be better to install...
Or maybe an install file... if you had time, many time... many many time...

Do you remember, a few years ago, when i ask you to make a part for the "only for your eyes 2 Megademo" ? A really fucking cool time...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 18:06, 28 February 16
Quote from: Ast on 17:33, 28 February 16If possible, add Something like one key to modify drive a to drive c instead of all these modification.... It will be better to install...
Or maybe an install file... if you had time, many time... many many time...
Yes, I will do that definitely, as I already told MacDeath :)
Quote from: Prodatron on 15:25, 22 February 16I am planning to add a setup utility for the CPC version of SymbOS 3.0 which can be started after booting the first time, which will do all this automatically.
This release is planned for May, maybe I can release another preview before.

Quote from: Ast on 17:33, 28 February 16Do you remember, a few years ago, when i ask you to make a part for the "only for your eyes 2 Megademo" ? A really fucking cool time...
Holy shit, you are right, yes I remember!  :o :D That's more than 20 years ago! :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:23, 28 February 16
Now it's time to give you new values :


BytsPerSec : #0002
SecPerClus : #04
RsvdSecCnt : #0001
NumFATSz : #02
RootEntCnt : #0002
TotSec16 : #0000
Media : #f8
FATSz16 : #0100
SecPerTrk : #0020
NumHead : #0040
HiddSec : #00000000
TotSec32 : # 000367e0
---
Ok for these value but with these info i don't find the entry of directory... Fuck off... :-(


I know the sector of the directory (#221) but i found it after seeing sector per sector (hard and long...)
It could be so easy to use a formula to find it... Help should be welcome here !


@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) : your format tool doesn't erase all data presents on the x-mass but only implents fat16 format in sector 0, am i right ?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:51, 28 February 16
Quote
BPB_SecPerClus
                 = patritionOffset +  1901          + (2-2)*2                 = patritionOffset +  1901

@Gerald : where can i find partitionOffset ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 23:53, 28 February 16
Quote from: Ast on 23:23, 28 February 16@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) : your format tool doesn't erase all data presents on the x-mass but only implents fat16 format in sector 0, am i right ?
Yes, it exactly prepares...
- the boot sector (sector 0)
- the FAT
- and the root directory (some more sectors)
...like HAL6128 made ist. So it's like a "quick format", which does all what is needed to init a mass storage with a file system without proceeding/rewriting every single sector (which would take longer but doesn't make any sense in a normal case).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 09:48, 29 February 16
Quote from: Ast on 23:51, 28 February 16
@Gerald : where can i find partitionOffset ?
In the partition table  ;)
If you don't have one, it's 0.

Quote from: Ast on 23:23, 28 February 16
BytsPerSec : #0002
SecPerClus : #04
RsvdSecCnt : #0001
NumFATSz : #02
RootEntCnt : #0002
TotSec16 : #0000
Media : #f8
FATSz16 : #0100
SecPerTrk : #0020
NumHead : #0040
HiddSec : #00000000
TotSec32 : # 000367e0
---
Ok for these value but with these info i don't find the entry of directory... Fuck off... :-(


I know the sector of the directory (#221) but i found it after seeing sector per sector (hard and long...)
It could be so easy to use a formula to find it... Help should be welcome here !
Your RootEntCnt look's wrong to me : only 2 entry in the root directory  :o . I guess it's 0x0200.


RootDirSectors  = (BPB_RootEntCnt  * 32 + BPB_BytsPerSec-1 ) / BPB_BytsPerSec;
                = (      512       * 32 + 512           -1 ) / 512
                = 32
2- get the number of sectors used by non-data section
systemSectors = BPB_RsvdSecCnt + BPB_FATSz * BPB_NumFATs + RootDirSectors
              = 1              + 256       * 2           + 32
              = 545

3- get the number of cluster for data storage
clusters = (BPB_TotSec - systemSectors) / BPB_SecPerClus
         = (223200     - 201          ) / 4
         = 55749

4085 <= 55749 <= 65525  :  FAT16 => root directory is just after the FAT(s) and BPB_RootEntCnt*32 long

So at BPB_RsvdSecCnt + BPB_FATSz * BPB_NumFATs = 1 + 256*2 = 0x201

The directory you see at 0x221 is not the root one, but the may be 1st directory created in the root one.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 11:06, 29 February 16
Quote from: Ast on 23:23, 28 February 16
Now it's time to give you new values :


BytsPerSec : #0002
SecPerClus : #04
RsvdSecCnt : #0001
NumFATSz : #02
RootEntCnt : #0002
TotSec16 : #0000
Media : #f8
FATSz16 : #0100 >> IS THIS and are the NEXT VALUES CORRECT read out???
SecPerTrk : #0020
NumHead : #0040
HiddSec : #00000000
TotSec32 : # 000367e0
---
Ok for these value but with these info i don't find the entry of directory... Fuck off... :-(


I know the sector of the directory (#221) but i found it after seeing sector per sector (hard and long...)
It seems that there is a error with reading the values from beginning RootCount (LSB first, MSB last) maybe one byte shifted during reading)? e.g. FATSz should #0001

With FAT16 everything is fixed:
that means the First Sector is for the Boot Sector Information (BytsPerSec : #0002 = 512 = only 512 Bytes) = 1
next comming two FAT table (NumFATSz : #02) with the size of (FATSz16 : #0001 = 256) = 2 * 256 = 512
next comming the Root Directory = 1 + 512 = 513

Attached you will find a small code in BASIC (txt-format). Maybe it helps you?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 12:56, 29 February 16
Quote from: gerald on 09:48, 29 February 16
In the partition table  ;)
If you don't have one, it's 0.
Your RootEntCnt look's wrong to me : only 2 entry in the root directory  :o . I guess it's 0x0200.


RootDirSectors  = (BPB_RootEntCnt  * 32 + BPB_BytsPerSec-1 ) / BPB_BytsPerSec;
                = (      512       * 32 + 512           -1 ) / 512
                = 32
2- get the number of sectors used by non-data section
systemSectors = BPB_RsvdSecCnt + BPB_FATSz * BPB_NumFATs + RootDirSectors
              = 1              + 256       * 2           + 32
              = 545

3- get the number of cluster for data storage
clusters = (BPB_TotSec - systemSectors) / BPB_SecPerClus
         = (223200     - 201          ) / 4
         = 55749

4085 <= 55749 <= 65525  :  FAT16 => root directory is just after the FAT(s) and BPB_RootEntCnt*32 long

So at BPB_RsvdSecCnt + BPB_FATSz * BPB_NumFATs = 1 + 256*2 = 0x201

The directory you see at 0x221 is not the root one, but the may be 1st directory created in the root one.

I confirm that there is no directory in #201... Directory starts in #221... Really Strange of course !
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 13:02, 29 February 16
Quote from: Ast on 12:56, 29 February 16
I confirm that there is no directory in #201... Directory starts in #221... Really Strange of course !
As HAL6128 said, your value seems wrong (endianess or shift ?).
Can you post a picture of the boot sector.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 13:08, 29 February 16
Here is the boot :

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 13:20, 29 February 16

Hello to all,


I'm a new member of the site and owner of three CPC 6128 (two are working  :) , one is dead :( ) ....

I have the X-MASS & X-MEM and are working fine with BonnyDOS 1.72 (modded to set the DoM as drive D), but I want to change to SymbOS because it seems more powerful. My question is ... the SymbOS ROMs/Disks include a format utility or I need to use the PC to re-format de DoM as FAT16?

My idea is:

- Flash the SymbOS ROMs at X-MEM
- Format the DoM and set it as drive D:
- Copy the INI file to the root of D: and the SymbOS disk contents to a Directory called D:/SymbOS

This setup can work with the RAM Disk C: and I can start SymbOS from D:?

Thanks in advance.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 13:31, 29 February 16
Hi Merlin,
         welcome to the Forum. I think I know you from Amibay too (assuming you're the same one)?

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 13:37, 29 February 16
Quote from: Ast on 13:08, 29 February 16
Here is the boot :
Any picture of the 1st sector of the root directory you found (0x0221) ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 13:44, 29 February 16
Hi Bryce,

Yes I'm

A very interesting site ... I hope that I can put my two pennyes.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:46, 29 February 16
Hey!

You should try this: X-MASS, a mass-storage expansion for all CPC. (http://www.cpcwiki.eu/forum/news-events/x-mass-a-mass-storage-expansion-for-all-cpc/msg120817/#msg120817)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 13:59, 29 February 16
Hello TotO

Thanks, I will try later at home ....  :)

Other question (sorry) .....

The drive D: will be available with Roms: AMSDOS, ParaDOS and SymbOS (flashed together at lower positions) without entering the SymbOS environmment? For example .... If I create a dir called GAMES01 put some game files inside ... I can play directly from D: ? Or I need other ROMs for that .....


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:05, 29 February 16
To use them from BASIC too, you will require ACMEDOS (wip).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 14:05, 29 February 16
After verification, you're right. The Root starts in #201.
#221 is the rest of the directory.
#225 is the start of the files.

How can I calculate faster the exact adress of each files ?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 14:15, 29 February 16
Quote from: TotO on 14:05, 29 February 16
To use them from BASIC too, you will require ACMEDOS (wip).


Is planned to be available shortly?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 14:18, 29 February 16
Quote from: Ast on 14:05, 29 February 16
After verification, you're right. The Root starts in #201.
#221 is the rest of the directory.
#225 is the start of the files.

How can I calculate faster the exact adress of each files ?
There is only one method to find the exact address of each file : read the FAT specification  ;D
You should read the Section 6: Directory Structure
Everything you need is there (hint : offset 20 and 26) of the 32 byte entry.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:22, 29 February 16
Quote from: merlinkv on 14:15, 29 February 16
Is planned to be available shortly?
Only gods known. (beta testing)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 14:26, 29 February 16
Quote from: merlinkv on 14:15, 29 February 16

Is planned to be available shortly?
You'll have to wait... ACMEdos is not ready yet.

@Gerald : there is a byte, for example in #105a, for the filename "APPCALC.EXE" (#03) , or in #107A for the file "APPCMDER.EXE" (#08) to access file sector faster, but I don't undestand how it works  ?
I'm going to read Section 6 as you told me... Maybe Something new.

@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) : Gods are waiting too... ^^
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 15:21, 29 February 16
Yo, here is the result of my research...

Remember old calculated Values :

RootDirSectors = 32
NumFats = 2
Fatz = 256
RsvdSecCnt = 1
SecPerClus = 4

--------
FirstDataSector = RsvdSecCnt + ( NumFats * Fatz ) + RootDirSectors
                       =          1        + (      2      * 256 ) + 32
                       = 545

545 -> #221 (Arf, I finally found it !!!)
--------
N=offset in #105B-#105A -> #0003

FirstSectorOfClusters = (( N - 2 ) * SecPerClus ) + FirstDataSector
                               = (( 3 - 2 ) *        4         ) + 545
                               =                 4                   + 545
                               = 549

549 -> #225 (Entry of the first file)

That rules !!!!!

Finally Section 6 allows me to succeed ;-) but I'd never succeed without my friends' help. Thanks.
                               





Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:30, 29 February 16
Hey men, it's not over...

We have to find how is calculated DIR_FileSize in Offset #28 (4 bytes)...

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 17:43, 29 February 16
Quote from: Ast on 17:30, 29 February 16
Hey men, it's not over...

We have to find how is calculated DIR_FileSize in Offset #28 (4 bytes)...
it's just a 32 bit value, nothing special (stored in little endian)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 18:38, 29 February 16
XMASS.EXE fails to start ... all times I get the "File is not executable: The selected file is not executable in the SymbOS environment." message .......  :(

Also I have found that the SymbOS only boots with FDD 40 tracks single side ..... ??
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 20:16, 29 February 16
SymbOS supports...

1.) CP/M based file systems:
- CPC Data format
- CPC System format
- PCW format

2.) FAT file systems:
- FAT12 format (all single and double side variations)
- FAT16 format
- FAT32 format

Regarding XMASS.EXE it seems that the file is corrupted on your computer?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 20:32, 29 February 16
Thanks for the infor Prodatron, I will try again ....

Errrrr .... I can read PCW disks with the CPC ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:15, 29 February 16
Quote from: gerald on 17:43, 29 February 16
it's just a 32 bit value, nothing special (stored in little endian)
I'm all right with that but it don't represent the size of the file...

I had spoken a lot here so see what i started to code... What do you think of ?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 21:15, 29 February 16
My steps:

- SymbOS roms installed.
- Recorded SymbOS-CPC.dsk on standard 3" CPC disk with WriteDSK 1.1 (I have it in ROM). Before, I've just added the Xmass.exe, Appcmder.exe and Appshell.exe files to the dsk file.
- System OFF .... ON ... |SYM ... SymbOS starts without problems.  :)
- SymCommander opens and I tried to execute Xmass.exe ....  :( same error as before.

Size of the Xmass.exe file is 3K (3072 bytes) downloaded from here .... is correct?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:21, 29 February 16
Yes, the size of "xmass.exe" is 3kb...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 21:25, 29 February 16
I don't know what is wrong ..... I think my steps are correct, right?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:34, 29 February 16
Follow this post : X-MASS, a mass-storage expansion for all CPC. (http://www.cpcwiki.eu/forum/news-events/x-mass-a-mass-storage-expansion-for-all-cpc/msg120696/#msg120696)

...

What i Do,

first copy all .rom on the X-Mem

-run"sym from disk
-Create a symbos repertory then copy from a: to c: all ".exe" files
-modify all parameters to make them run Under C: drive
-Save "symbos.ini in C drive on the root

As you probably guess C drive is X-Mass, of course.

reset then Go -> ùsym
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 21:49, 29 February 16
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573), that's f*ing cool!!!  ;D :o ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 21:51, 29 February 16
Quote from: merlinkv on 21:15, 29 February 16- SymCommander opens and I tried to execute Xmass.exe ....  :( same error as before
Size of the Xmass.exe file is 3K (3072 bytes) downloaded from here .... is correct?
Ops, strange. I will upload it to another place soon....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 21:52, 29 February 16
Quote from: Ast on 21:15, 29 February 16
I'm all right with that but it don't represent the size of the file...
According to microsoft, yes :o
DIR_FileSize | 28 | 32-bit quantity containing size in bytes of file/directory described by this entry.

What makes you think it's not ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:05, 29 February 16
Take the size of a file before copying in the X-mass with symbOS. Then when copying these file, look at the size. You'll see a little difference between the same file, approximatively 128 bytes (more or less).

@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) : Yes, it's good but the road is long to do Something better quickly usable.
I will be surprised to see that ACMEdos and SymbOS don't use the same Root, so it's impossible to see ACMEDOS directory from SymbOS and same thing from symbOS to ACMEdos...
But ACMEdos use Amsdos Compatibilty instead of SymbOS using FAT16 MS-DOS compatibility.
Two différents Tools in fact, but symbOS is more documented for the moment. So, guess which system i'll use ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 22:15, 29 February 16
Just a little problem ...... I can't copy to C: because SymbOS don't recognize my DoM.

Previously my DoM was formatted with BonnyDOS, but I've deleted the BonnyDOS partition before trying to use with SymbOS ....

I'm going crazy .... maybe is better to wait to the ACMEDOS rom .....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:20, 29 February 16
Do you format your Dom in Fat 16 ???
If not, wait for my next tool usable very very quickly !!! Then you can install SymbOS^^
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 22:21, 29 February 16
Quote from: merlinkv on 22:15, 29 February 16
Just a little problem ...... I can't copy to C: because SymbOS don't recognize my DoM.

Previously my DoM was formatted with BonnyDOS, but I've deleted the BonnyDOS partition before trying to use with SymbOS ....

I'm going crazy .... maybe is better to wait to the ACMEDOS rom .....

BonnyDOS is using an own filesystem which is proprietary and so not readable by any other system (like SymbOS). If you would be able to format the DoM again in FAT16 or FAT32 SymbOS would be able to handle it again. Strange, that the xmass.exe doesn't work, but I think it's just corrupt in your case.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 22:24, 29 February 16
Quote from: Ast on 22:05, 29 February 16
Take the size of a file before copying in the X-mass with symbOS. Then when copying these file, look at the size. You'll see a little difference between the same file, approximatively 128 bytes (more or less).
128 byte less, or 128 less ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 22:25, 29 February 16
Quote from: Ast on 22:05, 29 February 16
@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) : Yes, it's good but the road is long to do Something better quickly usable.
I will be surprised to see that ACMEdos and SymbOS don't use the same Root, so it's impossible to see ACMEDOS directory from SymbOS and same thing from symbOS to ACMEdos...
But ACMEdos use Amsdos Compatibilty instead of SymbOS using FAT16 MS-DOS compatibility.
Two différents Tools in fact, but symbOS is more documented for the moment. So, guess which system i'll use ?
AFAIK Acmedos supports FAT32 (and FAT16?) as well, so both SymbOS and Acmedos should be able to access the same directories and files on an IDE storage. I really wonder on what are you currently working!? :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 22:28, 29 February 16
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573) ... waiting for your tool mate ... Thanks

@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13), yes my friend I know BonnyDOS uses a different filesystem, but I've deleted the partition. About Xmass.exe I've downloaded the file three or four times from this site. then I unzipped it with different tools (to test) and same results .... 3072 bytes and not working ....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:31, 29 February 16
Quote from: gerald on 22:24, 29 February 16
128 byte less, or 128 less ?

Sometimes 70 bytes, sometimes 120, ... sometimes same size... Who knows why ? I've no idea about it....

Maybe it comes from the type (00,01,02... Basic, Bin, AscII, Protected or not...)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:33, 29 February 16
Quote from: merlinkv on 22:28, 29 February 16
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573) ... waiting for your tool mate ... Thanks

@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13), yes my friend I know BonnyDOS uses a different filesystem, but I've deleted the partition. About Xmass.exe I've downloaded the file three or four times from this site. then I unzipped it with different tools (to test) and same results .... 3072 bytes and not working ....

I think bunnyDos formatted or corrupted (why not?) a cluster, so your copy of xmass.exe is corrupted too...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 22:35, 29 February 16
Quote from: Ast on 22:31, 29 February 16
Sometimes 70 bytes, sometimes 120, ... sometimes same size... Who knows why ? I've no idea about it....

Maybe it comes from the type (00,01,02... Basic, Bin, AscII, Protected or not...)
This has to be checked with @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13)
It's Symbos that wrote the file to the disk.
And DIR_FileSize is the file size in byte, whatever you think  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 22:37, 29 February 16
So Prodatron, we are waiting for your answer about this point...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 22:38, 29 February 16
If I use BonnyDOS everything is working fine: dirs, files, copy, delete .... but, as I said, I've deleted the BonnyDOS partition, then I started SymbOS and xmass.exe from the 3" FDD (not from one BonnyDOS partition) ....

My 3" unit runs all games & tools ... the only file I can't run is xmass.exe (under SymbOS, of course).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 22:58, 29 February 16
The current version of XMASS.EXE is 2488 bytes, and at least it runs well in the Emulator. I attached it again.
Hope we can fix this issue!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 23:00, 29 February 16
How did you copy xmass.exe into the 3" disk?


I'd try using a tool on PC to create a disk image, insert xmass.exe and then writing it to a physical disk. I think your problem can be due to the amsdos header.


Maybe @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) can answer whether this could be a problem or not.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:07, 29 February 16
Here we gooooo !

Edit :
@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) : we need to know about the DirFileSize!!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 07:40, 01 March 16
Hi,

Thanks to all.
Yes, the real filesize is 2488 bytes (anyway, all times SymbOS said is 3072 bytes). As @robcfg (http://www.cpcwiki.eu/forum/index.php?action=profile;u=4) said, the problem was on the AMSDOS header :doh: . I've corrected it and now is working like a charm.

But, I have some questions about the SymbOS & HDD ....

- I have the four ROMs installed
- Added drive C: (Master, not partitioned)
- I've put all SymbOS files to the root of C: drive.
- In Control Panel, I set the Boot drive & System Path to C:/
- I've saved settings & copied SYMBIOS.INI to C:/
- Power OFF and started by |SYM

Works, but all times is looking for something on drive A: ....

And last questions? .... By default I'm using the RAM drive C: ... SymbOS uses it? Maybe this can interfere with my setup? I can set the Boot & System path to D:/ ?

@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573) thanks for the .dsk

Thanks again to all  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 09:37, 01 March 16
Glad I could help!  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 10:48, 01 March 16
I'm just coding my own Fat16 format based on HAL6128&Prodatron's one.
What is the byte used to delete all sectors, #e5 as on AmsDos, #ff, 00 or anything else ?

My Tool will allow you (yes TotO!) to format your DoM directly from Basic... Coming soon...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 11:53, 01 March 16
Quote from: Ast on 22:31, 29 February 16
Sometimes 70 bytes, sometimes 120, ... sometimes same size... Who knows why ? I've no idea about it....

Maybe it comes from the type (00,01,02... Basic, Bin, AscII, Protected or not...)

The reason for the differences is, that the Amsdos filesystem (which is based on CP/M) is not able to store the exact size of a file in bytes. It only knows the amount of 128byte records. That's the reason why a file on a FAT partition usually has a slightly difference size. Amsdos is solving this problem for binary files by adding a header to the file itself.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 11:59, 01 March 16
Glad that it works, @merlinkv (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1683) ! :)

Quote from: merlinkv on 07:40, 01 March 16Works, but all times is looking for something on drive A: ....
This is normal, SymbOS is just doing a little check on all drives after the booting process. Or does it try to load a file and then displays a "not found" message? (this could be the case, if the screen saver is still configured on drive A)

Quote from: merlinkv on 07:40, 01 March 16And last questions? .... By default I'm using the RAM drive C: ... SymbOS uses it? Maybe this can interfere with my setup? I can set the Boot & System path to D:/ ?
There is no ram disc in SymbOS, the whole RAM memory (up to 1MB) is used for executing applications.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 12:18, 01 March 16
Do you tell me which byte can i use when formatting to tell this sector is empty ? (0, #e5, #ff or whatever I want...?)

Edit:
The maximum secteur I found is #03DC4F (253775) for a total of 129932800 bytes. Am i all right with that ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 12:26, 01 March 16
Hi @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) , thanks to you mate.

I will try again at home.

So, if I understand well the RAM drive (C:/) created by X-MEM is disabled when starting SymbOS and I can run all from C:/ ...

I can play games from a directory in C:/ ?  (C:/GAMES/Game files from any disc) ... I think I can play dsk files and snapshots ... but I'm not sure if I can play starting directly from one directory
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 16:39, 01 March 16
iMPformat is coming... Stay tuned...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 17:15, 01 March 16
Waiting for iMPformat .....  :)

Anyway I think the best solution for X-MASS will be the future ACMEDOS.rom ... to access directly from DOS to the HDD .......  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:33, 01 March 16
Here we go...

Here is "iMPformat v1.0". This tool allows you to format your X-Mass in Microsoft's FAT 16.

Lets's see the 3 options...


f1. Format your X-Mass [all sectors]

This allows you a full x-mass format, but it's very very long... Imagine 253775 sectors to erase... Forget this option if you haven't time!
@Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) : I understand why you don't do it !!!


f2. Format your X-Mass [Only Boot]

This allows you to install Microsoft's Fat16 in your x-mass (Quick format as says Prodatron!)



f3. Quit iMPformat

Just quit iMPformat ! Call 0 !


(http://img110.xooimage.com/files/1/5/f/imp-format2-4e9d4db.png) (http://amstradplus.forumforever.com/image/110/1/5/f/imp-format2-4e9d4db.png.htm)

Thanks to Prodatron&HAL6128 ! iMPformat is x-mass.exe inspiration.

EDIT : Please only download the "correction bug"... Sorry & Thanks!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:38, 01 March 16
Excellent! First working X-MASS formatter! Very well done!  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 17:55, 01 March 16
Great!

Thanks  :)

And a noob question .... roms that can work with this tool?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:59, 01 March 16
Wait... it's only the first step!

Other things will come... I'll try to do my best to propose you the best solution...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 18:03, 01 March 16
Sorry, I know is a hard job and I appreciate it too much  :-[ ... it's just a question....  :picard:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Grim on 19:06, 01 March 16
Quote from: Ast on 17:33, 01 March 16Here is "iMPformat v1.0".
Your "iMP" naming-thing always puts a large smile on my face.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 19:26, 01 March 16
Quote from: Grim on 19:06, 01 March 16
Your "iMP" naming-thing always puts a large smile on my face.
iMP "act"... But i suppose you guessed it :-)

Edit : Only download correction bug version !!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 21:18, 01 March 16
Great job ! and fast release ...thank you for this 1st tool ;)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 23:33, 01 March 16
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573)


Thanks for the Program " impfor ".
I just tested it on my faulty x-mass unfortunately it did not help.


Thanks again keep up the good work.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 23:39, 01 March 16
QuoteFirst working X-MASS formatter
As usual he seemed to miss something  :picard:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 23:42, 01 March 16
Quote from: Ast on 17:59, 01 March 16
Wait... it's only the first step!

Other things will come... I'll try to do my best to propose you the best solution...

Looking forward to see more IDE support in Amsdos from your side! Its really cool that finally something is happening here!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 23:52, 01 March 16
That's coming...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 00:00, 02 March 16
Quote from: Audronic on 23:33, 01 March 16
@Ast (http://www.cpcwiki.eu/forum/index.php?action=profile;u=573)


Thanks for the Program " impfor ".
I just tested it on my faulty x-mass unfortunately it did not help.


Thanks again keep up the good work.


Ray

I'm so sorry for you.... Hope you could re-use your x-mass and repair it.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 17:57, 02 March 16
Quote
Looking forward to see more IDE support in Amsdos from your side! Its really cool that finally something is happening here!


Somebody really missed ACME-DOS?  :picard2:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 20:21, 02 March 16
I'm waiting for it .....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:35, 02 March 16
Just give it a little bit more time, as TotO pointed out there is (IIRC) only one nasty but to kill. IMHO it's better to wait a bit longer and then have a well working tested DOS.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:23, 03 March 16
Quote from: merlinkv on 17:55, 01 March 16
Great!

Thanks  :)

And a noob question .... roms that can work with this tool?


Do you want to have it in a ROM? Well, here you go... (bug corrected version of course. Use !IMPFOR to start).

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 20:44, 03 March 16
Thank you for the conversion ;)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 20:45, 03 March 16
Always a pleasure.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:33, 03 March 16
Thanks TFM... My Dos version Will be in Rom... With format function of course.
Playing with ide Is really fantastic and opens new ways..
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 22:06, 03 March 16
Thanks & Yes. LBA makes everything so much more fun than CHS. Looking forward for your next update.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:18, 17 March 16
@SyX

I was wondering when you could make some time available to Complete " ACMEDOS "

Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 09:43, 17 March 16
Syx is quite busy right now with real life (tm), plus handling Fat32 is no easy task.


He's near to completing it though.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 13:26, 17 March 16
Oups, i made a mistake !
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 18:35, 07 May 16
This is the moment!
This is the time!
When the momentum and the moment
are in rhyme...

Ups, yes, AcmeDOS public beta released in 3, 2, 1, ... github (https://github.com/realmml/X-Mass-ROM)!!!

First thing, everybody should be grateful to Jens and Bernhard, because without them testing the rom, surely there would not be a released until next year. Of course, there is going to be bugs, feel free of report them and i will try to fix them (*).

Second thing, we have tested with success a lot of games/application, if a crack/version is not working, use another one, because usually the problem is a bad crack. If the game/app is working perfectly from B drive using a floppy formatted in a non-Amsdos format (needs something from other disk rom is not number 7), then the game will work in X-Mass perfectly.

In the github page, you can find a readme explain the details of the project.

(*) Be patience, the last two years i have been buried in work/studies here and the situation has not changed, i will be busy until end of june with my studies. And this december, i will present my thesis, because that my CPC time is very limited (maybe 3 weeks of realtime in the last two years).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 19:16, 07 May 16
Quote from: SyX on 18:35, 07 May 16
Ups, yes, AcmeDOS public beta released in 3, 2, 1, ... github (https://github.com/realmml/X-Mass-ROM)!!!
thank you for the birthday present! :)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 19:45, 07 May 16
Quote from: arnoldemu on 19:16, 07 May 16
thank you for the birthday present! :)
Happy Birthday  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 19:48, 07 May 16
Quote from: gerald on 19:45, 07 May 16
Happy Birthday  ;)
thank you :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 20:07, 07 May 16
Yeah! Happy Birthday. :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 20:13, 07 May 16
Happy Birthday!!!  :-\
I should rename the topic...  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 21:22, 07 May 16
Happy Birthday!

And congratulations Syx! I know it's been hard. Applause!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 21:46, 07 May 16
OK, Awesome work, I am just trying to find a way of copying all the CNGSoft single file compacted games to the DOM. BUt I do have a minor bug to report.


The AcmeDOS rom does not play nice with Parados, in that the |Drive with no parameters is not passed up the line to ROM 7 and as such the Parados GUI is unaccessible.


If this could be fixed in the next beta then I'd be very very happy.


Oh, it also does not seem to play nice with the Symbiface, but I guess that it is currently only meant to work with the 128mb DOM of the X-Mass (right??)


Craig

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 22:10, 07 May 16
OK... SO I think my actual DOM is dead - A bit annoying since I have never actually used it sone I got it back. Windows does not recognise it at all (Well it finds the vendor but no drive information) when connected on a USB -> IDE adaptor my other 128mb DOM is recognised, but this is a 90 degree model that won't fit on the x-mass.


On the CPC I can create folders on the DOM and navigate around them, but I am unable to copy files into those folders either using |cph from a floppy disc or directly from the Minibooster with |GF


I guess the DOM is pooched, unless anyone else has any other ideas.


Craig

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Munchausen on 22:34, 07 May 16
You might want to see what linux makes of it if you're at all familiar? dmesg would probably tell you if there are major issues (like read/write/identification failures), and if not you can try to re-partition it and see what happens.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 23:03, 07 May 16
OSX Does not even see the DOM at all It sees the USB-IDE device just fine
WInXP sees the manufacturer of the DOM but no actual drive
The Xmass sees it, and can successfully format it


but...


I cannot write ANYTHING to the DOM from AmsDOS, even the following fails...


|D
|dir
Drive D: 123MB free etc,,,,


10 print "Pooched DOM";
20 goto 10


save "silly.bas"
<Crash and lockup>
Hard reset CPC


|D
|DIR
Drive d: 123mb free etc...


Nothing written at all. So far I am becime less impressed with the XMASS all together :(


The DOM does not yet work with the Symbos ROM version because some of the DOM's don't work right (Symbos is fixed but only in DIsc version as I understand it) and now we actually get a ACMEDos release I still cannot use the damn thing because who knows what :(


Damn!

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ronaldo on 23:13, 07 May 16
Which adaptors are you using to connect the PQ1 module to the PC?

IDE to USB adaptors I find always have female 44-pin connector, but not male.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 23:29, 07 May 16
I have an adaptor for a 40pin IDE (F) to 44pin IDE (F) and then a separate adaptor that swaps the pins over to convert it correctly to 44pin IDE (M)


The exact same setup that I use for my Amiga 600 16gb DOM and it works just fine. so it is not the USB adaptor :(



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: angelcaio on 23:50, 07 May 16
Happy birthday, congratulations and thanks very much.


Enviado desde mi iPad utilizando Tapatalk
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:49, 08 May 16
@syx

Do I need to have Firmware 3.15 or 3.16 fitted ?

I Have formatted the drive successfully using |Format.

I went to the first step.

1.- Make a folder where you want to put the files (|MD)

Ok What is the Syntax to create a Folder. ??
I have tried :-

|MD    —  Number of Parameters is wrong  OK
|MD Test1      Syntax error
|MD, Test1     CRASH
|MD,"Test1"    CRASH

OK I give up.

If i cannot get past the First step then please UnRelease this version.
Hopefully.
Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 04:18, 08 May 16
Part 2


|DRIVE
|Drive,"D" reports   Ready
-=========-
|DIR
|DIR   CRASHES
-=========-
|ERA
Cant copy any thing to the DOM ???
? Nothing to erase
-=========-
|REN
Cant copy any thing to the DOM ??? 
Nothing to rename
-=========-

Ray
Title: X-MASS, a mass-storage expansion for all CPC.
Post by: angelcaio on 06:01, 08 May 16
.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 07:46, 08 May 16
I have got Parados working with the following Placements:-


Parados        in #5.
AcmeDos      in #4
Roman          in #3
Protext          in #2
FW316 exp   in #1

Parados    |Drive      now works.

Ps :-  |CP interacts with Protext ?
         Protext now in #6

Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:56, 08 May 16
Sure, ACMEDOS must be placed under AMSDOS or PARADOS to properly work.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 12:11, 08 May 16
Hi Audronic,
place AMSDOS in#7
ParaDOS in #6
ACMEDOS in #5
This  configuration works fine.

Place PROTEXT below (#4 - #1), then |CP should work for Protext.
|CP for ACMEDOS isn't yet implemented, like Syx already said.

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 12:26, 08 May 16
I thought that ACMEdos will work with a SF2 but...

Here are the results of using ACMEdos with a SF2 and a 4gb fat32 hardisk

any idea?


(http://i66.tinypic.com/15g5qih.jpg)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 12:46, 08 May 16
Hi Joseman,
did you format your drive with the command |FORMAT of ACMEDOS?
Partitioning of harddisks is not supported by ACMEDOS.

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 12:50, 08 May 16
Quote from: netmercer on 12:11, 08 May 16

Place PROTEXT below (#4 - #1), then |CP should work for Protext.
|CP for ACMEDOS isn't yet implemented, like Syx already said.

Kind regards
netmercer


Thanks for the reassignment info
My point was that |CP Clashes with other existing Firmware, and perhaps that is worth considering.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 13:48, 08 May 16
Quote from: Joseman on 12:26, 08 May 16
I thought that ACMEdos will work with a SF2 but...

Here are the results of using ACMEdos with a SF2 and a 4gb fat32 hardisk

any idea?

ACMEDOS is only for FAT16 filesystems.

It's the FAT table printed by the |Dir command. (... the start of a FAT16 Root Directory is differently calculated to FAT32)

You can format your CF card with the internal FORMAT command, if you want to use it with ACMEDOS.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 13:54, 08 May 16
Quote from: CraigsBar on 22:10, 07 May 16
OK... SO I think my actual DOM is dead - A bit annoying since I have never actually used it sone I got it back. Windows does not recognise it at all (Well it finds the vendor but no drive information) when connected on a USB -> IDE adaptor my other 128mb DOM is recognised, but this is a 90 degree model that won't fit on the x-mass.


On the CPC I can create folders on the DOM and navigate around them, but I am unable to copy files into those folders either using |cph from a floppy disc or directly from the Minibooster with |GF


I guess the DOM is pooched, unless anyone else has any other ideas.


Craig

The DOM won't be recognized by Windows (better: it is recognized, but not mounted). It works (will be mounted) pretty good with a Linux system. I have only tested it with a native Linux, I don't know if it works when Linux is installed inside a virtual environment like VirtualBox.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: angelcaio on 15:03, 08 May 16
For my CPC464 with x-mem  and fw3.15, with parados and amsdos switching  in my ddi-1 clone.
Acmedos ,first in Rom  2 and then in  rom 4:

The four options:

ACMEDOS.        PARADOS.        AMSDOS
-------------------------------------------
     ROM 2.                   -                   ROM 7
     ROM 2.               ROM 7.                  -
     ROM 4.                   -                   ROM 7
     ROM 4.               ROM 7.                  -

And the result is always the same:
|C returns ready
CAT return bad command, but The  led of the x-mass  flashes slightly
|DIR freezes  the CPC and must be turn off

But it works ok with Symbos



Enviado desde mi iPad utilizando Tapatalk
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:08, 08 May 16
X-MASS is a reliable 128MB SLC flash drive acting as mass storage for all CPC. It require to be formated from the CPC.
ACMEDOS is a ROM designed to be AMSDOS friendly and access X-MASS from BASIC.

As SyX explain, he don't have the time to do "more"... So actually:
- Don't expect to see something working if you are not using the stock X-MASS.
- Don't expect to use an other board with this ACMEDOS version.

Thank you for understanding.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 15:08, 08 May 16
I tried saving a basic and a binary file without giving extension.

Normally with AMSDOS the extension is detected and used, but it seems not with ACMEDOS?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:17, 08 May 16
Quote from: angelcaio on 15:03, 08 May 16
|C returns ready
CAT return bad command, but The  led of the x-mass  flashes slightly
|DIR freezes the CPC and must be turn off
|C access the RAM Drive, not the X-MASS.
Please, use |D or |HD instead.

By the way, the RAM Drive must be disabled with this version.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:19, 08 May 16
Quote from: arnoldemu on 15:08, 08 May 16
I tried saving a basic and a binary file without giving extension.
Normally with AMSDOS the extension is detected and used, but it seems not with ACMEDOS?
I'm not sure that is actually supported/mapped properly. Please, SyX?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 15:50, 08 May 16
Saving with an auto-extension (like *.bas) is not supported yet, but loading (first *.bas then *.bin).
You have to add the extension manually when saving.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 15:55, 08 May 16
Well, remember the time differences between Brazil and Europe, i just wake up and it looks Hell's broken xDDD

When, time to answer!
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122): Happy Birthday lucky guy!!! :)

@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482)
Remember Craig that you found this bug in the Ram Disc rom and we fixed... and i fixed too for this rom too.

I have tested without problems these two configurations:
* AcmeDOS (5), Parados (6), Amsdos (7)
* AcmeDOS (6), Parados (7)

If Parados uses a lower rom number than AcmeDOS then it doesn't work, because this is a chain of patches; when AcmeDOS receives a |DRIVE without parameters, it will return to the rom that sent that for this rom can handle this; but only Parados can handle this, Amsdos doesn't know and it will be impossible to reach Parados.

With respect to the Symbiface support, i don't have one and because that i can not test in it and my priority is supporting the people that got a X-Mass board, after that, sure i can add support for the Symbi... but not before an 1.0 release, the one that it will include the sources.

OK, i am going to send this answer and go to the next ;)

PS: Ah, very important thing, i am not asking for a Symbi, nobody should think that, neither send me one, because the "lovely" brazilian postal service only took 6 months in bringing my X-Mass prototype and i living now in the second most salinity place in the world, only behind the Dead Sea and my CPCs and old my electronic equipment has been beaten hard by this.   
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 16:02, 08 May 16
Quote from: TotO on 15:08, 08 May 16
X-MASS is a reliable 128MB SLC flash drive acting as mass storage for all CPC. It require to be formated from the CPC.
ACMEDOS is a ROM designed to be AMSDOS friendly and access X-MASS from BASIC.

As SyX explain, he don't have the time to do "more"... So actually:
- Don't expect to see something working if you are not using the stock X-MASS.
- Don't expect to use an other board with this ACMEDOS version.

Thank you for understanding.  8)
The X-Mass works very reliable. Otherwise your hardware might be defect, like in my case (expansion port trouble shooting). Thanks I have a second CPC where it works perfect. Or the software you are loading disturbs the built-in firmware rules/boundaries?

The X-Mass is very, very fast. Almost all the games (single files) from CNGSoft will be loaded perfect. Even Symbos - the five files from the Raw-Loader-Disc - will be loaded as fast as the ROMs.

ACMEDOS is a beta and has a lot of ToDos which are recognized and developed in future. The release today reliable and huge step where AMSDOS and ACMEDOS are working very good together.

Keep on working with it and having fun!!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 16:03, 08 May 16
@Audronic (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1169)

> I need to have Firmware 3.15 or 3.16 fitted?
Ok, you don't need FW3.1x at all, but if you are using it, remember to update to the last version in the github page.

> 1.- Make a folder where you want to put the files (|MD)
The syntax is the typical CPC RSX:
|MD,"name"

At least, you are in a 464, where you need to do something like:
var$="name":|MD,@var$

> If i cannot get past the First step then please UnRelease this version.
Sorry Ray, if you are having bad luck, but it has been working during the beta tests. A important thing is your CPC is working reliable, it has been a few problems with bad contacts in the expansion bus because our machines are getting older, use the usual tips to clean contacts, ...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 16:45, 08 May 16
@Joseman (http://www.cpcwiki.eu/forum/index.php?action=profile;u=135)
> thought that ACMEdos will work with a SF2 but...
Why did you think that?

I never said that, mainly because i have not a Symbi. And because the original X-Mass doesn't need the extra complexity, i am not supporting partitions or bigger drives, everything is hardcoded for the original X-MASS and i can not take the extra ram need for those features or the compatibility will go down even more. Remember that it needs to work in machines with 64 KBs.

Changing the rom to support bigger drives, by autodetecting them or patching the rom for that sizes, it's not a problem; the original code does that and everybody has made a FAT filesystem for Z80 machines, as Prodatron, will told you is not a problem at all.

But our problem is the compatibility with Amsdos and when a game crack is not working in the X-Mass, what is the people going to think?

a) Bad bad bad crack is doing bad things as only initialize rom 7 or only using A drive or not saving the drive used to launch the game or putting the decruncher in HI-Ram where the extra AcmeDOS variables live.

b) This is working perfectly in my 464 with disk drive, THIS ACMEDOS IS PURE SHIT!!!

B! It's going to be B, and then if i want to defend my honor, i will have to crack that game for fixing what silly thing is doing that is only working in a 464 with 0 expansions.

Symbi support is possible, sure, the code will be released and somebody can use it for support that. At the end of the day, it's only a layer of patches to amsdos firmware calls (that is practically the same that all those new CPC mass storage projects using an Arduino/Rapsberry Pi are doing) and the layer to handling the filesystem with only a minimal changes for handling FAT16 and FAT32 tht i can select using assembly directives IFs/DEFs, ...

It could be a LOT better, sure... but my free time has been zero and continue being zero (seriously i should be working in my thesis instead of being here), this project had to be released in X-Mass 2014, not in 2016, when i have been able to release it, surely is too later with all those new alternatives, but this is...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 17:00, 08 May 16
Quote from: SyX on 15:55, 08 May 16
Well, remember the time differences between Brazil and Europe, i just wake up and it looks Hell's broken xDDD

When, time to answer!
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122): Happy Birthday lucky guy!!! :)

@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482)
Remember Craig that you found this bug in the Ram Disc rom and we fixed... and i fixed too for this rom too.

I have tested without problems these two configurations:
* AcmeDOS (5), Parados (6), Amsdos (7)
* AcmeDOS (6), Parados (7)

If Parados uses a lower rom number than AcmeDOS then it doesn't work, because this is a chain of patches; when AcmeDOS receives a |DRIVE without parameters, it will return to the rom that sent that for this rom can handle this; but only Parados can handle this, Amsdos doesn't know and it will be impossible to reach Parados.

With respect to the Symbiface support, i don't have one and because that i can not test in it and my priority is supporting the people that got a X-Mass board, after that, sure i can add support for the Symbi... but not before an 1.0 release, the one that it will include the sources.

OK, i am going to send this answer and go to the next ;)

PS: Ah, very important thing, i am not asking for a Symbi, nobody should think that, neither send me one, because the "lovely" brazilian postal service only took 6 months in bringing my X-Mass prototype and i living now in the second most salinity place in the world, only behind the Dead Sea and my CPCs and old my electronic equipment has been beaten hard by this.
OK, my setup is as follows.

6128+ cart with parados 1.2+ and fw 3.16 so no ram disk.
Basic 1.1

Xmem with acmedos on slot 6, CPM plus in 8 and 9 and fw3.16 ext in slot 1

All other rom slots empty

If you say Acmedos should pass the |drive correctly then I hate to report in my setup this seems incorrect :( I will redownload Acmedos tonight and try again.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 17:11, 08 May 16
@Audronic (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1169)
> My point was that |CP Clashes with other existing Firmware, and perhaps that is worth considering.
Which one? Change is easy an painless and i could follow the KDE style and called XP or XCP.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 17:18, 08 May 16
@angelcaio (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1263)
|C returns ready?!?!?!

The only way of selecting the drive is:
|D
|HD
|DRIVE,"D"
|DRIVE,"HD"

Angel, if you are using FW3.15, upgrade to the 3.16 version in the github (https://github.com/realmml/FW3.1x), although it does not require FW3.1x at all... although using any firmware except the 464 one has the nice feature that you will skip the excessive use of @ in the parameters.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: angelcaio on 17:32, 08 May 16

I tried without the ramdisk, with firmware 1.0 (switch 2 of x-mem in cpc  position) and  without parados rom.
At boot, it show the message of the new acme rom.
|hd and |d return ready, but |dir and cat, without parameters, does the same as before...  :(
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 18:12, 08 May 16
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122)
> I tried saving a basic and a binary file without giving extension.
> Normally with AMSDOS the extension is detected and used, but it seems not with ACMEDOS?
Yes, in AcmeDOS that magic doesn't exist... yet ;)

10 print "Hello!"
save"adele"
It will create a file called ADELE, not ADELE.BAS

And the same with binaries, AcmeDOS will not add the extra .BIN at saving.

Of course, i can put that in the todo list, if you think is important. For me, it wasn't, but i am an strange and difficult guy that loves writing, hehehe.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 18:36, 08 May 16
Thanks for this @Audronic (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1169)! :)
> |MD, Test1
This is one fun bug, our brain is wired to do things always in the most usual/easy way and i never would write that line, never; because i always would do the |MD,"Test1
If you do that in the actual version, you will get a new folder and its name is filled with spaces.

Lucky for us, it's an easy fix, and now you will get the lovely error about "        .   " is not a valid name (... ehem file :P).

I am uploading a new version to the github (0.6.1B), even if i should wait a few more days, for all the great bugs are going to by found.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 18:47, 08 May 16
Teeheehee, I'd love report bugs, but for that I need to get it working lol.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 20:07, 08 May 16
SyX : Doesn't work on my Cpc Plus


-I installed the Rom in rom 2.
-Rom 1 is fw 3.xx not the latest
-Rom 7 is only AmsDos, no parados installed.

|d  & |format work but when i do the cat command, my Cpc freeze !
have you any idea ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Token on 20:43, 08 May 16
Quote from: Ast on 20:07, 08 May 16
|d  & |format work but when i do the cat command, my Cpc freeze !
have you any idea ?

I had the same problem, only |format and |d worked. (ùFormat ..)
I removed fw 3.15 ROM and then everything worked.
French CPC6128 old logo.

After I entered a folder, made a reset, it didn't come back to the root.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Token on 21:05, 08 May 16
(|a and also |d worked)

After some games I copied and played, it doesn't work anymore. I did the X-MEM install again, all passed.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 21:14, 08 May 16
OK as suggested by @SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) I have tested my CPR and roms in WinAPE


Here it works fine.


So the issue is with my hardware....


I have tested the XMEM and XMASS on 2 plus machines, an Old School CPC 6128 and a JustCPC 128k


All of these reflect the same issues, I do not believe that the 4 CPC's I've checked against are all faulty in the same way, so this leaves the XMASS and XMEM.


Since @TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) has already offered to take a look at the XMASS I might just send them both back to him with the current roms installed so he can take a proper look at the problems, If that is OK??


Craig

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 21:51, 08 May 16
Hi,

Quote from: Token on 20:43, 08 May 16
I had the same problem, only |format and |d worked. (ùFormat ..)
I removed fw 3.15 ROM and then everything worked.
French CPC6128 old logo.

use either original Amstrad Firmware (CPC6128) or FW 3.16 (RAM Disk disabled)

Quote from: Token on 20:43, 08 May 16
After I entered a folder, made a reset, it didn't come back to the root.

this function is intended


Quote from: Token on 21:05, 08 May 16
(|a and also |d worked)
After some games I copied and played, it doesn't work anymore. I did the X-MEM install again, all passed.

if the loaded program overwrites RAM or variables of ACMEDOS then crazy things could happen (same as for AMSDOS)
In this case you have to make a cold boot (switch the CPC off and on )

Kind regards
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Token on 22:41, 08 May 16
Hi, thank you for your help.

>use either original Amstrad Firmware (CPC6128) or FW 3.16 (RAM Disk disabled)

I did disabled RAM disk.
For 3.16 I tried, but I think I choosed the wrong version.
FW316FR16.ROM This one made a mess, maybe I had to chose FR32. 

>this function is intended
Yes, I though so  ;)
Nice to know it's normal.


>if the loaded program overwrites RAM or variables of ACMEDOS then crazy things could happen (same as for AMSDOS)
In this case you have to make a cold boot (switch the CPC off and on)

Ok. I cleaned and reinstalled everything like it was before ACMEDOS. 
I can't make it work anymore.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 23:21, 08 May 16
OK, i need to return to my samba-cave, but even if i am not posting directly in the forum, i am going to receive every bug report and try to fix them.

Because that you should try to be the most specific you can about the conditions and configurations that provoke that error, and if you can replicate the problem in WinApe (the only emulator supporting the board), that it would help a lot in the task of tracing those pesky bugs.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:21, 09 May 16
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324)

SORRY, Apologies, ETC


I Had a Faulty Spare Dom That i used for testing  :doh:


The original DOM is able to |MD, |CAT I will do further testing.


Good luck with your Studies


Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:09, 09 May 16
I Had a Faulty Spare DOM  :doh:

Refer to Reply 667 -


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:24, 09 May 16
I had a Faulty Spare DOM.  :picard:

Refer to Reply 667 -

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 08:56, 09 May 16
Quote from: Audronic on 00:21, 09 May 16
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324)

SORRY, Apologies, ETC


I Had a Faulty Spare Dom That i used for testing  :doh:


The original DOM is able to |MD, CAT I will do further testing.


Good luck with your Studies


Thanks   Ray
So with your known faulty DOM you cannot cat, save files, etc?? Interesting ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 09:51, 09 May 16
I haver spent all day trying to work this out ??


The DOM #2

The reason for setting up BonnyDOS is because AcmeDOS thinks the DOM #2 is Unwell ??

1) ImpDOS prototype    Works with the DOM #2 (First Format of the DOM)
    The DOM was first formatted By ImpDOS. It worked with Impdos (Beta Version 0.16) All Commands work.

2) BonnyDOS     Works with the DOM #2 (Formats etc Works)  BDos reports 3999 Blocks 124 Meg approx

3) Symbos        Does Not  work with the DOM #2
    Then Tried with Symbos  Unable to format the DOM
    Using Both Versions of the Formatter.

4) AcmeDOS     Does Not  work with the DOM #2
    I then tried it with AcmeDOS and it would not work (|Format said OK) Both 0.6B and 0.61B
    |CAT and |Md and others won't work.

   I have a second DOM which works with AcmeDOS (Still to do more testing)
   This DOM has only been Formatted with AcmeDOS.

Mildly confused.

Refer to Reply 667 -

   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 09:54, 09 May 16
@Audronic (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1169) : i sent you a pm.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 02:41, 10 May 16
Hi

@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) , very very good news, acmedos works with the symbiface 2.

I just connected a 2gb HDD to the symbi, used the |format command of acmedos and in less than one second a 122mb partition was created. Well not exactly a partition, on windows the hdd stays without format and partition, only symbos and acmedos see this kind of format without partitions!

Then i just run Symbos, configure to use the new hdd, copy with symcommander all the symbos files, save the ini, copy some games

reset the cpc

and then:

(http://i63.tinypic.com/2mesmfr.jpg)

only unsquadron didn't work, it's a custom loader made by me but uses 128k's to load the levels... and as i see acmedos uses the second bank for some system variables...

other than that (and the 128mb partition on a 2gb hdd ) all works as expected!!

P.S.: until the HDD motor is fully rotating the platters acmedos keeps displaying "not harddisk found", when the hdd is ready, with the last reset acmedos will recognize the drive. Perhaps a ready command timeout?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 06:42, 12 May 16
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324)


Testing of Acmedos Version 0.6.1B.
I am Pleased to inform you That (With a GOOD DOM) the i am unable to Fault the ROM.
I found a 2 Gig DOM in a box and it performed Perfectly. as a 128 Meg DOM


A polite request, would it be possible to allow  larger DOMs to be formatted to say 1 Gig or some other value, Multiples of 128 Meg Or ??
DOMs seem to come in 128 Meg, 256 Meg, 1 Gig, 2 Gig.


The Support Software is excellent, (Probably needs an update to handle |D drive (Flasher Program)).
Sorry for the FALSE reports previously (Excrement Happens).


Thanks for all your GOOD Work


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 07:25, 12 May 16
@TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290)


Just some info :-
I have tried BDOS version 1.72 with the X-Mass and a 2 Gig DOM and it work well
Formats out to 2 Gig OK.
Others may like to try BDOS

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:26, 12 May 16
Sure, I have already tested some 512MB or 2GB DOM succefully (PQI, DeLock, ...). And 8GB/16GB unsuccefully (chinerd cards).
Most are expensive or use poor quality flash memory (like found on USB pen or micro-SD card). So, I don't keep them for the X-MASS design.
Actually, all the X-MASS are 128MB SLC Solid State Drive. It was the best price/capacity compromise without sacrificing the quality.

AcmeDOS was first made to support this stock expansion. CPC (64K) and AMSDOS friendly. Reliable for everybody using it.
The FAT16 file system was chosen to allow users to access the same content using it from SymbOS, BASIC and PC interface.
BonyDOS is a nice piece of software, but it is compatible with nothing and not AMSDOS friendly. So, strange to use.

To support largest capacities, it is first required to extend the file system to FAT32, else clusters will waste too much the capacity.
To support more partitions, it is first required to have good tools to allow to manage files from different drives.

So, actually I'm more preoccupied that softwares will support the existing hardware.  8)

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:01, 12 May 16
Quote from: Joseman on 02:41, 10 May 16only unsquadron didn't work, it's a custom loader made by me but uses 128k's to load the levels... and as i see acmedos uses the second bank for some system variables...
SyX will confirm, but AcmeDOS only use the system RAM to work with all 64K CPC without wasting user RAM, nor using RAM expansions.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 09:28, 12 May 16
If you do a soft reset, the DIRectory is remembered by acmedos, this drives me to think that the second bank expansion is used in some form...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 09:39, 12 May 16
If ram isn't cleared by the soft reset why couldn't that be stored in the first bank?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 10:30, 12 May 16
Good point

Then there are 2 scenarios:

-acmedos REALLY uses the second bank on the soft reset altought only for this information

-acmedos detects if a 64k's stock machine is used and then don't use the second bank...

anyway only @SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) can answer these questions!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:54, 12 May 16
Quote from: TotO on 08:26, 12 May 16

To support largest capacities, it is first required to extend the file system to FAT32, else clusters will waste too much the capacity.

To support more partitions, it is first required to have good tools to allow to manage files from different drives.

Hi Tot0


I was thinking of only 1 (one) Partition.
What is the point at which the clusters become to large and will waste capacity ??


Thanks    Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: pelrun on 11:02, 12 May 16
Quote from: Joseman on 10:30, 12 May 16
-acmedos REALLY uses the second bank on the soft reset altought only for this information
-acmedos detects if a 64k's stock machine is used and then don't use the second bank...

It's neither. A soft reset leaves all the ram intact. Only what's explicitly overwritten by ROM initialisation routines (from firmware, Basic, any other installed ROMs) is corrupted; that leaves several sections in the first 64K untouched - to this day I still remember there's a tiny block after &BE80 that's usually good for this. There's absolutely no need to use other banks.


The problem is currently Acmedos doesn't do any validation to detect whether the address it's reading the saved directory pointer from is still valid. If there's a byte to spare then it's quite trivial to add a checksum byte, that'll fix the problem (ok, you'll get a crash roughly 1 in 256 times, but that's still pretty reasonable.)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 11:55, 12 May 16
Quote from: Audronic on 10:54, 12 May 16What is the point at which the clusters become to large and will waste capacity ??
Depending the type of files commonly used. With 128MB, each cluster is 2K using FAT16.
So, we are already wasting storage size for files under that. (but acceptable)

I remember my 1GB PC harddrive recovering around 300MB after formating it from FAT16 to FAT32 !  :-\
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 11:59, 12 May 16
@Tot0


Ok Thanks


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 13:41, 12 May 16
Quote from: Audronic on 07:25, 12 May 16

Just some info :-
I have tried BDOS version 1.72 with the X-Mass and a 2 Gig DOM and it work well
Formats out to 2 Gig OK.
Others may like to try BDOS

Ray


With the (little) tests i did, ACMEdos shows already better compatibility with games than BDos, night hunter original version works without modification on acmedos and crash on bdos.

and the fat16 support of acmedos and symbos make the copy of files more easy and can have symbos+acmedos on the same hdd

bdos is not recommended nowadays with acmedos in town!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 16:38, 20 May 16
I have some comments/wishes/bugs for the 0.6.1b:
- The CAS-IN-OPEN functions doesnt read filenames stored in the screen-memory.
  It would be nice to change this  ;)
- The |CPH- function uses CAS-IN-OPEN & CAS-IN-DIRECT but no CAS-IN-CLOSE.
  I didnt found a problem about this, but i want say it.
- The |UDIR -Command didnt use the  BASIC_INPUT_AREA on $ACA4 for firmware 1.0, it uses $AC8A too.
  It's not a problem, but could be a bug, if it's not work as expect.
  (Thanks SyX, the Command works great  :) )
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 17:10, 21 May 16
OK, I have ordered a replacement Dom. At least that way I know if the Dom and the xmass are kaput, or just the Dom.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Token on 22:48, 21 May 16
Quote from: CraigsBar on 17:10, 21 May 16
OK, I have ordered a replacement Dom. At least that way I know if the Dom and the xmass are kaput, or just the Dom.
Have you a link? I might try a replacement as well. I've seen some but with an IDE connector. The 128MB disk on module connected to the x-mass is smaller.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:07, 22 May 16
@Token (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1077)


InnoDisk EDC  128MB  44PIN  Disk On Module PATA/IDE/EIDE DE4H-128D31C1S SLC (http://www.ebay.com.au/itm/InnoDisk-EDC-128MB-44PIN-Disk-On-Module-PATA-IDE-EIDE-DE4H-128D31C1S-SLC-/161749486165?hash=item25a9054a55:g:gn4AAOSwyQtVkmJy)


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: angelcaio on 00:09, 22 May 16
Quote from: Token on 22:48, 21 May 16
Have you a link? I might try a replacement as well. I've seen some but with an IDE connector. The 128MB disk on module connected to the x-mass is smaller.

found this:
http://www.ebay.es/itm/InnoDisk-EDC-128MB-44PIN-Disk-On-Module-PATA-IDE-EIDE-DE4H-128D31C1S-SLC-/161749486165?

Do you think that is right ?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:14, 22 May 16
@angelcaio (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1263)


That is the same brand as was supplied by Tot0 with my x-mass


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Token on 01:13, 22 May 16
Thank you guys  :D :-*
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:39, 22 May 16
I have bought here my last DOMs 3 weeks ago and received them yesterday.
So, I was able to send you one for testing/exchanging without the need that you pay anything...  :(

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 19:20, 22 May 16
No matter. I can test and find out what is pooched. The Dom can always go in my a1200 ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 19:24, 22 May 16
So i'm going to post some research i've done this afternoon about ACMEDOS

In the absence of official information, and keep in mind that this can be (partially) wrong:

*Actual disc in use same than AMDOS : RAM direction (#A700)

          #A700= #00 --> drive A
          #A700= #01 --> drive B
          #A700= #03 --> drive D (mass storage)

*RAM direction were the complete  directory path is stored: #BEA6

     for example:
         #BEA6 = #00 --> root dir (d:\)
          #BEA6 = #02 --> d:\symbos
          #BEA6 = #03 --> d:\juegos
         #BEA6 = #A8 --> d:\juegos\marauder

     seems to me some kind of calculation of the dir entries of the fat16 disc...

*Buffer that uses ACMEDOS and that need to be restored if it's erased by some routine:

                       #BE70 - #BEA6

This is totally tested by load acmedos  in a cold reboot --> go to a directory --> save the drive number --> save the ACMEDOS buffer --> erase the entire firmware and ACMEDOS buffer -->  reenable the firmware --> reload amsdos rom and acmedos rom --> restore the direction #BE70 - #BEA6, and (of course) the #A700 direction with #3.

The program / game will load from hdd correctly...

I don't know if this post deserves a thread... but the information is very interesting i think...




Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 07:56, 23 May 16
Quote from: TotO on 11:55, 12 May 16
Depending the type of files commonly used. With 128MB, each cluster is 2K using FAT16.
So, we are already wasting storage size for files under that. (but acceptable)

I remember my 1GB PC harddrive recovering around 300MB after formating it from FAT16 to FAT32 !  :-\


I had a look at the Table below and 128 Meg is fine.


Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:45, 23 May 16
Quote from: Audronic on 07:56, 23 May 16I had a look at the Table below and 128 Meg is fine
Yes.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 18:29, 23 May 16
Didn't somebody here tell that the number of clusters defines if FAT16 of FAT32 needs to be used, in the table before there are devices being able to use either FAT16 or FAT32.

So my question is, what actually defines the used FAT system (16 or 32)?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: gerald on 18:49, 23 May 16
Quote from: TFM on 18:29, 23 May 16
Didn't somebody here tell that the number of clusters defines if FAT16 of FAT32 needs to be used, in the table before there are devices being able to use either FAT16 or FAT32.

So my question is, what actually defines the used FAT system (16 or 32)?
The number of cluster defines the FAT type to use.
But the number of clusters is function of the cluster size and the data area size. So for a partition size, you have different options.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 19:42, 23 May 16
everything is defined in the FAT32 specification from MS:

3.5 Determination of FAT type when mounting the volume
The FAT type is determined solely by the count of clusters on the volume (CountOfClusters).
The following steps describe the computation of the count of clusters:

1. First, determine the count of sectors occupied by the root directory:
RootDirSectors = ((BPB_RootEntCnt * 32) + (BPB_BytsPerSec – 1)) / BPB_BytsPerSec
Note that on a FAT32 volume, the BPB_RootEntCnt value is always 0. Therefore, on a FAT32 volume, RootDirSectors is always 0.

2. Next, determine the count of sectors in the data region of the volume:
If(BPB_FATSz16 != 0)
FATSz = BPB_FATSz16;
Else
FATSz = BPB_FATSz32;
If(BPB_TotSec16 != 0)
TotSec = BPB_TotSec16;
Else
TotSec = BPB_TotSec32;
DataSec = TotSec – (BPB_ResvdSecCnt + (BPB_NumFATs * FATSz) + RootDirSectors);

3. Lastly, determine the count of clusters as:
CountofClusters = DataSec / BPB_SecPerClus;
To determine the FAT type, the following algorithm is used:
If(CountofClusters < 4085) {
/* Volume is FAT12 */
} else if(CountofClusters < 65525) {
/* Volume is FAT16 */
} else {
/* Volume is FAT32 */
}
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 02:42, 25 May 16
X-Mass

I am having problems with the X-Mass and 128 Meg DOMs

I have purchased 3 128 Meg 44 pin DOMs all of these have been tested in a PC (XP)
and all worked correctly.

Using the Formatter / Partitioner Program that is used on XP

http://www.dizzy.co.za/sdhc_fat16.asp

Using AcmeDOS 0.61b

I put each of these in the X-Mass after removing the Index tab with a pair of Flush cutting pilers and finishing the job with a Stanley knife (No Static this way).

The |Format Command says it's doing its Job.

If i Issue |HD and do a CAT,  Crash
If i Issue |MD,"Test1"        Crash
etc

Each of these DOMs Including the one you sent me FAILED ??

I have then tested the DOMs using ImpDOS16 and all of the DOMs work OK ??

I have also some 2 Gig DOMs 44 Pin they have also been Formatted / Partitioned on XP.
and Both of these WORK With all of the above commands using AcmeDOS 0.61b and ImpDOS16  ??

I wonder if there is a concern with the AcmeDOS  ??

Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 06:49, 25 May 16
Further tests this afternoon.
Using AcmeDOS v0.6.1b
Tried the above with an other 6128  Same results
Also a ?? Format Problem ?
Hmmmmm

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 09:09, 25 May 16
I got exactly the same problem here; nothing erased after a formatting operation....




Toto is aware about the issue and is currently trying to find the root cause....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:15, 25 May 16
@Kris (http://www.cpcwiki.eu/forum/index.php?action=profile;u=175) 

Thanks for the update about your X-Mass /Acmedos

Are there any other things that you are having problems with, So i can test for them.

Thanks  Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 13:39, 26 May 16
Same problems here, everything works (the |format-RSX works too).

But when i connect the DOM to the PC:
Windows did not found then format of the cpc. (indication of a wrong partition-handling of the CPC?!)
When i search for lost partitions, it will be found, but not accessable.
=>
So i create a new one (primary, fat, quick-format), and this one, i can't access from my CPC.
The re-|FORMAT on the CPC means "successful" but the partition is still not accessible from the CPC.

Now, i have the |FORMAT-issue too  :o
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 13:46, 26 May 16
If you do a Format by windows it will add a MBR, so it's not accessable by ACMEDOS. The BS will Start at 2048 LBA. You need a special tool to do a format without MBR.
If you want quick access to a formatted DOM use Linux.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:52, 26 May 16
The MBR must be overriden when formated from the CPC. So, it is really strange...
(Windows can read and write the DOM without MBR on it)


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 14:32, 26 May 16
Quote from: TotO on 13:52, 26 May 16
The MBR must be overriden when formated from the CPC. So, it is really strange...

After ACME-DOS-Format:
[attachimg=1]


Quote from: TotO on 13:52, 26 May 16
(Windows can read and write the DOM without MBR on it)


My Windows 8.1 => no
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:37, 26 May 16

OK... Windows XP does...  :-\

The X-MASS was not designed to be a removable storage.
But I can understand that is more easy to fill it, at less the first time.

I'll see with SyX if we can handle the MBR without wasting the CPC RAM.


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 14:39, 26 May 16
I don't know if this helps.


How to format on a PC FAT16

run "" compmgmnt.msc ""

http://www.dizzy.co.za/sdhc_fat16.asp

This will allow you to work on the Unpartitioned Partition.

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 14:59, 26 May 16
Quote from: TotO on 14:37, 26 May 16
OK... Windows XP does...  :-\
Windows what??  :o :D :D

Quote from: TotO on 14:37, 26 May 16
The X-MASS was not designed to be a removable storage.
But I can understand that is more easy to fill it, at less the first time.

I'll see with SyX if we can handle the MBR without wasting the CPC RAM.
It will be helpful, but i think, there must be an error in the format-RSX.
They can't reformat a DOM, which is previously formatted in Windows.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:04, 26 May 16
Quote from: SOS on 14:59, 26 May 16
Windows what??  :o :D :D 
A modern OS (compared to CPC) that not chose for you what to do... ;D
I have tried Windows 8... But, this system "think" OS updates are more important that programming my EPROM and stop the process.  :-\
By the way... Now, Windows 10 is a critical update... So, don't be surprised to discover it when you will switch on your screen! 8)

Quote from: SOS on 14:59, 26 May 16I think there must be an error in the format-RSX.They can't reformat a DOM, which is previously formatted in Windows.
If I'm not wrong, it only write 512 bytes to the DOM. :-X
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 16:50, 26 May 16
Quote from: TotO on 15:04, 26 May 16
A modern OS (compared to CPC) that not chose for you what to do... ;D


Hahaha, good joke. I know at least two OS being more recent and advanced on CPC.  ;D :P :)


Fun at the side... everybody seems to work already with ACMEDOS, did I miss the release during my holidays?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 16:53, 26 May 16
Yes...  :o

The link is on the first page.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 22:44, 31 May 16
Same problem here .....

Firmware 3.16 / No RAM Drive
ACMEDOS 0.6.1b

I can format the DoM (the original 128MB), but nothing more, no CAT, |DIR, .....  :(

I have a couple of DoM's, 2GB each, but X-MASS don't recognize these drives ....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:17, 01 June 16
@Syx


When can we expect a Working update to AcmeDOS.


Thanks  Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: talrek on 20:16, 01 June 16
i'm a lucky guy. Everything works fine for me  ;D
I have a question though, how to copy all files using only a command. Is it possible, i have to do the |CP,"filename" command file by file...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: dirtybb on 20:26, 01 June 16
Quote from: talrek on 20:16, 01 June 16
i'm a lucky guy. Everything works fine for me  ;D
I have a question though, how to copy all files using only a command. Is it possible, i have to do the |CP,"filename" command file by file...
To copy a batch of files, u can use symbos
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: talrek on 20:31, 01 June 16
Ok i guess i have to install symbos then ;-)
Also can someone give me the command to change the bit to flash the 3.16 firmware on the 00?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: dirtybb on 21:07, 01 June 16
Quote from: talrek on 20:31, 01 June 16
Ok i guess i have to install symbos then ;-)
Also can someone give me the command to change the bit to flash the 3.16 firmware on the 00?
Answer is in the X-Mem thread, look at the 3-4 last posts
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: talrek on 07:00, 02 June 16
Quote from: dirtybb on 21:07, 01 June 16
Answer is in the X-Mem thread, look at the 3-4 last posts

Ok really thank you didn't see the thread? So |FLASH,"FW316FR32.ROM", 71  should do it ;-)
Even if i don't understand why 71 ?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: angelcaio on 07:52, 02 June 16
" The ROM 7 is not altered by the X-MEM device. The Firmware is used instead.
You must set the bit6 to 1 for writing the Lower ROM (&47) and ROM 0 (&40)."

   71 (47H) = &X1000111 , that is, 1 at LEFT ( bit 6) plus 7 ( &X111 ) for Lower ROM
   
I presume...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:32, 02 June 16
Exactly. To update the X-MEM BASIC and FW, use the address: &40 + physical ROM slot.
This tips allow to program the X-MEM ROM0 (BASIC) and ROM7 (FW) without conflicting with the CPC BASIC and AMSDOS.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 04:28, 03 June 16
Quote from: talrek on 20:16, 01 June 16
i'm a lucky guy. Everything works fine for me  ;D
I have a question though, how to copy all files using only a command. Is it possible, i have to do the |CP,"filename" command file by file...
Hi talrek

""" i'm a lucky guy. Everything works fine for me  ""

X-Mass :-

Are you using the French Roms in your machine ?
What machine are you using 464 / 464+, 6128 /6128 +  ??
Do you have a spare machine that you could try the English roms ? and the X-Mass. to see if it will be faulty with the English roms ?.



Update :- Cancel the request Please,

Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:05, 03 June 16
Hi Ray,

What about your X-MASS today?
I have asked if you require something more before sending your parcel and you said me that is ok.
Can I understand that all is working for you now?

Thanks,

  TotO.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 09:13, 03 June 16
@Tot0


No its still not working and i have had a look back about 7 pages in this forum and there are 8 (Eight) people that are having similar problems with Acmedos 6.1b
Today i used a replacement ROM Board (Wilco2009) with 0 (zero) memory added to try and prove that it was or was not a problem with the X-Mem, Interacting with X-Mass
And even then AcmeDOs does Not Work !.
I used only 1 Rom AcmeDOS 6.1b nothing else (apart from 0 and 7 inside the CPC6128).
I thought it may have been a Language problem (French Roms / Spanish Roms - English roms ) but i don't believe that it is.


More than Mildly Frustrated, as we have been waiting over 12 Months for this Rom.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:17, 03 June 16
OK. So, I'm going to send you a new X-MASS formated with AcmeDOS and tested working on two CPC using X-MEM too.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 09:25, 03 June 16
@Tot0


Ok Thanks.
This will be the Second complete X-Mass including DOM that you will have sent me.
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 09:27, 03 June 16
Quote from: Audronic on 09:13, 03 June 16
@Tot0


No its still not working and i have had a look back about 7 pages in this forum and there are 8 (Eight) people that are having similar problems with Acmedos 6.1b
Today i used a replacement ROM Board (Wilco2009) with 0 (zero) memory added to try and prove that it was or was not a problem with the X-Mem, Interacting with X-Mass
And even then AcmeDOs does Not Work !.
I used only 1 Rom AcmeDOS 6.1b nothing else (apart from 0 and 7 inside the CPC6128).
I thought it may have been a Language problem (French Roms / Spanish Roms - English roms ) but i don't believe that it is.


More than Mildly Frustrated, as we have been waiting over 12 Months for this Rom.


Ray
Sounds like a test program is needed to identify the problems. It does sound a bit like the DOM or perhaps a power problem?

I had a load of problems with my X-MASS until i realised the problem was with the power to the CPC. :(


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 09:29, 03 June 16
Quote from: Audronic on 09:25, 03 June 16
@Tot0


Ok Thanks.
This will be the Second complete X-Mass including DOM that you will have sent me.
Ray
I will try and find some time to make a test program which I hope you will run on your X-MASS that are not working.
Maybe this can help SyX to resolve the problems in Acmedos.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:05, 03 June 16
Actually, the "problem" is that SyX can't take a look before finishing his faculty tests. So, we have to wait July.
Now, I can only resent full X-MASS or DOM tested formated with AcmeDOS to see if it is OK for everyone.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:49, 03 June 16
Quote from: arnoldemu on 09:27, 03 June 16
Sounds like a test program is needed to identify the problems. It does sound a bit like the DOM or perhaps a power problem?

I had a load of problems with my X-MASS until i realised the problem was with the power to the CPC. :(


Ok lets do one at a time.
I have a PC Power Supply 6 Amp Capability that both feeds the 6128 and also feeds the MotherX4 ( The same supply with 2 leads )
Both go through their respective Diodes One Via the 6128  The other plugged into the MotherX4 and feed the Boards on the MotherX4 with 4.3 volts..
I have tried 5 different 128 Meg Doms , 2 from Tot0 and 3 of mine. Plus some 2 Gig Doms.
I have worked in Electronic Maintenance for too long (40 Plus Years ). So I have a Reasonable grasp on Fault finding, I am NOT a programmer but a Techo.


Thanks     Ray



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:57, 03 June 16
Quote from: arnoldemu on 09:29, 03 June 16
I will try and find some time to make a test program which I hope you will run on your X-MASS that are not working.
Maybe this can help SyX to resolve the problems in Acmedos.
Hi arnoldemu.


If you can do that it will be of some help.
I have used " Impdos16" to look at the Sectors that are placed on the Dom By the |Format Command of AcmeDOS at Track 0, Sector 0 and it looks very OK to a Non Programmers eyes.
I don't know where the Directory Starts on the Dom. Or where the First Storage sector is ?


Thanks    Ray.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 11:08, 03 June 16
Quote from: Audronic on 10:49, 03 June 16

Ok lets do one at a time.
I have a PC Power Supply 6 Amp Capability that both feeds the 6128 and also feeds the MotherX4 ( The same supply with 2 leads )
Both go through their respective Diodes One Via the 6128  The other plugged into the MotherX4 and feed the Boards on the MotherX4 with 4.3 volts..
I have tried 5 different 128 Meg Doms , 2 from Tot0 and 3 of mine. Plus some 2 Gig Doms.
I have worked in Electronic Maintenance for too long (40 Plus Years ). So I have a Reasonable grasp on Fault finding, I am NOT a programmer but a Techo.


Thanks     Ray

If you are using the same supply from two sides, then the diodes aren't required. Have you tried bridging the diodes to raise Vcc back up to 5V?

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 11:47, 03 June 16
@Bryce (http://www.cpcwiki.eu/forum/index.php?action=profile;u=225)


No I have not, as Tot0 said earlier the Boards are comfortable to go down even below 4 volts .
I had a look at the Dom Specs and it seems that there are 5 Volt versions and 3.3 Volt versions ?? It was not clear in the info Sheet.
Yes i could look at bridging them out and see what happens.
Tomorrows Project.


Thanks for the thought
Ray   
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 11:51, 03 June 16
@Bryce (http://www.cpcwiki.eu/forum/index.php?action=profile;u=225)


Late Thought :-
I am not having problems using "Impdos" or BonnyDos with the same Power Supply or DOMs ?.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 12:20, 03 June 16
Then cancel tomorrows project, it won't change anything.

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 12:36, 03 June 16
If ImpDOS and bonnyDOS work, it is not related to the hardware.
Have you tried to use SymbOS and formating the DOM using the x-mass formater tool?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 13:16, 03 June 16
OK, so testing with the new Dom....

Exactly the same issue. However at least this time the Dom works in OSX and Windows. So itvlooks like both the Dom and xmass are not playing nice. Sorry @TotO I'll post them back for you to take a look.

Oddly, the only way amsdos (or parados) command work even on a or b drives when the xmass is attached us to remove the Dom. Think I'll just remove the xmass.

Thanks.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 13:17, 03 June 16
iMPdos use the same way than SymbOs to format the DoM. So Ray can easily use iMPdos to format his x-mass. It's the same thing...

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 13:39, 03 June 16
Quote from: Audronic on 10:49, 03 June 16
Ok lets do one at a time.
I have a PC Power Supply 6 Amp Capability that both feeds the 6128 and also feeds the MotherX4 ( The same supply with 2 leads )
Both go through their respective Diodes One Via the 6128  The other plugged into the MotherX4 and feed the Boards on the MotherX4 with 4.3 volts..
I have tried 5 different 128 Meg Doms , 2 from Tot0 and 3 of mine. Plus some 2 Gig Doms.
I have worked in Electronic Maintenance for too long (40 Plus Years ). So I have a Reasonable grasp on Fault finding, I am NOT a programmer but a Techo.
...just a question. Do you have the chance to try the X-Mass on different CPCs?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 14:01, 03 June 16
Quote from: TotO on 12:36, 03 June 16
If ImpDOS and bonnyDOS work, it is not related to the hardware.
Have you tried to use SymbOS and formating the DOM using the x-mass formater tool?
Hi Tot0


Why would i have to test it with SymbOS when the Problem is to do with AcmeDOS.
I am unclear as to what you are trying to achieve.
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 14:03, 03 June 16
Quote from: HAL 6128 on 13:39, 03 June 16
...just a question. Do you have the chance to try the X-Mass on different CPCs?
Hi HAL6128
Yes i have a second 6128 and it also has the same Problem ?
As i mentioned earlier there are 7 Other people that are having problems ?

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:20, 03 June 16
Quote from: Audronic on 14:01, 03 June 16

Why would i have to test it with SymbOS when the Problem is to do with AcmeDOS.
I am unclear as to what you are trying to achieve.
Peoples that not encounter this problem with the DOM formated by me, got the problem after formating it from a PC.
So, only if you have tried to format with a PC your DOM and the AcmeDOS |FORMAT RSX not solve the problem, you should try to use the SymbOS "x-mass formater" application... (or wait a solution)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 14:29, 03 June 16
Quote from: TotO on 14:20, 03 June 16
you should try to use the SymbOS "x-mass formater" application... (or wait a solution)
Hi Tot0


Ok, Thanks I will try that Tomorrow .


Of to bed Now 23:29 Friday over here.
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 23:49, 03 June 16
@Tot0


Morning.


The tests with Symbos.
Yes I was able to Format the DOM with xmass2.exe.
No i was not able to install the DOM as Drive C.
Re installed Acmedos61b Rom.
Powered down (Unplugged the Power Cord), Powered up issued the command CAT   CRASH ???
Photos Below
Ray



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 23:55, 03 June 16
@Tot0


Ok, it did not solve the problem.
Is it possible to send me the Program that you use to format the DOM or the method that you used Please.


Thanks     Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 00:09, 04 June 16
@Audronic (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1169)

You have to add the ide device as "not partitioned"!!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:18, 04 June 16
Quote from: Joseman on 00:09, 04 June 16
@Audronic (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1169)

You have to add the ide device as "not partitioned"!!
Hi Joseman


I need more information Please, add the IDE Device as " Not Partitioned" Where.


Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 00:20, 04 June 16
Quote from: Audronic on 00:18, 04 June 16
Hi Joseman


I need more information Please, add the IDE Device as " Not Partitioned" Where.


Thanks   Ray

On symbos!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:52, 04 June 16
Quote from: Joseman on 00:20, 04 June 16
On symbos!


Ok, Thanks I found it .
and configured it.
Copied 12 Files to the DOM.


Re installed AcmeDOs 61b


Cat    CRASH


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 01:00, 04 June 16
Quote from: Audronic on 00:52, 04 June 16

Ok, Thanks I found it .
and configured it.
Copied 12 Files to the DOM.


Re installed AcmeDOs 61b


Cat    CRASH


Ray

Ok, at least the DOM is working, I think that the first step for everyone to test the DOM and the xmass should make it work on symbos...

But remember, no partitioned, because there is no partition on the formated DOM or HDD with the symbos or acmedos utilities, and acmedos doesn't support partitions!!

is weird that acmedos works like a charm on my SF2 and 2.5 HDD and not on xmass...

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:19, 04 June 16
Quote from: Joseman on 01:00, 04 June 16
Ok, at least the DOM is working, I think that the first step for everyone to test the DOM and the xmass should make it work on symbos...

But remember, no partitioned, because there is no partition on the formated DOM or HDD with the symbos or acmedos utilities, and acmedos doesn't support partitions!!

is weird that acmedos works like a charm on my SF2 and 2.5 HDD and not on xmass...


Yes you are correct , i used BonnyDOS and ImpDOS for my tests I can Now add SymBOS to the list that works with The X-Mass Board and a 128 Meg DOM.
I will add you to my list of people that are having problems with X-Mess !.  You are # 9 on the list (The list is Private  only for my records ).

I will have to wait till the end of June by the looks of it Unless Tot0 cam come up  something.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 01:26, 04 June 16
Quote from: Audronic on 01:19, 04 June 16

I will add you to my list of people that are having problems with X-Mess !.  You are # 9 on the list (The list is Private  only for my records ).


I didn't try xmass with acmedos, symbos or nothing! i like my SF2 a lot and didn't make any try with xmass at the moment.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 02:10, 04 June 16
@Joseman (http://www.cpcwiki.eu/forum/index.php?action=profile;u=135)


You are now removed from the List.
Thanks for the clarification.
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:44, 04 June 16
OK. Thank you for testing.
That confirm from you the X-MASS board and format work fine, but AcmeDOS have something wrong to fix.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:56, 04 June 16
Quote from: Audronic on 01:19, 04 June 16I will add you to my list of people that are having problems with X-Mess !.  You are # 9 on the list (The list is Private  only for my records ).
A class action against a free bugged beta program for CPC?  ;D
I have registered 21 peoples reporting a problem over X-MASS 148 users... Only 2 had a defective board and was exchanged. 12 the same as your.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:07, 04 June 16
Quote from: TotO on 07:56, 04 June 16
A class action against a free bugged beta program for CPC?  ;D
I have registered 21 peoples reporting a problem over X-MASS 148 users... Only 2 had a defective board and was exchanged. 12 the same as your.


Hi Tot0
"" A class action against a free bugged beta program for CPC? ;D
No I was just interested as to who has had problems, and that i was not alone.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:08, 04 June 16
Quote from: TotO on 07:44, 04 June 16
OK. Thank you for testing.
That confirm from you the X-MASS board and format work fine, but AcmeDOS have something wrong to fix.  8)
Hi Tot0


Ok something to fix.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:21, 04 June 16
Quote from: Audronic on 08:07, 04 June 16No I was just interested as to who has had problems, and that i was not alone.
Sure, it was a joke. Just let you know that you are not alone and more than 9 peoples.  ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 22:30, 04 June 16
Hi Audronic,

after starting with ACMEDOS your first command should be  |CD,"\" in order to init root directory.
Same thing after a crash with ACMEDOS: You have to use this command before any CAT.
Did you do so?

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 23:54, 04 June 16
Quote from: netmercer on 22:30, 04 June 16
Hi Audronic,
after starting with ACMEDOS your first command should be  |CD,"\" in order to init root directory.
Same thing after a crash with ACMEDOS: You have to use this command before any CAT.
Did you do so?
Kind regards
netmercer
Hi netmercer.
No I did not know that ??
I will power up the 6128 and see what happens.
Thanks (Hopefully)
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:01, 05 June 16
@netmercer (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1266) 

With the short test that i have done "" IT WORKS "".
Where did you get this info from Please as i have spent a lot of time doing a lot of testing.
Please inform Tot0 and Syx of this.

Very Pleased.

I Will have to sell my Flamethrower and Axe now  :P

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 02:12, 05 June 16
@Tot0
@Syx
I Missed reading this extract from your readme.md.


I have to Issue the Command   "" |CD,"/"  Before I do a CAT  (Damn)
Thanks to Netmercer for pointing this out to me.


This has now made the X-Mass and Dom work.


I hope the others that have been having problems read this as it may help.

* If you reset the CPC after using a program, you could get a crash when you are using any HD command.
Usually it's because the program corrupted the AcmeDOS variables ram zone, and then AcmeDOS will access to a sector in the HD that it's not part of the FAT.

The fix is easy, only introduce |CD,"\" or |CD,"/" (unix and win users happy!) for going to the root of the drive (nice tip by Bernhard).

Why is not initialised the sector number with every reset? Because when a binary file is executed with RUN"filename, the firmware will initialized the upper roms before giving the control to the program; that means we would lose the active folder and every additional file read/write operation would go to the root, and no multipart or save game would load, for example.

Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 06:42, 05 June 16
Further Thoughts :-

Things to add to AcmeDOS.

After finding out that I had to log on the Hard Drive with |CD,"/" which is a pain.
I have had this thought :- an Additional RSX Command (Perhaps)

|.    Log on Hard Drive
|.CAT Log on Hard Drive and do a CAT

Or something like this, Is this Possible/Workable.

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:45, 05 June 16
I will not remember that at all, and I'm waiting SyX back...  :picard2: :picard2: :picard2:
Now, I have just sent an email to SyX, for doing that into the FORMAT command to no more have this issue.  :-\
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:32, 05 June 16
@Tot0  @Syx


Sorry i Missed the Command in the Readme.md, CD,"/"

Thanks for being patient.

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 13:44, 05 June 16
Quote from: CraigsBar on 13:16, 03 June 16
OK, so testing with the new Dom....

Exactly the same issue. However at least this time the Dom works in OSX and Windows. So itvlooks like both the Dom and xmass are not playing nice. Sorry @TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) I'll post them back for you to take a look.

Oddly, the only way amsdos (or parados) command work even on a or b drives when the xmass is attached us to remove the Dom. Think I'll just remove the xmass.

Thanks.


OK, so the 2nd DOM has now failled to be recognised in Windows and OSX as well. Looks like this xmass might have become a mutant DOM Killer. I'll post all of it (2 DOMS and the X-Mass) to you @TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) if they will help you troubleshoot?


Edit: So very glad I dod not try my Amiga 600 16gb DOM in this, I'd be gutted if that had failed in the same way.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 14:05, 05 June 16
@craigsbar
Your Windows box are you running XP.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 14:08, 05 June 16
Yep. XP. The new 256mb Dom worked fine on it until it was placed in the xmass. Now it does not initialize on the xp box anymore :) my last dom (128mb but at 90 degree so won't fit the xmass works fine in xp, as did the 256mb one before.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 14:14, 05 June 16
@craigsbar

Below are from my notes :-

How to format on a PC FAT16
If you    run "" compmgmnt.msc ""
On XP you should be able to see the DOM
or Go to the web site below and have alook

http://www.dizzy.co.za/sdhc_fat16.asp

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Token on 16:54, 05 June 16
I'm lacking of time to make more tests but |CD,"\" fixed the problem here (with the stock DOM) so thanks, earn a like ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:45, 06 June 16
Hi All


A New Version of AcmeDOS v0.6.2B Is available.

GitHub - realmml/X-Mass-ROM: A FAT filesystem rom for the X-Mass expansion for (https://github.com/realmml/X-Mass-ROM)

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:01, 06 June 16
@Syx
@Tot0

Thanks for the New Version of AcmeDOS v0.6.2b

With the small amount of testing that i have done its working well.
Thanks for logging on the Hard drive at Power up.

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:20, 06 June 16
Not fully fixed for everyone. Look that |CD,"/" must be done each time the CPC is turned on... :(
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 14:39, 06 June 16
Quote from: TotO on 14:20, 06 June 16
Not fully fixed for everyone. Look that |CD,"/" must be done each time the CPC is turned on... :(

not with the SF2! it works correctly without doing this, this is why it worked from the start for me and not for others  :laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:41, 06 June 16
The problem is not related to the interface...
Some, like me, don't have this problem at all. Others, only require to do one time this. Others, at every boot.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:46, 07 June 16
@Tot0

"""  The problem is not related to the interface...
      Some, like me, don't have this problem at all. Others, only require to do one time this. Others, at every boot. """

My Machines here all have CRTC0 (6128),  I was wondering if this is the same as yours.

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:09, 07 June 16
I have tested with 4 differents DOM on two CPC (CRTC 0, 1) and it always work.
As all run fine using SymbOS or BonyDOS, the issue is presumably software related.
From my side, the only thing I can do is testing/exchanging problematic boards for a new one.  :-\
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 07:27, 07 June 16
@Tot0

Ok Thanks then its not CRTC(X) Problem

I am happy  >:(  --   ;D to type in the Commands as this is the second board.

Thanks Again  Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: talrek on 07:35, 07 June 16
Quote from: TotO on 07:09, 07 June 16
I have tested with 4 differents DOM on two CPC (CRTC 0, 1) and it always work.
As all run fine using SymbOS or BonyDOS, the issue is presumably software related.
From my side, the only thing I can do is testing/exchanging problematic boards for a new one.  :-\

I don't understand why you should do that since it is software related... the readme file is explicit with the |CD,"/" command, so it is i think 1000% software :) Or a dual-bug ? something in the hardware causing a software bug ? a CPConspiracy ????  :o
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:23, 07 June 16
Quote from: talrek on 07:35, 07 June 16I don't understand why you should do that since it is software related... the readme file is explicit with the |CD,"/" command, so it is i think 1000% software :) Or a dual-bug ? something in the hardware causing a software bug ? a CPConspiracy ??? ?  :o
Because while the problem is not fixed for everyone, may be some alternative configurations should allow to get around.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:43, 07 June 16
@Tot0 

I had some time today and scratched out :-
Just some thoughts :-

Would it be possible to add these extra commands for AcmeDOS

After Power UP, When you sent the following command :-

|D           this would Log on the Hard drive.
|HD          this would Log on the Hard drive.
|Drive,"D"   this would Log on the Hard drive.

Or add an Error message, Rather than Crashing after doing a CAT at Startup.

Or on a 6128 Use the other bank or another memory location to store the Hard Drive Data that now gets erased.


Thanks    Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:13, 07 June 16
A fix is not easy as a ROM only have one entry point. So, it don't know if it is called because CPC start, reset or require to execute a RSX.
By the way, I can't do anything related to the AcmeDOS software from my side...

One think you can report are the values stored into the RAM at &BEA6, &BEA7:
- After the CPC is switched ON
- After executing the |CD,"/" command

Repeat this some times to know if a randown content is filled...  8)
(require to wait at less 10s to be sure the RAM content is lost when you switch it OFF)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:17, 07 June 16
@Tot0

Ok Thanks.
These were just some thoughts thats all.

Is there reason for choosing the  2 Memory (&BEA6, &BEA7) locations to store the pointers.
Are there any other locations that could be chosen that are " safe '

Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:48, 07 June 16
&BE00 to &BE40: STACK
&BE40 to &BE80: STACK (or AMSDOS)
&BE80 to &C000: STACK

ACMEDOS use some free RAM following the AMSDOS memory for storing its data.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 11:02, 07 June 16
@Tot0


Ok,  Thanks


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 21:11, 07 June 16
Quote from: TotO on 14:20, 06 June 16
Not fully fixed for everyone. Look that |CD,"/" must be done each time the CPC is turned on... :(


SyX can very easy add that CALL to that part doing the initialization of the ACMEDOS ROM at system start up. Or is there some reason not to do it at startup?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 21:19, 07 June 16
Just a suggestion: It may be a timing problem. Adding a delay after power-up before the DOM is initialised might solve the problem? Or reset the DOM 2 seconds after powerup?

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 21:59, 07 June 16
Hi,
it would be a piece of cake for Syx to reset the filesystem of ACMEDOS at cpc-reset in order to avoid the |CD,"/" command after a crash for example.
Because when a binary file is executed with RUN"filename, the firmware will initialized the upper roms before giving the control to the program; that means we would lose the active folder and every additional file read/write operation would go to the root, and no multipart or save game would load, for example.
It's a concession to be AMSDOS compatible.
Simply please read the README file on GitHup.

Believe me, it's not a bug, it's a feature !!!!  :-*

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 22:50, 07 June 16
Quote from: netmercer on 21:59, 07 June 16

Because when a binary file is executed with RUN"filename, the firmware will initialized the upper roms before giving the control to the program; that means we would lose the active folder and every additional file read/write operation would go to the root, and no multipart or save game would load, for example.

If i undestand correctly:

- with run"loader.bin" the firmware will initialized the upper roms and we lose the active folder

- with run"disc.bas" that inside will load"loader.bin",&4000:call &4000, will NOT initialize the upper roms and we don't lose the active folder...



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 23:24, 07 June 16
Quote from: Joseman on 22:50, 07 June 16
If i undestand correctly:

- with run"loader.bin" the firmware will initialized the upper roms and we lose the active folder

- with run"disc.bas" that inside will load"loader.bin",&4000:call &4000, will NOT initialize the upper roms and we don't lose the active folder...



Hi,
no, the active folder on X-Mass is never lost, because there is no reset for the filesystem of ACMEDOS at initializing of the ACMEDOS ROM. This is the reason why |CD,"/" is necessary in some cases. For example if ACMEDOS's RAM is corrupted by a game or other program. Then the active folder might be undefined.

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 23:31, 07 June 16
Quote from: netmercer on 23:24, 07 June 16

[...] if ACMEDOS's RAM is corrupted by a game or other program. Then the active folder might be undefined.


I have a multiload game with a custom loader made by me, do you know what variables must i save and after reload the firmware and call the roms again, restore to load correctly the levels?

I tried dozens of times, and i can't load correctly the levels, the call #BC77 returns error and no file is loaded, the HDD led blinks, so acmedos is active, but fails to load the level...

Tried to put the levels on the root directory but no... no sucess
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 23:47, 07 June 16
Use a BASIC loader, so no ROMs need to be initialized again.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 00:02, 08 June 16
Quote from: Joseman on 23:31, 07 June 16
I have a multiload game with a custom loader made by me, do you know what variables must i save and after reload the firmware and call the roms again, restore to load correctly the levels?

I tried dozens of times, and i can't load correctly the levels, the call #BC77 returns error and no file is loaded, the HDD led blinks, so acmedos is active, but fails to load the level...

Tried to put the levels on the root directory but no... no sucess

Hi,
the pointer to the folder is stored in &BEA6 and &BEA7. if you are overwriting this area with your game levels, then you should perhaps save its contents, however.

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 00:02, 08 June 16
Quote from: TFM on 23:47, 07 June 16
Use a BASIC loader, so no ROMs need to be initialized again.

The game is already loaded, all the ram used and overwritten. the loader is pure asm that change the original game loader.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 00:09, 08 June 16
Quote from: netmercer on 00:02, 08 June 16
Hi,
the pointer to the folder is stored in &BEA6 and &BEA7. if you are overwriting this area with your game levels, then you should perhaps save its contents, however.

Kind regards
netmercer

Yes, i save #BE00 to #BEA9 before call the game, and restore it before call #BC77, but nothing, there is no way to make it work...

I'm out of ideas... the thing is that if i do a custom loader that loads a screen, and only execute the loader, then it works!, i can delete de firmware, restore the firmware, restore the roms, and it just simply works, but if i integrate the same loader (similar) to this game... then nothing... it doesn't work, whatever i do
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX-in-faculty on 00:14, 08 June 16
@Joseman: Take a look to the source code of the loader in my pacman emulator.
I am in my night classes, but
basically you only need to save the drive in use, call to reinitialize the upper Roms and restore the drive number.
I always used that code in my cracks and projects since the 80s, because my CPCs configurations always were specials with a 5" 1/4 or 3" 1/2 B drive and the rom for handling this exotic drives was in rom position 6. And I had to fix a lot of cracks that only used A drive or only reinitialized rom 7.
Doing this, your projects will load in any exotic drive and exotic rom configuration (nada de cutrecargadores basic :p).

With respect to this elusive bug, well I have not got yet time for checking this, I am assuming that my code for returning to root when we get a non-sense folder cluster is not handling this case... It will be fixed, as the rest of things (sorry I only have read this page because I got an email while I was waiting to the next class).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:38, 08 June 16
@Syx
@Tot0


Further thoughts :-

If you don't make the Hard drive the Default drive at Powerup.
But make |A drive the default (which is the normal default).
And then you call the Hard drive as |D.
Would that overcome the Problem (|CD,"/" )

Thanks    Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:02, 08 June 16
And each time you will switch from A: to D: you will lose the path.  :(
By the way it was not an option, because booting from X-MASS will allow to run an autoboot file to customise the users start-up!

As SyX said, a good way to process is detecting if the current path is valid. If not, going to the root.
Now, as requested, it will more help to let us know what are the memory values read at &BEA6 &BEA7 after some CPC boot. 8)

Thanks,

  TotO.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 09:29, 08 June 16
Quote from: TotO on 08:02, 08 June 16
.. booting from X-MASS will allow to run an autoboot file to customise the users start-up!

Have i missed something?
It's an already implemented feature?
If yes - how do i use it?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:35, 08 June 16
"will allow"
You have actually missed nothing.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 09:39, 08 June 16
Just for information, the use of ¨ùcd,"/" works perfectly on my CPCold with the new version of the ROM: thanks for the update  :)
I will try to have a look to RAM values if it could be helpful to fix it definitively ;)



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:47, 08 June 16
Quote from: TotO on 08:02, 08 June 16

Now, as requested, it will more help to let us know what are the memory values read at &BEA6 &BEA7 after some CPC boot. 8)

Thanks,

  TotO.


The above were just some thoughts  :-X


Do you know of a monitor program that can allow me to look at the values (I am Not a Programmer). And where to get it.
And if we all use the same process then you will get consistent results.
Thanks   Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:57, 08 June 16
A monitor program? Hum...

PRINT PEEK(&BEA6) : PRINT PEEK(&BEA7)

;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 11:15, 08 June 16
The results are :-


after power up i get 255 for both addresses.
After issuing |cd,"/"
I get 0 (zero) for both addresses.


I had spent some time trying to read the addresses previously using examples from the AMSTRAD 6128 book BUT syntax errors only ??
PEEK (Address expression) ??

Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 11:49, 08 June 16
Thank you. 255 everytime? (others with problems reported me 255, 237, 249...)

Quote from: Audronic on 11:15, 08 June 16I had spent some time trying to read the addresses previously using examples from the AMSTRAD 6128 book BUT syntax errors only ??PEEK (Address expression) ??

May be you forget the PRINT previously!  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:28, 08 June 16
A new update will be ready soon.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: mr_lou on 13:32, 08 June 16
delete this
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 13:53, 08 June 16
As I said on a previous post...

In the absence of official information, and keep in mind that this can be (partially) wrong:

*Actual disc in use same than AMDOS : RAM direction (#A700)

          #A700= #00 --> drive A
          #A700= #01 --> drive B
          #A700= #03 --> drive D (mass storage)

*RAM direction were the complete  directory path is stored: #BEA6

     for example:
         #BEA6 = #00 --> root dir (d:\)
          #BEA6 = #02 --> d:\symbos
          #BEA6 = #03 --> d:\juegos
         #BEA6 = #A8 --> d:\juegos\marauder

     seems to me some kind of calculation of the dir entries of the fat16 disc...

*Buffer that uses ACMEDOS and that need to be restored if it's erased by some routine: [THIS IS TOTALLY BY GUESS AND PROBABLY INCORRECT]

                       #BE70 - #BEA6

This is totally tested by load acmedos  in a cold reboot --> go to a directory --> save the drive number --> save the ACMEDOS buffer --> erase the entire firmware and ACMEDOS buffer -->  reenable the firmware --> reload amsdos rom and acmedos rom --> restore the direction #BE70 - #BEA6, and (of course) the #A700 direction with #3.

The program / game will load from hdd correctly...

I think that only saving #A700 & #BEA6 & #BEA7 doesn't work
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:57, 08 June 16
&BEA7 if used too. Probably better to save up to &BEAF.

&A700 is only an AMSDOS valid address if you do not use too much ROM into the CPC memory space.  ;)
To know the real entry point, you have to read the &BE7D and &BE7E bytes.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 14:09, 08 June 16
Quote from: TotO on 13:57, 08 June 16
&A700 is only an AMSDOS valid address if you do not use too much ROM into the CPC memory space.  ;)
To know the real entry point, you have to read the &BE7D and &bE7E bytes.


Yes i know, my loader acts this way, but no, in my game it doesn't work  >:(

There must be some variables related to this problem... not Acmedos necessarily... some firmware variables... some pointer... mmmm
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 14:18, 08 June 16
Deleted
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:55, 08 June 16
Here an alternative version looking to fix the root entry bug at boot.
Peoples getting this issue don't more require to do |CD,"/" before a CAT.
Please, use at your own risk!  ;D

[attachurl=2]
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 15:03, 08 June 16
Quote from: TotO on 14:55, 08 June 16
Here an alternative version looking to work.
Please, use at your own risk!  ;D

What this version fix?

The |cd,"/"?

tonight i'll try...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:11, 08 June 16
Yes. No more required to do it at boot for peoples having this issue.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 15:25, 08 June 16
Quote from: Joseman on 00:02, 08 June 16
The game is already loaded, all the ram used and overwritten. the loader is pure asm that change the original game loader.


If everything is overwritten (including AMSDOS/ACMEDOS system RAM), then I don't see a way to load from DOM/HD except you make your own routines.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 15:40, 08 June 16
Quote from: TFM on 15:25, 08 June 16

If everything is overwritten (including AMSDOS/ACMEDOS system RAM), then I don't see a way to load from DOM/HD except you make your own routines.

I mean that the game overwrites all the ram, but i restore the firmware, and the roms... and then i restore the acmedos variables to the last path used...

but the call #BC77 returns error loading the file... the HDD led blinks... but no way, the call #bc77 returns error...

the thing is that with a loader isolated the same process works... but with the game not!...

the difference is that with the loader isolated, i overwrite the firmware and amsdos ram all with "#00", and in the game i don't do this step because the firmware is already overwrited... This is why I suspect on some system variable with random values...

P.S. Is there any ultra tested code to restore correctly the firmware and amsdos? perhaps i'm doing something wrong...





Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:03, 09 June 16
Quote from: TotO on 11:49, 08 June 16
Thank you. 255 everytime? (others with problems reported me 255, 237, 249...)

May be you forget the PRINT previously!  ;D

Update this morning For Print (Peek------
Same as yesterday 255 and then 0 Using Older ROM

Yes i did forget the Print Peek(----)
i was just testing the Peek &xxxx and i keep getting Syntax Error ( now if Syntax error was to do with my TAX then i would not complain).
Ohhh well back to technical things.
Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:25, 09 June 16
Quote from: TotO on 14:55, 08 June 16
Here an alternative version looking to fix the root entry bug at boot.

After installing the Alternative Test ROM, i get the following results at &BeA6/7  Both 0 (Zero) no matter what i do.
I like the Cat defaulting to the Hard drive at PowerUP which works well (with the short testing the i have done).
I have changed Folders, run "Flasher.bas" from a Folder OK etc

Excellent fix.

Thanks    Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:11, 09 June 16
Thank you. Fine to know that work for you too.  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:41, 09 June 16
@Tot0


There is a reference to a "File" Commander will this be similar to the one used in SymbOS.
Thanks     Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 08:47, 09 June 16
Suggestion for improvement:
Some  >:( of the AMSDOS-RSX seems to return in the Z-Flag, if the RSX is successfully. (Z=1 is error in the |ERA-RSX) - but when execute |REN you can only guess the result.
My test against "|MD" with a new directory and an already existing directory brings me no difference in the F-Register.
Could it improved?  ;)     (|MD,|RD,...)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 08:51, 09 June 16
Quote from: Audronic on 08:41, 09 June 16
There is a reference to a "File" Commander will this be similar to the one used in SymbOS.
Similar? I dont know.
[attach=2]
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:59, 09 June 16
Quote from: SOS on 08:51, 09 June 16
Similar? I dont know.
[attach=2]
Hi SOS
Is that a file or ROM ?
Is it available.


Thanks     Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 09:17, 09 June 16
Quote from: Audronic on 08:59, 09 June 16
Is that a file or ROM ?
Is it available.
It would only be a ROM.
It is not available at the moment.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 09:34, 09 June 16
Look nice for a prototype ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 09:43, 09 June 16
Most of the functions are working without errors (or big errors) in WinApe,
like CD,RD,MD,Copy to/from D, Copy from D to D, Copy marked files.
Not working at the moment is copy one directory (i will only support one Level with this function - not copy directory with an included directory).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 09:50, 09 June 16
Quote from: SOS on 09:17, 09 June 16
It would only be a ROM.
It is not available at the moment.
Hi SOS


Ok Thanks.
Should you like it to be tested later, Please add me to the list.


Well done     Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 11:28, 09 June 16
Hi

@SOS (http://www.cpcwiki.eu/forum/index.php?action=profile;u=941)

Same here, if you need betatesting, here is a SF2 - acmedos user to test it!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 11:41, 09 June 16
Quote from: Audronic on 14:14, 05 June 16
@craigsbar

Below are from my notes :-

How to format on a PC FAT16
If you    run "" compmgmnt.msc ""
On XP you should be able to see the DOM
or Go to the web site below and have alook

http://www.dizzy.co.za/sdhc_fat16.asp

Ray

Yeah, that's great, but as i said, neither of these DOM's now work at all under windows. They are recognised as a 128 (or 256) mb drive in device manager, but they are not ever shown in the drive manager to select them to format them.

I am completely disillusioned with the xmass at this stage. I'm going to post the lot back to @TotO when I get a chance in the hope that he can very that I am not going mad (always a possibility) and make it work for me ;)
Other than that I hope to see the m4 and albiero boards get fat drivers sooner rather than later ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 11:45, 09 June 16
M4 is already FAT32 capable, just format and SD card on your PC/Mac/Whatever and off you go!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 12:39, 09 June 16
Has anyone tried to format the DOM as a "Superfloppy" in a Window 7-System (or newer)?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 14:21, 09 June 16
Quote from: SOS on 08:47, 09 June 16
Suggestion for improvement:
Some  >:( of the AMSDOS-RSX seems to return in the Z-Flag, if the RSX is successfully. (Z=1 is error in the |ERA-RSX) - but when execute |REN you can only guess the result.
My test against "|MD" with a new directory and an already existing directory brings me no difference in the F-Register.
Could it improved?  ;)     (|MD,|RD,...)
I took a breath while i was studying for this night android test and added error conditions to the rest of RSXs. Soft968 doesn't define any exit condition for disk RSXs at all, but i followed the firmware conventions (Carry Set = Success | Carry Unset = Error).

I haven't tested each command more than once, but i hope there is not errors (not too much :P). Until this is not well  tested, it will not be published in the official github... but because i will not be available during the next weeks and people looks very active those days, you can find this version attached to this message.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 14:27, 09 June 16
Fast update  :o


I will install and test it this evening; thank you for sharing :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 14:28, 09 June 16
Quote from: SyX on 14:21, 09 June 16
Soft968 doesn't define any exit condition for disk RSXs at all, but i followed the firmware conventions (Carry Set = Success | Carry Unset = Error).

Great thank you, i will test it.
And nice &BEDF-Joke you made :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:51, 09 June 16
Quote from: SOS on 14:28, 09 June 16And nice &BEDF-Joke you made :P
A shame that was not a BEEF joke!  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 15:06, 09 June 16
Quote from: TotO on 14:51, 09 June 16
A shame that was not a BEEF joke!  ;D

Thank you, that you pointed me to the right things. Previously i'm not sure how i can easy check if ACME-Dos is installed, so now i know the range &BEE3 - &BEE6 :P :P


Meanwhile as i'm using my brain....
Oh dear  :picard: , i'm not native-english-speaker, now i have understand it !  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 15:18, 09 June 16
Quote from: CraigsBar on 11:41, 09 June 16I am completely disillusioned with the xmass at this stage [...] I hope to see the m4 and albiero boards get fat drivers sooner
I will refund you after receiving back your board.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 16:02, 09 June 16
Quote from: TotO on 15:18, 09 June 16
I will refund you after receiving back your board.
You misunderstood I think ;) I am not looking for a refund. I love the concept and modular design of your boards. I still would like all of them, but this one is driving me nuts! If you can make it work then perfect. Return the card to me and no refund is needed. But for me at the moment on 4 cpc's and a just cpc and 2 separate doms I am getting nowhere ????


Sent from my A3-A30 using Tapatalk

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 18:20, 09 June 16
New ROM installed and everything seems OK up to now !!

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 20:02, 09 June 16
The new ROM works, MD+REN tested with the new flags, seems ok :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 20:40, 09 June 16
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) , i have an other wish/request  ;D ;D    (thank you  ;D :D )
=>
Some thoughts about your documentation - move (MV)-Command:

I'm not an expert in the FAT-structure, but if i remember how long time it costs, when i move e.g. a 10GB-File in Windows from one Dir to another.
Compare it to the - copy 10GB-File from one Dir to another Dir - process, the Move-Command in Windows uses a "simple" reallocate of the existing FAT-Entry to the new destination.

Let's take a look to the Amstrad & Acme-DOS: It can be programmed a copy-based move-command. But it will be really,really  sloooooow.
A light-year-faster would be a RSX-based reallocate-based move-command.  ;) ;) ;)


Now i will be quiet  :blank:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 08:26, 27 June 16
Quote from: SOS on 20:40, 09 June 16
Now i will be quiet  :blank:
Ok, i must break my promise.
I found an error:
All "CAS_IN_DIRECT" (&bc83) will returns an &0e error (an reset C-Flag, the CAS_IN_DIRECT will be too early exit in xmas 0.63 at &c1c6), if you want to load a a basic-file from the DOM.
Also the normal Basic-"Load"-command is affected, but:
The Basic (1.1) tests against the Z-Flag if an error occured (WHAT!?  :o ).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:26, 29 June 16
OK, I follow that to SyX...  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 13:53, 29 June 16
Hi SOS,

Of course, a |move command should reallocate the sectors used by the file/folder, nothing of making a slow boring copy + delete, hehehe.

Quote from: SOS on 20:40, 09 June 16
I found an error:
All "CAS_IN_DIRECT" (&bc83) will returns an &0e error (an reset C-Flag, the CAS_IN_DIRECT will be too early exit in xmas 0.63 at &c1c6), if you want to load a a basic-file from the DOM.
I can not reproduce that bug here, i have tested a few basic files of different sizes (since a simple hello world, to games abusing of basic as Elf, passing for basic programs filled with RSXs as 3D Munchies). Could you attach the problematic file for i can test?

The nice thing about your bug report, it's that i was using an old constant (practically code from the first day, i started) for that error code, and it should be $0F, instead of $0F (i love assembler enums!!! :P).

Quote from: SOS on 20:40, 09 June 16
Also the normal Basic-"Load"-command is affected, but:
The Basic (1.1) tests against the Z-Flag if an error occured (WHAT!?  (http://www.cpcwiki.eu/forum/Smileys/SoLoSMiLeYS1/shocked.gif) ).
Yes, this is one of the funny bugs in the Basic rom, they should test against not Carry, instead of zero flag set. And it happens in both Basic versions, 1.0 and 1.1.

The fun thing is the other time that they make a call to CAS_IN_DIRECT in the basic rom (for loading binary files, i suppose), they check for the Carry flag as they should do :P... someday, i should finish my python interpreter rom, hahaha.

Quote from: SOS on 20:40, 09 June 16
Now i will be quiet  :blank:
No, feel free to speak and suggest all that you want, your bug reports are always interesting and take me mind out of Clojure :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 19:22, 29 June 16
Hmmmm, strangely, it seems not to be affected each BASIC file.
My perception has to have suffered well after what felt like 50. Loading test an affected file.
I have not really been tested many DSK's, attached on the fly an affected file.
If you need more, please let me know.[attachmini=2]
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 02:18, 30 June 16
Perfect test case!!! Thanks!!! :)

And as a i told you, another really fun and interesting bug :)

It looks that if a file size was an exactly multiple of the sector size, then we would get that Z flag set and not Carry, getting the error... although the file was read fully and the program worked perfectly :P

But the reason for that is because practically nobody checks by i/o errors in their loaders after a CAS_IN_DIRECT, and we love to optimize code in size... for example, this fix has reduced the rom size in 3 bytes and this optimizations feel so good xDDDD.

You can find attached to this message the fixed rom (v0.64b), as the other time if nobody finds any error, i will upload the rom to the github in a few days.

PS: The next time that i make another rom like this, i should make first the automatic test cases, hehehe.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 21:18, 30 June 16
Hi Syx,
I found an issue with openin/openout/Input command. It is not working from Basic. At least on my CPC. Maybe someone else could Check?
I created an ASCII file with Protext (programming Mode not document) which works very well (loading and saving). I wanted to load that file from Basic with openin"file", input#9,a$ etc. but the input command took about twenty times longer than regular to read in a character.
Second issue was that the character read in is a full line with 255 single chr$(255).


So, working with Protext is no Problem. Files will be saved and loaded as expected (fast and correct). But not with the Basic commands??? :-\
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 22:12, 30 June 16
@HAL 6128 (http://www.cpcwiki.eu/forum/index.php?action=profile;u=365): Sorry, that is "correct"!!! Those firmware functions for reading/writing byte to byte are not implemented yet (i have not tested at all, surely they made crazy things).  They are used by the basic during the input/output operations using streams or for reading/writing files without header, as ASCII files.

They will be implemented, but i have not enough free time for that yet. I left those for the end, because for the most part of the people that wants to play games or launch demos, these functions are not important and we have the alternative of protext (as appears in the github readme), that it's the reason for the low priority.

Another fact, it's that the released ROM is practically the same rom that we had when the board was released (except for all the bug fixes that the guys helped us to discover), but i wanted to finish all the rom functionality before to make a first release... but this moment was when i was getting more and more busy here, and instead of releasing, i made the big error of thinking that i could get enough time for finishing... then i closed the eyes and i opened them again, a year and a half had passed and i had not code one line at all and my perspectives of fixing my free time where null.

Without TotO encouragement me (Thanks!!! :)), maybe i would never released at all.

Fun thing, it's that this is my third disk rom, the two other tries failed because the hardware was never ready and the software was practically finished, because those boards had a microcontroller for handling the FAT.

In short, i need to finish this, hehehe.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 14:00, 01 July 16
Quote from: SyX on 22:12, 30 June 16
@HAL 6128 (http://www.cpcwiki.eu/forum/index.php?action=profile;u=365): Sorry, that is "correct"!!! Those firmware functions for reading/writing byte to byte are not implemented yet (i have not tested at all, surely they made crazy things).  They are used by the basic during the input/output operations using streams or for reading/writing files without header, as ASCII files.

Yes, sorry, you are right, you have already told... damn, I'm getting old.  :picard:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 16:25, 01 July 16
Quote from: HAL 6128 on 14:00, 01 July 16
Yes, sorry, you are right, you have already told... damn, I'm getting old.  :picard:


It's not getting old, it's called deactivation...


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 19:55, 01 July 16
yeah... deactivation means removing all the additional x-mem banks from my X256 board?
At the end I will suffer from plain 128kByte, brrr.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 21:27, 01 July 16
Pure horror!  :o
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: madram on 11:14, 02 July 16

Hi!


Thanks again to TotO for the nice work on the hard side, and to SyX for the hard work on the soft side.

Quote from: SyX on 22:12, 30 June 16
Those firmware functions for reading/writing byte to byte are not implemented yet
[...]
these functions are not important


Allow me to disagree. They are very important to me!
I use them (in Orgams) for reading files by chunks of arbitrary size, but unlike Starkos, with same speed than DISC_IN_DIRECT (by picking in the 2k buffer and updating AMSDOS's variable accordingly). I've learned since that Prodatron already did this in Digitracker.
It allows to split big files (+40k) in banks. Incoming tools may work with bigger files yet (think more-than-fullscreen interlace gfx!).


What would be the alternative? To split in several files on disc and load them one by one ? That would be very inconvenient for several reasons:
So, reducing both user friendliness and programming ease because things are a bit tricky to code? Come on! (:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 11:17, 02 July 16
I am sure SyX will fix it when he has time to do so :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 13:06, 02 July 16
@madram (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1459) : Thank you for your feedback!  8)

I know SyX had done his best to cover most of the usages first into the beta version.
He probably have not expected that was early required to use CAS_IN_CHAR with 512K RAM and 128MB SSD.

Wet & Sea...  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Poliander on 16:56, 03 July 16
Is there a known incompatibility between AcmeDOS/FAT and SymbOS? I was able to format my DOM (|FORMAT) and create directories, copy files to it, but after I've copied SymbOS to D:\SYMBOS I ran it once, since then I can't copy files using |CPH to the drive. It says just "file length zero"...  :(
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 19:54, 03 July 16
Quote from: Poliander on 16:56, 03 July 16
Is there a known incompatibility between AcmeDOS/FAT and SymbOS? I was able to format my DOM (|FORMAT) and create directories, copy files to it, but after I've copied SymbOS to D:\SYMBOS I ran it once, since then I can't copy files using |CPH to the drive. It says just "file length zero"...  :(

Hi,
perhabs you are trying to copy a file without AMSDOS Header.
Why don't you use your SYMBOS for filecopy??  ::)

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Poliander on 21:25, 03 July 16
Quote from: netmercer on 19:54, 03 July 16
perhabs you are trying to copy a file without AMSDOS Header.

You're totally right - I wasn't aware of that.  :picard:

Copying using SymCommander works fine. Is it possible to boot SymbOS completely from DOM? It seems that SymbOS doesn't find its configuration when started from D:\SYMBOS
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 08:39, 04 July 16
Yes, it's possible. There's a release from @Prodatron (http://www.cpcwiki.eu/forum/index.php?action=profile;u=13) on a disc (not the ROM version) which has the files: sym.bas, sym0.bin, sym4.bin, sym5.bin etc... . Just copy the files in the root directory. But before you can start it you should have to configure the symbos.ini file from disc (add IDE mass storage and change system path to d:/), save it to disc and copy it (with the symcommander) to your x-mass. Now it should work if you start "sym.bas" from x-mass. It starts - by the way - as fast as the ROM version.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Poliander on 07:12, 05 July 16
Thank you very much. It's absolutely amazing how well the X-MASS/ACMEDOS setup already works. I'm currently digging through my games collection to see which games can be copied to HDD.

The FLASHER utility from the X-MEM install disk could probably need a little update. It's already possible to select drive |D in the built-in shell, but changing the directory is not yet possible, e.g. "cd roms"
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 21:43, 06 July 16
Thank you to SyX for his great reactivity:
- V0.7.1B: Add support to |CPH for copying Ascii files.
- V0.7.0B: Implementation of CAS_IN_CHAR, CAS_RETURN and CAS_TEST_EOF.


Download as usual from the X-MASS GitHub (https://github.com/realmml/X-Mass-ROM) repository.


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 23:29, 06 July 16
@madram (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1459): I can promise you that is not because laziness. It's more simple, i wanted a more bug free rom before adding the read/write byte functionality, instead of making more spaghetti code as i am doing now :P

And even now, that i am adding the last function, CAS_OUT_CHAR; i sincerely don't know if this is going to be good enough for your project. I took a lot of decisions (a few good ones and surely a lot of bad ones :P ),  in the best way that i could and knowing that i could not please to everybody. A few examples:

Because i am using directly the 512 bytes sector buffer, that means that i am ignoring completely the 2KBs buffer passed as parameter in CAS_IN_OPEN, CAS_OUT_OPEN and CAS_CATALOG.

Or i am using the 16 bits filesizes, instead of the 24 bits ones (although the places where 24 bits should be used are well commented). And not because 24 bits math is slower, the reason is for saving bytes and in this moment we are getting the ram variables are getting around $BEF0, and i will fight for not reaching $BF00... and i made a few recursive programs (fractal graphics and similars) that eat stack until corrupts these variables.

But i am sure that we will make your program works before my time window closes again until the end of the year.

PS: It's nice to see at last Tasword3 working from HD... at least for loading :P

PS2: AcmeDOS 0.7.x is wip (in this moment i am adding the write byte routine) and has not been tested at all (only tasword3 and a few basic programs), because that surely it will bring new amazing bugs and it's not recommended to replace the "stable" 0.6.x yet.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: madram on 09:37, 07 July 16
Quote from: TotO on 13:06, 02 July 16
I know SyX had done his best to cover most of the usages first into the beta version.
Yes, this is clearly a great work to be as transparent as possible.

Quote from: TotO on 13:06, 02 July 16
He probably have not expected that was early required to use CAS_IN_CHAR with 512K RAM and 128MB SSD.
On the contrary! Lots of RAM and mass storage means we can play with bigger files, that we have to handle somehow: CAS_IN_DIRECT doesn't cut anymore.   

Quote
Because i am using directly the 512 bytes sector buffer, that means that i am ignoring completely the 2KBs buffer passed as parameter in CAS_IN_OPEN, CAS_OUT_OPEN and CAS_CATALOG.
For CAS_IN_DIRECT, it was a great decision, since AMSDOS doesn't use it either and most coders didn't bother to set the buffer at an adequate location.
But for CAS_IN_CHAR, I'm relying on it, to maintain full speed. My 'DISC_READ_CHUNK' routine takes both destination and size as parameters, and the behavior is:
   * call CAS_IN_CHAR to trigger filling of buffer (1st time)
   * take arbitrary chunck: if wanted size exceed buffer, copy first part, set AMSDOS variables to retrigger buffer fill, and looping until we've got expected size.
   * adjust AMSDOS variables (so we are pointing the current position in buffer).

Why wouldn't you reuse AMSDOS mechanism ? You can reuse AMSDOS variables as well, so no overhead in &BF00 neighbour.

On the other hand, I can also adapt my routine to fit your way of doing thing. It would require:
   * to known for sure whether the file is opened via ACME-DOS (e.g. active drive in A701)
   * a robust way to get the address of your buffer pointer (hardcoding the address isn't change-proof).
          -> maybe it could be queried via a routine at fixed address *in ROM* (e.g. D000).
   
I like this solution less, not because it's work on my side, but because it's uglier architecture-wise: the whole point of vectors is to separate responsibilities, so the client doesn't have to know if the file is on tape, on disc, on X-MASS, on the net, ...
(Ok here I'm cheating because I'm digging in AMSDOS's internals, but we can see them as standardized internals!)

Anyway, thank you very much for the fantastic job!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 12:37, 07 July 16
Quote from: madram on 09:37, 07 July 16
Why wouldn't you reuse AMSDOS mechanism ? You can reuse AMSDOS variables as well, so no overhead in &BF00 neighbour.
I am using and abusing of Amsdos variables already, but only when they make sense, hehehe.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 16:15, 16 July 16
Is it usefull to make an image from the DOM to recover it from a PC if you need? The attached file is running under XP SP2 (I just used it in a Windows 7 System)

On the other hand is there a possibility to exchange this images (128MB)?


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 15:38, 18 July 16
Hi, returning to this topic after a long break.

I finally bit the bullet and cleaned my 6128's expansion port contacts with IPA to address the issues of the 6128 not always booting to the X-Mem and being too touchy to the computer moving. The cleaning seemed to do the trick.

I went and reformatted the DoM with Ast's IMP Format. After that I was able to initialize the X-Mass under SymbOS usint Prodatron's LBA patched Mass storage tool. Had to set X-Mass as unpartitioned to get it working.

SymCommander now sees the created C drive and I can create folders into it. I don't seem to be able to copy files from floppy to the X-Mass, as the copy tool and SymbOS freezes, requiring me to do a reboot.

Anyone experienced similar issues?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 07:24, 27 July 16
V0.7.3B fix some bugs in CAS_IN_CHAR and now work with Notepad+4.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 20:12, 27 July 16
Hi TotO,
I'm not able to flash the current Rom with the flasher program. It prints out an "ERROR" message?!
HAL6128

...forget that bullshit. I forgot to set the X-Mem switch to "free"... :doh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 12:28, 28 July 16
Usually, it is not required to set the X-MEM to LOCK... Except if you want to be sure that nothing will write on it.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 20:01, 30 July 16
Hi.

I've just installed ACMEDOS 0.7.4B with success. So, I can format, create dirs and copy files with |CPH also I can run some games OK.

But I have one question ... I can use wilcards with |CPH? like |CPH,"ABADIA?.*" or |CPH,"ABADIA*.*" or ..... ?

I have some tools for file operations, but they can't work with the DoM, just A and/or B ...

And ... another question ... I can setup XMEM with RAM Drive |C with the 0.7.4B rom?

Thanks  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 20:26, 30 July 16
Quote from: SOS on 08:51, 09 June 16
Similar? I dont know.
[attach=2]

Hi ... It's possible to download this tool? It looks great!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 20:33, 30 July 16
Quote from: merlinkv on 20:26, 30 July 16
Hi ... It's possible to download this tool? It looks great!
Not at this moment, i wait for the CAS_OUT_DIRECT version of Acmedos, i think (hope) it should be released in the next month.
I need the function for copy ASCII- and Big Files (>41KB).
I have prepare my commander to use that function, which works under AMSDOS/PARADOS - but i wait for Acmedos.
When it's released i will do my final test and talk with two beta testers....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 20:47, 30 July 16
OK.

I can't wait .....  ;D (it's a joke)

Copy files with |CPH is a tedious task ...  :picard:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 14:24, 01 August 16
Hi again.

I have four new DoM's 2x2GB and 2x4GB, 44 pins, Industrial Quality. But the XMASS don't recognize these DoM's (installed with pins inverted & set to Master) just boot with black screen ??? ..... it's an ACMEDOS issue or is the XMASS firmware?

Thanks  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:41, 01 August 16
What are your DOMs models?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 14:46, 01 August 16
Labelled as: KingSpec OIndustrial ...

The same as is showed here: Kingspec 44PIN IDE PATA MLC 2GB 4GB 8GB 16GB 32GB DOM SSD Disk On Module For (https://www.amazon.ca/Kingspec-44PIN-Module-Network-Gaming/dp/B00J3M67EO)

I've tested the XMASS with CF adapter and one 2GB CF card .... The CPC boots and I can format but it shows one 128MB partition/123MB free (the PC shows the correct size ... FAT partition 1,87GB free) ...

Edited: ROM used is ACMEDOS 0.7.5B
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 16:58, 01 August 16
I confirm those low cost DOM don't work with the X-MASS board (no 8bit mode).
And yes, ACMEDOS actually only support the native X-MASS capacity.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 17:10, 01 August 16
Quote from: TotO on 16:58, 01 August 16
I confirm those low cost DOM don't work with the X-MASS board (no 8bit mode).
And yes, ACMEDOS actually only support the native X-MASS capacity.

OK. Thanks.

It's planned that the ACMEDOS can support more bigger partitions in the near future?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 08:53, 02 August 16
When all will be perfect for the X-MASS itself... As 128MB is already big for this computer.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 10:28, 02 August 16
Yes, 128MB is huge! I'm working with it a couple of month, and there's still 114 MB of free space, despite lots of games and different files copying onto X-Mass from time to time.
(...but I won't give up :))
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 10:40, 02 August 16
100MB hard drive was a standard capacity on most PC 486 in 1995.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: ||C|-|E|| on 10:48, 02 August 16
Proportionally, you would need something like 32TB hard drive in a 32GB RAM PC to reach the same ratio of HDD/RAM. I would say that for our little machine the capacity is quite overkill already  :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 11:50, 02 August 16
Quote from: TotO on 16:58, 01 August 16
I confirm those low cost DOM don't work with the X-MASS board (no 8bit mode).
And yes, ACMEDOS actually only support the native X-MASS capacity.
Do you have a list, which DOMS you tested with success?
(Maybe bigger ones, could be cheaper than 128MB DOM's - do you tested bigger ones (yes, which has only 128MB used by ACMEDOS)?)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 19:39, 02 August 16
InnoDisk EDC4000 128MB 44PIN Disk On Module PATA/IDE/EIDE DE4H-128D31C1S SLC | (http://www.ebay.de/itm/162116543942)


Cheap, quick and they are running ...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 21:40, 02 August 16
OK, Guys ... don't kill me  :)

I'm only asking because I'm very interested in all possibilities of this device. ....  :)

I can't resist to ask again .... What's the best way to copy multiple files or directories from floppy to the DoM ... I can use wilcards with |CPH? Maybe exists another RSX command to do this task?

Thanks  ;)


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 22:01, 02 August 16
Quote from: HAL 6128 on 20:12, 27 July 16
Hi TotO,
I'm not able to flash the current Rom with the flasher program. It prints out an "ERROR" message?!
HAL6128

...forget that bullshit. I forgot to set the X-Mem switch to "free"... :doh:


Well, then use ROManager 2.14. It will remind you about doing so.  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 23:40, 02 August 16
Quote from: SOS on 11:50, 02 August 16
Do you have a list, which DOMS you tested with success?


Here are the 3 - 128Meg DOMs that I Use  ALL work


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:34, 03 August 16
Some More that have worked with the X-Mass Board Various operating system, 2 Gig X 2,  128Meg X 1


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 05:58, 03 August 16
Quote from: merlinkv on 21:40, 02 August 16
OK, Guys ... don't kill me  :)

I'm only asking because I'm very interested in all possibilities of this device. ....  :)

I can't resist to ask again .... What's the best way to copy multiple files or directories from floppy to the DoM ... I can use wilcards with |CPH? Maybe exists another RSX command to do this task?

Thanks  ;)

Wildcards are not supported for the moment. You can use SymbOS Commander for an easy copy process.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 07:11, 03 August 16
Quote from: HAL 6128 on 05:58, 03 August 16
Wildcards are not supported for the moment. You can use SymbOS Commander for an easy copy process.
Hi Hal 6128
What do you use to prepare the DOM.
1) X-Mass Format command.
2)Symbos Format command.
3) Other
Does the DOM work in Both OS's (Symbos and AcmeDOS)

Thanks    Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 09:08, 03 August 16
I use  the PARADOS 1.2-ACMEDOS 0.7.5B combo.

The ACMEDOS RSX commands: |FORMAT, |CD, |MD, |RD, |CPH, .....  works without issues.

Also, with |CPH, I've copied -file by file  :picard: - to the DoM some games like Alien 8, La Abadía del Crimen, ... and I can play these games perfectly.

|CPH wilcards or an "Basic" File Manager will be essential for me (and maybe others?).

:)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 12:53, 03 August 16
Quote from: Audronic on 07:11, 03 August 16
Hi Hal 6128
What do you use to prepare the DOM.
1) X-Mass Format command.
2)Symbos Format command.
3) Other
Does the DOM work in Both OS's (Symbos and AcmeDOS)

Thanks    Ray

Hi,
just format the DOM with the X-Mass command. SymbOS is then able to read the FAT16 volume by Acmedos and Acmedos is able to read all the files copied with the SymCommander. It works fine as far as I can see in my config.
(The SymbOS format command was a "quick and dirty" solution from Prodatron when Acmedos wasn't available.)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 12:57, 03 August 16
@HAL 6128 (http://www.cpcwiki.eu/forum/index.php?action=profile;u=365)


Thanks, Format with X-Mass and away we go.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 20:53, 05 August 16
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324): just found something, maybe a small bug?

First I created a folder named "games".
Second I created a basic file with the same name "games" (saved without extension)

The result was that the folder was renamed into "games.bak"

Could somebody else confirm this?

HAL6128
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 21:04, 05 August 16
Quote from: HAL 6128 on 20:53, 05 August 16
Could somebody else confirm this?
Yes - isnt a feature?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 06:58, 06 August 16
Normally I don't expect a folder being renamed to *.bak only files.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:38, 06 August 16
Quote from: HAL 6128 on 20:53, 05 August 16
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324): just found something, maybe a small bug?
First I created a folder named "games".
Second I created a basic file with the same name "games" (saved without extension)
The result was that the folder was renamed into "games.bak"
Could somebody else confirm this?
HAL6128

Yes this is what happens The Games folder is renamed to "GAMES.BAK" and the file is created as " Games"
ROM 0.7.6B
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: francouai on 09:10, 06 August 16
Im so excited  :D
Just oredered mine @centpourcent!

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 21:04, 08 August 16
Quote from: HAL 6128 on 20:53, 05 August 16
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324): just found something, maybe a small bug?

First I created a folder named "games".
Second I created a basic file with the same name "games" (saved without extension)

The result was that the folder was renamed into "games.bak"

Could somebody else confirm this?

HAL6128
Yes, that "feature" is already fixed, although it's not uploaded because i want to finish CAS OUT CHAR first.

Supporting the 2 KBs buffer means to remake all the save system, because now CAS OUT DIRECT and CAS OUT CLOSE need to use the buffer too. And |CPH is going to need to be updated too.

But after that (and fixing the worst bugs that we will get :P), AcmeDOS will be considerate stable and i hope that we will star to see more software using all those new expansions, as that amazing file manager or a port of the msx unzip tool published a few months ago or HD installers for trackloading demos/games or ...

Well, it's time to return to coding, because my last semester starts today and my time window is closing.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 22:13, 08 August 16
Excellent work, mate!


Best of luck for you final semester!  8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 07:16, 09 August 16
Quote from: SyX on 21:04, 08 August 16

Supporting the 2 KBs buffer means to remake all the save system, because now CAS OUT DIRECT and CAS OUT CLOSE need to use the buffer too. And |CPH is going to need to be updated too.
Amsdos doesn't use the 2KB buffer for CAS OUT DIRECT or CAS OUT CLOSE. I don't want you to break compatibility with other programs that rely on that.

Quote from: SyX on 21:04, 08 August 16
Well, it's time to return to coding, because my last semester starts today and my time window is closing.
Good luck! :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 23:57, 09 August 16
Quote from: arnoldemu on 07:16, 09 August 16
Amsdos doesn't use the 2KB buffer for CAS OUT DIRECT or CAS OUT CLOSE. I don't want you to break compatibility with other programs that rely on that.
Rest well, that was only a progress report about the actual work, i was refactoring the code for having a more correct implementation of CAS OUT CHAR.  Those save and load routines are the first code that i wrote a long time ago and they need to come back to the future.

All the previous versions didn't use the 2 KBs buffer for those functions (neither has been used by the IN functions) and final version should not use the buffer... because we know that a lot of CPC programs rely in silly things like setting a "nice" address for the buffer that will corrupt the program running, and i am sure that between the ones using correctly we can find a few ones putting that buffer in ram under rom, even if you should never do that.

And now i support a really lovely "feature", a bad coded program that never call CAS OUT CLOSE, it will lost at least the last 512 bytes of data (for amsdos is 128 bytes, but i can not maintain compatibility here)... yes, bad programs should be punished :P

But all this work is mainly for supporting the private Amsdos variables used by madram that speed up the read/write byte functions to the level of the DIRECT ones and let you load files of unlimited size (in a CPC scale)... that certainly it should be a revolution for native CPC tools.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 21:15, 12 August 16
Quote from: xesrjb on 19:39, 02 August 16
InnoDisk EDC4000 128MB 44PIN Disk On Module PATA/IDE/EIDE DE4H-128D31C1S SLC |
I can confirm that they contain all 128 MB (not MiB) as indicated, further I can acccess them from the PC. Haven't tested them on the X-MASS yet, but at least they are what they tell to be [nb](I state that because recently there are more and more fake devices on ebay stating f.e. 512 GB and in reality they only have 8 GB)[/nb].

One question: Why is it needed to format the DOMs? They are already FAT formatted.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 07:30, 13 August 16
Quote from: TFM on 21:15, 12 August 16
One question: Why is it needed to format the DOMs? They are already FAT formatted.

The current stand is i think:

The main-problem:
The DOM's are pre-PC-Partioned, so they can't be used with ACMEDOS. The partition must be start at sector 0.
=>
So the ACMEDOS-format makes partiton and format to the DOM. It's a format like an usb-superfloppy.
With an old ACMEDOS-Format you can access the DOM via PC, when you use the actual ACMEDOS-Format - no chance to access
the formatted DOM with a PC (i hope I'm wrong, i failured to connect the DOM to Linux and Windows an i tried several partition
programs to check the partion, all says - "no partition exist"), btw. anyone tested impformat with ACMEDOS?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 20:05, 13 August 16
I tried impformat several times, but it didn't run...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:04, 14 August 16
ACME DOS provide the |FORMAT RSX for initializing the drive.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 19:22, 15 August 16
Whoohoo!!! My XMASS finally works...


The latest ROM and a return postal trip for the board to Dr @TotO (http://www.cpcwiki.eu/forum/index.php?action=profile;u=290) the X-range surgeon general.


Now to copy some stuff over to it!


Thanks a lot I am finally a happy chappy.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 19:18, 16 August 16
I'm still not able to transfer files via PC on a DOM and use/read it under ACME Dos on a CPC.


That means:


How to format the DOM?
Which DOS to read the DOM's at a CPC?


Or this this problem still unsolved...


xesrjb



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:46, 16 August 16
Quote from: xesrjb on 20:05, 13 August 16
I tried impformat several times, but it didn't run...


xesrjb
What is the real problem with this tool?
I made a more comfortable version in iMPdos and it works very well.


For iMPformat, only use "fast format" option!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 17:03, 17 August 16
Quote from: Ast on 21:46, 16 August 16
What is the real problem with this tool?
I made a more comfortable version in iMPdos and it works very well.


For iMPformat, only use "fast format" option!

This is the result of format complete; the CPC runs more than 20 minutes and nothing happend; the LED at the X-Mass is on
[attach=2]

formating boot; the CPC is frozen directly
[attach=3]

This is my startscreen
[attach=4]

I try it with 4 different DOM's with and without an external power supply. I start the impformat from disk and via RSX out of the ROM. Always the same result...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 17:52, 17 August 16
it's really Strange.. Does anybody else have the same problem ?
I use the lastest version in iMPdos, and all is running well.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 19:17, 17 August 16
Quote from: Ast on 17:52, 17 August 16
it's really Strange.. Does anybody else have the same problem ?
I use the lastest version in iMPdos, and all is running well.


Can you please send a link for the latest version, perhaps I have the wrong version...


xesrjb

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 19:19, 17 August 16
Quote from: xesrjb on 19:18, 16 August 16
I'm still not able to transfer files via PC on a DOM and use/read it under ACME Dos on a CPC.


That means:


How to format the DOM?
Which DOS to read the DOM's at a CPC?


Or this this problem still unsolved...


xesrjb
I post again, but have you tried AcmeDOS with the |FORMAT command?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 19:40, 17 August 16
TotO is right! Do you test the |format command from ACMEdos?
Other hand : send me an email i'll send it to you !
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 20:48, 17 August 16
Quote from: TotO on 19:19, 17 August 16
I post again, but have you tried AcmeDOS with the |FORMAT command?


Yes, of course. The DOM will get formated. If I save some files on this formated DOM, I can't seem them with my PC (Windows XP System). After transfering files with this PC on this DOM, they were not seen at the CPC under ACME Dos...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 20:51, 17 August 16
But I postet a program to write an 128mb Image of a DOM.


Perhaps some will use this program to write a running DOM and add this Image to this thread...




xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 21:06, 17 August 16
Send me your working example in a .bin file then i'll do an IMPformat "special edition" for you.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 22:58, 17 August 16
OK, as reported earlier in this thread, the XMASS now works perfectly with the latest AcmeDOS however I have noticed a couple of issues.


The DOM is not recognised in any modern system (WIndows, Linux, OSX, and as such I have to rely heavily on the |cph command to copy things onto the DOM.. One HFE file at a time.


OK So I am not the only one with this issue at least :)


Next problem


I though to combat this I'd copy things over using the Minibooster but no, this does not work either, as soon as AKSROM.rom is installed into the xmem, then the DOM stops working in on the CPC, everything works fine for A and B drives, but try to access or use D and the machein locksup for a bit and then returns "bad command"


So, Is there any other software that can use the minibooster (and AFT) to transfer files to the CPC or is there a posibility of a fix to the Arkos Rom Pack / AcmeDOS that will resolve this issue?


Craig

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 05:33, 18 August 16
If x-mass storage is compatible with symbiface is it a hardware limitation that we should use 128mb only? Has anyone tested x-mass with 32gb with symbos? What is the likely outcome?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 05:51, 18 August 16
Quote from: CraigsBar on 22:58, 17 August 16
I though to combat this I'd copy things over using the Minibooster but no, this does not work either, as soon as AKSROM.rom is installed into the xmem, then the DOM stops working in on the CPC, everything works fine for A and B drives, but try to access or use D and the machein locksup for a bit and then returns "bad command"


So, Is there any other software that can use the minibooster (and AFT) to transfer files to the CPC or is there a posibility of a fix to the Arkos Rom Pack / AcmeDOS that will resolve this issue?
Hmm,  my CPC6128, Minibooster, X-MEM+X-MASS worked together without a problem. (and separate power of the MotherX4)
Minibooster can only access the A+B-Drive, so i can only transfer Files from the PC to A or B and I need to copy the files after the transfer to the DOM.
I use the latest ACME-DOS (Rom 6) and the normal "AKSROM.ROM" and "SNARKOS.ROM" (Romslots 30+31).
"BOOSTER.ROM" (Romslot 15), AMSDOS and some other ROMS which can not affect the drive-handling (Maxam, Orgams,...).

Please download "AKSROM" again and do the flashing from "|A" with the original BASIC-X-MEM-Flasher, loaded from "|A" too.
(yesterday i have download a defective BOOSTER.ROM, which makes my CPC crazy  ??? )
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 17:16, 18 August 16
Is all the developer docs available for xmem xmass playcity and minibooster?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 23:58, 18 August 16
Quote from: SOS on 05:51, 18 August 16
Hmm,  my CPC6128, Minibooster, X-MEM+X-MASS worked together without a problem. (and separate power of the MotherX4)
Minibooster can only access the A+B-Drive, so i can only transfer Files from the PC to A or B and I need to copy the files after the transfer to the DOM.
I use the latest ACME-DOS (Rom 6) and the normal "AKSROM.ROM" and "SNARKOS.ROM" (Romslots 30+31).
"BOOSTER.ROM" (Romslot 15), AMSDOS and some other ROMS which can not affect the drive-handling (Maxam, Orgams,...).

Please download "AKSROM" again and do the flashing from "|A" with the original BASIC-X-MEM-Flasher, loaded from "|A" too.
(yesterday i have download a defective BOOSTER.ROM, which makes my CPC crazy  ??? )
Ahh yes, with aksrom above both amsdos (parados) and acmedos it works fine... So moved aksrom from 5 to 8 and all is good. Any idea why aksrom/mini booster and the fw3.16 expansion ROM (|flash) don't work with a source file on the xmass?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 11:24, 19 August 16
Quote from: CraigsBar on 23:58, 18 August 16
Any idea why aksrom/mini booster and the fw3.16 expansion ROM (|flash) don't work with a source file on the xmass?
The AKSROM can maybe write to the DOM, when SyX released the "CAS_OUT_CHAR"-Version of ACMEDOS.
Why the |flash not worked with files from DOM, i can not understand, maybe the author of the fw3.16 can bring light in the darkness.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 12:53, 19 August 16
Quote from: CraigsBar on 23:58, 18 August 16
Any idea why aksrom/mini booster and the fw3.16 expansion ROM (|flash) don't work with a source file on the xmass?
@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482)
I have just tested the following :-
|Flash,"egg.rom",02   and it worked
The file Egg.rom (With Header) was located on D:/ROMS/EGG.ROM on a 128 meg DOM accessed by Acmedos.
Is this the problem you are having ??
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 13:11, 19 August 16
OK, so now where are your ROMs located. Mine are as follows.

FW 3.16 lower, basic 1.1, amsdos 0.7, hxc and c4cpc all in the CPR image.

In the xmem I have lower (fw3.16) 0 (basic 1.1) neither of which are used.
1: fw 3.16 exp
6: acmedos
8: aksrom

All other slots are empty. I'll capture the problem tonight bus basically as the ROM data is being written to the screen during the flash process, the data is corrupted if it comes from the xmass Dom but the exact same rom image works fine from the hxc floppy image.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 13:23, 19 August 16
@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482)


I will reconfigure my X-Mem tomorrow morning (Australian time) and see what happens
I will put Egg.rom into slot 2:
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 16:12, 19 August 16
May be, your Acme DOS is not up to date? (please, take a look on the first post links)
By the way, SyX is close to release a new version with some improvements.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 16:42, 19 August 16
Quote from: TotO on 16:12, 19 August 16
May be, your Acme DOS is not up to date? (please, take a look on the first post links)
By the way, SyX is close to release a new version with some improvements.
I updated it from git 2 days ago ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:55, 20 August 16
@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482)


I have just Duplicated what you tried on you system and it worked perfectly here.
Using the |Flash," xxxxxxxxx method


In the xmem I have lower (fw3.16) 0 (basic 1.1) neither of which are used.[/size]1: fw 3.16 exp6: acmedos8: aksrom


Does your AKSROm Have a header ??
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:11, 20 August 16
@CraigsBar (http://www.cpcwiki.eu/forum/index.php?action=profile;u=482)
This is how my test setup is before your tests.
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 01:35, 20 August 16
Go figure! And now it works. No changes, nothing! Damn computers ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 01:43, 20 August 16
Interestingly also this evening I noticed that my cm14 can successfully power all of the following with no external power needed......

Internal 3inch hxc (no floppy drive), c4cpc, mother 4x with mini booster and Bluetooth module, xmass, xmem, rtc.

Well impressed. Since I removed the symbiface 2 my power requirements are much lower.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 02:08, 20 August 16
Quote from: CraigsBar on 01:35, 20 August 16
Go figure! And now it works. No changes, nothing! Damn computers ;)
Craig
I have found that if you Power down completely (Remove power plug from everything for 5 seconds) after you have Flashed the roms that this allows the CPC to be Properly Reset to Power up state.
Good luck     Ray


Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 20:05, 20 August 16
Hmm. OK it all now seems to work except the hxc clone that still insists on being both A and B drives. However I was playing around with ROMs last night, and I was wondering how feasable it would be to implement a ROM that worked with RSX command the same way as the protext ROM does from the protext command interface, ie the | comma and quotes all become optional. With HDD usage this would help a lot as instead of (for example)

|CD,"games"

you could type the more simple

CD games

Just a thought. Possible or not?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 20:24, 20 August 16
Sure, just port the MS-DOS shell...  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 20:47, 20 August 16
Quote from: TotO on 20:24, 20 August 16
Sure, just port the MS-DOS shell...  ;D


I was going for the Linux Shell, How about adding |LS ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 21:23, 20 August 16
You should try to see if quickcmd can help you...  ;)
QuickCMD - NoRecess (http://norecess.cpcscene.net/quickcmd.html)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 00:08, 21 August 16
OK, sorry by the delay, but my laptop loves suicide and when i got a development machine, my semester started. But well, i stole some time for finishing it and the version v0.79B can be found in the project github.

News:
* We support read/write byte functions in an amsdos compatible way, that means madram's trick for faster loading/saving of "unlimited" (for CPC limits) size files is working. And i have used them in |CPH.

* |CPH is less hackish than before (but not good enough for not asking to be replaced by a nice file manager tool ;) ), that means is not destroying all your ram and you can use now for making simply HD installers. An small example for installing pacman:
10 |D:|MD,"PACMAN":|CD,"PACMAN":REM Make destination folder
20 |A:CAT:REM The pacman floppy is in the drive A
30 |CPH,"PACMAN.BIN":|CPH,"PACMAN.6E":|CPH,"PACMAN.6F":|CPH,"PACMAN.6H":|CPH,"PACMAN.6J":REM Copy files
40 PRINT "PAC-MAN Emulator was installed in your X-MASS!"

And that is all, there are a few minor fixes and some cleaning.

I wanted to add a disk dump RSX or porting a few file manipulation tools or that msx unzip... but my CPC time window is already closed until the end of the year.

In short, if not too catastrophic bugs are found in this version during the next weeks, we will declare this version as stable... and at last, i will able to return to my other CPC projects :P
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:36, 21 August 16
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324)
@SOS (http://www.cpcwiki.eu/forum/index.php?action=profile;u=941)

Hi SyX / Bernd

Some bad news . Syx has updated X-mass Rom
Acmedos ( X-Mass-079B ).
Yancc  now displays NOTHING for Drive D

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 08:58, 23 August 16
Quote from: Audronic on 00:36, 21 August 16
Yancc  now displays NOTHING for Drive D
:o

No big problem, SyX moved |UDIR from BEA3 to BE9A. :)

I will fix that after my holiday....
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 15:34, 25 August 16
Hi Syx,

I made a small test in Basic with the openout command and found following situation (differences in write#9 and print#9):

10 openout"test"
20 write#9,"hello world"
30 closeout

...works fine!


10 openout"test"
20 print#9,"hello world"
30 closeout

...the CPC crashes, but file was correctly written before!

HAL6128
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 15:38, 25 August 16
Quote from: HAL 6128 on 15:34, 25 August 16
...the CPC crashes, but file was correctly written before!


Have you had any other ROMs activated? Which? At which positions? (That makes debugging more easy).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 20:57, 25 August 16
Sure, I have
FW3.16 in ROM1,
ACMEDOS in ROM2,
ORGAMS in ROM10-12 and
AKSROM in ROM14.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TFM on 22:02, 25 August 16
Ok, SyX can now reproduce the environment and try to reproduce the problem.
Meanwhile you can try to switch all ROMs off (park them) and see it the problem is still there. If not, try only to switch aksrom off. Good hunting!  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 19:05, 03 September 16
Just realized another topic:
With the new version 0.79 I'm not able to run some files anymore.
E.g.:
SymbOS RAW version: There's a error message when loading the BASIC file "sym.bas" => "line too long"
or
TASWORD6128 shows me a syntax error in line 160 where no is.

if I switch back to version 0.73 then SymbOS and TASWORD will be loading again.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: CraigsBar on 20:01, 03 September 16
Quote from: HAL 6128 on 19:05, 03 September 16
Just realized another topic:
With the new version 0.79 I'm not able to run some files anymore.
E.g.:
SymbOS RAW version: There's a error message when loading the BASIC file "sym.bas" => "line too long"
or
TASWORD6128 shows me a syntax error in line 160 where no is.

if I switch back to version 0.73 then SymbOS and TASWORD will be loading again.
I am using the symbos 3.0 beta with 0.79 just fine.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 20:53, 03 September 16
Summary of some errors, maybe prevouisly reported:
(A) AMSDOS-CAS_OUT_OPEN allowed to manipulate the Fileheader after the CAS_OUT_DIRECT - in ACMEDOS it's not possible.
(B) After CAS_IN_OPEN can not be called a CAS_OUT_OPEN, e.g. change of the two calls in the CPH-Program should not work.
      => A simple file-copy based on 1st. CAS_IN_OPEN then CAS_OUT_OPEN, CAS_IN_CHAR (e.g. &4000 Bytes), CAS_OUT_CHAR & Close both streams works on AMSDOS, not on ACMEDOS.
(C) Directory Corruption ("Dead Directory", you see it but can't use it) after Make-Dir (separate E-Mail with reproduction case send previously)
(D) Is planned to build EDPB (a890) + DPH (a910) in the CAS_IN_OPEN-Process, so that "CAT" is not necessary before |CPH / CAS_IN_OPEN on a floppy?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 08:18, 04 September 16
Quote from: CraigsBar on 20:01, 03 September 16
I am using the symbos 3.0 beta with 0.79 just fine.
I am also using this raw version, but I have to say that I copied that file on x-mass with 0.73 and switched then on 0.79.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 08:40, 09 September 16
Quote from: xesrjb on 17:03, 17 August 16
This is my startscreen
[attach=4]
xesrjb

If i can put a Spartan FGPA in the CPC, then CPC will have Romans and a Spartan...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 09:06, 09 September 16
Quote from: zhulien on 08:40, 09 September 16If i can put a Spartan FGPA in the CPC..
Else, you should put a CPC into the Spartan FPGA...  :-\ ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 09:32, 09 September 16
Quote from: HAL 6128 on 19:05, 03 September 16
Just realized another topic:
With the new version 0.79 I'm not able to run some files anymore.
E.g.:
SymbOS RAW version: There's a error message when loading the BASIC file "sym.bas" => "line too long"
or
TASWORD6128 shows me a syntax error in line 160 where no is.

if I switch back to version 0.73 then SymbOS and TASWORD will be loading again.


Perhaps try the xmass0.7.9P that SOS provided  Here:-
Yet Another Norton-Commander Clone (http://www.cpcwiki.eu/forum/applications/yet-another-norton-commander-clone/)


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 09:38, 09 September 16
Quote from: Audronic on 09:32, 09 September 16
Perhaps try the xmass0.7.9P that SOS provided  Here:-
The patched-version has the only difference, that it introduce again the CPH-workaround.
You don't have differences on programs which not need(!!!) the CPH-workaround.
All programs written before the first XMASS-release can't be need them. YANCC is (as I know) the only Amstrad-Program who needs the workaround.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 11:03, 09 September 16
Quote from: HAL 6128 on 19:05, 03 September 16
With the new version 0.79 I'm not able to run some files anymore.
TASWORD6128 shows me a syntax error in line 160 where no is.
I can't reproduce that with the 0.79.
It runs from floppy + from the DOM without a problem.
The Version I used: Tasword 6128 - CPCWiki (http://www.cpcwiki.eu/index.php/Tasword_6128)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 12:18, 09 September 16
Quote from: SOS on 09:38, 09 September 16
The patched-version has the only difference, that it introduce again the CPH-workaround.
You don't have differences on programs which not need(!!!) the CPH-workaround.
All programs written before the first XMASS-release can't be need them. YANCC is (as I know) the only Amstrad-Program who needs the workaround.


@SOS (http://www.cpcwiki.eu/forum/index.php?action=profile;u=941) I thought it might be worth a try to see if it resolved the problems.
Thanks for the feedback    Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 14:38, 09 September 16
Quote from: SOS on 11:03, 09 September 16
I can't reproduce that with the 0.79.
It runs from floppy + from the DOM without a problem.
The Version I used: Tasword 6128 - CPCWiki (http://www.cpcwiki.eu/index.php/Tasword_6128)
Thanks. I will Check my Hardware.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 09:38, 13 September 16
Ok, I found that my hardware works correct. I had to copy all the files with the new ROM version again to the X-Mass. Now it works. Interesting is that the old (now *.bak) files don't work.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Jungsi on 14:01, 23 October 16
With the great release of the SymbOS 3 Preview I'am asking myself how to transfer the really big amount of data the easiest way to the X-Mass?
Maybe a silly question ;-)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Prodatron on 19:23, 23 October 16
Do you have an HxC connected to your CPC?
Best way to copy large files to the DOM of the X-MASS on your CPC is probably to use the direct SD card access mode of the HxC in SymbOS.
Put all files directly onto the FAT32 SD card of the HxC, add the SD card as a new drive (floppy disc -> HxC SD card at A/B). Then you can access the SD card of the HxC directly in SymbOS and copy any stuff to the X-MASS DOM.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 14:03, 11 November 16
Bug found:

org &a300
ld b,10
ld hl,filename
ld de,&c000

call &BC77
push hl
pop ix
ld e,(ix+26)
ld d,(ix+27)
push de
ld l,(ix+21)
ld h,(ix+22)
.next_byte
call &bc80
jr c,not_eof
cp &f
jp z,&bc7a
.not_eof
ld (hl),a
inc hl
jr next_byte
.filename defm "zorro3.bin"

The code runs on AMSDOS and not on the latest ACMEDOS, when the file copied to "D:"
The EOF-Handling of CAS_IN_CHAR seems not to be correct.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 14:08, 12 November 16
Hi! :)


TotO told me about a new bug in the thread, but I will be buried in the faculty for a few weeks more, my thesis presentation is in two weeks and after that are the final tests ... and only after all that I will free for looking for this bug and the SD support for the future CPC core for that famous Spanish fpga project... but until then I will continue CPC out ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SyX on 17:34, 12 November 16
I am going to be beaten, i should be getting ready for a family's wedding, instead of looking this, but when i see assembly after months of functional programming, the mind can not stop...

OK, i think that your example is wrong, specially this:
.next_byte
    call &bc80
    jr c,not_eof
    cp &f
    jp z,&bc7a

If you look in the firmware guide, you can see that when CAS_IN_CHAR reach EOF, it will return Carry false, Zero false and A is corrupt.

Well, in reality the value that the accumulator has is $1F (Amsdos EOF char), but that it's not important, because the correct way of testing for EOF reached it should be:
.next_byte
    call &bc80
    jr c,not_eof
    jp nz,&bc7a ; EOF reached
    ; user_cancel_operation (press ESC key)
.
.
.

Or if you want to test explicitly for the Amsdos EOF char:
.next_byte
    call &bc80
    jr c,not_eof
    cp &1F
    jp z,&bc7a ; EOF reached
    ; user_cancel_operation (press ESC key)
.
.
.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 18:59, 12 November 16
Quote from: SyX on 17:34, 12 November 16
I am going to be beaten, i should be getting ready for a family's wedding, instead of looking this, but when i see assembly after months of functional programming, the mind can not stop...
You are an ASM-holic !!  :o  :D

Oh oh, guilty , i hope i become no trouble with your family members  :blank:

(it's like me in the 80's, i drive a friend of me crazy - "When will you be ready? Only 10 minutes of ASM-programming- only 10 minutes, please wait"
after 30 minutes "hey you're not ready? One new problem occured, i needed only a short time"
after 40 minutes "What, when you finished? (nothing)"
after 15 minutes, ....
after 20 minutes, ....
:D :D :D :D

Quote from: SyX on 17:34, 12 November 16
OK, i think that your example is wrong, specially this:
.next_byte
    call &bc80
    jr c,not_eof
    cp &f
    jp z,&bc7a

If you look in the firmware guide, you can see that when CAS_IN_CHAR reach EOF, it will return Carry false, Zero false and A is corrupt.

No, that's not correct. When I removed the "cp &f" against an "jp &bc7a" the file-loading will too early stop.
When you see
http://k1.spdns.de/Vintage/Schneider%20CPC/Das%20Schneider%20CPC%20Systembuch/z162.htm#N (http://k1.spdns.de/Vintage/Schneider%20CPC/Das%20Schneider%20CPC%20Systembuch/z162.htm#N)   (sorry german)
or
http://cpctech.cpc-live.com/docs/manual/s968ap13.pdf (http://cpctech.cpc-live.com/docs/manual/s968ap13.pdf)
So there's an hint for an AMSDOS-bug.
I'm checking this, and my code only run in AMSDOS with exakt this error-handling of CAS_IN_CHAR.



Quote from: SyX on 17:34, 12 November 16
Well, in reality the value that the accumulator has is $1F (Amsdos EOF char), but that it's not important, because the correct way of testing for EOF reached it should be:
.next_byte
    call &bc80
    jr c,not_eof
    jp nz,&bc7a ; EOF reached
    ; user_cancel_operation (press ESC key)


No.
The loading stops at address &05D5 (the file has a length of &9940).


Quote from: SyX on 17:34, 12 November 16
Or if you want to test explicitly for the Amsdos EOF char:
.next_byte
    call &bc80
    jr c,not_eof
    cp &1F
    jp z,&bc7a ; EOF reached
    ; user_cancel_operation (press ESC key)


No 2.
The loading doesnt stops. The file is correctly loaded from &200 to &9b40, but it goes loading over &9b40 and writes &0f and &0f and &0f .... until the loader at &a300 is overwritten.


I know that you're super-busy at the moment. I sent this bug, at the moment i recognize it.
For me it's not a problem (at the moment).

Edit 13.11.: Added Zorro3.bin as an attachment (if required)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Bryce on 09:07, 14 November 16
Quote from: SyX on 17:34, 12 November 16
I am going to be beaten, i should be getting ready for a family's wedding, instead of looking this, but when i see assembly after months of functional programming, the mind can not stop...

Is it by any chance YOUR wedding? :D

Bryce.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 04:54, 17 December 16
Topic  X-Mass


Merry X-Mass to all.


Ps :-  How is the X-Mass Rom going ? an update soon.


Seasons Greetings to All


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:43, 26 December 16
@SyX
In the next Acmedos update.
Would it be possible to add an answer to the |FORMAT command so you can choose to continue to format or Exit Please, as at the moment it is sudden death to the data on the DOM.
Thanks     Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 17:41, 09 January 17
Quote from: SOS on 17:16, 09 January 17
Ok , we are OT here, so we should please go to the XMASS-Thread, or PM
[ot]
After the following program, loading a game with BASIC is no Problem:

org &4000
di
ld hl,&8000
ld de,&c000
ld bc,&3fff
ldir
ld hl,&8000
ld (hl),&CC
ld de,&8001
ld bc,&3ffe
ldir
ld de,&8000
ld hl,&c000
ld bc,&3fff
ldir
ei
ret
[/ot]

@SOS (http://www.cpcwiki.eu/forum/index.php?action=profile;u=941) yes, i know too, i achieve to destroy the firmware, reactivate it and load a image with ACMEDOS with a simple program like yours... (there is several examples on internet that works with Xmass/Bonny dos...

the problem is that the same code on my version of U.N.Squadron, doesn't work, i tried hours and different aproachs, but nothing, never worked

the code alone... works, the same code between the code of U.N.Squadron don't  :(

this is why i told @Duke (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1624) to send the version...





Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 19:54, 09 January 17
have you a code-example (could be bigger if you want), which i can test?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 14:35, 10 January 17
Quote from: SOS on 19:54, 09 January 17
have you a code-example (could be bigger if you want), which i can test?

Yes, i'm thinking on release the version and the source code that i used, there is no sense to hide the version if it don't work correctly

Give me little time, and i will do it
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: merlinkv on 13:33, 13 January 17
Hi.

Is the ACMEDOS V0.9.0P ready to download?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 14:24, 21 January 17
Does the format command of x-mass detect the DOM size?  If not, if the DOM is formatted on a PC, will acmedos be happy with all the non-format commands?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 15:40, 21 January 17
Quote from: zhulien on 14:24, 21 January 17
Does the format command of x-mass detect the DOM size?  If not, if the DOM is formatted on a PC, will acmedos be happy with all the non-format commands?
The X-MASS detect 128MB, no more, no less.
No one has a reproducable szenario, how can the DOM handled, that you can copy games to the DOM via PC and ACMEDOS can start the games.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 18:50, 21 January 17
Quote from: SOS on 15:40, 21 January 17
The X-MASS detect 128MB, no more, no less.
No one has a reproducable szenario, how can the DOM handled, that you can copy games to the DOM via PC and ACMEDOS can start the games.


yes, that has been unconfirmed.  ToTo has mentioned to me that it is compatible with 8bit addressing mode and Symbiface.  Given Symbiface works fine with larger DOMs, then... X-Mass should too.  I guess, I will try with Symbos, and if confirmed... hopefully you will not restrict it to 128MB (assuming you mean that)...
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 19:28, 21 January 17
Quote from: SOS on 15:40, 21 January 17
The X-MASS detect 128MB, no more, no less.
Ok, not correct written, X-MASS is the Hardware - ACMEDOS detect only 128MB,
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 07:35, 22 January 17
Quote
No one has a reproducable szenario, how can the DOM handled, that you can copy games to the DOM via PC and ACMEDOS can start the games.


This is my only question, too...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 19:06, 22 January 17
Quote from: SOS on 15:40, 21 January 17
The X-MASS detect 128MB, no more, no less.
No one has a reproducable szenario, how can the DOM handled, that you can copy games to the DOM via PC and ACMEDOS can start the games.
Quote from: xesrjb on 07:35, 22 January 17

This is my only question, too...


xesrjb

Hi,
because I own a lot of CF cards, I'm using them together with a IDE to CF adapter on my XMASS.
First you have to format them with ACMEDOS, then you are able to fill them with files and programs via WinXP PC and USB to memory card adapter without problems. Why shouldn't it work with the DOM, too? It's the same IDE interface.

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 19:37, 22 January 17
Quote from: netmercer on 19:06, 22 January 17
First you have to format them with ACMEDOS, then you are able to fill them with files and programs via WinXP PC and USB to memory card adapter without problems. Why shouldn't it work with the DOM, too? It's the same IDE interface.
Which ACMEDOS-Version do you use for formatting?
(Yes, I have tried that before (with the original DOM), but neither WinXP or Linux Mint can recognize the DOM)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: netmercer on 21:41, 22 January 17
Quote from: SOS on 19:37, 22 January 17
Which ACMEDOS-Version do you use for formatting?
(Yes, I have tried that before (with the original DOM), but neither WinXP or Linux Mint can recognize the DOM)

Hi,
I'm using ACMEDOS 0.8.0B for formatting and all...

Kind regards
netmercer
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 23:25, 22 January 17
@netmercer (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1266)


The DOM is Formatted BUT Not Partitioned.
Therefore it is not recognised by Windows or Mac. as They require the drive to be PARTITIONED.


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 07:10, 23 January 17
I think, they have done something special (with netmercer, i know three users, which succeed the datatransfer Windows/Linux -> ACMEDOS-formatted DOM),
like e.g. special prepared DOM (pre-partitioned in some way?!?!?) or do special things on the WindowsXP-Computer (like drivers), or something else....

Maybe the "USB to memory card adapter" is the special? (what kind of adapter (VendorID/ProductID), how looks the partition table in Windows?)

How looks the first sector?
[attach=2]
(Screenshot taken from the Windows Diskeditor "iBored")
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 01:23, 24 January 17
Quote from: netmercer on 19:06, 22 January 17
because I own a lot of CF cards, I'm using them together with a IDE to CF adapter on my XMASS.
Kind regards
netmercer


Good idea, I didn't think of that... but so far my largest CF card is 512mb (which is still 4x larger than the 128mb DOM in my x-mass)... do you use 2 adapters  or a single adapter from the x-mass to CF?  I have a single adapter for DOM to IDE so it can work on the PC / Symbiface 2.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 01:25, 24 January 17
Quote from: Audronic on 23:25, 22 January 17
@netmercer (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1266)

The DOM is Formatted BUT Not Partitioned.

Ray


Do you mean partitioned in the proper meaning or the normally used meaning?  A partition is the spliting of the capacity (ie, it is between the logical drives), if the full capacity is used in a single lump, then it isn't partitioned.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 03:55, 24 January 17
Quote from: zhulien on 01:25, 24 January 17

Do you mean partitioned in the proper meaning or the normally used meaning?  A partition is the spliting of the capacity (ie, it is between the logical drives), if the full capacity is used in a single lump, then it isn't partitioned.
As it says :-
The DOM is Formatted BUT Not Partitioned.

Ray



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 09:07, 24 January 17
In "current" Windows / Linux System the Standard of the OS is creating a MBR (Master-Boot-Record) in the first sector which contains a partition table, with at least one Partition in the table defined. After xx Sectors you will find the BS (Boot Sector) which tells you about the file System (FAT32, NTFS, ext2, ...) and the size or starting cluster etc., and that is the Point where the data will be stored (e.g. after 2048 sector you will find the first data cluster / entry)

The DOM is like an "old" harddrive: it only has the BS (no MBR) in the first sector and it is FAT16. So the first data cluster / entry is after 528 sectors or similar...

It's more like a current USB drive but with FAT16 formatted. I think Windows or Linux is able to read it, but doesn't accept such kind of partition structure for a drive and therefore doesn't plug it into the System. Maybe it's possible if you dupe Windows thinking it's a floppy or USB drive.??
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 09:44, 24 January 17
Quote from: HAL 6128 on 09:07, 24 January 17
The DOM is like an "old" harddrive: it only has the BS (no MBR) in the first sector and it is FAT16. So the first data cluster / entry is after 528 sectors or similar...
I'm not a Windows-Format-Profi, but maybe here could be the problem.
When you see my screenshot (some posts ago) e.g. you will see the OEM with does not meet the OEM description in e.g.:
https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#Bootsector (https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#Bootsector)
Too long and wrong position.

Every 2nd Byte is Zero, but ONLY in Sector 0

It's interesting too see the first sector of the DOM/CF-Card of someone who had success with the attachment to the PC (Windows or Linux)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 13:23, 24 January 17
if every second Byte is zero then something might be wrong during formatting or working (switching to 8-Bit Mode when activating?).

See pictures below. It's from the WinApe Emulator but the IDE harddrive is formatted with ACMEDOS and this is how is should be.

(can't find the picture you mentioned...)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 14:04, 24 January 17
Quote from: HAL 6128 on 13:23, 24 January 17
if every second Byte is zero then something might be wrong during formatting or working (switching to 8-Bit Mode when activating?).
Strange is, that the DOM is working.
How can i switch to 8-Bit Mode?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 14:42, 24 January 17
Quote from: SOS on 14:04, 24 January 17
Strange is, that the DOM is working.
How can i switch to 8-Bit Mode?
X-Mass hardware switches DOM to 8-bit mode on boot.

Use "Set features" command (&ef).



;; enable 8-bit transfer
ld bc,&fd0e
ld a,0
out (c),a

ld a,&1
ld bc,&fd09
out (c),a

ld a,&ef
ld bc,&fd0f
out (c),a




;; disable 8-bit transfer
ld bc,&fd0e
ld a,0
out (c),a

ld a,&81
ld bc,&fd09
out (c),a

ld a,&ef
ld bc,&fd0f
out (c),a



Note the specification says this:
"
Devices implementing the CFA feature set shall support 8-bit PIO data transfers.  Devices not implementing the CFA feature set shall not support 8-bit PIO data transfers.  See the CFA specification for more information"

This means in general HDDs will not support 8-bit transfer. DOM and CFA do.

Also enabling 8-bit transfer on Symbiface 2 is not recommended (you can do this but ignore every even byte-it assumes 16-bit data, and the lowest 8 bits will have the data).
And disabling 8-bit transfer on the X-mass is not recommended (you get half the data because the interface assumes 8-bit transfer and doesn't convert 16-bit data into two bytes).

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 14:45, 24 January 17
Quote from: HAL 6128 on 13:23, 24 January 17
if every second Byte is zero then something might be wrong during formatting or working (switching to 8-Bit Mode when activating?).

See pictures below. It's from the WinApe Emulator but the IDE harddrive is formatted with ACMEDOS and this is how is should be.

(can't find the picture you mentioned...)
I think the x-mass will reset if the power is not good to it and it can't switch to 8-bit mode.

If every second byte is zero, then it sounds like it is in 16-bit mode and X-mass thinks it is in 8-bit mode.

The other possibility is it's in 8-bit mode and windows ignored that and assumed it was 16-bit??
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 14:50, 24 January 17
Quote from: arnoldemu on 14:45, 24 January 17
I think the x-mass will reset if the power is not good to it and it can't switch to 8-bit mode.

If every second byte is zero, then it sounds like it is in 16-bit mode and X-mass thinks it is in 8-bit mode.

The other possibility is it's in 8-bit mode and windows ignored that and assumed it was 16-bit??
Thnx! I will test it next Weekend  :)

Probably, the CPC-Side is the source of the problem (or the IDE2DOM-Adapter, but some user use this with success):
Neiter WindowsXP nor LinuxMint can handle the Partition.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 14:54, 24 January 17
Quote from: SOS on 14:50, 24 January 17
Thnx! I will test it next Weekend  :)

Probably, the CPC-Side is the source of the problem (or the IDE2DOM-Adapter, but some user use this with success):
Neiter WindowsXP nor LinuxMint can handle the Partition.
is there a recommended ide2dom adaptor?
or a usb->dom and preferably one that works on linux.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 22:22, 28 January 17
Quote from: SOS on 15:40, 21 January 17
No one has a reproducable szenario, how can the DOM handled, that you can copy games to the DOM via PC and ACMEDOS can start the games.
I hope, i've got it  :D
ACMEDOS 0.8 makes nonsense to LBA-Sector 0, when formatting the DOM.
For whatever reason it writes 8 Bit values to 16 Bit addresses  :-X
=> can see in a windows-diskeditor, the OEM-Name is "A C M E    D O S"
When i format the DOM with ACMEDOS 0.6 the Format is ok.
=> in a windows-diskeditor, the OEM-Name is "ACME  DOS"
I have the same correct effect, when i use "arnoldemu"s switching-to-8Bit-Modus-code and use the ACMEDOS 0.8-Format.

The correct formated DOM was directly detected from my Linux Mint-Live-CD without a problem, so the copy of files are possible.
With Windows XP/8.1 i have no success to mount the DOM as a superfloppy.

Now I'm searching for a batch DSK-Extractor  :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 18:34, 29 January 17

please try to copy files from Linux to the DOM. I had the same progress but the copied files weren't recognized by ACMEDOS. let me know what you reach.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 07:06, 31 January 17
Quote from: HAL 6128 on 18:34, 29 January 17
please try to copy files from Linux to the DOM. I had the same progress but the copied files weren't recognized by ACMEDOS. let me know what you reach.
On my Windows 8.1.PC:
- Fast-Format 4GB-USB-Stick via. Windows (FAT32)
- Double-Clicks on following DSK's:
    * Monty On The Run (UK) (1986)
    * Moon Buggy & Super Ski (F)
    * Nonterraqueous (UK) (1985)
    * Shockway Rider (UK) (1986)
  WinApe opens and open the disk with "Edit Disk"-Function in Winape
  Copy&Paste all files to the C:\Directory of my PC in separate directories (orignaldirectory-names "Monty On The Run (UK) (1986)", "Moon...",...)
- After that, copy all directories with the windows-explorer to the USB-Stick Root.

On CPC:
Using Acmedos 0.8.
Open Maxam and compile arnoldemu's "Enable 8 Bit Transfer"-Programm
Start it from Maxam & format the DOM directly from Maxam.

On my Windows 8.1.PC:
Check it with a Disceditor, if the LBA 0 is correct (OEM-Name is "ACME DOS")

On my 2nd PC:
Start a Linux-Mint Live CD and plug in the USB-Stick & the IDE&USB-Adapter.
I can see both drives. Open it with the LinuxMint Explorer.
Mark the USB-Stick directories, right mouse-key + copy.
Paste to the DOM and eject the DOM.

On CPC:
Plug in the DOM, and test all of the games.
All recognized, all are functional.

I'm using the following hardware
- EDC 4000: 128 MB DOM 
- http://www.ebay.de/itm/221859677433 (http://www.ebay.de/itm/221859677433)
(http://i.ebayimg.com/images/g/wYwAAOSwxYxU0wLr/s-l500.jpg)

- Delock IDE-Adapter
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 06:21, 05 February 17
So, I fixed it. I removed the DOM's and add a 44pin CF Card Adapter. 2 of my CF Cards were detected. I can format them und ACME 0.6 (128mb). These formatted CF are detected on my WinXP Sytem an I can copy all my Software directly to the CF (folders too).

http://www.ebay.de/itm/292013080277?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT (http://www.ebay.de/itm/292013080277?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT)


Great...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:40, 05 February 17
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)

Please post a Photo of it connected to the Mother4X
What size CF card did you use.?

Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 09:28, 05 February 17
A 8GB and a 4GB, but only 128MB are formatted and used...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 09:29, 05 February 17
Look for a female 44Pin CF Adapter!


xesrjb


(Look at my former post)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:00, 05 February 17
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)


Thanks for the photo, I have ordered One .
Its good news using Acmedos 0.6 Format and loading the CF card from XP, and it works.


Thanks    Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 10:06, 05 February 17
Quote from: Audronic on 10:00, 05 February 17
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)


Thanks for the photo, I have ordered One .
Its good news using Acmedos 0.6 Format and loading the CF card from XP, and it works.


Thanks    Ray


Yes, indeed...😉😉😉


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 10:29, 05 February 17
...would be interesting in changing the parameters in Prodatrons formating tool to a 4 GB Environment. Maybe also works with AcmeDos?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 22:43, 06 February 17

@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324)

Hi All

Does anybody know if SyX is still working on the AcmeDOS ROM, or has he abandoned the project.

Thanks   Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: HAL6128 on 23:07, 06 February 17
I don't think he has abandoned it. It seems more that he's pretty busy in his studies for the moment.
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: radu14m on 12:21, 25 February 17
he will back soon i hope :)



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 09:04, 10 March 17
Bug found (using "tasword (uk) (1987).dsk"):
When you copy the files with |CPH to the DOM, the program didn't run.
The reason is in "TASCODE3.BIN", it's protected binary and it's decrypted automatically with CAS_IN_DIRECT+CHAR.
(see &D055,56,57 in AMSDOS).
So CPH decrypted the file and write the file with the protected filetyp "FF" to the DOM.
Tasword's loading-routine (CAS_IN_DIRECT) automatically decrypt the decrypted file, which can't be resulted
in a correct file (=Crash).


M4-Check follows  ;D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 21:55, 17 March 17
Quote from: Audronic on 10:00, 05 February 17
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)


Thanks for the photo, I have ordered One .
Its good news using Acmedos 0.6 Format and loading the CF card from XP, and it works.


Thanks    Ray




This CF cards are working under ACMEDos without any problems...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 06:33, 25 March 17
Quote from: Audronic on 10:00, 05 February 17
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)


Thanks for the photo, I have ordered One .
Its good news using Acmedos 0.6 Format and loading the CF card from XP, and it works.


Thanks    Ray


Have you made the test with CF Cards?


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 06:43, 25 March 17
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)


Oops i have done nothing yet.


Thanks for the prompt


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 09:55, 25 March 17
Quote from: xesrjb on 21:55, 17 March 17
This CF cards are working under ACMEDos without any problems...
xesrjb
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)

I finally found the adapter i had put it in a "safe "place 3 hours Grrrr.
Is this how your unit looks ?
I have not tested it yet.

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 10:06, 25 March 17
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)


Voila !  it works


Thanks for suggesting the Cf Card and adapter.


Ray

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 18:48, 25 March 17
Quote from: Audronic on 10:06, 25 March 17
@xesrjb (http://www.cpcwiki.eu/forum/index.php?action=profile;u=230)


Voila !  it works


Thanks for suggesting the Cf Card and adapter.


Ray


Good to see...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:45, 26 March 17
Hi ALL

Acmedos V0.9.0p

Does anybody have a copy of the X-Mass ROM (Acmedos) V0.9.0P available Please.

I would like to do some testing of the ROM

Its mentioned in the Readme.md

Thanks Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: francouai on 08:05, 27 March 17
Looks a very nice idea to me to use CF instead of DOM memory.
I have plenty of CF 64 and 128M used on Cisco Routers long time ago.

Could you pls tell me if you used this kind of CF adapter showing on Ebay?

http://www.ebay.com/itm/291533822061?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT (http://www.ebay.com/itm/291533822061?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:15, 27 March 17
@francouai (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1823)


Yes thats the same adapter as i have used.


I have attempted to update the card with files on a " Mac " it leaves control info on the drive that is not removable on the CPC
I have put some files on the CF card with a PC (Yuk) running XP and that worked ok and the Files ran OK
I just used some 128 meg cards that i had from a Tandy Trs-80 Model 1/3/4/4p project the i was involved with and they worked OK


Good luck            Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: francouai on 08:27, 27 March 17
cool, going to order one now.  :P

I'm using UBUNTU to transfer files from HD to DOM, very easy compare to windows XP.
peps here should use it. (linux emulation on windows 10)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 08:28, 27 March 17
Quote from: francouai on 08:05, 27 March 17
Looks a very nice idea to me to use CF instead of DOM memory.
I have plenty of CF 64 and 128M used on Cisco Routers long time ago.

Could you pls tell me if you used this kind of CF adapter showing on Ebay?

http://www.ebay.com/itm/291533822061?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT (http://www.ebay.com/itm/291533822061?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT)

It looks quit good...

But not all CF Cards were running under this system!

Try it...

xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: francouai on 08:32, 27 March 17
I'll use CF from CISCO (used on small access routers)

let's see, if it doesn't work, I'll loose only 6euros  :D
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 05:07, 18 April 17
X-Mass ROM ?
It looks like the X-Mass rom has been pulled from Git Hub as it is not accessible anymore.


https://github.com/realmml/X-Mass-ROM (https://github.com/realmml/X-Mass-ROM)


Is the Project DEAD what do we do with our X-Mass now ...


Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: roudoudou on 06:49, 18 April 17
Ast is still developping impdos on it


http://www.cpcwiki.eu/forum/applications/impdos/

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 08:53, 19 April 17
@TotO
@SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324)

Please confirm the status of the X-Mass ROM "Acmedos"

Is the Project going to continue ?

Thanks         Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: MacDeath on 12:05, 19 April 17
QuoteAst is still developping impdos
So I guess we will see a lot of impdos files.


tadum crash !
(ok je sort...)
:laugh:
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: robcfg on 14:23, 19 April 17
I've just talked to Syx, and he told me that the github repo is down because he'll be moving to bitbucket.


Also, the project goes on and the roms can be downloaded from cpc-power and cpc-rulez.


8)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:35, 20 April 17
@robcfg

Thanks for the update.

Where can I get a copy of Acmedos V0.9.0p Please
cpcrulez.fr has the roms up to V0.8.0p

Thanks       Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:46, 20 July 17
Hi All


Is this project DEAD or is somebody working on ACMEDOS.


Thanks        Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 12:45, 20 July 17
Quote from: Audronic on 01:46, 20 July 17
Hi All


Is this project DEAD or is somebody working on ACMEDOS.


Thanks        Ray

I don't think that the project is dead, i think that actually the aim for acmedos is to be integrated on the new CPC (Code Name: 8BITerminator)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: GUNHED on 15:38, 20 July 17
Can you tell more?

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Joseman on 17:29, 20 July 17
Quote from: GUNHED on 15:38, 20 July 17
Can you tell more?

Actually i don't know anything, I suspect that when they have something to show, it will be shown!
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 01:04, 21 July 17
Hi All


WE Have Been waiting since 14 December 2014 Yes 2014

I think that we have waited long enough.

There is hardware out in the CPC community that is sitting there Idle Because the ACMEDOS ROM has NOT been completed.

Come on Development Team, Make something that we can use,

Yours Frustrated

Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: arnoldemu on 13:36, 21 July 17
Quote from: Audronic on 01:04, 21 July 17
Hi All


WE Have Been waiting since 14 December 2014 Yes 2014

I think that we have waited long enough.

There is hardware out in the CPC community that is sitting there Idle Because the ACMEDOS ROM has NOT been completed.

Come on Development Team, Make something that we can use,

Yours Frustrated

Ray
Hi Ray,

I believe @SyX (http://www.cpcwiki.eu/forum/index.php?action=profile;u=324) developed the ACMEDOS ROM and he is very busy at the moment.
What are the issues you are having?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 22:55, 21 July 17
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122)


Hmmm.
Ok Whats wrong.
I am unable to copy a xxxxxx.txt from one drive to the other. Major Problem.
Plus all the UNIMPLEMENTED " Features " (In The Docs).


We were given the indication that after Christmas 2017 that work would RESTART on the Project,
That did not happen as far as the users know.


@Deveopment team ?


Please finish the Project.



Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Ast on 08:48, 22 July 17

Quote from: Audronic on 22:55, 21 July 17
@arnoldemu (http://www.cpcwiki.eu/forum/index.php?action=profile;u=122)


Hmmm.
Ok Whats wrong.
I am unable to copy a xxxxxx.bas from one drive to the other. Major Problem.
Plus all the UNIMPLEMENTED " Features " (In The Docs).


We were given the indication that after Christmas 2017 that work would RESTART on the Project,
That did not happen as far as the users know.


@Deveopment team ?


Please finish the Project.



Ray
Hi ray,


I don't really understand what is the matter ?
Is your X-Mass full ?
Is it possible to save another file ?


how much memory remains you there on the X-Mass ?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 13:41, 02 March 18
I'm finished with my FAT16 / FAT32-ROM (RC version).
Core features: ACMEDOS alternative, the usual RSX
like REN, CD, MD, .... are available.
ACMEDOS partition or standard Windows format (FAT16 or FAT32, up to 128GB allowed).
I'm looking for a second beta tester in a closed beta test phase.

If someone has enough time and desire, please send me a PM.
(Hardware does not matter)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: GUNHED on 15:19, 02 March 18
Well, this is just my POV... To speed up the development of software - especially something complex and big like a DOS - it's an advantage to write emails and PM's of motivation. IMHO it's bad to comment in an impatient way because this will just lead to increased frustration of the programmer, which - of course - is not helpful at all.  :)


I'm sure that SyX is doing an great and awesome job, but please consider that he is NOT paying his bills from his hobby projects. People doing hardware for the CPC are making at least some bucks with it (except Tot0 who even put's money in to serve the CPC scene), but people making software don't ever get a dime for it.  :(


I don't want to offend somebody, it's just my personal view. You are welcome to disagee (and code something well on the CPC  ;) )

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 16:01, 02 March 18
Häh?

I do not know why you come with SyX? (this is not a ACMEDOS-Thread)
What "impatient way" do you mean?

I'm developed an own FAT32-ROM for the Amstrad CPC, which is finished (RC).
It's an AddOn (ROM < 7) to AMSDOS/Parados.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: villain on 19:54, 02 March 18
Quote from: SOS on 16:01, 02 March 18
Häh?

I do not know why you come with SyX? (this is not a ACMEDOS-Thread)
What "impatient way" do you mean?

I'm developed an own FAT32-ROM for the Amstrad CPC, which is finished (RC).
It's an AddOn (ROM < 7) to AMSDOS/Parados.

I think he refers to a comment from @Audronic (http://www.cpcwiki.eu/forum/index.php?action=profile;u=1169).
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: xesrjb on 21:37, 02 March 18
Quote from: SOS on 13:41, 02 March 18
I'm finished with my FAT16 / FAT32-ROM (RC version).
Core features: ACMEDOS alternative, the usual RSX
like REN, CD, MD, .... are available.
ACMEDOS partition or standard Windows format (FAT16 or FAT32, up to 128GB allowed).
I'm looking for a second beta tester in a closed beta test phase.

If someone has enough time and desire, please send me a PM.
(Hardware does not matter)


Great...


xesrjb
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: 00WReX on 02:13, 03 March 18
Quote from: SOS on 13:41, 02 March 18
I'm finished with my FAT16 / FAT32-ROM (RC version).
Core features: ACMEDOS alternative, the usual RSX
like REN, CD, MD, .... are available.
ACMEDOS partition or standard Windows format (FAT16 or FAT32, up to 128GB allowed).
I'm looking for a second beta tester in a closed beta test phase.

If someone has enough time and desire, please send me a PM.
(Hardware does not matter)

Hello SOS,

I have not had an X-mass out for a very long time (I was successfully using one with BonnyDOS and the other with SymbBOS).
I would be happy to get them out again and have a play if you need anything.  ;D

Cheers,
Shane
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: protek on 16:45, 03 March 18
How much do X-mem and X-mass draw power together? I've been wonder why the X-mass wouldn't work and now it turned out that it was the external 5V 1A PSU that was the reason. What is even funnier is that the X-mass works just fine when it's powered just from the CPC bus.


Should the expansion be powered after the CPC as opposed to before?
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: GUNHED on 16:51, 03 March 18
Quote from: SOS on 16:01, 02 March 18
I do not know why you come with SyX? (this is not a ACMEDOS-Thread)
What "impatient way" do you mean?


Well, SyX is the one who made ACMEDOS. And ACMEDOS is the DOS which comes along with the X-MASS expansion. And this is an X-MASS thread.  :)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 00:23, 23 March 18
CubeIOS / FAT16+FAT32-ROM for the CPC's with XMASS released

All questions/remarks/bugs please goes to:
http://www.cpcwiki.eu/forum/applications/cubeios-fat16fat32-rom-for-the-cpc's-with-xmass/msg158072/#msg158072 (http://www.cpcwiki.eu/forum/applications/cubeios-fat16fat32-rom-for-the-cpc's-with-xmass/msg158072/#msg158072)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Audronic on 00:54, 23 March 18
Quote from: GUNHED on 16:51, 03 March 18
Well, SyX is the one who made ACMEDOS. And ACMEDOS is the DOS which comes along with the X-MASS expansion. And this is an X-MASS thread.  :)
Hi GUNHED
SyX has not finished the OS to go with X-mass (we have waited 3-4 years ?).
Perhaps thats why others have started to get an OS for X-mass.
Ray
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: Kris on 09:30, 23 March 18
Be patient, IMPdos is coming soon and believe me, it works fast and is reliable ......


Kris from IMPact ;)
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: TotO on 14:40, 16 February 19

Hello!

I have updated the X-MASS installer for X-MEM boards:
- FW3.16 (UK,FR,ES) + EXP ROM
- BASIC 1.20
- CUBEMDOS 0.12 (overwrite ACMEDOS)
- SYMBOS 3.0 ABCD ROM (optional)

The disk content include FORMAT, INSTALL and the X-MEM FLASHER tool.
It now support the FAT32 filesystem for 512MB users to share data from BASIC or SYMBOS in example.

Here the link: xmem_xmass_install.zip (http://totoonthemoon.free.fr/temp/xmem_xmass_install.zip)

Cheers,

  TotO
Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: zhulien on 19:56, 16 April 19
Is there any chance that cubemdos will ever work with M4?


The only way i have to get data to CPC is via sdcard on the M4.  Unfortunately some update of M4 stopped XMEM ROMs from working.  Internet access on CPC is important.



Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: SOS on 20:45, 16 April 19
Quote from: zhulien on 19:56, 16 April 19
Is there any chance that cubemdos will ever work with M4?
hmmm, i dont understand you completely.
Why you asked about CubeMDOS on the M4? (it works after M4ROMOFF)
(Maybe continue at the CubeMDOS-Thread)

Quote from: zhulien on 19:56, 16 April 19
Unfortunately some update of M4 stopped XMEM ROMs from working.  Internet access on CPC is important.
Why do you combined - XMEM-ROM & Internet-Access? Is it dependent?
maybe asked at the M4-Thread.

Title: Re: X-MASS, a mass-storage expansion for all CPC.
Post by: GUNHED on 22:53, 16 April 19
Guess, sometimes things get mixed up very easily.
Powered by SMFPacks Menu Editor Mod