News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Ast

X-Mass Application

Started by Ast, 15:18, 04 March 16

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

CraigsBar

Definately vote acmedos. But will try them both and make a choice.
IRC:  #Retro4All on Freenode

Joseman

Quote from: CraigsBar on 21:34, 16 March 16
Definately vote acmedos. But will try them both and make a choice.

Why you vote acmedos?

have you tried acmedos or impdos?

and why vote anything anyway?

is a pleasure and a big luck that 2 solutions will appear on the cpc, and even use the 2!

CraigsBar

Fat 32! My symbos installs are both on fat32 partitions and I don't fancy reinstalling if it's not necessary. *that* is a feature i'd vote for.
IRC:  #Retro4All on Freenode

Singaja

#78
Quote from: Wikipedia on 21:34, 16 March 16


There is a trade off in compatibility mostly for DOS, but the partition could be restored (the most compatible value is "IBM  2.0"). Volume serial remains the least invasive way.
This guy jumps into detail and covers some cases:
On OEM IDs

Ast

Same video as yesterday, but HD version.



I added two others functions in the Rom :

- ùrd,"DirectoryName" as remove directory
- ùdelete,"FileName" as delete file on x-Mass



_____________________

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

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Ast

Any pict from iMPdos' help screen (ùhlp is your friend)

_____________________

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

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

||C|-|E||

And there you are as well, behind the camera  :laugh:

Ast

_____________________

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

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Singaja

From this 1994 usenet post Google Gruppi
Quote

PC-DOS 3.0
  Result        Condition
  ------        ---------
  ignore BPB        OEM[1-4] != 'IBM '
  use BPB        OEM[6-8] == '2.0'
  ignore BPB        otherwise


Compaq DOS 3.0
  Result        Condition
  ------        ---------
  use BPB        OEM[1-4] == 'CCC ' && OEM[6-7] == '2.'
  ignore BPB        OEM[1-4] != 'IBM '
  use BPB        OEM[6-8] == '2.0'
  use BPB        OEM[6-8] == '3.0'
  ignore BPB        otherwise


PC-DOS 3.1
  Result        Condition
  ------        ---------
  ignore BPB        OEM[1-4] != 'IBM '
  use BPB        OEM[6-8] == '2.0'
  use BPB        OEM[6-8] == '3.1'
  ignore BPB        otherwise


PC-DOS & MS-DOS 3.2 and 3.21
  Result        Condition
  ------        ---------
  ignore BPB        OEM[1-4] != 'IBM '
  use BPB        OEM[6-8] == '2.0'
  ignore BPB        OEM[6-7] != '3.'
  use BPB        OEM[8]         == '0'
  use BPB        OEM[8]         == '2'
  ignore BPB        otherwise


MS-DOS 3.3
  Result        Condition
  ------        ---------
  ignore BPB        OEM[1-4] != 'IBM '
  use BPB        OEM[6-8] == '2.0'
  ignore BPB        OEM[6-7] != '3.'
  ignore BPB        OEM[8]         <= '0'
  use BPB        otherwise


Compaq DOS 3.31
  Result        Condition
  ------        ---------
  ignore BPB        Doesn't start w/jmp or jmp short & nop
  ignore BPB        Any of the chars in OEM[1-7] < 20h or >6Eh (doesn't
                check OEM[8], apparently a bug)
  ignore BPB        High order nibble of media desc != 0Fh
  ignore BPB        cluster size not a power of 2
  ignore BPB        OEM[1-4] == 'IBM ' && OEM[6-8] == '3.0'
  use BPB        otherwise


PC and MS DOS 5
  Result        Condition
  ------        ---------
  ignore BPB        Doesn't start w/jmp or jmp short & nop
  ignore BPB        High order nibble of media desc != 0Fh
  ignore BPB        Sector size not 512
  ignore BPB        cluster size not a power of 2
  use BPB        OEM[6-8] == '2.0'
  use BPB        OEM[5-7] == '10.'
  use BPB        OEM[5-7] == '20.'
  ignore BPB        OEM[6-7] == '0.'
  ignore BPB        OEM[6-7] <  '3.' (word compare, OEM[7] most significant)
  use BPB        OEM[6-7] >  '3.' (ditto)
  ignore BPB        OEM[8]         <  '1'
  use BPB        otherwise

So it turns out the best (in terms of compatibilty) OEM name to use BPB(Bios parameter block) would be : "IBM ?2.0". (question mark being in range of 0x20-0x6E inclusively).
For character out of this range "IBM x2.0" would break compatibility with Compaq DOS 3.31.
It's not possible to reuse 2bytes from the OEM field and keep compatiblity with DOSes 3.x line (btw the 3.x has maximum fat16 partition capacity @ 32 MB).
If one cares only about PC and MS DOS 5.x and above (that would include Windows3.1-ME) keeping the OEM as "xxxxx2.0" is good enough.


Prodatron

I wonder if any (actual) FAT implementation cares about the OEM name? IIRC there are no rules about it in the FAT specification.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Ast

