Amstrad DDI-1 Setup, Stat SECRET.BAS $DIR, Is this correct Y/N, Do you want to restart CP/M Y/N

Page 55

Set a file to 'Directory' status, reversing the 'System' assignment:

STAT *.COM $DIR

STAT SECRET.BAS $DIR

3.7.3.2 SETUP

This utility allows you to re-define the characteristics of the CPC464 keyboard, disc drive and serial interface, and to invoke various actions when CP/M is first loaded. When finished it updates the configuration sector. The program is menu driven and when a particular screen is correct, or requires no modification, move on to the next by answering Y to the question

Is this correct (Y/N):

The program can be aborted by [CTRL]C keys. When all the changes have been made it will prompt

Do you want to update your system disc (Y/N):

giving you the opportunity to retain the existing configuration sector (by typing N), and;

Do you want to restart CP/M (Y/N):

allowing you to load and try the new configuration by typing Y.

To copy a configuration sector from one disc to another, either use BOOTGEN (see ahead) or load SETUP from the source disc, answer Y to every question, inserting the destination disc at some time before answering the penultimate question.

Characters with an ASCII value less than decimal 32 can be typed into strings by typing a ^ followed by a suitable character from the set @, A-Z, [, \, ], _

The following options are those more commonly requiring attention:

**Initial command buffer Any characters entered here will appear as if they had been typed into the direct console mode when CP/M is first loaded. This has the effect of auto-running a particular program at that time. Remember to include the equivalent of the [ENTER] key which is represented by the two characters ^M. For example to auto-run STAT, the initial command buffer should be STAT^M.

Sign-on String This is the message displayed at the top of the screen when CP/M is first loaded. Note the use of ^J^M to give a carriage return - line feed effect. The early part of the standard message sets suitable screen and border colours for working in 80 column mode (See CPC464 User Instructions Chapter 9) and should be copied exactly if they are to be preserved.

Keyboard translations This allows new ASCII values to be set into keys, effectively simulating the AMSTRAD BASIC 'KEYDEF' command. The parameters required are the key number and ASCII values to set into them. Refer to the CPC464 User instructions for a map of key numbers.

Keyboard expansions Effectively simulates the BASIC 'KEY' command.

Chapter 3.7

AMSTRAD Disc Drive & Interface DDI-1 Manual

Image 55
Contents Page Amstrad Disc Drive & Interface DDI-1 Amstrad Contents Contents Page Connecting the Mains Lead Foundations 1 Setting UpConnecting the DDI-1 to the Computer Computer Interface Unit Main Disc Drive Drive a Computer Write Protection Foundations 2 About DiscsOpen Closed When Your Disc Is Eject Button Indicator LampROLCAVE. not found Drive a disc missing Retry, Ignore or Cancel?Foundations Loading Software/Games Run rolcaveType mismatch Bad commandSyntax error Drive a read fail Retry, Ignore or Cancel?Foundations Introducing Amsdos and CP/M Tape.in Drive B disc missing Retry, Ignore or CancelLoad filename DiscStoring Data Onto Disc First Steps Using The CP/M DiscCpm CLS? Beware Back to AmsdosSaving a Program in Memory onto Disc Loading From Disc CatalogEXAMPLE.BAS Copying Programs From Cassette to Disc Copying Programs From Disc to DiscCopying Programs From Disc to Cassette Copying Using Disccopy Copying Using the CP/M System DiscDo you want to copy another disc Y/N Copying Using CopydiscCopying started Reading track 0 to Writing track 0 toChkdisc Checking DiscsAborting DiscchkInstallation Amstrad Disc Drive & Interface DDI-1 Manual Making Working Discs Backup Master DiscDISCCOPY.COM Working SYSTEM/UTILITY discBasic only disc Turnkey Amstrad Basic discsCreating a Turnkey CP/M System disc Turnkey Basic using disc suppliedTurnkey CP/M Discs Turnkey Basic onto your Working discConfiguring the Output from the package Configuring a CP/M ProgramAmbiguous filename Confirm individual files Y/N ? Starting a Turnkey CP/M Package Configuring the Input to the packagePayroll Autostarting a Turnkey CP/M Package Introduction Amsdos PrimerAmsdos filenames and filetypes Disc DirectoryConstruction of Filenames Filenames on two drives Amsdos headersSave PROG.BAS a Save Bprog .BAS BERT.BAS FRED1.BAS FRED2.BAS FRED3.BAK FRED3.BAS FINISH.BAS Examples of Using Amsdos Commands in a programWild cards Saving variables and performing a Screen DumpCloseout NeatWend Closein Reference guide to Amsdos commandsPre-empting a Garbage Collection While not EOFCAT Summary of Basic commandsSummary of Amsdos external commands Save OPENOUT, Print #9, Write #9, List #9, CloseoutDISC.IN CPMDIR DiscTAPE.IN ERAREN TapeAscii files File Copying proceduresCopying Files Amsdos files with headersFile has a header Amstrad Reference guide to Amsdos Error Messages Drive Drive write fail Drive Drive disc missingDrive Drive disc is write protected Drive Drive read failOperating with CP/M CP/M PrimerCP/M system tracks Console control codes Configuration SectorLogging in a disc ERA command Direct Console CommandsSwitching default drives DIR commandPeripheral Management Transient commandsREN command Type commandCassette files File and disc copyingSingle file copying Whole disc copiers and checkersStat System ManagementIs this correct Y/N SetupDo you want to update your system disc Y/N Stat SECRET.BAS $DIRFormat D Format I Format Disc GenerationAmsdos FormatSysgen BootgenAdvanced programming MovcpmAmstrad Disc Drive & Interface DDI-1 Manual Introduction to Logo What is LogoGetting Started Dr. LogoTo squareanysize side repeat 4 fd side rt 90 end Procedures with parametersRepeat 4 fd 60 rt To square Repeat 4 fd 60 rt 90 endTo triangle Repeat 3 fd edge rt 120 end Using Variables to remember valuesEditing programs and procedures Cs squareanysize 100 rt 45 squareanysizeSummary of Dr. Logo primitives Operating hintsCount Word and List ProcessingAscii CharList EmptypFirst FputArithmetic Operations Logical Operations ?= Logo Logo NotVariables ProceduresShow EditingText Screen SetsplitDot CleanGraphic Screen TypeSetpal PalWindow Wrap Turtle GraphicsSetpc SethNodes Workspace ManagementSetpos ErnPlist RecycleGlist GpropKEYBOARD, Joystick buttonp Disc Files DirLoad Save?key Paddle?paddle 0 ?make key rcRelease SoundEnv EntStop LabelRepeat RunThrow ErrorCatch PauseSystem Properties Headers Technical information for the user FirmwareStore requirements Changing DiscsBios messages Error MessagesAmsdos messages Failed to load boot sector Common to ALL Formats Disc OrganisationJump Block Re-Interception by the User Jump Block Interception by AmsdosReturn Parameters 132 #BC8C 133 #BC8F 134 #BC92 135 #BC95 #BC98 Intercepted Firmware Calls137 #BC9B Page Appendix Glossary of Terms CP/M Dr.Logo Primitives TPA Amstrad Disc Drive & Interface DDI-1 Manual Appendix Term Limitations of Remedies Amstrad Disc Drive & Interface DDI-1 Manual Appendix Index ERA Setpos