Motorola 6806800C47B manual Sample Application, Run the Checkpoint Service Demo

Page 23

Sample Application

A

A.1 Overview

The sample application provided here consists of two application processes that use the Checkpoint service APIs to ‘write’ to a checkpoint, and ‘read’ the checkpoint data written by the first application process.

A.2 Run the Checkpoint Service Demo

This sample application assumes that the NCS software is installed and running on the target system. Refer to the Avantellis 3000 Series Rel. 3.0 User’ s Guide for information on how to install the NCS software.

Running the demo application:

To run the checkpoint service demo, follow the steps given here:

1.Build the sample program to create the executable file cpsv_demo.out. (Refer to section - A.4.2 "Make" Commands of the NetPlane Core Services Overview User’s Guide, Part Number: 6806800C08 for more details)

2.Copy the executable file to the target. (Refer to section - A.4.2 "Make" Commands of the NetPlane Core Services Overview User’s Guide, Part Number: 6806800C08 for more details)

Ensure the cpsv_demo.out has executable permission. To give executable permission, use the following command:

chmod +x cpsv_demo.out

3.Open two terminals, and change to the directory where the executable cpsv_demo.out is copied.

4.Execute the following command in the first terminal. This application process will act as “MESSAGE-WRITER”../cpsv_demo.out 1

5.Execute the following command in the second terminal. This application process will act as “MESSAGE-READER”. ./cpsv_demo.out 0.

The output will be displayed on both the terminals. Refer "Appendix A, Sample Application Output" of this document.

Checkpoint Service Programmer’s Reference (6806800C47B)

23

Image 23
Contents Checkpoint Service Trademarks Contents Contents List of Tables List of Tables List of Figures Checkpoint Service -SubpartsList of Figures Abbreviations Overview of ContentsAbout this Manual Bold ConventionsAbout this Manual Abbreviation Definition Notation DescriptionPart Number Publication Date Description Summary of ChangesComments and Suggestions About this ManualAbout this Manual Overview IntroductionIntroduction Models and Concepts Models and ConceptsCheckpoint Director Checkpoint Node DirectorCheckpoint Agent Introduction Compliance Table Checkpoint ServiceCompliance Report Checkpoint AgentIntroduction Related SAF Standard Documents Related SAF Standard DocumentsNcsCkptRegisterCkptArrivalCallback Parameters Service ExtensionsAPI Description NcsCkptRegisterCkptArrivalCallbackAPI Description NcsCkptCkptArrivalCallback 2 *ncsCkptCkptArrivalCallbackNcsCkptRegisterCkptArrivalCallback Return Values NcsCkptCkptArrivalCallback ParametersImplementation Notes API Description Implementation NotesUsage of Non-Collocated Checkpoints Maximum Number of Replicas Per Node ConfigurationTime-out Arguments for Checkpoint Service APIs Cancellation of Pending CallbacksMaximum Data Size Per One write or Overwrite Service DependenciesShared Memory Configuration Shared Memory Configuration API DescriptionMIB table id \ trap id Description Management InterfaceSAF-CHK-SVC-v75 MIB Sample Application Run the Checkpoint Service DemoSample Application Sample Application Output Sample Application OutputDocument Title Publication Number Related DocumentationMotorola Embedded Communications Computing Documents Table B-1 Motorola PublicationsDocument Title Version/Source Related SpecificationsTable B-2 Related Specifications Related Documentation Related Specifications

6806800C47B specifications

The Motorola 68000 series microprocessor, which includes the 68000, 68010, 68020, and others, significantly impacted the development of computing technology. Among its variants is the Motorola 68000, often referenced for its advanced features, performance, and capacity for versatility, making it one of the most prominent processors in its time.

The Motorola 68000, with its 16-bit data bus and 32-bit internal architecture, provided a potent combination of speed and efficiency. This processor features a clock speed ranging from 5 to 25 MHz, enabling high-performance computing for a range of applications, from personal computers to embedded systems. It utilizes a sophisticated instruction set that accommodates complex operations, enabling developers to write efficient and powerful software.

One of the main characteristics of the Motorola 68000 is its ability to address 24 bits of memory space, allowing it to access up to 16 MB of RAM directly. This memory addressing capability was an impressive feature during its release, supporting more extensive and more complex applications than most contemporaries could handle at the time.

The architecture of the Motorola 68000 is notable for its orthogonal design, which provides a rich set of addressing modes, making it versatile for various programming tasks. Its instruction set includes operations for arithmetic, logic, and data manipulation, coupled with strong support for multitasking and complex data structures, essential for modern operating systems.

In terms of technology, the Motorola 68000 employed a dual-processor architecture that enabled it to work alongside other processors, such as the Motorola 68881 and 68882 floating-point coprocessors, significantly enhancing its computational capabilities especially in graphics, scientific calculations, and complex algorithms.

Furthermore, the 68000 series processors were known for their excellent interrupt handling capabilities, making them suitable for real-time applications. This feature was particularly valuable in embedded systems, telecommunications, and industrial control systems, allowing for responsiveness in processing external events.

The 68000 microprocessor also gained popularity in the world of gaming and graphics, being utilized in iconic devices like the Sega Genesis and the Atari ST series. Its performance and flexibility in diverse applications ensured that the 68000 series left an indelible mark on the evolution of computing technology, influencing generations of system design.

In conclusion, the Motorola 68000, particularly the 68000 series, is a foundation in microprocessor history, celebrated for its capabilities in memory management, software development, and multi-faceted applications that paved the way for modern computing.