Quote from: Prodatron on 22:44, 17 March 16
I wonder if any (actual) FAT implementation cares about the OEM name? IIRC there are no rules about it in the FAT specification.
But we need it to store our informations.
If we want symbos, impdos and why not acmedos compatibles.
It will be easy for us to follow these informations and stay compatibles with each others.
_____________________

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

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

TFM

It would be great if iMPdos and ACMEdos will be compatible.  :)  Well, since ACMEdos is not out now... not the most easy task. Good luck!  :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Prodatron

Quote from: Ast on 22:55, 17 March 16
But we need it to store our informations.
If we want symbos, impdos and why not acmedos compatibles.
It will be easy for us to follow these informations and stay compatibles with each others.
Just keep it FAT compatible. Then it will be compatible with Acmedos, SymbOS and everything else. And you will be able to exchange data storage with other computers. I don't see any sense to break FAT compatibility for increasing the speed when writing something for the first time.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Singaja

#88
Quote from: Prodatron on 22:44, 17 March 16
I wonder if any (actual) FAT implementation cares about the OEM name? IIRC there are no rules about it in the FAT specification.
That's correct, but IRL old DOSes (80s era) relied on it to some extent as mentioned in the web resources I quoted. Actually making them sometimes not cross compatible back in the day. Ideally if @Ast could squeeze the additional information he'd like to hold to 5 bytes (assuming using 4bytes Volume Serial too) it would be almost ideally compatible (minus the Compaq Dos 3.31). I do agree the last sector approach is not a good idea and can lead to data corruption.

khaz

#89
Quote from: Ast on 14:59, 17 March 16Any pict from iMPdos' help screen (ùhlp is your friend)

Hmm... Couldn't a less generic command be used? Something like |IMPHELP maybe?
[edit] It's just that as each ROM wants to come with its own help screen, we will start to get a profusion of |help |hlp |helpme |hlpme |helping |aide ... with no way of remembering which does what. I have the same concern about |HELP in FW3.15 too.

TFM

Quote from: khaz on 16:30, 18 March 16
Hmm... Couldn't a less generic command be used? Something like |IMPHELP maybe?
[edit] It's just that as each ROM wants to come with its own help screen, we will start to get a profusion of |help |hlp |helpme |hlpme |helping |aide ... with no way of remembering which does what. I have the same concern about |HELP in FW3.15 too.

Totally agree! Suggesting:

- FW3.15: !HFW
- ACMEdos: !HAC
- iMPdos: !HIMP
- FutureOS: !FHELP

Loger names are nice, but not for a eveydays usage, keeping is short saves keyboards.  ;)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Singaja

Quote from: TFM on 19:29, 18 March 16
Totally agree! Suggesting:

- FW3.15: !HFW
- ACMEdos: !HAC
- iMPdos: !HIMP
- FutureOS: !FHELP

Loger names are nice, but not for a eveydays usage, keeping is short saves keyboards.  ;)
I thought the command for FutureOS would be |FHILFE  ;)

Ast

Why not ?

Propose your own commands...
We Will vote for them
_____________________

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

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

TFM

Quote from: Singaja on 19:54, 18 March 16
I thought the command for FutureOS would be |FHILFE  ;)


Nope, kept it international. Just !FVER... upps !FHELP.  ;) :)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Ast

I'm still working on news instructions which could give you
an Easy way to use iMPdos... Z80 Coding is so interesting...

@Prodatron : can you tell me where you store the N value you need to calculate where the next file will be written  ?
_____________________

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

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

Ast

#95
Some news from yesterday (saturday night!)


iMPdos is growing up. Thanks for all comments. You give me the energy to go on.
I've added the * in the ùcopy's rsx which allows you to copy all or certain file present on the disc on your x-Mass.
Name of the files displayed come from my beta-tester Dirtybb. Great idea !






_____________________

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

http://amstradplus.forumforever.com/index.php
http://impdos.wikidot.com/
http://impdraw.wikidot.com/

All friends are welcome !

TotO

The |HELP command from the FW3.1x EXP ROM just replace/overload the existing |HELP command from UTOPIA with the same informations and usage.
So, It not have to be renamed to something custom... It is system related.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Fessor

In Conclusion all available ROMs should be investigated for |HELP and patched to not get into conflict with other ROMs...
Maxam also has |HELP...

For the DOSes i wish that they can hook their Routines into the OS-Vectors so that the Programs dont need to be patched to run from the Media in Control of the DOS (Albireo, ACME, iMP...) and the usual Basic Commands (CAT, LOAD, SAVE ...) work as expected...

|IMP.ACT   (eg. |AMSDOS)
|IMP.IN     (eg. |DISC.IN)
|IMP.OUT  (eg. |DISC.OUT)


TotO

AMCEDOS directly use the commands (LOAD, RUN, SAVE, CAT...) and RSX (|DIR, |ERA, |REN, ...) to work.
"You make one mistake in your life and the internet will never let you live it down" (Keith Goodyer)

Prodatron

Quote from: Ast on 21:52, 18 March 16@Prodatron : can you tell me where you store the N value you need to calculate where the next file will be written  ?
It's an internal value inside the memory, it's not stored on the harddisc. For FAT12 and FAT16 partitions you always have to walk through the whole FAT once when searching for the first free cluster.

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Powered by SMFPacks Menu Editor Mod