home *** CD-ROM | disk | FTP | other *** search
-
- (c) 1990 Steve Hawtin.
-
- When I run NorthC I normally run it from a bootable disk, this lets me
- have one floppy with the system code and NorthC and a second floppy
- containing the program that I am working on, thus reducing the disk
- swapping. For various legal reasons I will not distribute NorthC on a
- bootable disk so an obvious question is how to create a bootable NorthC
- disk.
-
- On NorthC 1.2 I gave some hints about how to create such a floppy,
- however on rereading them I thought they were a touch too obscure, OK for
- the majority of Amiga users who know all about the CLI but no good for the
- beginner. So I have written this set of instructions for creating a
- bootable NorthC disk, the disk you create will not be optimal for your
- system but once you have a working disk you can hack it about to improve
- it.
-
- I am assuming that you have Workbench 1.3.1, if you have a different
- Workbench disk then this might not work, it should be close enough, if
- you find a better way to do it drop me a line.
-
-
- 1. Copy your Workbench disk, make sure your workbench disk is write
- protected and type
-
- diskcopy df0: to df1:
-
- or something similar.
-
-
- 2. Rename the new copy of workbench,
-
- relable df1: Boot-NorthC
-
-
- 3. Make some space on the disk, delete the following files and directories
-
- Boot-NorthC:#?.info
- Boot-NorthC:Trashcan
- Boot-NorthC:Shell
- Boot-NorthC:Empty
- Boot-NorthC:Expansion
- Boot-NorthC:c/Fault
- Boot-NorthC:c/Install
- Boot-NorthC:c/Ed
- Boot-NorthC:c/Edit
- Boot-NorthC:c/DiskChange
- Boot-NorthC:c/Dir
- Boot-NorthC:c/NewCLI
- Boot-NorthC:c/DiskDoctor
- Boot-NorthC:prefs/#?.info
- Boot-NorthC:prefs/Preferences
- Boot-NorthC:system/#?.info
- Boot-NorthC:l/FastFileSystem
- Boot-NorthC:fonts/ruby.font
- Boot-NorthC:fonts/ruby
- Boot-NorthC:fonts/diamond.font
- Boot-NorthC:fonts/diamond
- Boot-NorthC:fonts/opal.font
- Boot-NorthC:fonts/opal
- Boot-NorthC:fonts/saphire.font
- Boot-NorthC:fonts/saphire
- Boot-NorthC:fonts/garnet.font
- Boot-NorthC:fonts/garnet
- Boot-NorthC:utilities/#?
- Boot-NorthC:libs/mathieeedouble#?
-
-
- 4. Add the include files and C libraries
-
- makedir Boot-NorthC:include
- copy NorthC:include/#? Boot-Northc:include
- makedir Boot-NorthC:clibs
- copy NorthC:clibs/libc.a Boot-Northc:clibs
- copy NorthC:clibs/crt0.o Boot-Northc:clibs
-
-
- 5. Copy the minimal set of programs
-
- copy NorthC:bin/NorthC Boot-NorthC:utilities
- copy NorthC:bin/A68K Boot-NorthC:utilities
- copy NorthC:bin/Blink Boot-NorthC:utilities
- copy NorthC:bin/make Boot-NorthC:utilities
- copy "Extras 1.3:tools/memacs" Boot-NorthC:utilities
-
- the "memacs" program is to be found on the Amiga Extras disk that came with
- Workbench 1.3.
-
-
- 6. Prepare the "s:startup-sequence" file, where it says "loadwb" at the
- end of the file replace it with
-
- path ram: c: sys:utilities sys:system s: sys:prefs add
- ;LoadWB delay ;Comment out the loadwb command
- assign clibs: :clibs
- setenv INCLUDE df0:include
- newshell "newcon:0/10/640/246/NorthC 1.1 Shell"
- endcli >NIL:
-
- into "s:startup-sequence" to replace the "loadwb" line. On NTSC systems
- the newcon command should of course read
-
- newshell "newcon:0/10/640/190/Boot-NorthC 1.2 Shell"
-
-
-
- And there you have it, you can now use this disk as your normal Workbench
- disk, use "memacs" to edit 'C' files, and "make" to compile them. This disk
- does not include the optimiser.
-
- I have been told that "Power Packer" by Nico Francois is a useful tool
- for squeezing even more programs on the disk, it is distributed by Fred Fish,
- ask your local PD supplier for the disk.
-
- Once you have created a bootable floppy in this way you are not allowed
- to give copies away, that would break some of the rules for copying the
- programs.
-
-
-