Madison Computer Z-Ram Manual

Manual is about: For Commodore Computers 4000 and 8000 series

Summary of Z-Ram

  • Page 1

    Arv.

  • Page 2

    O o.

  • Page 3

    Table of contents page 1. Introduction la. About this manual......................... 1 lb. Z-ram overview............................ 1 lc . Product warranty.......................... 3 id. Equipment requirements....................3 le. Service information....................... 3 if. Copyright an...

  • Page 4

    O ) o.

  • Page 5

    1. Introduction la. About this manual this manual is divided into six parts. We suggest that you read each part all the way through before you attempt to carry out the instructions. For a quick summary of all the steps necessary to get cp/m up and running, see section 4m. Part 1 introduces z-ram, de...

  • Page 6

    Market that require cp/m. Wordstar, supercalc, and dbase ii are typical examples of software that will now run on the commodore. With the addition of the z-ram board, commodore computers will operate with 96k ram and use both the 6502 and z-80 processors. Several modes of operations are possible: 1....

  • Page 7

    -installed by user or dealer in cbm 4000 or 8000 computers -9511a math processor available as option lc. Product warranty madison computer warrants to the original owner that this product shall be free of defects resulting from faulty manufacture of the product or its components for a period of nine...

  • Page 8

    For any damages in shipping. Include a description of the problems you are having and a sales slip for proof of purchase. Send the package, postpaid, to: madison computer, 1825 monroe street, madison wi 53711 usa. -4- z-ram manual.

  • Page 9

    If. Copyright and licensing information all of the software that accompanies z-ram is copyrighted and all rights are reserved. Cp/m is copyrighted by digital research of pacific grove, california. All other software is copyrighted by madison computer, a division of microprocessor systems, inc. Of ma...

  • Page 10

    2. Z-ram installation your commodore dealer will be happy to assist you in the installation of your new z-ram add-on board. The task is not difficult, however, and if you'd like to install it yourself it will probably take about 20 minutes. The only tools you'll need are a screwdriver, a small pocke...

  • Page 11

    A) if you have a 12" monitor, then you'll see four nuts with threaded bolt ends sticking out of them slightly. You will be screwing one plastic spacer onto each of the threaded bolts. You may use either end of the plastic spacer. These bolts sometimes vary in size, so you may have to push a little h...

  • Page 12

    Several colored wires extend from the transformer and capacitor and are attached to an 8 wire plastic connector. This connector is plugged into the left front corner of the big green circuit board. See illustration 5. Carefully unplug this connector from the circuit board by pulling straight up on t...

  • Page 13

    There are several different tools that you can use to remove the 6502: a) borrow a "chip puller" from your computer dealer. Ask him to explain how to use it. B) use a pocket knife with a small blade that's no wider than 1/2" at its widest point. C) use a fairly small screwdriver. The knife or screwd...

  • Page 14

    Of two directions: a) in 12" monitor computers, the ribbon cable will extend towards the rear of the computer. B) in 9" monitor computers, the ribbon will extend to the left once the connector is correctly plugged in. 5. Examine illustration 9. Your final z-ram installation on a commodore 8032 will ...

  • Page 15

    2c. Mounting and wiring illustrations 6. Location of 6502 on 12" monitor models. 1. Location of screws holding down computer top. 2. Prop open the top. 4. Correct order: screw, washer, z-ram, spacer, and computer cabinet. 5. Location of wire connector on computer. 8. Removing the 6502 microprocessor...

  • Page 16

    3. Using z-ram 3a. General information with z-ram installed, your computer can operate exactly as it did before, but has the potential to do a lot more. All earlier versions of commodore computers (regardless of their original memory capacity) can function as 32k machines, using the standard 6502 pr...

  • Page 17

    This procedure copies "vload" or "wload" from your z-ram disk and also moves it to be the first file on your program master disk so that you can now run your program using the shifted run/stop key. 4. Using cp/m 4a. What is cp/m? Cp/m stands for control program for microprocessor. It is an operating...

  • Page 18

    This write-protect system works fairly well except in the 8050 disk drive. In this unit there is always the danger that your diskette will be damaged whenever any piece of hardware in your computer system is turned on or off. So, always remove the diskettes from the disk drive before you touch any o...

  • Page 19

    The "run-stop" key at the same time and release them. This will automatically load and run the first program on the disk. If you have an older pet with 32k of memory and 2.0 basic, then you'll have to type in the commands to load and run. Each command should start on the far left side of the screen,...

  • Page 20

    The number on the left indicates that you are logqed onto drive a which was formatted to contain 173 kilobytes, or about 174,000 bytes or characters of free space on the diskette for use by cp/m. The number following "z-ram" may be different depending on what version of the program you have. This re...

  • Page 21

    Diskettes: 1. Original z-ram diskette, marked "z-ram master disk" 2. Exact copy of #1, marked "z-ram master disk backup" 3. Modified copy of #2, marked "c/pm system disk" 4- exact copy of #3, marked "cp/m system disk backup" 5. Modified copy of #2, marked "master cp/m data disk" 6. Exact copy of #2,...

  • Page 22

    Backup," you need to set some default definitions in the "mcdefs" file on that disk. On a directory listing, a number will follow the "mcdefs" file name. This refers to the version number of your z-ram. The information in this file determines the disk location assignments of your cp/m disk drives. I...

  • Page 23

    Cp/m cbm cbm cbm logical physical physical file drive unit____ drive__________name a 8 0 cp/m drive a b 8 0 cp/m dr ive b c 8 1 cp/m dr ive a d 8 1 cp/m dr ive b cbm tractor printer 300 baud ieee printer address= unit 4 note that there are two cp/m drives on each of the commodore 8050 physical drive...

  • Page 24

    Of your commodore disk drive storage capacity. This means that, while your disks are to be formatted in 8050 style, you can configure cp/m logical drives to match the more convenient one-to-one cp/m-commodore correspondence shown in the table above for the 4040. To do this, or to make any other desi...

  • Page 25

    Described. Or, you may retrieve the file from some other diskette that has different defaults stored on it. In either case, tell the computer where you've put the diskette with the file you want to use. That will ordinarily be unit 8 and drive 0. If that's the case, just hit return to accept these a...

  • Page 26

    Number of cp/m logical drives that must be allocated to your hard disk depends on its memory capacity. The cp/m operating system can handle a disk drive up to 8 megabytes in size. If your hard disk has more memory than this, the disk capacity must be divided among enough cp/m logical drives of 8 mb ...

  • Page 27

    If you're using an ieee printer the device number, or address, is usually 4. You may change this, however. Edit defaults again? N if you're satisfied with the default choices you've made, hit return. If you -want..Jto make changes, type y return. This will bring you back to the beginning of the prog...

  • Page 28

    4f. Formatting cp/m system and data disks by following the instructions above, you've created an identical copy of your original z-ram master disk. This copy contains a number of different programs, not all of which you will want on the diskette you're using everyday. The important programs that you...

  • Page 29

    And hit return. Your computer should respond with the message that the file is loading. If your disk drive's error light comes on (or turns red, or blinks, as the case may be), then there was some difficulty in loading. Try typing the above command again. If there's still a problem, remove both disk...

  • Page 30

    To a disk that has already been "newed" if you desired. Enter name for commodore directory— ■ " also enter two character disk id— " ■ once you have made entries and pressed "return", the newing process will begin and the following message will appear: new name,id the newing takes a minute or two, an...

  • Page 31

    That leaves xxxx for cp/m data ok? At this point "format cp/m" will create either one or two logical disk drives from the disk space allowed, and will indicate their size. This will take a few minutes, during which the disk drive will be active and you may see the error light come on (you can ignore...

  • Page 32

    Recyclable disk in drive 0 (replacing the z-ram master) and using the "backup" program to copy drive 0 to drive 1, as you did for your z-ram master backup. One should be labeled "cp/m system disk" and the other "backup of cp/m system disk." put the latter away in a safe place. Now run "format cpm" a...

  • Page 33

    While you hit the rest of the control sequence. The following is a summary of the control characters that you may use while running cp/m on a commodore. Remember, hold down the off/rvs key, then type one of these characters: 1 =advances the printer one line. 2 =enters a control p and clears the prin...

  • Page 34

    During disk writing because your files must be closed before you exit cp/m. If a disk error occurs, a commodore error message will flash on the status line. Press any key to acknowledge the message. At that time a further error message from cp/m will usually appear. You may then type off/rvs r, whic...

  • Page 35

    1. Don't turn your printer's power on or off while a program is running in your computer. The electrical surge may stop the program, and you'll lose all of your work-in-progress. If it's an ieee printer and you turn it off, your disk drives may be reset, making it impossible to save your work. 2. Ma...

  • Page 36

    41. Using the cp/m rs-232 serial port under cp/m, z-ram gives you a fully bidirectional rs-232 serial port which you can use to run a printer, or, by using what is referred to as the "reader" and "punch", you can configure the port to accept a modem, plotter or other peripheral that is not supported...

  • Page 37

    8. Load z-ram master disk and test it. 9. Copy your master disk. 10. Load and run "setup cp/m" program if you want to change location of logical drives, or the type and baud rate of your printer. 11. Load "format cp/m" program from master disk backup and run it twice to create master system disk and...

  • Page 38

    5. Technical information 5a. Overview z-ram is a complete z-80 microcomputer board with 64k of dynamic memory and expansion port. It plugs into the 6502 socket in a cbm/pet. The z-80 runs at a full 4 mhz clock speed without wait states. On the 6502 side, z-ram appears as a set of control ports at $f...

  • Page 39

    Ffff hex 0 cbm cbm ram card memory z-ram memory memory 7 6 5 4 3 2 1 0 8 k blocks 16 k blocks figure 5b-l figure 5b-2 figure 5b-3 6 4k ok -35- z-ram manual.

  • Page 40

    Map z-ram overlay mapping number cbm reference block number number comment z-ram mappings: ^ a 0 no expansion standard cbm memory map 1 (0-7) all 64k is z-ram 2 (0-3) switch lower 32k 3 (0- 3) switch top z-ram & bottom cbm 4 (4-7) switch lower 32k z-ram with to] 5 (4- 7) switch top 32k 6 no expansio...

  • Page 41

    Cbm ram card mappings for comparison cbm ram card cbm ram card overlays corresponding z-ram memory map 128 132 ( 4 - 7 ) 0 - 3 ) (4-5) 4 31 136 140 and (6-7) (4-5) and (6-7) (4-7) 30 5 in the superpet: any of the sixteen 4k blocks can be mapped into 9000-9fff. From this comparison, z-ram memory maps...

  • Page 42

    The i/o expansion connector (pi) contains the following control lines through which 16 i/o ports can be accessed: pins zd3 1 2 zd4 zd6 3 4 zd5 zd2 5 6 zd7 zd0 7 8 zdl ziorq 9 10 gnd zma6 11 12 gnd zma5 13 14 gnd zma4 15 16 +5v zma1 17 18 + 5v zma0 19 20 zma7 zrd 21 22 ieo 4 mhz 23 24 int zm\ 25 26 +...

  • Page 43

    Synchronism with the clock cycles of the 6502. The 6502 can read and write to memory if it is appropriately mapped. When bit 6 is set to 1, the z-80 is reset and then allowed to run. In this condition, the z-80 cycles are not synchronized to the 6502 clock cycles, and memory map 0 (no mapping) must ...

  • Page 44

    10 poke 65521,4:rem access output register, controls map 20 poke 65520,0:rem set to 0 (default map) 30 poke 65521,0:rem access data direction register 40 poke 65520,255:rem set to output 50 poke 65521,4:rem access output register 60 poke 65520,0:rem make sure data set to 0 70 poke 63,96:clr:rem set ...

  • Page 45

    This program is stored on your master disk as "upgrade memory”. You may run it to convert a commodore 16k,computer to a 32k computer. You will not be able to use cp/m on it, however. 10 poke 65521,4 20 poke 65520,0 30 poke 65521,0 40 poke 65520,255 50 poke 65521,4 60 poke 65520,0 70 print" [screen c...

  • Page 46

    ^j•summary qf remote commands remote lead-in* ascii decimal commands reqd (x) - key stroke code home cursor x control-r dc 2 18 up cursor x shift-line feed ff 12 down cursor x control-k vt 11 left cursor back space bs 8 right cursor shift-backspace dle 16 address cursor x control-q dc1,x,y 17/x »y r...

  • Page 50

    O.