Page 2
RADSTONE the RADSTONE symbol, PME, and PLUM are trademarks of Radstone Technology plc. VERSAdos is a trademark of Motorola. Board Identification All Radstone baoards can be identified by a label fitted to the component side of P1. MADE IN ENGLAND SERIAL NUMBER REV NO.
PME68-1B Manual Table of Contents Chapter 1 - Introduction Introduction ......................1 Operational Overview ..................7 Features ......................7 I/O Facilities ....................8 Memory ......................8 Real Time Operation ................... 8 Chapter 2 - Specification General ......................... 9 Operating......................10 MTBF ........................
Page 4
PME68-1B Manual VMEbus Arbitration ..................36 Using PME 68-1B as the System Bus Arbiter........... 37 Bus Release Functions ................38 VMEBUS Interface ................... 39 SYSCLK Signal .................... 39 SYSRESET* Signal ..................39 RESET Switch ....................39 SYSFAIL* Signal ..................39 Address Modifier Codes ................
Page 5
PME68-1B Manual Chapter 5 - PME68/Monitor Software Capabilities ..................75 General System Overview.................. 77 Power-Up Sequence ..................77 RESET Switch ....................77 ABORT Switch....................77 Vectors and Errors..................78 Interrupt Level Assignment................. 79 Return to the Monitor .................. 80 The HALT Indicator ..................80 PME68/Monitor Memory Map ..............
Page 6
PME68-1B Manual Mnemonics and Delimiters ................. 109 Character Set ....................110 Source Code Format..................110 Assembler Language Format ..............110 DC.W Define Constant Directive .............. 112 Entering and Modifying Source Programs ..........112 Calling the Assembler/Disassembler ............112 Program Input....................113 Disassembled Program Listings..............
PME 68-1B Manual Chapter 1 - Introduction The PME 68-1B CPU is a single board computer which combines a powerful 16 bit mi- croprocessor, the Motorola 68000, with 128k or 512k bytes of dynamic RAM (DRAM), up to 256k bytes of EPROM or EPROM + SRAM, a programmable real time clock, plus three serial and one parallel input/output (I/O) interfaces.
Page 8
PME 68-1B Manual Figure 1 The PME 68-1B Board Photograph not available in PDF Page 2 Issue 5...
Page 9
10 MHz 68000, 512k bytes of DRAM 421/1/23144/103 This manual provides a general operating description of all variants of the PME 68-1B and includes information for installation and troubleshooting in Chapter 4, plus details of the PME68/Monitor in Chapter 5.
Page 10
PME 68-1B Manual Figure 2 The PME 68-1B Front Panel PME 68-1B RESET ABORT HALT LED REMOTE Port 3 (P5) TERMINAL Port 1 (P4) HOST Port 2 (P3) RADSTONE TECHNOLOGY Page 4 Issue 5...
Page 11
PME 68-1B Manual Figure 3 PME 68-1B Functional Block Diagram RESET Control Interrupt ABORT VMEbus VMEbus Control HALT Arbiter Arbitration Logic VMEbus REMOTE Data Interface Address ACIA Wire- Port 3 Wrap (P5) Wire- Wrap 6850 68000 8/10 MHz. Battery Back-up...
I/O devices. All other addresses are external on the VMEbus. The PME 68-1B board contains a number of features that allow it to act as the CPU of a powerful system, one of a number of CPUs in a multi-processor system, or as a single board computer.
PME 68-1B Manual I/O Facilities PME68-1B boards have three RS-232C interfaces, identified as Terminal (Port 1), Host (Port 2) and Remote (Port 3) as shown in Figures 2 and 3. Port 1 (connector P4) may be connected to a standard terminal to load and debug user programs under control of the Monitor firmware.
PME68-1B Manual Chapter 2 - Specification General Microprocessor Motorola 68000L Type 8 MHz on Variants 100 and 102 10 MHz on Variants 101 and 103 Bus Compliance VMEbus Rev. C.1 Data D08, D16 Address A16, A24 Parallel I/O and Timer 68230 type PIT 16 data lines and 8 control lines, configurable as a Centronics type parallel interface...
20g for 6ms (half sine) when mounted in a suitable racking system MTBF The calculated mean time between failures for the PME 68-1B is 80,000 hrs. The failure rates used in this calculation have been derived from the British Telecom Reliability Handbook using method HRD4, MIL-HDBK-217D and in-house data.
Hardware Overview Front Panel The front panel of the PME 68-1B is shown in Figure 2 and contains: Reset Switch; a toggle switch, that is user defined to carry out a general VMEbus reset or a reset of all on-board devices only.
PME68-1B Manual 68000 Hardware Description Processor The 68000 processor contains sixteen 32-bit registers, one 32-bit program counter and a 16 bit status register. The first eight registers (D0 to D7) are used as data registers for byte (8-bit), word (16-bit) and long word (2 x 16-bit) data operations. The set of seven address registers (A0 to A6) and the supervisor stack pointer may be used as software stack pointers and base address registers.
Page 19
PME68-1B Manual Table 1 68000 Vector Table Vector Address No.(s) Decimal Space Assignment Reset: Initial SSP Reset: Initial PC Bus Error Address Error Illegal Instruction Z ero Divide CHK Instruction TRAPV Instruction Privilege Violation Trace Line 1010 Emulator Line 1111 Emulator Unassigned (Reserved) Unassigned (Reserved) Unassigned (Reserved)
PME68-1B Manual Memory Figure 5 Memory Map of the PME 68-1B 000 000 ROM Initialisation Vectors from SYSTEM EPROM 000 007 000 008 SYSTEM DRAM Area (Reserved) 000 FFF 001 000 USER DRAM Area (128k byte: variants 100 and 101)
PME68-1B Manual RAM Area The on-board dynamic RAM area is used for the exception vector table of the CPU, as a scratch pad RAM for the Resident Monitor and for user program/data. The RAM area has a capacity of 128k bytes on PME68-1B/100 and /101 and 512k bytes on /102 and /103. Typical access time is 280ns if no refresh cycle is taking place.
Page 22
PME68-1B Manual EPROM/SRAM Area The PME 68-1B contains four sockets for 28-pin, JEDEC compatible devices. Two are defined as the System Area and contain EPROMs holding the standard Monitor etc. The two remaining sockets are user definable and can contain EPROM or SRAM devices.
Page 23
PME68-1B Manual System Area Summary Start address $080000 End address $09FFFF Boundary $020000 Boot address $000000 to $000007 Access modes Byte or Word Read Only Access time See Access Speed Selection in Chapter 4 (jumper selectable) User Area The two sockets in the user area may be configured for EPROMs, containing application programs, or for SRAMs.
PME68-1B Manual Local I/O and Control Devices PME68-1B boards contain three serial I/O Interfaces (Ports 1 to 3), a Real Time Clock with a battery back-up and a Parallel Interface and Timer Module. Serial I/O The board contains three independent serial I/O channels. The clock input for both the transmit and receive baud rate of each of the three channels is selectable to one of eight baud rate clocks driven by a Motorola 14411 baud rate generator.
Page 25
PME68-1B Manual The terminal interface can interrupt the 68000 CPU on level 4. The interrupt vector used is auto-interrupt vector (# 28/$000070); this cannot be changed. A diagram showing the terminal interface is given below as an example to illustrate the use of the 6850 de- vice.
PME68-1B Manual Address Assignment of Terminal Interface DEVICE: 6850 ACIA (Terminal) Address Mode Description 0C0080 Status Register 0C0080 Control Register 0C0082 Receive Data Register 0C0082 Transmit Data Register ITable 2 Default Signal Assignment - Terminal/Remote Interfaces P4/P5 Input Output Signal Protective GND connected to signal GND Transmit Data (TXD) Receive Data (RXD)
Port 1 (connector P4) directly to a host computer. In the configuration diagram Figure 6, both the PME 68-1B and the host are set to re- ceive data from the terminal on the Transmit Data Line (TXD) and echo it via the Re- ceive Data Line (RXD) back to the terminal.
PME68-1B Manual Fig. 7 Configuration with a Host Computer Host Terminal... Terminal PME 68-1B Table 3 lists the default signal assignment of the Host interface. This can be re-defined by the user; see Chapter 4 Address Assignment - Host Interface Address...
Page 29
PME68-1B Manual Fig. 8 Interfacing with a Host Computer in Transparent Mode HOST TERMINAL Tx. Data Rx. Data PME 68-1B Page 23 Issue 5...
PME68-1B Manual Real Time Clock The programmable Real Time Clock can be used in conjunction with a multi-user/multi- task operating system for real time applications. It can be used as a calendar, a real time counter and for time measurement. The RTC is a 58167A device;...
PME68-1B Manual RTC Interrupts The RTC can be used to interrupt the on-board CPU. This feature is selected by a jumper inserted during manufacture in field B200 and LK 60 pin 2-3. The RTC interrupt can be disabled, refer to Chapter 4, RTC Interrupts for further details. The RTC interrupt request level is fixed at level 6, the highest maskable interrupt level.
The Parallel Interface and Timer module (PIT 68230) is used to provide powerful asyn- chronous parallel I/O on PME 68-1B boards. The PIT provides 24 I/O lines, 4 control lines and a 24-bit timer with a 5-bit prescaler. A Centronics type interface can be configured.
PME68-1B Manual Table 5 Parallel I/O Interface Registers Affected Address Mode By Reset Using 0E0001 Port General Control Register (PGCR) 0E0003 Port Service Request Register (PSRR) 0E0005 Port A Data Direction Register (PADDR) 0E0007 Port B Data Direction Register (PBDDR) 0E0009 Port C Data Direction Register (PCDDR) 0E000B...
PME68-1B Manual The PIT interrupt signal lines (PC3 + PC5) can both be linked to interrupt request level 5. Auto-interrupt vectoring is used, the fixed interrupt vector number for the PIT (level 5) is # 29. The PIT interrupt signal line PC3 can also be linked to interrupt at level 6 if the RTC interrupt is disabled.
PME68-1B Manual Interrupt Handling The on-board CPU is able to handle 7 different prioritised interrupt request levels. Interrupt priority levels are numbered from one to seven, level seven being the highest priority. The status register contains a three bit mask which indicates the current priority of the processor.
PME68-1B Manual Software ABORT Switch The ABORT switch on the front panel generates a non-maskable interrupt to the CPU on level 7. This interrupt uses auto-interrupt vector # 31. The switch can be used for debug purposes (refer to ‘Abort Switch’ in Chapter 5); alternatively, the switch can be used for self test if special routines are built in.
Page 39
PME68-1B Manual Table 7 Interrupt Acknowledge L evel Code Level 1 Not assigned Note: FC0 to FC2 are function code signals from the 68000. The vector from the interrupting device is placed onto data bits D0 to D7 and is translated by the CPU into the address of the interrupt handling routine.
Page 40
PME68-1B Manual Table 8 Interrupt Vector Conversion Data Bit Data Bus D0-D7 Peripheral Vector Number V0-V7 D8-D15 ignored Address Bit Translated Address Bit A0-A7 A0= 0 A1= 0 A2= V0 A3= V1 A4= V2 A5= V3 A6= V4 A7= V5 A8-A15 A8= V6 A9= V7...
PME68-1B Manual VMEbus Interrupt Handling All on-board interrupts have a higher priority in the internal interrupt acknowledge daisy chain than VMEbus interrupts at the same interrupt level. VMEbus interrupt signals, IRQ1 to IRQ7, can be enabled/disabled separately using jumpers. Refer to Chapter 4 for further details. Default condition is all interrupts en- abled.
Pin 21 = IACKOUT* The PME 68-1B has an on-board interrupt handler which can be configured to respond to any group of request levels. Alternatively, the interrupt handler can be disabled and the 68-1B used with an external interrupt handler.
The VMEbus specification defines four BR levels, BR0* to BR3* and specifies that BR3* should be used by one-level Arbiters. This is the default setting of the PME 68-1B Arbiter but the user may select any other BR level if required; see Chapter 4.
The RESET switch is a toggle switch located on the front panel (Figure 2). It can be used to carry out a RESET of all devices on the PME 68-1B board: CPU, PIT, ACIA: or produce a VME SYSRESET* signal. This carries out a general RESET of all boards and devices within the system, including 68-1B RTC, and is the default condition.
Page 46
PME68-1B Manual Table 10 Address Modifier Codes Address Modifier Code 5 4 3 2 1 0 Function H H H H H H Standard Supervisory Block Transfer H H H H H L Standard Supervisory Program Access H H H H L H Standard Supervisory Data Access H H H H L L Reserved...
Error Detection and Correction Logic (EDC) if an uncorrectable error is detected. If the PME 68-1B is bus master and BERR* becomes active, the CPU aborts the current cycle and enters an error handling routine. Available time-out settings are: 2.5ms...
PME68-1B Manual P3 Pin Assignments Signal Protective GND connected to signal GND Transmit Data (TXD) Receive Data (RXD) Clear to Send (CTS) Signal GND Signal GND Data Terminal Ready (DTR) P4/P5 Pin Assignments Signal Protective GND connected to signal GND Transmit Data (TXD) Receive Data (RXD) Request to Send (RTS)
PME68-1B Manual Chapter 4 - Configuration Preparation For Use To communicate with the board a terminal must be connected to Port 1 (connector P4). This allows the PME68/Monitor to be used for program development, up/download of programs etc. The default set-up of all RS-232C interfaces is: 8 data bits 1 stop bit No parity...
Page 52
The batteries should not be positioned close to other heat emitting components. (The battery on the PME 68-1B has been positioned near the edge of the board at a location well away from potentially hot components.) To measure the battery voltage it is necessary to use a meter or measuring instrument with an impedance or input impedance greater than 1M Ohm.
PME68-1B Manual Link Settings PME68-1B contains a number of links which enable the board to be configured to suit system requirements. Other parameters can be changed by replacing PAL devices. CAUTION: Components may be damaged by incorrectly fitted, or illegal combinations of links.
Page 54
PME68-1B Manual Table 12 L inks settings Applicable to All Variants contd. 1-14, 2-13, 3-12, 4-11, 5-10, 6-9, 7-8 See WB2 WB2# 1-2-WB1# 1 WC1# 1-WC2# 1, WC1# 2-WC2# 2 None or PME68/Monitor WC1# 4-WC2# 2 WC1# 1-WC2# 1,WC1# 4-WC2# 2,WC1# 2-3 PLUM Monitor WD1# 1-WD2# 1, WD1# 2-WD2# 2, WD1# 4-WD1# 2 See WD1 WF1# 1-WF2# 1&2&3...
PME68-1B Manual RAM/PROM/EPROM Area System Area The board is normally supplied with two 2764 EPROM devices installed in the system area (J24 and 40) for the PME68/Monitor, or alternatively two 27256 EPROMs for PLUM. These can be replaced with other devices; wire-wrap areas WC1 and WC2 pro- vide the connections for address and control signals as detailed in Table 17.
Page 59
PME68-1B Manual Figure 15 L ocation of System EPROM Area Page 53 Issue 5...
PME68-1B Manual User Area The user area (J25 and 41) will accept two devices (of the same type) from those de- tailed in Table 16. Address and control lines are defined by wire-wrap areas WD1 and WD2. The standard (default) devices are a 2764/27128 EPROM. Table 18 defines the jumper field settings required for these devices.
Page 61
PME68-1B Manual Figure 16 L ocation of the User Area Figure 17 Jumper Fields for System/User Areas R/W* J24 and J40 JEDECS J25 and J41 Pin 26 JEDECS J24 and J40 J25 and J41 J24 and J40 Pin 26 J25 and J41 JEDECS JEDECS JEDECS...
PME68-1B Manual Access Speed Select Jumper fields BR6 and BR7 are provided to enable the access speed of the EPROM/RAM areas to be adjusted to suit the devices fitted, see Table 19. Figure 18 shows the location of BR6 and BR7. Table 19 Access Speed Selection Jumper Jumper...
PME68-1B Manual Local I/O and Control Devices Terminal Interface A hardware diagram of the interface is given in Figure 20. Default setting is defined in Chapter 3 and the default pin assignment in Table 2. Changing the baud rate is described later in the section headed Baud Rate Selection, other transmission parameters are changed using the PME 68 Monitor PF command.
PME68-1B Manual Remote Interface The transmission format default settings and the method of re-selection is the same as the Terminal Interface. A hardware diagram is given in Fig. 22. The signal assignment of the pins of P5 are controlled by jumper block BR14 see Fig. 21. Default settings are as Table 2 in Chapter 3.
PME68-1B Manual Host Interface Port 2 (connector P3) may be used for up/down loading of user programs and data or, in the transparent mode, to interface the terminal connected to Port 1 (connector P4) di- rectly to a host computer. A diagram of the host interface is given in Figure 24 and the location of jumper block BR16 is shown below in Figure 23.
PME68-1B Manual Baud Rate Selection Tables 20 and 21 define the baud rate values available; Figure 26 shows the circuit dia- gram of the baud rate selection devices. Figure 25 shows the location of the baud rate selection areas. Jumper field BR12 defines the ratio of the baud rates. A jumper between pin 1 and 3 (default condition) make the baud rates listed in Table 20 available.
Page 67
PME68-1B Manual Figure 25 L ocation of the Baud Rate Selection Areas BR12 Figure 26 Baud Rate Selection Devices BR12 TINP1 TINP2 TINP3 14411 RESET Page 61 Issue 5...
PME68-1B Manual RTC Interrupts The RTC interrupt level is selectable between: RTC interrupt PIT PC3 interrupt These options are set by LK60 and B200 LK60 B200 * NOTE. PIT PC3 by default RTC only interrupts on level 6; so PIT PC3 only for this combination BR18 Pin 2-3 should be removed.
PME68-1B Manual Parallel I/O Interface and Timer Centronics Type Interface The PIT can be used as a Centronics type parallel interface. This allows connection of a Centronics compatible printer with the handshake protocol under full software control. This application uses 8 input and output signals. The output signals are driven by a 74LS645-1 device with a drive capacity of 48mA.
Page 71
PME68-1B Manual Interrupt Handling ACFAIL Interrupt The position of the ACFAIL jumper field is BR20, shown on the location diagram Fig- ure 30. The pins of BR20 are connected as follows: BR20 Connected to ACFAIL* (from Receiver) IRQ6 HALT (of 68000 CPU) If a connection is made between pins 1 and 3, the on-board CPU will stop all activities immediately after the ACFAIL signal is asserted.
PME68-1B Manual VMEbus Interrupt Handling All VMEbus interrupt signals, IRQ1 to IRQ7, can be enabled/disabled separately using jumper field WA1 to WA7, as shown in Figure 32. The position of the jumpers are shown below in Figure 31. When a jumper is inserted an incoming IRQ signal will be acknowledged by the CPU; removing a jumper disables the equivalent IRQ signal.
PME68-1B Manual VMEbus Arbitration The board may be configured to use the on-board, single-level arbiter as the system arbiter, or to react correctly to off-board arbitration. On-Board DTB Slave Bus Arbitration The default slave Bus Request level is 3. Connections are made as listed in Table 21. Table 21 Slave Arbitration Default Connections Connections between: WB2 # 1...
PME68-1B Manual Off-Board Arbitration In a four level bus arbitration scheme with an external arbiter, the bus request levels require the following connections: (See Figure 33 for positions of WB1, WB2, WI1# /2/3/4) BR0* BR2* WB1# 1 to WB1# 2 WI2# 3 to WI3# 1 WB1# 1 to WB1# 4 WI1# 3 to WI4# 3...
PME68-1B Manual VMEBUS Interface SYSCLK Signal The on-board SYSCLK driver can be isolated from the VMEbus via a jumper in position BR21. Jumper Inserted SYSCLK connected to VMEbus No Jumper SYSCLK signal not connected to VMEbus Figure 36 shows the location of jumper BR21. SYSRESET* Signal Jumper field BR2 defines whether the board drives, receives, or ignores the VMEbus signal SYSRESET*.
SYSFAIL* Signal The VMEbus SYSFAIL* signal informs all cards that one or more cards in the system has failed. On PME 68-1B boards this input signal is directly connected to jumper field BR19. If the jumper is installed an active SYSFAIL* signal causes the on-board CPU to jump directly to the HALT state and the red HALT LED on the front panel to light.
PME68-1B Manual Short I/O Address Modifier Code The 64k byte range is jumper selectable within the range $100000 to $FFFFFF, as de- fined by jumper fields WH1, WH2, WH3 and WH4. For valid decoding, jumper settings are: the corresponding address signal must be high (1). the corresponding address signal must be low (0).
PME68-1B Manual Bus Error Function The internal time-out value (BERRINT) can be altered by changing the settings of jumpers BR26 and WK1/WK2. The initial timing is set by WK1/WK2, BR26 alters this value by a factor of 10. The other jumpers involved in the chain must be left in their default positions, i.e.
Page 80
PME68-1B Manual Figure 41 L ocation of BERR* Jumpers BR26 Page 74 Issue 5...
Software Capabilities The PME68/Monitor resides in on-board EPROM. This 16k byte package provides a user interface to the hardware of the PME 68-1B CPU board. The system monitor controls communication with a terminal and exercises all other elements of the system as well as providing complete debug capability and I/O control.
Page 82
PME68-1B Manual The PME68/Monitor has the following capabilities and features: Block fill memory - from add1 through add2 with data Block move - move from add1 through add2 to add3 Set/display breakpoint Block search - search add1 through add2 Block test of memory Data conversion Display formatted registers Dump memory to object file...
$0007 RESET Switch RESET is provided by Switch 1 (SW1) on the PME 68-1B front panel. Pressing this switch causes all programs or processes to terminate, resets the CPU and the parallel I/O devices, and restarts the resident firmware. The RESET switch may be used if ‘all else fails’.
PME68-1B Manual Vectors and Errors Exception vectors are memory locations from which the processor fetches the address of a routine which will handle an exception. All exception vectors are two words in length (32 bit). See the following table: Vector Address Number(s) Space...
PME68-1B Manual Return to the Monitor Return to the PME68/Monitor may be initiated via software. A useful means of doing this from a user application program is: -- User Program -- TRAP # 14 i.e. Adding a TRAP # 14 instruction at the end of the user program. The other user Trap locations, from UT0 to UT13 and UT15, are preset with the appropriate error handling routine, they can be used by application programs.
$000007 $000008 System RAM $000FFF $001000 User RAM $01FFFF $020000 Reserved $080007 $080008 System EPROM $09FFFF $0A0000 User EPROM $0BFFFF $0C0000 I/O devices $100000 The memory map of the PME 68-1B is shown in Chapter 3. Page 81 Issue 5...
PME68-1B Manual Operation of the PME68/Monitor Operating Procedure Once the module has been set up and power applied, automatic CPU reset circuitry gives program control to the monitor. Once the initialisation sequence is complete the system is ready to communicate with a user terminal attached to Port 1 (connector P4) of the CPU.
PME68-1B Manual If a command causes the firmware to access any unused address (i.e. no memory or I/O device is located at that address), a bus trap error will occur. The contents of all CPU registers are displayed and a return to the standard input routine is performed. This also occurs if an attempt is made to write to a reserved memory area.
Page 90
PME68-1B Manual The command format is: > [NO] < command> < parameters> [;< options> ] < CR> RETURN key: the command is not processed until this is entered. One of the options modifying the basic command. Parameters (optional) separated from each other by a SPACE character.
PME68-1B Manual Monitor Commands Monitor commands are presented in alphabetical order, examples are used to highlight possible applications. COMMAND DESCRIPTION BF < address1> < address2> < data> Block Fill memory - from add1 through add2 with data BM < address1> < address2> < address3> Block Move - move from add1 through add2 to add3 BR[<...
PME68-1B Manual NAME: BLOCK FILL MEMORY COMMAND SYNTAX: BF < address1> < address2> < data> < CR> FUNCTION: The BF command is used to fill a block of memory with a specified value starting at a word boundary (even address). The data value is word sized only.
PME68-1B Manual NAME: SET/DISPLAY BREAKPOINT COMMAND SYNTAX: BR[ < address> [; < count> ] ..] < CR> FUNCTION: The BR command enables portions of a user program to be executed in real-time and halted if a user-specified instruction address (breakpoint) is encountered. The breakpoint, specified within the BR command, is placed into a breakpoint table maintained by the Monitor (unless the table is whenever the Monitor gives...
PME68-1B Manual NAME: BLOCK SEARCH COMMAND SYNTAX: BS < add1> < addr2> < data> [< mask> ][< ;option> ] < CR> BS address1 address2 ’string’ CR FUNCTION: The BS command is used to search a memory block for a specified data pattern. The data may be either a literal (ASCII) string or a number.
PME68-1B Manual NAME: BLOCK TEST OF MEMORY COMMAND SYNTAX: BT < address1> < address2> < CR> FUNCTION: The BT command is a destructive test of a block of memory beginning at < address1> and ending at < address2> . If this test runs without detecting errors, the memory tested will be set to zeros.
PME68-1B Manual NAME: DISPLAY FORMATTED REGISTERS COMMAND SYNTAX: DF < CR> FUNCTION: The DF command displays the CPU registers of the target program. These registers are also displayed whenever the monitor regains program control (ie at breakpoints and when tracing). The instruction pointed to by the program counter is also disassembled.
PME68-1B Manual NAME: GO EXECUTE PROGRAM COMMAND SYNTAX: G[ < address> ] < CR> GO[< address> ] < CR> FUNCTION: The GO command is used to execute a program, beginning execution at a specified address. If no address is specified, execution begins at the address contained in the pseudo PC.
PME68-1B Manual NAME: GO UNTIL BREAKPOINT COMMAND SYNTAX: GT< address> < CR> FUNCTION: Set a temporary breakpoint at the specified address, begin execution at the address contained in the pseudo PC. The temporary breakpoint is reset when any breakpoint is encountered. EXAMPLE: >...
PME68-1B Manual NAME: HELP COMMAND SYNTAX: HE < CR> FUNCTION: The HELP command displays the monitor command names on the terminal EXAMPLE: > HE .US .SS .D2 .D3 .D4 .A5 .A2 .A3 .A4 .A5 .R2 .R3 .R4 .R5 NOBR BS GD GO GT HE MS OF...
PME68-1B Manual NAME: LOAD OBJECT FILE COMMAND SYNTAX: LO[n][ ; < OPTION> ] < CR> FUNCTION: The LO command enables an ASCII-converted-binary (S-records) object file to be taken from an external device and loaded into memory. Each byte of data is verified as it is loaded and if not stored correctly, an error message is displayed.
PME68-1B Manual NAME: MEMORY DISPLAY COMMAND SYNTAX: MD [n] < address> [ < count> ] < CR> FUNCTION: The MD command is used to display a section of memory beginning at address. The section is count bytes long, if count is not specified, it takes the value 16.
PME68-1B Manual NAME MEMORY MODIFY COMMAND SYNTAX: MM[n] < address> [; < options> ] < CR> M [n] < address> [; < options> ] < CR> FUNCTION: The MM command is used to display and change memory. If a data field is specified, memory locations beginning with address are set equal to the value of the data.
Page 103
PME68-1B Manual MEMORY MODIFY contd. The following options are supported: Default data is byte-sized data is word-sized (two bytes) data is long word-sized (four bytes) data is byte-sized; access odd addressed bytes only data is byte-sized; access even addressed bytes only do not verify that the data stored correctly.
PME68-1B Manual NAME: MEMORY SET COMMAND SYNTAX: MS < address> < data> < CR> FUNCTION: The MS command is used to alter memory by setting data at the address specified. The data may be a literal (ASCII) string enclosed in apostrophes, or a number with a value no greater than a 32 bit integer.
PME68-1B Manual NAME: DETACH PRINTER NOPA COMMAND SYNTAX: NOPA < CR> FUNCTION: The NOPA command is used to inhibit terminal information being ‘echoed’ on the printer. It functions as the reverse of the PA command. See also: PA NAME: OFFSET COMMAND SYNTAX: OF <...
PME68-1B Manual NAME: ATTACH PRINTER COMMAND SYNTAX: PA < CR> FUNCTION: The PA command enables terminal information to be ‘echoed’ to the printer: any data displayed on the terminal will also be output to the printer. A PRINTER NOT READY message will be output if the printer is not on line or no printer is present.
PME68-1B Manual NAME: TRANSPARENT MODE COMMAND SYNTAX: TM[ < exit character> ] < CR> FUNCTION: The TM command is used to enter the transparent mode in which Port 1 and 2 are directly connected. In this mode, the terminal communicates directly with the host. Note: Both ports must be set to the same baud rate.
PME68-1B Manual NAME: TRACE COMMAND SYNTAX: TR[ < count> ] < CR> T[ < count> ] < CR> FUNCTION: The TR command executes count number of instructions beginning at the address contained in the pseudo PC. After each instruction is executed, the formatted registers are displayed on the terminal.
PME68-1B Manual NAME: TRACE TO TEMPORARY BREAKPOINT COMMAND SYNTAX: TT < address> < CR> FUNCTION: The TT command executes program instructions beginning at the address contained in the pseudo PC, until address is reached or a breakpoint is encountered. EXAMPLE: > .PC 1000 >...
PME68-1B Manual NAME: VERIFY COMMAND SYNTAX: [VE[n] [ = < string> ] < CR> FUNCTION: The VE command enables the contents of memory to be compared with an ASCII-converted-binary object file read from an external device. Each byte of data from the file is compared with the content of the memory at the location into which it would be loaded.
PME68-1B Manual NAME: MEMORY MODIFY DISASSEMBLER/ASSEMBLER MM...;DI M ...;DI COMMAND SYNTAX: MM address ;DI < CR> FUNCTION: The Disassembler/Assembler is called as an option to the Memory Modify command. When the suffix DI is used the content of the location specified will be disassembled and a ? printed after the disassembled line.
PME68-1B Manual Using the Assembler/Disassembler Introduction Included in the PME68/Monitor firmware is an assembler/disassembler. This is a dy- namic assembler/editor in which the source program is not saved. Each source line is translated into the proper 68000 machine language code and is stored in memory on a line-by-line basis at the time of entry.
PME68-1B Manual Directives The assembly language can contain mnemonic directives which specify auxiliary actions to be performed by the assembler. Directives are not always translated into ma- chine language. Assembler directives assist the programmer to: control the assembler output define data and symbols allocate storage.
PME68-1B Manual For some instructions there are two valid mnemonics for the same op-code, or there is more than one assembly language equivalent. The disassembler may choose a form different from the one originally entered. For example: BRA is returned for BT DBF is returned for DBRA The assembler recognises two forms of mnemonic for two branch instructions.
PME68-1B Manual Character Set The character set recognised by the assembler is a subset of ASCII, and is listed below: Uppercase letters A through Z Integers 0 through 9 Arithmetic operators: + - Parentheses ( ) Characters used as special prefixes: £...
Page 117
PME68-1B Manual The dynamic assembler does not allow labels and comments. The specific line format looks similar to: < sp> OPERATION [OPERAND] < CR> The first < sp> is to be compatible with structured assemblers. A space must be the first character of each line.
’TB’+ 1 Expression Entering and Modifying Source Programs Application programs are entered into the PME 68-1B RAM area using the one-line assembler/disassembler. It is entered in assembly language statements on a line-by-line base. The source code is not saved as it is immediately converted to machine code. This imposes several restrictions on the type of source line that can be entered.
PME68-1B Manual Program Input A new instruction may be entered after the ? prompt. If it is a valid 68000 code, the old line is overwritten by the new entry after the < CR> . > MM 1000;DI 001000 FFFF DC.W $FFF ? MOVE.B # 1,D0 < CR> The next instruction is also displayed.
The methods available will depend upon the system hardware. Upload to a Host Programs can be saved by uploading to a host computer via Port 2 of the PME 68-1B. Once a program has been sent, it can be saved on the hosts mass storage media. Up- loading to a host requires a program in the host to input the S-records from the RS232C port and save them either in RAM or directly onto the mass storage media (see para.
Page 121
Down-load From a Host contd. LO2 ;= DU1 2000 3000 CR The command after the equal sign is sent to the RADSTONE VME MDS and interpreted as command input. The VERIFY command should be used to ensure that data has properly loaded.
PME68-1B Manual User Application Software Examples Several devices on the PME 68-1B CPU are free for user applications, some simple examples are given to show how these devices may be programmed. The examples are guidelines only and may be adopted for the users particular purposes. The programs be- low have been written using the PME/Ideal, ROM resident screen-oriented Edi- tor/68000 Assembler.
PME68-1B Manual Input of One Line from the Remote ACIA A string is read from the device, < CR> ($0D) terminates the input. A return to the monitor is performed at the end of the operation by a TRAP # 14 sequence. ORG $4000;...
PME68-1B Manual DEVICE: J50 68230 PIT (Parallel Interface/Timer) Affected Affected by Address Mode By Reset Read Cycle Using 0E0001 Port General Control Register (PGCR) 0E0003 Port Service Request Register (PSRR) 0E0005 Port A Data Direction Register (PADDR) 0E0007 Port B Data Direction Register (PBDDR) 0E0009 Port C Data Direction Register (PCDDR) 0E000B...
PME68-1B Manual Error Messages and Monitor Messages Error Message Meaning PRINTER NOT READY Printer is not properly connected or cannot receive output SYNTAX ERROR Error in command line ERROR Error (prefix) ILLEGAL INSTRUCTION Instruction used an illegal op-code TRAP ERROR See Traps in MC68000 User’s Guide IS NOT A HEX DIGIT Improper character entered in a field that...
Note: It must be remembered that not all registers are saved automatically. Furthermore it should be noted that the use of these subroutines in an illogical sequence could affect the proper operation of the PME 68-1B CPU System Monitor. Page 123 Issue 5...
PME68-1B Manual S-Record Format An S-record is a standard format used for transmitting and receiving programs and data. The whole transfer is performed in ASCII characters. There are ten possible standard S-record types, but only five are used within the PME68/Monitor environment: Header record 16-bit address Data record...
Page 131
PME68-1B Manual A transfer is normally performed in the following sequence: Header String of minimum 32 ASCII Nulls Header Record S1 or S2 Data Records S9 or S8 End Record S-Record Example S009000053595336384B3E 3E---------------------------------------- Checksum 00....4B----------------------------------------------------- Data, Header 09------------------------------------------------------------------------------- Byte Count S0------------------------------------------------------------------------------------- Record Type S214020000000004440002014660000CB241F8044CB1 S214020010203C0000020E428110C1538066FA487AE4...
Need help?
Do you have a question about the PME 68-1B and is the answer not in the manual?
Questions and answers