CPCWiki forum

General Category => Applications => Topic started by: SOS on 01:18, 23 March 18

Title: CubeMDOS / FAT16+FAT32-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: SOS on 01:18, 23 March 18
I'm finished, attached is my latest version.


Key Features:
- Detect (nearly) all Fat16+Fat32-Partitions on your CF-Card, DOM, etc. (1st Partition please). Prefered is Fat32 (should be faster with Save-Commands)
  You can format the media with e.g. Windows and fill it with data.
- Partial longnames.
- the usual RSX like |MD, |RD, |REN,....
- |DIR + |CD accepts wildcards
- Compatibility should be high (i hope so  ;) ) - but i'm playing around with a lower-rom-patch to increase compatibility.
- Burn to ROM7 is allowed (max. compatibility), with (or without) AMSDOS as ROM8 or 9,10,....
- ROM7 without Floppy-ROM is allowed too, compatible with Duke's lower-ROM-Patch

The ROM must be placed below (if used) AMSDOS, M4DOS, PARADOS
Not compatible with ACMEDOS at the same time.

YANCC-User should be update to the latest version.


History:
Added 23.03.18: CubeIOS180318b - first release - The ROM had fled  :-[ but i found it (please reload the file, sorry)
Added 15.04.18: CubeIOS140418b - Bugfixing + flexible ROM configuration allowed, changed handling of |A (see textfile)
Added 30.08.18: FormatBAS - the upcoming next release(s) will no longer include "Format.bas"
Added 01.10.18: CubeMDOS230918b - Renamed ROM, Support of Symbiface 3, HXC+Gotek (see Readme) + Small Bugfixes

Title: Re: CubeIOS / FAT16+FAT32-IDE-OS - ROM for the Amstrad CPC's with XMASS
Post by: Ast on 14:20, 23 March 18

Well done SOS !
Happy to see other os will be ready for our beloved x-Mass !
Title: Re: CubeIOS / FAT16+FAT32-IDE-OS - ROM for the Amstrad CPC's with XMASS
Post by: Kris on 19:39, 25 March 18
I just give it a trial but formatting a 128Mb DOM give wrong size results...If I choose FAT16 format then I own 400Mb ??
Title: Re: CubeIOS / FAT16+FAT32-IDE-OS - ROM for the Amstrad CPC's with XMASS
Post by: SOS on 21:01, 25 March 18
I just give it a trial but formatting a 128Mb DOM give wrong size results...If I choose FAT16 format then I own 400Mb ??
At the moment i have no check against the real-media-size.

You can't choose a format with higher capacity as your media can fit!
So you must choose a correct format, eg.
128MB-DOM = 1st ACMEDOS-Format (128MB),
256MB-DOM = 1st ACMEDOS-Format (128MB),
512MB-DOM (or higher) = You can use all formats (128MB,400MB,450MB)

Title: Re: CubeIOS / FAT16+FAT32-IDE-OS - ROM for the Amstrad CPC's with XMASS
Post by: Fessor on 22:23, 10 April 18
Cool. Works great for Winapes IDE-Device.

Created empty Image via
dd if=/dev/zero of=cpcide.img count=128 bs=1M, set to W95 FAT16 (LBA) with fdisk and initialised with mkfs.vfat cpcide.img

Mounted it in Winape and could Save Files to it.

Created Entry in /etc/fstab to mount it parallel in Linux. Copying Files from Disk-Images to the IDE-Image via ManageDSK works like a charm.

Must now look, how to get it transferred to the XMASS-DOM. Are there Adapters for USB available to Mount the DOM on a PC?



Title: Re: CubeIOS / FAT16+FAT32-IDE-OS - ROM for the Amstrad CPC's with XMASS
Post by: SOS on 22:43, 10 April 18
Must now look, how to get it transferred to the XMASS-DOM. Are there Adapters for USB available to Mount the DOM on a PC?
http://www.cpcwiki.eu/forum/news-events/x-mass-a-mass-storage-expansion-for-all-cpc/msg140765/#msg140765 (http://www.cpcwiki.eu/forum/news-events/x-mass-a-mass-storage-expansion-for-all-cpc/msg140765/#msg140765)
but i will recommend:
http://www.cpcwiki.eu/forum/hardware-related/cf-card-adapter-for-x-mas/ (http://www.cpcwiki.eu/forum/hardware-related/cf-card-adapter-for-x-mas/)
buuuut, not all CF-Cards accepted from the XMASS...
Title: Re: CubeIOS / FAT16+FAT32-IDE-OS - ROM for the Amstrad CPC's with XMASS
Post by: SOS on 12:46, 15 April 18
New update, see 1st post.
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface3,HXC/Gotek
Post by: SOS on 07:40, 01 October 18
New Version released (Symbiface 3-Support, HXC/Gotek & Small Bugfix).
My big thanks (again) to Audronic & 00WReX for beta-testing  :D
(bohh, they have good,strong nerves  ;) )
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: GUNHED on 17:13, 01 October 18
Congrats to your update. Let me ask you few questions.

