Flexible Hardware Abstraction for Wireless Sensor Networks

Total Page:16

File Type:pdf, Size:1020Kb

Flexible Hardware Abstraction for Wireless Sensor Networks Flexible Hardware Abstraction for Wireless Sensor Networks Vlado Handziski∗, Joseph Polastrey, Jan-Hinrich Hauer∗, Cory Sharpy, Adam Wolisz∗ and David Cullery ∗Technische Universitat¨ Berlin; Telecommunication Networks Group Sekr. FT 5, Einsteinufer 25, 10587 Berlin, GERMANY yUniversity of California, Berkeley; Computer Science Department Berkeley, CA 94720 US Abstract— We present a flexible Hardware Abstraction Our analysis of several embedded and general- Architecture (HAA) that balances conflicting requirements purpose operating systems (eCos [1], WindowsCE [2], of Wireless Sensor Networks (WSNs) applications and the NetBSD [3] and Linux[4]) that have mature hardware ab- desire for increased portability and streamlined develop- straction architectures has shown us that existing designs ment of applications. Our three-layer design gradually are poorly suited to the flexible abstraction required by adapts the capabilities of the underlying hardware plat- forms to the selected platform-independent hardware inter- WSNs. Their interfaces are rigid and expose the capa- face between the operating system core and the application bilities of the hardware at a single level of abstraction, code. At the same time, it allows the applications to utilize preventing an application from taking full advantage of a platform’s full capabilities – exported at the second layer, the hardware’s capabilities when needed. when the performance requirements outweigh the need for Thus, we need a better Hardware Abstraction Archi- cross-platform compatibility. We demonstrate the practical tecture (HAA) that can strike a balance between the value of our approach by presenting how it can be applied two conflicting goals that are present in the WSNs to the most important hardware modules that are found context. The component-based model [5] is one frame- in a typical WSN platform. We support our claims using work that can provide the required tools to resolve this concrete examples from existing hardware abstractions in TinyOS and our implementation of the MSP430 platform tension. The separation between the exposed interfaces that follows the architecture proposed in this paper. and the internal implementation promotes modularity and reuse [6]. At the same time it allows rich interaction I. INTRODUCTION between building blocks. The main challenge is to select The introduction of hardware abstraction in modern an appropriate organization of abstraction functionality operating systems has proved valuable for increasing in form of components to support reusability while portability and simplifying application development by maintaining energy-efficiency through access to the full hiding the hardware intricacies from the rest of the hardware capabilities when it is needed. Based on our system. Although enabling portability, hardware ab- experience in porting TinyOS [7], [8] to new platforms stractions come into conflict with the performance and we believe that an effective organization is possible energy-efficiency requirements of Wireless Sensor Net- when the strengths of the component-based approach are work (WSN) applications. combined with a flexible, three-tier organization of the WSNs, with their application specific nature and hardware abstraction architecture. severely constrained resources, push customization, The rest of the paper is structured as follows: In rather than more general and reusable hardware abstrac- Section II we introduce the details of the proposed archi- tion designs. For maximum performance, the unique tecture focusing on the functionality of each of the three capabilities of the hardware should be made available un- tiers separately and the flexibility that the architecture hindered to the application, but this can impede porting provides in total. The following Section III, illustrates and rapid application development. By directly accessing the practical applicability of our approach to the major the hardware, the application couples the evolution of the hardware modules of a typical WSN platform. After system with the underlying hardware. discussing the related work in Section IV, we outline Fig. 1. The proposed hardware abstraction architecture our planned future work (Section V) and conclude the The HPL components should be stateless and expose paper in Section VI. For clarity, at the very end, we an interface that is fully determined by the capabilities provide a list of the acronyms used in the text and their of the hardware module that is abstracted. This tight definitions. coupling with the hardware leaves little freedom in the design and the implementation of the components. Even II. ARCHITECTURE though each HPL component will be as unique as the In our architecture (Fig. 1), the hardware abstraction underlying hardware, all of them will have a similar functionality is organized in three distinct layers of com- general structure. For optimal integration with the rest ponents. Each layer has clearly defined responsibilities of the architecture, each HPL component should have: and is dependent on interfaces provided by lower layers. • commands for initialization, starting, and stopping The capabilities of the underlying hardware are gradually of the hardware module that are necessary for adapted to the established platform-independent interface effective power management policy between the operating system and the applications. As • “get” and “set” commands for the register(s) that we move from the hardware towards this top interface, control the operation of the hardware the components become less and less hardware depen- • separate commands with descriptive names for the dent, giving the developer more freedom in the design most frequently used flag-setting/testing operations and the implementation of reusable applications. • commands for enabling and disabling of the inter- A. Hardware Presentation Layer (HPL) rupts generated by the hardware module • service routines for the interrupts that are generated The components belonging to the HPL are positioned by the hardware module directly over the HW/SW interface. As the name sug- gests, their major task is to “present” the capabilities of The interrupt service routines in the HPL components the hardware using the native concepts of the operating perform only the most time critical operations (like system. They access the hardware in the usual way, copying a single value, clearing some flags, etc.), and either by memory or by port mapped I/O. In the reverse delegate the rest of the processing to the higher level direction, the hardware can request servicing by signal- components that possess extended knowledge about the ing an interrupt. Using these communication channels state of the system. internally, the HPL hides the hardware intricacies and Our HPL structure eases manipulation of the hard- exports a more usable interface (simple function calls) ware. Instead of using cryptic macros and register names for the rest of the system. whose definitions are hidden deep in the header files of compiler libraries, the programmer can now access provided by the HAL and convert them to hardware- hardware through a familiar interface. independent interfaces used by cross-platform applica- This HPL does not provide any substantial abstraction tions. These interfaces provide a platform independent over the hardware beyond automating frequently used abstraction over the hardware that simplifies the develop- command sequences. Nonetheless, it hides the most ment of the application software by hiding the hardware hardware-dependent code and opens the way for devel- differences. To be successful, this API “contract” should oping higher-level abstraction components. These higher reflect the typical hardware services that are required in abstractions can be used with different HPL hardware- a WSN application. modules of the same class. For example, many of the The complexity of the HIL components mainly de- microcontrollers used on the existing WSN platforms pends on how advanced the capabilities of the abstracted have two USART modules for serial communication. hardware are with respect to the platform-independent They have the same functionality but are accessed using interface. When the capabilities of the hardware exceed slightly different register names and generate different the current API contract, the HIL “downgrades” the interrupt vectors. The HPL components can hide these platform-specific abstractions provided by the HAL until small differences behind a consistent interface (Sec- they are leveled-off with the chosen standard interface. tion III-E), making the higher-level abstractions resource Consequently, when the underlying hardware is inferior, independent. The programmer can then switch between the HIL might have to resort to software simulation of the different USART modules by simple rewiring (not the missing hardware capabilities. As newer and more rewriting) the HPL components, without any changes to capable platforms are introduced in the system, the the implementation code. pressure to break the current API contract will increase. When the performance requirements outweigh the bene- B. Hardware Adaptation Layer (HAL) fits of the stable interface, a discrete jump will be made that realigns the API with the abstractions provided in the The adaptation layer components represent the core of newer Hardware Adaptation Layers (HALs). The evolu- the architecture. They use the raw interfaces provided by tion of the platform-independent interface will force a the HPL components to build
Recommended publications
  • A Survey on Architectures of Mobile Operating Systems: Challenges and Issues
    International Journal of Research Studies in Computer Science and Engineering (IJRSCSE) Volume 2, Issue 3, March 2015, PP 73-76 ISSN 2349-4840 (Print) & ISSN 2349-4859 (Online) www.arcjournals.org A Survey on Architectures of Mobile Operating Systems: Challenges and Issues Prof. Y. K. Sundara Krishna1 HOD, Dept. of Computer Science, Krishna University Mr. G K Mohan Devarakonda2 Research Scholar, Krishna University Abstract: In the early years of mobile evolution, Discontinued Platforms Current mobile devices are enabled only with voice services Platforms that allow the users to communicate with each other. Symbian OS Android But now a days, the mobile technology undergone Palm OS IOS various changes to a great extent so that the devices Maemo OS Windows Phone allows the users not only to communicate but also to Meego OS Firefox OS attain a variety of services such as video calls, faster Black Berry OS browsing services,2d and 3d games, Camera, 2.1 Symbian OS: This Operating system was Banking Services, GPS services, File sharing developed by NOKIA. services, Tracking Services, M-Commerce and so many. The changes in mobile technology may be due Architecture: to Operating System or Hardware or Network or Memory. This paper presents a survey on evolutions SYMBIAN OS GUI Library in mobile developments especially on mobile operating system Architectures, challenges and Issues in various mobile operating Systems. Application Engines JAVA VM 1. INTRODUCTION Servers (Operating System Services) A Mobile operating system is a System Software that is specifically designed to run on handheld devices Symbian OS Base (File Server, Kernel) such as Mobile Phones, PDA’s.
    [Show full text]
  • Windows NT Architecture Previous Screen Gilbert Held Payoff Windows NT Is a Sophisticated Operating System for Workstations and Network Servers
    50-30-19 Windows NT Architecture Previous screen Gilbert Held Payoff Windows NT is a sophisticated operating system for workstations and network servers. This article helps network managers to understand the communications capability of workstations and servers running on Windows NT, and data base administrators to determine the suitability of this platform for a structured query language (SQL) data base server. Introduction Windows NT is a 32-bit, preemptive multitasking operating system that includes comprehensive networking capabilities and several levels of security. Microsoft markets two version of Windows NT: one for workstations—appropriately named Windows NT Workstation—and a second for servers—Windows NT Server. This article, which describes the workings of the NT architecture, collectively references both versions as Windows NT when information is applicable to both versions of the operating system. Similarly, it references a specific version of the operating system when the information presented is specific to either Windows NT Workstation or Windows NT Server. Architecture Windows NT consists of nine basic modules. The relationship of those modules to one another, as well as to the hardware platform on which the operating system runs, is illustrated in Exhibit 1. Windows NT Core Modules Hardware Abstraction Layer The hardware abstraction layer (HAL) is located directly above the hardware on which Windows NT operates. HAL actually represents a software module developed by hardware manufacturers that is bundled into Windows NT to allow it to operate on a specific hardware platform, such as Intel X86, DEC Alpha, or IBM PowerPC. HAL hides the specifics of the hardware platform from the rest of the operating system and represents the lowest level of Windows NT.
    [Show full text]
  • Mobile Systems
    CS 318 Principles of Operating Systems Fall 2017 Lecture 21: Mobile Systems Ryan Huang 11/30/17 CS 318 – Lecture 21 – Mobile Systems 2 Apply the security update immedidately! CS 318 – Lecture 21 – Mobile Systems Administrivia • Lab 4 deadline one week away • Groups of 2 students receive 2-day extra late hour • Groups of 3 students with 1 318 section student receive 1-day extra late-hour • Please, please don’t cheat • Homework 5 is released 11/30/17 CS 318 – Lecture 21 – Mobile Systems 4 Mobile Devices Become Ubiquitous Worldwide Devices Shipments by Device Type (Millions of Units) 3000 2500 2000 1500 1806.96 1879 1910 1959 1000 500 Google Nexus 6P 209.79 226 196 195 296.13 277 246 232 0 2013 2014 2015 2016 Traditional PCs Ultramobiles (Premium) Ultramobiles (Basic and Utility) Mobile Phones 5 History of Mobile OS (1) • Early “smart” devices are PDAs (touchscreen, Internet) • Symbian, first modern mobile OS - released in 2000 - run in Ericsson R380, the first ‘smartphone’ (mobile phone + PDA) - only support proprietary programs 11/30/17 CS 318 – Lecture 21 – Mobile Systems 6 History of Mobile OS (2) • Many smartphone and mobile OSes followed up - Kyocera 6035 running Palm OS (2001) • 8 MB non-expandable memory - Windows CE (2002) - Blackberry (2002) • was a prominent vendor • known for secure communications - Moto Q (2005) - Nokia N70 (2005) • 2-megapixel camera, bluetooth • 32 MB memory • Symbian OS • Java games 11/30/17 CS 318 – Lecture 21 – Mobile Systems 7 One More Thing… • Introduction of iPhone (2007) - revolutionize the smartphone industry - 4GB flash memory, 128 MB DRAM, multi-touch interface - runs iOS, initially only proprietary apps - App Store opened in 2008, allow third party apps 11/30/17 CS 318 – Lecture 21 – Mobile Systems 8 Android – An Unexpected Rival of iPhone • Android Inc.
    [Show full text]
  • Windows XP History and Versions
    Lecture 23: Windows XP History and Versions n Mid-80ies Microsoft and IBM cooperated to develop OS/2 n Windows XP is produced by Microsoft Co. n 1988 - Microsoft started to develop its own new technology (NT) OS n XP is multi-user, multi-process, preemptive multitasking OS, 30M lines of source code capable of running OS/2, Windows and Unix apps. Hired Dave Cutler - architect of DEC VAX/VMS to head the design n It is developed to support multiple platforms and targeted towards enterprise workstations and server market as well as n NT v. 3.1 first released commercially July 1993 desktops n NT v 4.0 adopted Windows 95 user interface, graphics code moved into kernel to improve performance n In today’s lecture n 2000 – improved networking and laptop support, support for plug-and- u XP’s predecessors, the history of XP design, XP versions play devices, support for more processors (up to 8) and memory, u design principles becomes true multi-user through terminal server u components n XP (released Oct 2001) – update for 2000 replacement for 95/98 F hardware abstraction layer u simplifies user interface, improved reliability, performance F executive improvements, partial 64-bit support F environmental subsystems n versions F file system u desktop: XP personal – 95/98 replacement, professional – advanced features like POSIX support, some network features 1 u server: .NET – support for web/print service, clusters, large memory2 and multiple processors Design goals Components n XP is microkernel-based, modular n security – NT was C-2 certified (US
    [Show full text]
  • A Hardware Abstraction Layer in Java
    A Hardware Abstraction Layer in Java MARTIN SCHOEBERL Vienna University of Technology, Austria STEPHAN KORSHOLM Aalborg University, Denmark TOMAS KALIBERA Purdue University, USA and ANDERS P. RAVN Aalborg University, Denmark Embedded systems use specialized hardware devices to interact with their environment, and since they have to be dependable, it is attractive to use a modern, type-safe programming language like Java to develop programs for them. Standard Java, as a platform independent language, delegates access to devices, direct memory access, and interrupt handling to some underlying operating system or kernel, but in the embedded systems domain resources are scarce and a Java virtual machine (JVM) without an underlying middleware is an attractive architecture. The contribution of this paper is a proposal for Java packages with hardware objects and interrupt handlers that interface to such a JVM. We provide implementations of the proposal directly in hardware, as extensions of standard interpreters, and finally with an operating system middleware. The latter solution is mainly seen as a migration path allowing Java programs to coexist with legacy system components. An important aspect of the proposal is that it is compatible with the Real-Time Specification for Java (RTSJ). Categories and Subject Descriptors: D.4.7 [Operating Systems]: Organization and Design—Real-time sys- tems and embedded systems; D.3.3 [Programming Languages]: Language Classifications—Object-oriented languages; D.3.3 [Programming Languages]: Language Constructs and Features—Input/output General Terms: Languages, Design, Implementation Additional Key Words and Phrases: Device driver, embedded system, Java, Java virtual machine 1. INTRODUCTION When developing software for an embedded system, for instance an instrument, it is nec- essary to control specialized hardware devices, for instance a heating element or an inter- ferometer mirror.
    [Show full text]
  • Operating Systems Principles Design and Implementation Policies And
    Betriebssysteme ws2000/2001 Operating Systems Principles Design and Implementation Policies and Mechanisms S 2004 CS325 1 Textbook: L.Bic and A.C Shaw: "Operating Systems Principles" Other references: • A.S. Tanenbaum, „Modern Operating Systems“, Prentice-Hall • Other references – see web site: cs.nmt.edu/~cs325 S 2004 CS325 2 Prof. H. D. Clausen 1 Betriebssysteme ws2000/2001 Simple hardware configuration control CPU data addres s controller controller main memory device_1 device_2 user IO subsystem S 2004 CS325 3 Typical hardware configuration main CPU memory IOC IOC/PPU controller controller controller controller device device device S 2004 CS325 4 Prof. H. D. Clausen 2 Betriebssysteme ws2000/2001 Processor performance This chart plots relative performance as measured by the SPECint benchmarks with base of one being a VAX 11/780. S 2004 CS325 5 Memory cost Prices of DRAMs (from 16K bits to 64M bits) over time in 1977 dollars. S 2004 CS325 6 Prof. H. D. Clausen 3 Betriebssysteme ws2000/2001 API application program application support API SVC SysCall systems programs kernel programs SW CISC driver programs RISC HW S 2004 CS325 7 Principle of abstraction • Higher-level function: – Read( file, logical_block, main_memory ) • Lower-level functions – Calculate position of logical_block on the disk; – Move Read/Write head to corresponding track; – Check for „seek“ errors; – Read physical block; – Check for „read“ errors; – Copy block to main_memory; S 2004 CS325 8 Prof. H. D. Clausen 4 Betriebssysteme ws2000/2001 Principle of abstraction extended
    [Show full text]
  • Modeling of Hardware and Software for Specifying Hardware Abstraction
    Modeling of Hardware and Software for specifying Hardware Abstraction Layers Yves Bernard, Cédric Gava, Cédrik Besseyre, Bertrand Crouzet, Laurent Marliere, Pierre Moreau, Samuel Rochet To cite this version: Yves Bernard, Cédric Gava, Cédrik Besseyre, Bertrand Crouzet, Laurent Marliere, et al.. Modeling of Hardware and Software for specifying Hardware Abstraction Layers. Embedded Real Time Software and Systems (ERTS2014), Feb 2014, Toulouse, France. hal-02272457 HAL Id: hal-02272457 https://hal.archives-ouvertes.fr/hal-02272457 Submitted on 27 Aug 2019 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Modeling of Hardware and Software for specifying Hardware Abstraction Layers Yves BERNARD1, Cédric GAVA2, Cédrik BESSEYRE1, Bertrand CROUZET1, Laurent MARLIERE1, Pierre MOREAU1, Samuel ROCHET2 (1) Airbus Operations SAS (2) Subcontractor for Airbus Operations SAS Abstract In this paper we describe a practical approach for modeling low level interfaces between software and hardware parts based on SysML operations. This method is intended to be applied for the development of drivers involved on what is classically called the “hardware abstraction layer” or the “basic software” which provide high level services for resources management on the top of a bare hardware platform.
    [Show full text]
  • An Introduction to Copland the Mac™ OS Foundation for the Next Generation of Personal Computers
    An Introduction to Copland The Mac™ OS Foundation for the Next Generation of Personal Computers TM Copland is the development name for the next major release of the Mac™ OS from Apple® Computer, Inc. This document introduces Copland’s new architecture, its capabilities, and the benefits it will deliver to individuals and organizations. Product Primer Contents Welcome ..........................................................................................................................3 Introducing Copland: Foundation for the Future ........................................................4 Copland: The Next Step Toward Apple’s Vision for the Mac OS ......................................................4 Creating Copland: Apple’s Four-Point Plan for the Mac OS ..............................................................4 The Copland Advantage ......................................................................................................................5 Summary ................................................................................................................................................5 Setting New Standards for Ease of Use: The Copland User Interface ......................6 Automating Routine Tasks: From “Show Me” to “Do It for Me” ....................................................................6 Managing Information Overload......................................................................................................................7 Personalizing the Work Environment ..............................................................................................................7
    [Show full text]
  • W4118 Operating Systems OS Overview
    W4118 Operating Systems OS Overview Junfeng Yang Outline OS definitions OS abstractions/concepts OS structure OS evolution What is OS? A program that acts as an intermediary between a user of a computer and the computer hardware. User App stuff between OS HW Two popular definitions Top-down perspective: hardware abstraction layer , turn hardware into something that applications can use Bottom-up perspective: resource manager/coordinator , manage your computers resources OS = hardware abstraction layer standard library OS as virtual machine E.g. printf(hello world), shows up on screen App can make system calls to use OS services Why good? Ease of use : higher level of abstraction, easier to program Reusability : provide common functionality for reuse E.g. each app doesnt have to write a graphics driver Portability / Uniformity : stable, consistent interface, different OS/version/hardware look same E.g. scsi/ide/flash disks Why abstraction hard? What are the right abstractions ??? Too low level ? Lose advantages of abstraction Too high level? All apps pay overhead, even those dont need Worse, may work against some apps E.g. Database Next: example OS abstractions Two popular definitions Top-down perspective: hardware abstraction layer, turn hardware into something that applications can use Bottom-up perspective: resource manager/coordinator , manage your computers resources OS = resource manager/coordinator Computer has resources, OS must manage. Resource = CPU, Memory, disk, device, bandwidth, Shell ppt gcc browser System Call Interface CPU Memory File system scheduling management management OS Network Device Disk system stack drivers management CPU Memory Disk NIC Hardware OS = resource manager/coordinator (cont.) Why good? Sharing/Multiplexing : more than 1 app/user to use resource Protection : protect apps from each other, OS from app Who gets what when Performance : efficient/fair access to resources Why hard? Mechanisms v.s.
    [Show full text]
  • Mac OS X Server
    Mac OS X Server Version 10.4 Technology Overview August 2006 Technology Overview 2 Mac OS X Server Contents Page 3 Introduction Page 5 New in Version 10.4 Page 7 Operating System Fundamentals UNIX-Based Foundation 64-Bit Computing Advanced BSD Networking Architecture Robust Security Directory Integration High Availability Page 10 Integrated Management Tools Server Admin Workgroup Manager Page 14 Service Deployment and Administration Open Directory Server File and Print Services Mail Services Web Hosting Enterprise Applications Media Streaming iChat Server Software Update Server NetBoot and NetInstall Networking and VPN Distributed Computing Page 29 Product Details Page 31 Open Source Projects Page 35 Additional Resources Technology Overview 3 Mac OS X Server Introduction Mac OS X Server version 10.4 Tiger gives you everything you need to manage servers in a mixed-platform environment and to con gure, deploy, and manage powerful network services. Featuring the renowned Mac OS X interface, Mac OS X Server streamlines your management tasks with applications and utilities that are robust yet easy to use. Apple’s award-winning server software brings people and data together in innovative ways. Whether you want to empower users with instant messaging and blogging, gain greater control over email, reduce the cost and hassle of updating software, or build your own distributed supercomputer, Mac OS X Server v10.4 has the tools you need. The Universal release of Mac OS X Server runs on both Intel- and PowerPC-based The power and simplicity of Mac OS X Server are a re ection of Apple’s operating sys- Mac desktop and Xserve systems.
    [Show full text]
  • Operating Systems Basics • IOS Architecture Overview • Memory Organization • IOS Processes • IOS Kernel • Packet Buffer Management • Device Drivers
    Ch01i.book Page 2 Tuesday, June 13, 2000 2:43 PM This chapter covers the following key topics: • Operating Systems Basics • IOS Architecture Overview • Memory Organization • IOS Processes • IOS Kernel • Packet Buffer Management • Device Drivers Ch01i.book Page 3 Tuesday, June 13, 2000 2:43 PM C H A P T E R 1 Fundamental IOS Software Architecture If you were naming the most popular and widely used computer operating systems, which ones would you choose? Most likely, your list would contain names like UNIX, MS-DOS, Microsoft Windows, or even IBM’s MVS for mainframes. These are all well-known operating systems—you might even be using one on a computer at home. Now, think for a minute; are there any others? Would your list contain Cisco IOS? No, it probably wouldn’t, even though IOS is one of the most widely deployed operating systems in use today. Unlike the general-purpose operating systems just mentioned, many people never encounter IOS directly. Most who use a computer to access the Internet aren’t even aware IOS is behind the scenes. Even those who are aware of IOS, people who use it directly, often don’t consider it to be an operating system but instead just the software that runs Cisco routers. IOS might not run word processors or accounting applications like others on the list but it is still, in fact, an operating system—albeit, one specialized for switching data packets. As you will see, much of the IOS architecture is focused on switching packets as quickly and efficiently as possible.
    [Show full text]
  • Web Applications and the Hardware Abstraction Layer
    Web Applications Dilles, 09 Web Applications and the Evolution of the Hardware Abstraction Layer Jacob Dilles George Mason University March 15 2009 A computer is defined as a machine that manipulates data according to a list of instructions, however it has come to mean something more. Operating a modern Core class possessor that can perform 2.4 billion 64-bit operations per second (Intel Corporation, 2009) by listing one instruction at a time would not be very useful. However the first 1960 era computers, like the ENIAC, were only programmable with machine- code instructions entered by hand using switches and patch cables. This was not a significant problem at the time, when the longest program was 304 batch-operated instructions, took days to write and 5 to 10 seconds to run, and the punched card reader limited data input rate to 250 bytes per second. (Ballistic Research Laboratories, 1955). However computers grew more capable at an exponential rate while steadily decreasing in cost. By 1970 machines, like the relativity affordable DEC PDP-7 that were capable of fairly advanced timesharing, expedited the development of the operating system - an interface between the physical computer hardware and an abstract environment that allows more than one program to be run simultaneously. Due to the wide variety of hardware architecture at the time, early operating systems had to be written for a specific machine, and were not consistent or interchangeable between computer manufactures and models. In 1973 the Unix operating system developed at Bell Laboratories was ported from PDP-11/20 assembly to the C programming language, and 1 Web Applications Dilles, 09 could be used on any machine with a C compiler with minimal modification.
    [Show full text]