Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
builderpages:plasmo:cmp68k_mpu302 [2017/08/14 21:03] plasmo |
builderpages:plasmo:cmp68k_mpu302 [2017/12/08 17:06] (current) plasmo |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | **[[https:// | + | **[[https:// |
+ | |||
+ | <font inherit/ | ||
+ | | ||
+ | |||
+ | ===== ===== | ||
===== Guide for operating CP/M68K v1.3 on MPU302 ===== | ===== Guide for operating CP/M68K v1.3 on MPU302 ===== | ||
Line 7: | Line 12: | ||
<font 16px/ | <font 16px/ | ||
- | Powering the board requires a 25-pin null modem between the CRAFT connector and a PC. Set baud rate to 38400, 8N1, no hardware handshake. | + | Powering the board requires a 25-pin null modem between the CRAFT connector and a PC. Set baud rate to 38400, 8N1, RTS/ |
Hook up 5V & ground to the points indicated by the arrows. The ' | Hook up 5V & ground to the points indicated by the arrows. The ' | ||
- | [[https:// | + | [[https:// |
Immediately at power on, this message (**bold**) will be displayed: | Immediately at power on, this message (**bold**) will be displayed: | ||
- | \\ | + | **AMbug v2.06 8/13/2017** |
- | **AMBug v2.06 8/13/2017** | + | |
**RAM at 0 and alias at 200000, boot ROM at 600000. Type " | **RAM at 0 and alias at 200000, boot ROM at 600000. Type " | ||
Line 27: | Line 31: | ||
**Boot CP/M 68K v1.3\\ | **Boot CP/M 68K v1.3\\ | ||
- | CP/M-68K V1.3 COPYRIGHT (C) 1982, 1984, 1985 Digital Research** \\ | + | CP/M-68K V1.3 COPYRIGHT (C) 1982, 1984, 1985 Digital Research\\ |
- | **A>** | + | A>** |
There are 3 " | There are 3 " | ||
- | Drive A contains the CP/M68K v1.3 distribution files, Drive A resides on flash and is read only. | + | * Drive A contains the CP/M68K v1.3 distribution files, Drive A resides on flash and is read only. |
+ | * Drive B contains the BASIC compiler and associated BASIC library. Drive B also reside on flash and is read only. | ||
+ | * Drive C resides on super-capacitor-backed RAM. It is read/ | ||
- | Drive B contains the Basic compiler and library. Drive B also reside | + | Content of Drive A: <- This is updated |
- | Drive C resides on super-capacitor-backed RAM. It is read/ | + | A: CPM REL : SD REL : CPM SYS : DDT68000 68K : README TXT \\ |
+ | A: CB68 68K : AS68INIT : CLIB : CLINK SUB : CLINKE SUB \\ | ||
+ | A: CLINKF SUB : LIBE A : LIBF A : S O : ASSERT H \\ | ||
+ | A: CTYPE H : ERRNO H : MORE C : OPTION H : OSATTR H \\ | ||
+ | A: OSIF H : OSIFERR H : PORTAB H : CB68 L68 : SETJMP H \\ | ||
+ | A: SIGNAL H : STDIO H : C SUB : CE SUB : FORMAT S \\ | ||
+ | A: INIT S : LOADR O : OVHDLR O : TERM C : TERMA S \\ | ||
+ | A: XFER86 C : BDOS S : BIOS C : BIOS O : BIOSA O \\ | ||
+ | A: BIOSA S : BIOSTYPS H : BOOTER O : BOOTER S : CBIOS S \\ | ||
+ | A: CONFIG C : ELDBIOS S : ERGBIOS S : LDBIOS O : LDBIOSA O \\ | ||
+ | A: LDBIOSA S : LOADBIOS H : LOADBIOS SUB : NOBIOSHI S : NOBIOSLO S \\ | ||
+ | A: NORMBIOS H : NORMBIOS SUB : PUTBOOT S : VT52 C : VT52 O \\ | ||
+ | A: CB68 DOC : SHORT BAS : ASCIIART BAS : CPMLDR SYS : CPMLIB \\ | ||
+ | A: LCPM SU : LCPM10 SUB : LDRLIB : MAKELDR SUB : RELCPM SUB \\ | ||
+ | A: SRIN S : RELOC 68K : PIP 68K : INIT 68K : COPY 68K \\ | ||
+ | A: STAT 68K : DDT 68K : AS68 68K : DUMP 68K : SRIN BAK \\ | ||
+ | A: LO68 68K : ED 68K : CP68 68K : AR68 68K : FIND 68K \\ | ||
+ | A: MORE 68K : NM68 68K : C068 68K : C168 68K : LINK68 68K \\ | ||
+ | A: SENDC68 68K : SIZE68 68K : XFER86 68K : FORMAT 68K : TERM 68K \\ | ||
+ | A: CONFIG 68K : PUTBOOT 68K : AS68SYMB DAT : CONC SUB | ||
- | Content of Drive A: | + | Content of Drive B: <- With updated drive A of 8/17/17, drive B can be used for other data |
- | A: AS68 68K : CPM SYS : DDT68000 68K : DUMP 68K : DDT10 68K\\ | + | B: CB68 68K : CB68 L68 : CB68 DOC : SHORT BAS : ASCIIART BAS \\ |
- | A: LO68 68K : README TXT : ED 68K : RELOC1 SUB : SD REL\\ | + | |
- | A: CP68 68K : AR68 68K : FIND 68K : MORE 68K : NM68 68K\\ | + | |
- | A: C068 68K : AS68INIT : DDT68010 68K : C168 68K : RELOC2 SUB\\ | + | |
- | A: CLIB : CLINK SUB : CLINKE SUB : CLINKF SUB : LINK68 68K\\ | + | |
- | A: LIBE A : LIBF A : SENDC68 68K : RELOC3 SUB : S O\\ | + | |
- | A: SIZE68 68K : XFER86 68K : FORMAT 68K : ASSERT H : TERM 68K\\ | + | |
- | A: CONFIG 68K : PUTBOOT 68K : CTYPE H : ERRNO H : MORE C\\ | + | |
- | A: AS68SYMB DAT : OPTION H : OSATTR H : OSIF H : OSIFERR H\\ | + | |
- | A: PORTAB H : RELOC4 SUB : SETJMP H : SIGNAL H : STDIO H\\ | + | |
- | A: C SUB : C168 REL : CE SUB : RELOC5 SUB : FORMAT S\\ | + | |
- | A: INIT S : LOADR O : OVHDLR O : RELOC6 SUB : TERM C\\ | + | |
- | A: TERMA S : XFER86 C : BDOS S : BIOS C : BIOS O\\ | + | |
- | A: BIOSA O : BIOSA S : BIOSTYPS H : BOOTER O : BOOTER S\\ | + | |
- | A: CBIOS S : CONFIG C : ELDBIOS S : ERGBIOS S : LDBIOS O\\ | + | |
- | A: LDBIOSA O : LDBIOSA S : LOADBIOS H : LOADBIOS SUB : NOBIOSHI S\\ | + | |
- | A: NOBIOSLO S : NORMBIOS H : NORMBIOS SUB : PUTBOOT S : RELOC7 SUB\\ | + | |
- | A: VT52 C : VT52 O : CPM REL : CPM15000 MAP : CPM15000 SR\\ | + | |
- | A: CPMLDR SYS : CPMLIB : LCPM SU : LCPM10 SUB : LDRLIB\\ | + | |
- | A: MAKELDR SUB : RELCPM SUB : RELOC8 SUB : RELOC 68K : PIP 68K\\ | + | |
- | A: INIT 68K : COPY 68K : STAT 68K : DDT 68K | + | |
- | + | ||
- | Content of Drive B: | + | |
- | + | ||
- | B: CB68 68K : CB68 L68 : CB68 DOC : SHORT BAS : ASCIIART BAS\\ | + | |
B: SRIN1 S : SRIN S | B: SRIN1 S : SRIN S | ||
<font 16px/ | <font 16px/ | ||
- | The board contains two AMbug monitors. The primary one resides on a pair of 29F010 flash, UB2, UB3. The backup monitor reside on the first sector (128K byte sector) of UD3, UE3. If the primary monitor is corrupted, two existing jumper wires need to be unsoldered and swapped | + | The board contains two AMbug monitors. The primary one resides on a pair of 29F010 flash, UB2, UB3. The backup monitor reside on the first sector (128K byte sector) of UD3, UE3. If the primary monitor is corrupted, |
- | [[https:// | + | [[https:// |
<font 16px/ | <font 16px/ | ||
Line 83: | Line 84: | ||
Data and programs requires to load CPM v1.3 distribution files into drive A: | Data and programs requires to load CPM v1.3 distribution files into drive A: | ||
- | * Part 1 of {{: | + | * Part 1 of {{: |
- | * Part 2 of {{: | + | * Part 2 of {{: |
Data and program required to load BASIC executable and BASIC library into drive B: | Data and program required to load BASIC executable and BASIC library into drive B: | ||
Line 96: | Line 97: | ||
MPU302 has the following memory map: | MPU302 has the following memory map: | ||
- | * Boot flash, 29F010-UB2/ | + | * Boot flash, 29F010-UB2/ |
* 2nd flash set, 29F040-UD3/ | * 2nd flash set, 29F040-UD3/ | ||
* 3rd flash set, 29F040-UD2/ | * 3rd flash set, 29F040-UD2/ | ||
* CP/M's Drive A is 1.5 megabytes from 0x420000 to 0x59FFFF. Drive B is 384K bytes from 0x5A0000 to 0x5FFFFF. Both drive A & B are read only. | * CP/M's Drive A is 1.5 megabytes from 0x420000 to 0x59FFFF. Drive B is 384K bytes from 0x5A0000 to 0x5FFFFF. Both drive A & B are read only. | ||
* RAM, UB5/ | * RAM, UB5/ | ||
- | * When AMbug monitor is running immediately after powering up, RAM location 0x0-0x3FF contains exception tables for AMbug. | + | * When AMbug monitor is running immediately after powering up, RAM location 0x0-0x3FF contains exception tables for AMbug. RAM location 0x10000-0x14FFF contains system variables including the system stack. |
- | * When CP/M68k is running, the super-capacitor-backed RAM, 0xC0000-0xFFFFF is used as drive C. CP/M itself is located in 0x15000-0x1FFFF; | + | * When CP/M68k is running, the super-capacitor-backed RAM, 0xC0000-0xFFFFF is used as drive C. CP/M itself is located in 0x15000-0x1FFFF; |
- | A number of flash configuration are needed to make MPU302 operates as a CP/ | + | A number of flash configuration are needed to make MPU302 operates as a CP/ |
- write CP/M binary to boot flash | - write CP/M binary to boot flash | ||
Line 110: | Line 111: | ||
- write drive B to 3rd set of flash | - write drive B to 3rd set of flash | ||
- | 1. To write CP/M binary to boot flash, load S-record CPM15000.s68 and MPUBIOS.s68 into memory; then load progCPM.s68 which will automatically execute after loading and copy CPM15000+MPUBIOS into boot flash. | + | 1. To write CP/M binary to boot flash, load S-record CPM15000.s68 and MPUBIOS.s68 into memory; then load progCPM.s68 which will automatically execute after loading, erase the appropriate sections of boot flash, |
+ | |||
+ | 2 To write CP/M distribution files into drive A require two separate S-record loads. For each S-record load, 768k bytes of data are loaded into RAM and then copied to flash. At a baud rate of 38.4K, it takes about 7 minutes to load data into RAM. | ||
- | 2 To write CP/M distribution files into drive A require two separate S-record loads. For each S-record | + | * load CPMDISKA.txt first. When the load completed 7 minutes later, load progdskA.s68 which will autoexecute, |
+ | * load CPMDISKB.txt next. When the load completed | ||
- | * load CPMDISKA.txt first. | + | 3. To write BASIC executable |
- | * load CPMDISKB.txt next. When the load completed 7 minutes later, | + | |
- | 3. To write BASIC executable and BASIC library into drive B, load S-record cbasicB.txt; | + | This complete the flash configuration for CP/M68K. |