- Is your DOS compatible to X-DDOS and / or to R-DOS?

- What's the difference to support SF2 and SF3? There is no SF3 docs out there? Can you tell a bit?
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: SOS on 17:47, 01 October 18
- Is your DOS compatible to X-DDOS and / or to R-DOS?
- What's the difference to support SF2 and SF3? There is no SF3 docs out there? Can you tell a bit?

X-DDOS / R-DOS: Never tested   (Edit: No, both did not run, i Need only 0-1 leading DOS-ROM, like e.g. AMSDOS on 7 or 8, Parados on 7, or no DOS-ROM)

SF3 has an USB-Interface.
I have an Prototyp-Card from TMTLOGIC.
He has documented the programming Interface.

The core functions which he provides are boring easy, so my actual ReadLBA-Sector looks:

Code: [Select]

        ld bc,#FD41
ld a,1
out (c),a ; reset pointers1
; -----------
ld bc,#fd43
out (c),h
out (c),l
out (c),d
out (c),e
;LBA number Sector write (max 32)
ld a,1
out (c),a
ld bc,#FD41
ld a,51 ; read sector from usb stick
out (c),a ; reset pointers1
SYMBIFACE3_ReadSector1
    ; wait processing 0 = oke 1 = busy 2 = error
in a,(c)
cp 0
jr z,SYMBIFACE3_ReadSector1_Exit
cp 1
jr z,SYMBIFACE3_ReadSector1
; error-state, so exit
jr SYM3_READ_ERROR
SYMBIFACE3_ReadSector1_Exit

call GetAMSDOSWorkingBufferInIX ; OUT: HL=Buffer, All Register preserved
ld bc,#fd43
ld de,512
SYMBIFACE3_ReadSector2
in a,(c)
ld (ix),a
inc ix
dec de
ld  a, d
or  e
jr nz,SYMBIFACE3_ReadSector2
in a,(c)
cp #1a
jr nz,SYM3_READ_ERROR

Because of the stable CubeROM for XMASS, I "only" added an autodetect & differs in the core-functions (like):
AutodetectSymbiface3
If Symbiface3Found then begin
  ReadLBASectorFromSymbiface
  exit
end
ReadLBASectorFromXMASS

Hmmm, maybe i will Play in the next days with the RTC.... (when it's functional in my prototyp-Card  ::) )
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: GUNHED on 13:26, 02 October 18
That's pretty neat actually. So adding USB seems more easy (and fun) than IDE.

About R-DOS... It should be at ROM position 1, because it "just" adds commands for RAM drive C and "should" be compatible with CubeDOS.
Well, I already downloaded the new update, but have some issues here with my hardware setup (only temporary I hope).

If you have any information about how to read / write the SF3 RTC it would be nice to post it here.  :)
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: HAL 6128 on 16:25, 02 October 18
Max. 32Bit LBA addressing possibilities means 3 TB or 28Bit 128GB? (...not an important question for a CPC) :P
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: SOS on 17:07, 02 October 18
Max. 32Bit LBA addressing possibilities means 3 TB or 28Bit 128GB? (...not an important question for a CPC) :P
32 Bit = 4294967295 Sectors can be assigned, size 2199023255040 Bytes = 2,19 TB 
(never tested on my CPC, whether the whole range can be correctly assigned  ;) )
=> I'm using 32 Bit for Symbiface 3, HXC/Gotek and IDE 24 Bit :o (=16777215 Sec's = 8,5 GB  >:(  ).

I think, i must set this to my todo-List, should be 28 Bit (=137 GB) or more :-[

Edit: I'm blind (can't read my own source code), IDE are supported up to 28 Bit (=137 GB) (cross checked with WinApe) all ok  :) 
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: netmercer on 02:07, 13 November 18
Hi SOS,
I attempted to use CubeMDOS 23.09.18b in order to manage Toto's XMASS.

First: I can't enter ParaDOS menu any longer with RSX |DRIVE.
I know the RSX |DRIVE is taken by CubeMDOS, but perhaps there is another way to enter the menu of ParaDOS.

