Author Topic: CubeMDOS / FAT16+FAT32-IDE-OS - for XMASS, Symbiface 3,HXC/Gotek  (Read 2483 times)

0 Members and 1 Guest are viewing this topic.

Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 238
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 148
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


* scr.png
(16.26 kB, 683x454 - viewed 981 times)


« Last Edit: 07:40, 01 October 18 by SOS »

Offline Ast

  • 6128 Plus
  • ******
  • Posts: 907
  • Country: fr
    • Amstrad cpc Website of Ast/iMPACT
  • Liked: 632

Well done SOS !
Happy to see other os will be ready for our beloved x-Mass !
_____________________

Ast/iMP4CT. "By the power of Grayskull, i've the power"


Amstrad Plus French Forum

All friends are welcomed !

Offline Kris

  • 6128 Plus
  • ******
  • Posts: 524
  • Country: fr
  • Team Impact
  • Liked: 182
I just give it a trial but formatting a 128Mb DOM give wrong size results...If I choose FAT16 format then I own 400Mb ??

Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 238
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 148
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)

« Last Edit: 21:18, 25 March 18 by SOS »

Offline Fessor

  • CPC6128
  • ****
  • Posts: 160
  • Country: de
  • Liked: 126
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?




Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 238
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 148
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
but i will recommend:
http://www.cpcwiki.eu/forum/hardware-related/cf-card-adapter-for-x-mas/
buuuut, not all CF-Cards accepted from the XMASS...

Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 238
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 148
New update, see 1st post.

Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 238
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 148
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  ;) )
« Last Edit: 08:44, 01 October 18 by SOS »

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 589
  • Country: de
  • Reincarnation of TFM
  • Liked: 267
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?
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2018.08.23)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Ver.: 2018.08.15)

Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 238
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 148
- 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  ::) )
« Last Edit: 18:45, 01 October 18 by SOS »

Offline GUNHED

  • 6128 Plus
  • ******
  • Posts: 589
  • Country: de
  • Reincarnation of TFM
  • Liked: 267
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.  :)
http://futureos.de --> Get the revolutionary FutureOS (Recent update: 2018.08.23)
http://futureos.cpc-live.com/files/LambdaSpeak_RSX_by_TFM.zip --> Get the RSX-ROM for LambdaSpeak :-) (Ver.: 2018.08.15)

Offline HAL 6128

  • 464 Plus
  • *****
  • Posts: 445
  • Country: de
    • index.php?action=treasury
  • Liked: 215
Max. 32Bit LBA addressing possibilities means 3 TB or 28Bit 128GB? (...not an important question for a CPC) :P
...proudly supported Pentomino and NQ-Music-Disc with GFX

Offline SOS

  • Supporter
  • CPC6128
  • *
  • Posts: 238
  • Country: de
  • Identity lost
    • index.php?action=treasury
  • Liked: 148
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  :) 
« Last Edit: 18:16, 02 October 18 by SOS »