BCP-760
Operation Guide
Page 5 of 31
Chapter 2.System Software Organization
The BCP-760 system software is organized into two modules: the kernel module and the application module
(see diagram below).
MODULE ORGANIZATION
┌──────────────────────────────────────────────────────────────────┐
│ ┌───────────┐ | ┌──────────────────┐ │
│
APPLICATION
│Terminal │ | │ Downloadable │ │
│
MODULE
│module │ | │ Application │ │
│ └───────────┘ | └──────────────────┘ │
│ ┌───────────┐ | ┌──────────────────┐ │
│ │Workstation│ | │ Downloadable │ │
│ │module │ | │ Application │ │
│ └───────────┘ | └──────────────────┘ │
│ ┌───────────┐ | ┌──────────────────┐ │
│ │User-device│ | │ Downloadable │ │
│ │module │ | │ Application │ │
│ └───────────┘ | └──────────────────┘ │
│
RESIDENT APPLICATIONS
|
TRANSIENT APPLICATION
│
│ | │
╞══════════════════════════════════════════════════════════════════╡
│
KERNEL
┌──────────┐ ┌────────────┐ ┌──────────┐ │
│
MODULE
│ SCAN_INT │ │ KEYPAD_INI │ │ COM_INI │ │
│ └──────────┘ └────────────┘ └──────────┘ │
│ ┌──────────┐ ┌────────────┐ │
│ │ EXEC │ │ LOADER │ │
│ └──────────┘ └────────────┘ │
│ ┌──────────┐ ┌────────────┐ ┌──────────┐ │
│ │ DOS │ │ FILE │ │ COM │ │
│ │ Manager │ │ Manager │ │ Manager │ │
│ └──────────┘ └────────────┘ └──────────┘ │
└──────────────────────────────────────────────────────────────────┘
1.4
Application Module
Although applications run on the BCP-760 are classified into resident and transient categories, the BCP-760
operation cannot decipher the difference between them. The only difference is the location of the executable
files. For resident applications, the Job Scheduling EXEC "jumps" to the entry point in the EPROM and begins
execution. For transient applications EXEC "loads" the executable file from the RAM file into the RAM
memory and then begins execution.
1.5
Kernel Module
The BCP-760 kernel provides basic system services. The kernel module includes the DOS Manager, File
Manager, COM Manager and several interrupt service routines.
DOS Manager
The DOS manager emulates most MS DOS function calls to control BCP-760 peripherals
and files.
FILE Manager
The File manager implements a DOS-like file subsystem to support essential file operations.
COM Manager
The COM manager controls the communication link between the BCP-760 and the host
through a RS232 serial port.
LOADER
The function of the loader is identical to that of the MSDOS loader except for the memory
allocation/deallocation scheme being simplified. The loader's operations are:
1.
read .exe header
2.
find enough memory for .exe
3.
read binary into RAM
4.
relocation based on RAM allocation
5.
set up all registers