Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
builderpages:plasmo:cb030:cb030_rev1:getting_started_cb030r1 [2020/02/28 09:32] plasmo created |
builderpages:plasmo:cb030:cb030_rev1:getting_started_cb030r1 [2020/04/14 08:20] (current) plasmo |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Getting Started with CB030, | + | ====== Getting Started with CB030, |
===== Introduction ===== | ===== Introduction ===== | ||
- | [[https:// | + | [[https:// |
- | This guide assume you already have a fully assembled CB030 rev0 as shown in the picture above. | + | This guide assume you already have a fully assembled CB030 rev1 as shown in the picture above. |
===== Connecting console serial port ===== | ===== Connecting console serial port ===== | ||
- | The console serial port is the 6-pin connector labelled ' | + | The console serial port is the CP2102 USB-serial adapter |
- | + | ||
- | [[https:// | + | |
===== Powering Up ===== | ===== Powering Up ===== | ||
Line 20: | Line 18: | ||
// | // | ||
- | 1/17/20 v0.3, type “he” for help\\ | + | 2/26/20 v0.5, type "he" |
- | I cache on\\ | + | |
>// | >// | ||
Type ' | Type ' | ||
- | //> he Commands are in lower case, <> | + | //> he Commands are in lower case, <> |
- | dm [address] < | + | |
- | dr < | + | |
- | mm [address] < | + | |
. terminates submenu session\\ | . terminates submenu session\\ | ||
- go back one word address\\ | - go back one word address\\ | ||
Line 43: | Line 37: | ||
special case: bp 0 removes breakpoint\\ | special case: bp 0 removes breakpoint\\ | ||
du [address] <line count> dump specified number of lines\\ | du [address] <line count> dump specified number of lines\\ | ||
+ | bo boot into CP/M68K, same as "go 15000" | ||
+ | eh start EhBasic, same as "go 4196" | ||
>// | >// | ||
+ | |||
+ | Please refer to CB030 Monitor manual for description of various monitor commands. | ||
===== CP/M68K ===== | ===== CP/M68K ===== | ||
- | To run CP/M68K from the monitor, type 'go 15000' and the CP/M68K A> prompt will display | + | To run CP/M68K from the monitor, type 'bo' and the CP/M68K A> prompt will display |
Drive A is read-only drive reside on EPROM. It contains the formatting software, ' | Drive A is read-only drive reside on EPROM. It contains the formatting software, ' | ||
- | Drive B-E are 8-megabyte read-write drives reside on DiskOnModule. | + | Drive B-E are 8-megabyte read-write drives reside on compact flash disk. The assembled and tested CB030 includes a CF disk already formated and loaded with CP/M68K distribution files. |
+ | |||
+ | A new blank CF disk needs to be formated first and then loaded with CP/M68K files. Since drive A already has the init.68k and gkermit.68k, | ||
+ | |||
+ | To format a new CF disk, type: | ||
+ | |||
+ | //init b:// | ||
+ | |||
+ | //init c:// | ||
+ | |||
+ | //init d:// | ||
+ | |||
+ | //init e:// | ||
+ | |||
+ | CP/M will ask you to confirm, press ' | ||
+ | |||
+ | To transfer file(s) with gkermit to a read-write drive (drive E in this example), type: | ||
+ | |||
+ | //e:// | ||
+ | |||
+ | //a:gkermit -r// | ||
+ | |||
+ | Select kermit protocol in your serial terminator emulator and send one or more files (in TeraTerm: File → Transfer → Kermit → Send, then pick the file or files to send). | ||
+ | |||
+ | ==== Test drive CB030 ==== | ||
+ | |||
+ | First, change to a new drive and copy CP/M files to it: | ||
+ | |||
+ | //pip b: | ||
+ | |||
+ | To run microEMACS, type: | ||
+ | |||
+ | //me hello.c// | ||
+ | |||
+ | The microEMACS screen editor will open with a blank screen, type: | ||
+ | |||
+ | // | ||
+ | |||
+ | //{// | ||
+ | |||
+ | // | ||
+ | |||
+ | //}// | ||
+ | |||
+ | //ctrl-Z// to save and exit microEMACS | ||
+ | |||
+ | To compile the Hello World program, type: | ||
+ | |||
+ | //c hello// | ||
+ | |||
+ | To link the Hello World program, type: | ||
+ | |||
+ | //clink hello// | ||
+ | |||
+ | to run the new Hello World program, type: | ||
+ | |||
+ | //hello// | ||
+ | |||
+ | The CP/M distribution include a simple BASIC program, asciiart.bas. | ||
+ | |||
+ | //cb68 asciiart.bas// | ||
+ | |||
+ | To link with BASIC library, type: | ||
+ | |||
+ | //link68 asciiart, | ||
+ | |||
+ | To run the new BASIC program, type: | ||
+ | |||
+ | // | ||
+ | |||
+ | You should see the following: | ||
+ | |||
+ | < | ||
+ | 000000011111111111111111122222233347E7AB322222111100000000000000000000000000000 | ||
+ | 000001111111111111111122222222333557BF75433222211111000000000000000000000000000 | ||
+ | 000111111111111111112222222233445C | ||
+ | 011111111111111111222222233444556C | ||
+ | 11111111111111112222233346 D978 BCF DF9 6556F4221111110000000000000000000000 | ||
+ | 111111111111122223333334469 | ||
+ | 1111111111222333333334457DB | ||
+ | 11111122234B744444455556A | ||
+ | 122222233347BAA7AB776679 | ||
+ | 2222233334567 | ||
+ | 222333346679 | ||
+ | 234445568 | ||
+ | 864332221111111000000000000000000 | ||
+ | 234445568 | ||
+ | 222333346679 | ||
+ | 2222233334567 | ||
+ | 122222233347BAA7AB776679 | ||
+ | 11111122234B744444455556A | ||
+ | 1111111111222333333334457DB | ||
+ | 111111111111122223333334469 | ||
+ | 11111111111111112222233346 D978 BCF DF9 6556F4221111110000000000000000000000 | ||
+ | 011111111111111111222222233444556C | ||
+ | 000111111111111111112222222233445C | ||
+ | 000001111111111111111122222222333557BF75433222211111000000000000000000000000000 | ||
+ | 000000011111111111111111122222233347E7AB322222111100000000000000000000000000000 | ||
+ | </ | ||