Leanpub Header

Skip to main content

Computer Systems

Incremental Systems Engineering

Have you ever wondered exactly how a computer system works? Concerned the inner workings of computers are too complicated to understand? Journey deep into the heart of computer systems by first learning how a computer "thinks" and then using that knowledge to bring computer hardware to life with software. No experience necessary!

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
226
Pages
About

About

About the Book

Ride the wave of your life through the inside of a computer atop your software surfboard! This incremental introduction to computer systems starts with binary numbers and leads the reader through the entire process of bringing computer hardware to life with software. Starting with an introduction to hardware architecture, the book evolves into an overview of software languages. From the assembly language that hardware understands, to the human understandable C language.

Showcasing the best practices of system software design, debugging and organization, this journey leads the reader through the process of creating a software interface to hardware LED, timer and serial communications devices. Combining the previous software building blocks the journey leads to understanding and creating a historic transfer protocol in order to finish the bootloader. Each chapter and section builds upon the last as the reader incrementally creates a system software ecosystem.

The journey concludes with the creation of an operating system, video screen console and video game with animation. Each chapter introduces more complex data structures and algorithms which are used to solve real problems. It is recommended to read and participate in the laboratory chapter after reading each chapter of this book for the most realistic journey into the heart of a computer.

Price

Pick Your Price...

Minimum price

$7.99

$14.99

You pay

$14.99

Author earns

$11.99
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Sean Lawless

As a lifelong software developer and a professional systems engineer for over 15 years, I have been exposed to it all; the good, the bad and the ugly. As I grew older and became a father I searched for books to help explain system engineering to a younger audience. I was not satisfied with what was available so I became an author in an attempt to give back. My works are dedicated to all the unknown, unrecognized and disenfranchised scientists and engineers of the past, present and future.

Contents

Table of Contents

Chapter 1: Binary Computers

  1. 1.1 Introduction
  2. 1.2 Binary Numbers
  3. 1.3 Large Binary Numbers
  4. 1.4 Binary Computers
  5. 1.5 Bit Manipulation
  6. Chapter 1 Glossary
  7. Chapter 1 Exercises

Chapter 2: Machine Language

  1. 2.1 Algorithms and Machine Language
  2. 2.2 Bit Endianess
  3. 2.3 Assembly Language
  4. 2.4 Create a Program in Assembly Language
  5. 2.5 Variable sizes and roll over
  6. 2.6 Branching and Loops in Assembly Language
  7. Chapter 2 Glossary:
  8. Chapter 2 Exercises:

Chapter 3: Compiled Systems

  1. 3.1 Origin of the C Language
  2. 3.2 C Language Basics
  3. 3.3 C Language Data Types and Sizes
  4. 3.4 C Language Math and Bit Manipulation
  5. 3.5 C Language Functions
  6. 3.6 C Language Organization
  7. 3.7 The C main() function
  8. 3.8 C Language Variable Scope and Volatility
  9. Chapter 3 Glossary:
  10. Chapter 3 Exercises:

Chapter 4: System Architecture

  1. 4.1 Address Space and Software Memory Map
  2. 4.2 Memory Address and Pointers
  3. 4.3 Using C Pointers with Peripheral Registers
  4. 4.4 Create Software with an Editor and Compiler
  5. 4.5 Creating an Executable with the Linker
  6. 4.6 Configuring General Purpose Input Output (GPIO) pins
  7. 4.7 Debugging
  8. Chapter 4 Glossary:
  9. Chapter 4 Exercises:

Chapter 5: Timer Design

  1. 5.1 Hardware Clocks
  2. 5.2 System Software for Hardware Clocks
  3. 5.3 Software Interface for Clocks
  4. 5.4 Software timer uses
  5. 5.5 Building Software with Make
  6. 5.6 Project Management
  7. 5.7 System Software Organization
  8. Chapter 5 Glossary:
  9. Chapter 5 Exercises:

Chapter 6: Universal Asynchronous Receiver Transmitter (UART)

  1. 6.1 UART Introduction
  2. 6.2 UART Hardware
  3. Important
  4. 6.3.1 Configure the Development PC
  5. 6.3.2 Configure the System Software
  6. 6.4 Send Data with Software
  7. 6.5 Receive data with Software
  8. 6.6 System Shell
  9. Chapter 6 Glossary:
  10. Chapter 6 Exercises:

Chapter 7: Boot Loader and Xmodem

  1. 7.1 Boot Loader Design
  2. 7.2 RAM Layout Overview
  3. 7.3 Xmodem Protocol
  4. 7.4 Memory and String Interface
  5. 7.5 Xmodem Receiver Software
  6. 7.6 UART Flush
  7. 7.7 Xmodem Boot Loader
  8. 7.8 Standard Input Output
  9. Chapter 7 Glossary:
  10. Chapter 7 Exercises:

Chapter 8: Operating Systems

  1. 8.1 Operating System Design
  2. 8.2 Periodically Executed Tasks
  3. 8.3 Periodically Executed Task Scheduler
  4. 8.4 System Shell Periodic Task
  5. 8.5 Periodic Shell Command Execution
  6. 8.6 System Software Organization
  7. Chapter 8 Glossary:
  8. Chapter 8 Exercises:

Chapter 9: Frame Buffer

  1. 9.1 Frame Buffer Design Overview
  2. 9.2 Transactions
  3. 9.3 GPU and Mail boxes
  4. 9.4 Properties and Screen Resolution
  5. 9.5 Frame buffers
  6. 9.6 Pixel Colors
  7. 9.7 Screen Interface
  8. 9.8 Screen Device
  9. Chapter 9 Glossary:
  10. Chapter 9 Exercises:

Chapter 10: Console

  1. 10.1 Console Design Overview
  2. 10.2 Character Font Maps
  3. 10.3 Cursors and lines of text
  4. 10.4 Scrolling Lines of Text
  5. 10.5 Static Windowing
  6. 10.6 Optimizing memory copy
  7. Chapter 10 Glossary:
  8. Chapter 10 Exercises:

Chapter 11: Video Games

  1. 11.0 Why Video Games?
  2. 11.1 Grid of Tiles Design Overview
  3. 11.2 Linked Lists and Inline Functions
  4. 11.3 Game Grid
  5. 11.4 Sprites and Movement
  6. 11.5 Player Interface
  7. 11.6 Randomness
  8. 11.7 Game Logic
  9. 11.8 Ray Casting Tiles
  10. Chapter 11 Glossary:
  11. Chapter 11 Exercises:

Chapter 12: Animation

  1. 12.1 Structure Up and Down Casting
  2. 12.2 Timer Scheduler
  3. 12.3 Animation
  4. 12.4 Sprite Actions
  5. 12.5 Game Rounds
  6. Chapter 12 Glossary:
  7. Chapter 12 Exercises:

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub