News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_TFM

ParaDOS Question!

Started by TFM, 19:41, 28 August 13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TFM

Hi!


Do you know how I can patch PARADOS in a way that it starts up with:


ROMDOS D10: Disabled
IBM Formats : Enabled




Any help is appreciated :)

TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

cngsoft

WINAPE includes PDOS-DDB.TXT that explains how the extra formats are handled on memory, and how to edit the ROM if needed.
Copy and paste:

ParaDOS uses a locking technique to reset the drive definitions to their default values when the CPC
gets reset. There is a slight possibility that some programs may confuse the locking system, but that
should be rare.

The lock works by placing the bytes #53 and #44 at address #BAFA and #BAFB respectively (ie.
"PD", short for ParaDOS). If these two bytes are intact, it is assumed that the bytes at addresses
#BAFC and #BAFD respectively are also intact, and these are used as the master copy of the DDB
and DPB (Drive Definition Byte and Drive Parameter Byte).

The values that are actually used to determine the number or tracks, number of sides, default side
and stepping mode are stored in the DDB at #BAFF. The byte at #BAFE determines the format
preference for DATA, SYSTEM and IBM formats. These two bytes are copied from #BAFC and
#BAFD on reset if the lock is intact. This allows a user-defined setting to be used, which will survive
through resets as long as the lock survives (for example, type |DRIVE, and configure the drive
settings. When you reset all the settings remain intact).

The actual values for the DDB are as follows:

Drive A:
---------
bit 7 - Head use when single-sided (Normally 0)
bit 6 - Single stepping (0) or double-stepping (1).
bit 5 - Number of tracks per side (0 = 40, 1 = 80)
bit 4 - Number of sides, single-sided (0) or double-sided (1).

Drive B:
---------
bit 3 - Head use when single-sided (Normally 0)
bit 2 - Single stepping (0) or double-stepping (1).
bit 1 - Number of tracks per side (0 = 40, 1 = 80)
bit 0 - Number of sides, single-sided (0) or double-sided (1).


The DPB bits are as follows:

Bit 3 - (0) Disable, (1)Enable Ultraform format rather than ROMDOS D10 (*Config says D1)
Bit 2 - (0) Disable, (1)Enable IBM format rather than ROMDOS D1 (*Config says D10).
Bit 1 - (0) Disable, (1)Enable extended DATA and SYSTEM formats (Electro Formats)
Bit 0 - Drive configuration (DDB) usage affected by formats. (0 = Unlocked, 1 = Locked)

The Format setup menu in ParaDOS has ROMDOS D10 and ROMDOS D1 switched in the menu.

So to make a temporary change to the drive definition, poke &baff or &bafe with the new value. To
make a semi-permanent change, poke &bafd or &bafc and the corresponding byte at &baff or
&bafe. To make a permanent change, change to ROM at address #1c00 (DDB) or #1c03 (DPB).

The correct default values for 40 track, single-sided drive B should be 0 and 0.

I personally use DDB=#03 (80 track, double-sided drive B) and DPB=#02 (Electro formats
enabled).

To allow 80 track, double-sided discs to be used in Drive B: use DDB=#03. Disabling Electro
formats allows 40 track, single-sided DATA and SYSTEM format discs to be used in drive B:
(if you can't see the banner right now my server is currently offline)

TFM

Thank you so much!!!  :) :) :)



TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

TFM

And here it is: Ladies and Gentlemen!

The all new VaraDOS, the ParaDOS with preselected Vortex format on Drive B  :)

I also added a checksum (at &FFFF), if case you would like to use it in a MegaFlash or similar.
Further the Headline (both actually) have been patched, so you see immediately that you are dealing with VaraDOS.
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Bryce

And you've uploaded it to the ROMs page for everyone to find?? :)

Bryce.

TFM

Quote from: Bryce on 08:42, 30 August 13
And you've uploaded it to the ROMs page for everyone to find?? :)

Bryce.


I made a small Wiki page for it. But I haven't had the time for the above. Wanted to do it today, but had to extend my drivers licence, which took me the whole day and finally failed. Now I go to Snake and Jakes and get drunk!


Ok, guess I can to it this weekend ;-)
TFM of FutureSoft
Also visit the CPC and Plus users favorite OS: FutureOS - The Revolution on CPC6128 and 6128Plus

Powered by SMFPacks Menu Editor Mod