Second: Some subfolders shows as name "eEUERO~1" (with YANCC) in place of their real name.
(with pure CubeMDOS on the commandoline the first letter is instead of "e" a  (&HE5) Symbol)
This happens both on XMASS and on HXC Gotek with RSX |HB.

My configuration on CPC6128:
ROM8: LAUNCH 14.04.18b
ROM7: AMSDOS
ROM6: ParaDOS 1.1
ROM5: CubeMDOS 23.09.18b
ROM4: YANCC 14.04.18b

Perhaps I'm doing something wrong.

By the way, I'm using YANCC for more than an year and I really won't miss it. Thanks  :-*

Best regards
netmercer
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: SOS on 09:33, 13 November 18
Moin netmercer   :)
First: I can't enter ParaDOS menu any longer with RSX |DRIVE.
I know the RSX |DRIVE is taken by CubeMDOS, but perhaps there is another way to enter the menu of ParaDOS.


Yes |DRIVE is caught by CubeMDOS, but when execute, i'm doing a decision "ParaDOS found?", so if yes, I execute the ParaDOS-RSX.
Works here   ???
Could you reproduce that in WinApe?
Same effect with Parados 1.2?
You can attach the big-floppy-drives? (so Parados is loaded correctly)
Please, could you send me the "?peek(&b0c7)"  and b0c8 & b0c9 values

[Strange Things happens with the Quote, so plain:]
Second: Some subfolders shows as name "eEUERO~1" (with YANCC) in place of their real name.
(with pure CubeMDOS on the commandoline the first letter is instead of "e" a  (&HE5) Symbol)
This happens both on XMASS and on HXC Gotek with RSX |HB.
[Quote-end]


Which media do you use (e.g. SD-Card 16GB FAT32 & DOM 512MB FAT16 both with partions at max size)?
You will see the strange names on both medias and the Gotek has HXC Firmware(!?)
In YANCC you dont see the longnames in the penultimate line? (I think YANCC is ok, and CubeMDOS reported strange Things)
With |DIR you will see "aUERO~1" (instead of the correct Name "EUERO~1")?
Do you deleted the subfolders before, when yes: How do you deleted them (Windows, CubeMDOS, …)?
The directory-content is correct, when displayed in MSDOS?
Do you have a chance to do a screenshot of the sector-content of the Directory on your WindowsPC or could you upload an Image of your media on an internet-hoster (prefered)? (i can assist you (PM))
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: netmercer on 02:05, 14 November 18
Servus SOS  ;D ,
thank you for your quick reply.

With Parados 1.2 the |DRIVE RSX works.  :doh:
I'm still using ParaDOS 1.1, because I patched it for my needs. I will see what to do...

Strange subfolder name:
In XMASS I'm using a 512MB CF card formated in FAT16 by ACMEDOS (no partition, 123 MB) and in Gotek there is a 8GB FAT32 USB stick.
Under Windows, Symbos or ACMEDOS the subfolder names are right and all works as expected. I think YANCC is ok, too.
In the past I deleted and created different files and subfolders on the CF card by ACMEDOS. For the USB stick I did this only with Windows.
The affected subfolder could be opened with its right name under CubeMDOS and the included files are usable.
Because of the beginning letter "&HE5" of the "wrong" name it might seem, that this folder was deleted, but it was not.
I will try to make a image of the directory sectors for you.

Best regards
netmercer
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: netmercer on 01:48, 20 November 18
Servus SOS,

in WinApe with CubeMDOS a image of my X-MASS drive shows the same behavior as a real CPC6128.
Enclosed you will find a screenshot of WinApe with strange subfolder name:  :o

Best regards
netmercer
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: RockRiver on 10:29, 20 November 18
Symbiface II (IDE) support???
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: SOS on 14:00, 20 November 18
Symbiface II (IDE) support???

Yes, should be run (i can't test it - i have no SF2).
Please reported back.  (then i will Change the title of this thread)
Media max. 128GB FAT16 or FAT32.
CubeMDOS should be detect every 1st Partition.
Title: Re: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek
Post by: SOS on 23:24, 20 November 18
Second: Some subfolders shows as name "eEUERO~1" (with YANCC) in place of their real name.
(with pure CubeMDOS on the commandoline the first letter is instead of "e" a  (&HE5) Symbol)
This happens both on XMASS and on HXC Gotek with RSX |HB.
Bugfix sent to netmercer.
If he does not report any problems, the bugfix will be included in the next version.
The next version will take a while (I'm still struggling with the FlashFloppy-Firmware)


(Thanks to netmercer for cooperation)