Amstrad DDI-1 manual Working SYSTEM/UTILITY disc, Basic only disc, Turnkey Amstrad Basic discs

Page 30

1.2 A working SYSTEM/UTILITY disc.

You will find that, as well as making a day-to-day copy of your Master System/Utility disc and Dr LOGO disc, it is most convenient if you make a 'working utility disc' containing a few of the programs from the Master System/Utility disc that you use the most. This will still leave plenty of room for your programs. Should you require to run any other utility programs then you can always obtain them from your copy of the Master System/Utility disc. All the more commonly used programs will, however, be at your fingertips.

First use CP/M and the FORMAT program to create a new blank disc. Then use the CP/M program FILECOPY to copy each program that you want, onto the new disc. Experience will tell you which programs you'll want to have handy. In this example we have chosen AMSDOS.COM, FILECOPY.COM and DISCCOPY.COM.

Using your copy of the Master System/Utilities disc as the CP/M system disc, select CP/M, and at the A> prompt type FILECOPY FILECOPY.COM and follow the

displayed instructions. (The SOURCE disc is the one initially in the drive and the DESTINATION disc is the new disc you are creating). When it has finished, copy the other two programs by the commands FILECOPY AMSDOS.COM and FILECOPY

DISCCOPY.COM

Once you have made one working system/utilities disc with your selection upon it, you can prepare the second side of that disc or both sides of other discs simply by using the DISCCOPY or COPYDISC programs. Take note however of the copying restrictions laid down in the End User Licence Agreement, in Appendix 2 of this manual.

1.3 A BASIC only disc.

Tracks 0 and 1 of a system disc are reserved by CP/M and cannot be used by you. If you want to use all the space on a disc for games, programs or data in BASIC, and NEVER intend to use CP/M or ANY of the CP/M utilities on that disc, it can be formatted without the CP/M system tracks. It is then called a data disc.

The disc must be formatted using an option of the format program: type FORMAT D instead of FORMAT. To copy programs onto this disc you must use FILECOPY (loaded from a system disc) or LOAD and SAVE them from BASIC. In a two drive system it is possible to use the CP/M utility PIP. The programs COPYDISC and DISCCOPY will format the destination disc to the same as the source.

1.4 Turnkey AMSTRAD BASIC discs

If you buy an application program written in AMSTRAD BASIC for the CPC464 it should be ready to operate when you switch on. (The expression "Turnkey" comes from the days when all small computers had a key-operated power switch). All you have to do is install it on a suitable working disc

AMSTRAD Disc Drive & Interface DDI-1 Manual

Chapter 1.2

Image 30
Contents Page Amstrad Disc Drive & Interface DDI-1 Amstrad Contents Contents Page Foundations 1 Setting Up Connecting the Mains LeadConnecting the DDI-1 to the Computer Computer Interface Unit Main Disc Drive Drive a Computer Foundations 2 About Discs Write ProtectionOpen Closed When Your Disc Is Indicator Lamp Eject ButtonRun rolcave Drive a disc missing Retry, Ignore or Cancel?Foundations Loading Software/Games ROLCAVE. not foundDrive a read fail Retry, Ignore or Cancel? Bad commandSyntax error Type mismatchFoundations Introducing Amsdos and CP/M Disc Drive B disc missing Retry, Ignore or CancelLoad filename Tape.inFirst Steps Using The CP/M Disc Storing Data Onto DiscCpm CLS? Back to Amsdos BewareSaving a Program in Memory onto Disc Catalog Loading From DiscEXAMPLE.BAS Copying Programs From Disc to Disc Copying Programs From Cassette to DiscCopying Programs From Disc to Cassette Copying Using the CP/M System Disc Copying Using DisccopyWriting track 0 to Copying Using CopydiscCopying started Reading track 0 to Do you want to copy another disc Y/NDiscchk Checking DiscsAborting Chkdisc Installation Amstrad Disc Drive & Interface DDI-1 Manual Backup Master Disc Making Working DiscsTurnkey Amstrad Basic discs Working SYSTEM/UTILITY discBasic only disc DISCCOPY.COMTurnkey Basic onto your Working disc Turnkey Basic using disc suppliedTurnkey CP/M Discs Creating a Turnkey CP/M System discConfiguring a CP/M Program Configuring the Output from the packageAmbiguous filename Confirm individual files Y/N ? Configuring the Input to the package Starting a Turnkey CP/M PackagePayroll Autostarting a Turnkey CP/M Package Amsdos Primer IntroductionDisc Directory Amsdos filenames and filetypesConstruction of Filenames Amsdos headers Filenames on two drivesSave PROG.BAS a Save Bprog .BAS Saving variables and performing a Screen Dump Examples of Using Amsdos Commands in a programWild cards BERT.BAS FRED1.BAS FRED2.BAS FRED3.BAK FRED3.BAS FINISH.BASNeat CloseoutWhile not EOF Reference guide to Amsdos commandsPre-empting a Garbage Collection Wend CloseinSave OPENOUT, Print #9, Write #9, List #9, Closeout Summary of Basic commandsSummary of Amsdos external commands CATDisc CPMDIR DISC.INTape ERAREN TAPE.INAmsdos files with headers File Copying proceduresCopying Files Ascii filesFile has a header Amstrad Reference guide to Amsdos Error Messages Drive Drive read fail Drive Drive disc missingDrive Drive disc is write protected Drive Drive write failCP/M Primer Operating with CP/MCP/M system tracks Configuration Sector Console control codesLogging in a disc DIR command Direct Console CommandsSwitching default drives ERA commandType command Transient commandsREN command Peripheral ManagementWhole disc copiers and checkers File and disc copyingSingle file copying Cassette filesSystem Management StatStat SECRET.BAS $DIR SetupDo you want to update your system disc Y/N Is this correct Y/NFormat Disc GenerationAmsdos Format D Format I FormatMovcpm BootgenAdvanced programming SysgenAmstrad Disc Drive & Interface DDI-1 Manual What is Logo Introduction to LogoDr. Logo Getting StartedTo square Repeat 4 fd 60 rt 90 end Procedures with parametersRepeat 4 fd 60 rt To squareanysize side repeat 4 fd side rt 90 endCs squareanysize 100 rt 45 squareanysize Using Variables to remember valuesEditing programs and procedures To triangle Repeat 3 fd edge rt 120 endOperating hints Summary of Dr. Logo primitivesChar Word and List ProcessingAscii CountFput EmptypFirst ListArithmetic Operations Logical Operations Not ?= Logo LogoProcedures VariablesSetsplit EditingText Screen ShowType CleanGraphic Screen DotPal SetpalWindow Turtle Graphics WrapSeth SetpcErn Workspace ManagementSetpos NodesGprop RecycleGlist PlistSave Disc Files DirLoad KEYBOARD, Joystick buttonp?make key rc Paddle?paddle 0 ?keyEnt SoundEnv ReleaseRun LabelRepeat StopPause ErrorCatch ThrowSystem Properties Technical information for the user Firmware HeadersChanging Discs Store requirementsError Messages Bios messagesAmsdos messages Failed to load boot sector Disc Organisation Common to ALL FormatsJump Block Interception by Amsdos Jump Block Re-Interception by the UserReturn Parameters Intercepted Firmware Calls 132 #BC8C 133 #BC8F 134 #BC92 135 #BC95 #BC98137 #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