ZCN Installation auf einen Amstrad NC100

  • Hier versuche ich aus der originalen ZCN Doku eine etwas verständlichere Installationsanleitung zu machen:


    * Installing ZCN


    The installation guide below assumes you are installing from a Unix or

    MS-DOS machine. It should be clear what to do on other machines

    though; you just need to know how to XMODEM a file across, and how to

    send a plain ASCII file. Normally the easiest way is to use a serial

    comms program of some sort.


    ** Getting ZCN up and running for the first time


    *** Saving your existing data


    [If you don't care about using the ROM software, or don't mind losing

    all the data in the internal memory, skip ahead to the next section,

    `Booting ZCN via a Serial Link'.]


    ZCN uses the NC100's 64k of RAM as more normal computers generally use

    RAM - as an area to load programs into, and an area to use for

    temporary workspace, etc. Unfortunately, this is not compatible with

    the way the built-in software works, so you'll lose all your existing

    data in memory unless you save it first. `rrinit' is a program which

    lets you save your data like this. (You'll be able to restore it later

    using `runrom'. More on that later on.)


    To run `rrinit', you'll need a memory card of at least 128k in size.

    It should probably be the card you intend to copy ZCN onto, but it

    doesn't have to be. Bear in mind that the card will be reformatted in

    ZCN's format, and any data currently on it will be lost!


    You must also have at least one file stored in memory on your NC100,

    as the ROM software doesn't let you do serial file transfers

    otherwise. (If you haven't got any files in memory, just create a

    small file with the word processor. It doesn't matter what's in it or

    what it's called, just that it's there.)


    Der Autor empfiehlt 2400 baud zu nutzen, das ist aber schnarch-langsam, deshalb habe ich 9600 ausgewählt.

    Wichtig ist auch, dass der Software-Flow Control (die letzte Option im Menu (Handshake) auf NO gesetzt wird.


    Dann geht man in den Texteditor auf dem NC100 und erstellt ein beliebiges Textdokument. Name ist egal, Inhalt ist auch Egal.

    Ohne diesen Schritt kann der NC100 keine Dateien über die Serielle Schnittstelle empfangen, da er noch keine Dateien im Dateisystem hat.

    Die weiteren Schritte, können 1 zu 1 aus dem Manual übernommen werden.


    First you need to setup the serial link. You should set the baud rate

    to 2400 9600 baud on the `remote' computer, as transfers seem to be a bit

    hairy (for the ROM software at least) at higher speeds.


    After that, *make sure there isn't any memory card in the NC100's

    slot*, then do the following:


    Key Reason

    --- ------


    Function + S go to terminal program

    Menu, down*3, left*2, Stop use 2400 9600 baud, Handshake OFF

    (you may need more or less lefts,

    depending on the current setting)

    <type a few characters on the NC100 and `remote' computer to check

    the link is working ok>

    <start XMODEM send (or `upload') of `rrinit.bin' on `remote' computer>

    Stop quit terminal program

    Function + L load document

    Menu, T, M, rrinit, return XMODEM receive `rrinit'

    <wait for transfer to finish>

    Stop return to file selector

    <now insert the memory card>

    Menu, F, <possibly Y>, Stop format card (answer `Y' if it prompts you)

    <make sure the `rrinit' file is the currently-highlighted one>

    Menu, T, P, Stop write rrinit to memory card

    Stop exit file selector

    Function + X run rrinit


    [NB: `rrinit.bin' is in the `bin' subdirectory.]


    Almost immediately after you do the function-X, rrinit should say

    "Snapshot written - press Stop". Pressing Stop then returns you to the

    NC100's main menu.


    Now you should be ready to run ZCN, so here goes...



    *** Booting ZCN via a Serial Link


    [If you are upgrading an existing version of ZCN, skip ahead to

    `Installing a new version using an old one', which will be rather more

    appropriate.]


    First you need to setup the serial link. You should set the baud rate

    to 2400 9600 baud on the `remote' computer, as transfers seem to be a bit

    hairy at higher speeds. (ZCN itself can cope with file transfers at up

    to 19200, but the ROM software seems to be more picky. So for this

    transfer, it's best to stick with 2400 9600 and Handshake OFF.)


    Now you should cold-boot the NC. Do this by turning it off and, while

    holding down Function, Stop and `<-Del', turning it back on.


    Next you should do the following:


    (Note that if you're using an NC200 (the clamshell `notebook'), you

    should transfer `zcn200.bin' instead of `zcn.bin'. See nc200.txt for

    details of the NC200 support - this file mostly concentrates on the

    NC100. Also bear in mind that the keypresses to transfer the file will

    differ somewhat on that. :-))


    Key Reason

    --- ------

    Function + S go to terminal program

    Menu, down*3, left*2, Stop set speed to 2400 9600 baud

    <type a few characters on the NC100 and `remote' computer to check

    the link is working ok>

    <start XMODEM send (or `upload') of `zcn.bin' on `remote' computer>

    Stop quit terminal program

    Function + N, x, return create junk document

    x put junk in it

    Function + L load document

    Menu, T, M, tmp, return XMODEM receive `tmp'

    <wait for transfer to finish>

    Function + B enter basic

    "*LOAD TMP 6000" load system (omit the quotes :-))

    "CALL &6000" start ZCN (ditto)


    [NB: `zcn.bin' is in the `bin' subdirectory.]


    (It was necessary to create the junk file above so that Function-L

    would work; there's no way to get the menu which lets you XMODEM

    receive a file without any files in memory. Yuck.)


    (Also, note that you will need a reasonably complete serial lead for

    the ROM software's XMODEM transfer to work (this doesn't apply to ZCN

    itself, which needs only the minimal out/in/gnd connection (plus CTS

    if serial output is to work, though that can just be soldered to

    RTS)). Any lead you *buy* should be fine, but if you've knocked up

    your own only-three-pins-connected job you'll need to borrow a better

    lead from someone for this transfer. :) However, for an alternative

    approach, see `badlead.txt'.)



    You should then end up with a screen looking something like:


    ZCN v1.3 (2001-04-20 02:32) ROM v1.06


    A>

    A>


    (The version numbers and date/time of assembly may vary - don't worry,

    that's because I don't often update the above `screenshot'. :) Also,

    the NC200 version will describe itself as "ZCN200".)


    The `A>' is the ZCN command processor's prompt. It'll probably be

    there twice because you pressed enter at the end of "CALL &6000" and

    it was still pressed the first time ZCN prompted for a command line,

    so it just prompted again. (ZCN didn't know that it was pressed before

    - it wasn't running then.)


    If you ran `rrinit' before booting ZCN, skip the next paragraph. Let

    me put that another way - IF YOU RAN `rrinit', DO *NOT* DO `format a:'

    OR YOU WILL LOSE THE DATA IT SAVED. (`format b:' etc. is fine,

    though.)


    Those of you who didn't run `rrinit' should now make sure you have

    your PCMCIA card in the card slot, and type `format a:'. If it prompts

    you asking if you want to reformat it, press `y'. You should see the

    message `Formatting complete' almost immediately (formatting memory

    cards is a very simple operation).


    If the card you're using is 512k or 1024k, type `format b:', which

    formats the 2nd logical drive (the 2nd 256k of the card).


    If the card is 1024k, follow this by typing `format c:' and finally

    `format d:'.


    If the card is larger than 1024k, you've got more money than sense, as

    the NC100 can't access the rest. :)


    Now you can make a bootable ZCN drive on your card. Do this by typing

    `sys a:'.


    Since this is the first time you've added the system to this card,

    you'll get lots of `addblk..' messages. This means that ZCN is moving

    the whole logical drive up 1k (one block). This is necessary to ensure

    that you can add a new version of ZCN to a card without having to

    reformat it. If you ever want to add a new version of ZCN to the card,

    you can just boot it via the serial link as you did here and then do

    `sys a:' again. In fact, you can also do it without ever leaving ZCN -

    see the section `Installing a new version using an old one' below.


    When the message `copying...done.' appears, the card is bootable.


    You may have noticed, while the system was being copied, there was a

    rather curious small black bar at the bottom-left of the screen. This

    is the `drive light' for logical drive A:. Whenever this bar appears,

    part of the card's memory is paged in that belongs to that logical

    drive, i.e. the `disk' is being accessed. The `drive light' for

    logical drive B: is to the right of that, C:'s is to the right of

    that, as is D:'s. It won't usually be `on' as much in general as it

    was for the `sys a:' command; don't worry about this, it's perfectly

    normal.


    You should now check that the system is bootable. This gives you an

    opportunity to learn the booting procedure. As the NC100 remembers

    what you were doing when you turn it off, you should only ever need to

    reboot the system from scratch like this to: 1. check bootable cards,

    2. reboot after a crash, or 3. reboot after changing the lithium

    backup battery. (When you change normal batteries, there's no need to

    reboot - the backup battery takes over until the new batteries are

    in.)



    *** Rebooting to test a bootable card, or after a crash


    Going from when the NC100 is still on, you should:


    1. Press the on/off switch to turn the computer off. If it didn't turn

    off, remove the main batteries (not the lithium one) and disconnect

    from the mains adaptor, and then reinstall/reconnect. (The on/off

    switch will work fine usually, but sometimes when the NC100 crashes it

    stops working because of memory corruption.)


    2. Hold down the Function, Stop and `<-Del' keys and press the on/off

    switch. This restarts the machine from scratch.


    Assuming you're now at the `enter time' screen or the main menu, it

    doesn't matter which:


    3. Make sure your bootable ZCN card is in the slot, and press

    `Function' and `X'. This should boot ZCN and leave you at the `A>'

    prompt.


    An alternative method (for testing a bootable card) is to use the

    `cboot' command.

  • Das mit "If the card is larger than 1024k, you've got more money than sense, as the NC100 can't access the rest." ist der Fall bei mir, habe nur eine 2MB Karte, aber die wird auch "erkannt". Der erste Schritt mit dem "Booting ZCN via a serial link" hat schon bei mir nicht richtig funktioniert, weil die Datenübertragung nie stabile Ergebnisse gebracht hatte...

    "The biggest communication problem is we do not listen to understand. We listen to reply." - Stephen Covey


    Webseite und Blog ist immer noch - seit fast 20 Jahren - online.