11. OCR A Level (H046-H446) SLR3 - 1.1 RAM and ROM

Craig'n'Dave
21 Aug 202009:34

Summary

TLDRThis video script explains the roles of RAM and ROM in a computer system. ROM, soldered to the motherboard, contains the initial instructions for hardware checks and loading the BIOS. It's non-volatile, retaining data when power is off. RAM, volatile and temporary, stores data and instructions for active programs. The script also details the boot process, starting from ROM's power-on self-test to loading the OS into RAM. It briefly touches on different ROM types, evolving from unchangeable to electrically erasable.

Takeaways

  • πŸ’Ύ The CPU fetches instructions from memory, which includes two main types: RAM and ROM.
  • πŸ”© ROM is a small piece of memory soldered to the motherboard and contains the first instructions for checking hardware and loading the BIOS.
  • πŸ“± ROM is also known as firmware and can be changed in some systems, like game cartridges.
  • πŸ’» RAM is a temporary storage for instructions and data for programs being executed by the processor.
  • πŸ–₯️ The operating system is stored on the hard disk but is transferred to RAM for faster execution.
  • πŸ”‘ ROM contains the bootstrap, a set of initial startup instructions, and is non-volatile, meaning it retains data when power is off.
  • πŸ”„ RAM, on the other hand, is volatile and loses its data when the computer is turned off.
  • πŸ› οΈ The POST (Power On Self Test) is one of the first instructions executed from ROM, checking the hardware and preparing the system to load the OS.
  • πŸ”„ The boot process involves loading the OS from the hard disk into RAM, which is managed by the BIOS and can be configured to check other drives.
  • πŸ“š There are different types of ROM that have evolved over time, from non-changeable to electrically erasable and programmable.

Q & A

  • What are the two main types of memory in a computer system?

    -The two main types of memory in a computer system are RAM (Random Access Memory) and ROM (Read-Only Memory).

  • What is ROM and where is it located in a computer system?

    -ROM (Read-Only Memory) is a small piece of memory soldered to the motherboard. It contains the initial instructions for the computer to check if the hardware is installed correctly and to load the basic input/output system.

  • What is the term for the initial instructions stored on ROM?

    -The initial instructions stored on ROM are also known as the bootstrap software or firmware.

  • How can ROM chips be changed in some computer systems?

    -In some computer systems, ROM chips can be changed to alter the program being executed, such as in game cartridges and portable entertainment systems.

  • What is RAM and what is its primary function?

    -RAM (Random Access Memory) is a temporary storage of instructions and data for programs being executed by the processor. Its primary function is to hold data that is in use by the computer's CPU, including the operating system.

  • Why is RAM used instead of directly executing instructions from the hard disk?

    -RAM is used instead of directly executing instructions from the hard disk because accessing data from the hard disk is too slow. Instructions are transferred from the disk to the memory first for faster processing.

  • What is the role of ROM during the initial startup of a computer?

    -During the initial startup of a computer, ROM provides the bootstrap, a set of initial startup instructions that are read-only and have been burnt onto it during the manufacturing stage.

  • What is the difference between ROM and RAM in terms of volatility?

    -ROM is non-volatile, meaning the instructions remain even when the computer loses power. RAM, on the other hand, is volatile, and the instructions are lost when the computer is turned off.

  • What is the Power On Self Test (POST) and its role in booting up a computer?

    -The Power On Self Test (POST) is a program that runs when a computer first turns on. It is responsible for sending signals to all connected components, checking their functionality, and informing the CPU of their existence.

  • How does a computer know to load the operating system from the hard drive?

    -A computer knows to load the operating system from the hard drive after the POST checks are completed. The ROM passes the first set of instructions to the CPU, which then loads the operating system into RAM.

  • What are the different types of ROM and how have they evolved?

    -The different types of ROM include ROM (Read-Only Memory), PROM (Programmable Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), and EEPROM (Electrically Erasable Programmable Read-Only Memory). They have evolved from being completely unchangeable to being changeable with special tools or electrically without removal.

Outlines

00:00

πŸ’Ύ Understanding ROM and RAM

This paragraph explains the roles of ROM (Read-Only Memory) and RAM (Random Access Memory) in a computer system. ROM is a small, non-volatile memory chip soldered to the motherboard that contains the initial instructions for checking hardware and loading the basic input/output system, also known as firmware. These instructions are crucial for the computer's startup process. RAM, on the other hand, is a volatile storage used for temporarily holding instructions and data for the processor. It's faster than accessing the hard disk directly, which is why operating systems and currently running programs are loaded into RAM. The paragraph also describes the process of a computer booting up, starting with ROM's bootstrap instructions, which initiate the power-on self-test (POST) to check connected components and prepare the system to load the operating system into RAM.

05:01

πŸ”§ Deep Dive into Computer Boot Process and ROM Types

The second paragraph delves deeper into the computer's boot process, explaining how the BIOS (Basic Input/Output System) stored on the ROM or a CMOS RAM is combined with the BIOS on the hard disk to form the boot file, which is then sent to the main memory. It discusses how the operating system takes control, searches for configuration files, and eventually fully boots up, taking over the computer. The paragraph also explores the evolution of ROM types, starting from the original ROM that was unchangeable after manufacturing, to P-ROM (Programmable ROM) that could be programmed once, and EPROM (Erasable Programmable ROM) that could be erased and reprogrammed with UV light. The latest types, EEPROM (Electrically Erasable Programmable ROM), allow for in-situ reprogramming without special equipment. The paragraph concludes by emphasizing the importance of understanding the complexity of the boot process and the nuances of ROM technology.

Mindmap

Keywords

πŸ’‘Central Processing Unit (CPU)

The CPU is the primary component of a computer that performs most of the processing inside the computer. It fetches instructions from memory and executes them. In the context of the video, the CPU begins its operation by accessing the ROM to initiate the boot process. The CPU is central to the computer's operation, as it is responsible for executing the instructions that allow the computer to function.

πŸ’‘Memory

Memory refers to the computer's storage components that hold data temporarily. The video discusses two primary types of memory: RAM and ROM. Memory is integral to the computer's operation as it allows for the storage and retrieval of data that the CPU processes.

πŸ’‘Read-Only Memory (ROM)

ROM is a type of non-volatile memory used in computers and other electronic devices. It contains data that is permanently stored even when the system is powered off. The video explains that ROM holds the bootstrap software, which includes the initial startup instructions for the computer. An example given is game cartridges, which use ROM to store game data.

πŸ’‘Random Access Memory (RAM)

RAM is a type of volatile memory used to store data that is being used by the computer. The video emphasizes that RAM is where the operating system and currently running programs are held, as accessing data from the hard drive directly would be too slow. RAM is central to the video's theme as it illustrates the temporary storage needed for the computer's operation.

πŸ’‘Bootstrap Software

Bootstrap software, also known as firmware, is the first software that runs when a computer starts up. It is stored in ROM and is responsible for performing hardware checks and loading the basic input/output system. The video describes the bootstrap software as a critical part of the computer's initial startup sequence.

πŸ’‘Firmware

Firmware refers to the low-level software that provides control for the device's specific hardware. In the video, firmware is mentioned as the software stored on ROM, which is used to check the hardware and load the operating system. It is an essential component in the boot process of a computer.

πŸ’‘Non-Volatile

Non-volatile memory refers to storage technologies that retain data even when not powered. ROM is described as non-volatile in the video, meaning the instructions within it remain intact even when the computer is turned off, which is crucial for the computer's boot process.

πŸ’‘Volatile

Volatile memory is a type of storage that loses its data when the power is turned off. RAM is highlighted as a volatile storage medium in the video, which means that any data stored in RAM is lost when the computer is powered down, emphasizing the need for a non-volatile storage like ROM for critical startup instructions.

πŸ’‘Power On Self Test (POST)

POST is a series of tests run by the computer when it is powered on to check the integrity of its hardware. The video explains that one of the first instructions passed from ROM to the CPU is POST, which is responsible for sending signals to connected components to check their functionality. POST is a critical part of the boot process described in the video.

πŸ’‘Hard Drive

A hard drive is a non-volatile storage device that stores and retrieves digital information using magnetic storage. The video mentions that while the hard drive is a long-term storage solution, it is too slow for the CPU to execute instructions directly from it, hence the need for RAM to temporarily hold data for processing.

πŸ’‘BIOS

BIOS stands for Basic Input/Output System. It is firmware that is stored on a chip on the motherboard and is the first software the CPU accesses when the computer is turned on. The video discusses how BIOS works in conjunction with the bootstrap software in ROM to initiate the boot process, including checking for BIOS on the hard disk or CMOS RAM.

Highlights

The CPU fetches instructions from memory.

There are two main types of memory in a computer system: RAM and ROM.

ROM is a small piece of memory soldered to the motherboard.

ROM contains the first instructions for checking hardware and loading the BIOS.

The instructions on ROM are also known as bootstrap software or firmware.

Some ROM chips can be changed to update the program being executed.

RAM is a temporary storage for instructions and data for programs being executed.

RAM holds the operating system when the computer is running.

The computer's initial startup instructions are stored in ROM and are non-volatile.

RAM is volatile, and its contents are lost when the computer is turned off.

The bootstrap in ROM initiates the computer boot process.

The POST (Power-On Self-Test) is one of the first instructions executed by the CPU.

The BIOS is loaded into RAM from the hard disk after POST.

The operating system is stored on the hard disk but loaded into RAM for execution.

The computer's BIOS can be configured to check other drives first for booting.

The operating system takes control after being loaded into RAM.

Different types of ROM have evolved over time, from ROM to EEPROM.

EEPROM allows for electrical erasing and reprogramming without removal from the computer.

Transcripts

play00:01

the central processing unit fetches

play00:03

instructions from memory

play00:05

there are two main types of memory in a

play00:06

computer system also known as primary

play00:08

storage

play00:10

in this video we explore ram and rom

play00:17

[Music]

play00:20

the rom is a small piece of memory

play00:23

soldered to the motherboard

play00:25

it contains the very first instructions

play00:27

for the computer

play00:28

to check the hardware's installed

play00:30

correctly and to load the basic

play00:32

input output system these very first

play00:36

instructions are also known

play00:37

as the bootstrap software stored on the

play00:40

rom is referred to as firmware

play00:43

in some computer systems rom chips can

play00:45

be changed in order to change the

play00:47

program being executed

play00:49

an example of this are game cartridges

play00:51

and portable entertainment systems

play00:56

the ram is a temporary storage of

play00:58

instructions and data for programs

play01:00

that are being executed by the processor

play01:04

although the long term storage is

play01:05

usually on the hard disk it would be too

play01:07

slow to execute instructions from there

play01:10

therefore they're transferred from the

play01:12

disk to the memory first

play01:14

the ram also holds the operating system

play01:17

when the computer is running

play01:21

here we see four important internal

play01:24

components of a computer system

play01:26

rom the cpu ram and a hard drive of some

play01:29

description

play01:32

when your computer very first turns on

play01:34

and receives power

play01:35

there are no instructions in the cpu

play01:38

what it needs to do is load the

play01:40

operating system so you can start using

play01:42

it

play01:44

of course the problem with this is that

play01:45

the operating system is stored

play01:47

on the hard drive and at the moment your

play01:50

computer turns on

play01:52

it doesn't even know the hard drive

play01:53

exists let alone that it should look

play01:56

there

play01:56

to find the operating system and load it

play01:59

into ram

play02:02

the solution as explained earlier is rom

play02:06

it contains the bootstrap a set of

play02:09

initial

play02:09

startup instructions placed on it during

play02:11

manufacturing

play02:14

the rom essentially contains a fixed set

play02:17

of instructions which are read-only

play02:19

and have been burnt onto it during the

play02:21

manufacturing stage

play02:23

now the important thing to note here is

play02:25

that rom is what is known

play02:27

as non-volatile and that means when the

play02:29

computer uses

play02:30

power the instructions in it remain

play02:34

now this is very different from ram

play02:36

which is a volatile storage medium

play02:38

when the computer is turned off or the

play02:40

instructions are lost

play02:43

this means when your computer boots up

play02:45

it can go to rom

play02:46

find this set of initial startup

play02:48

instructions and begin the process of

play02:50

booting up your computer

play02:53

one of the first set of instructions

play02:55

passed from rom to the cpu

play02:57

is what's known as the power on self

play02:59

test or

play03:00

post this program is responsible for

play03:03

sending

play03:04

signals to all the various connected

play03:05

components it wakes them up it checks

play03:08

their working

play03:09

and essentially tells the cpu that these

play03:11

other devices

play03:12

exist

play03:16

now our computer is aware of the hard

play03:18

drive and the software stored on it

play03:20

it can go ahead and load these

play03:22

instructions into ram

play03:23

and start the process of booting up your

play03:26

operating system

play03:30

so having watched this video you should

play03:31

be able to answer the following key

play03:33

question

play03:34

what are the characteristics of rom and

play03:36

ram

play03:38

so that's where the specification ends

play03:40

you can stop taking notes

play03:42

but if you'd like a little bit of a

play03:43

deeper understanding of how your

play03:45

computer

play03:46

actually boots up and some of the

play03:47

different types of rom that are actually

play03:49

in use today

play03:51

then carry on watching so what actually

play03:54

happens the moment your computer turns

play03:56

on

play03:56

right up to the point where you are in

play03:58

your operating system and have control

play04:02

well let's step through and have a look

play04:04

well first of all we know the only place

play04:06

where instructions can be fetched from

play04:08

initially

play04:08

is the rom as this is read-only memory

play04:11

and has the set of initial startup

play04:13

instructions

play04:13

written into it at the manufacturing

play04:15

stage nothing exists in ram at this

play04:18

point

play04:18

and indeed as we said earlier the

play04:20

computer isn't even aware your hard

play04:21

drive exists

play04:24

one of the first things your rom does is

play04:26

run the power on self-test

play04:28

it checks that all the required

play04:30

components are present

play04:31

and are available it actually clears

play04:35

anything

play04:36

that may still be in the registers of

play04:37

the cpu now of course

play04:39

these are volatile there would be

play04:40

nothing here but it's a safety step

play04:42

that's done anyway

play04:45

it loads the address of the first

play04:48

instruction

play04:49

in the boot program into the program

play04:51

counter

play04:54

at this point control is now passed to

play04:56

the bootloader program

play04:57

also known as the bootstrap which

play04:59

carries out its

play05:00

own checks on the hardware

play05:04

it checks for any bios on the hard disk

play05:07

or a storage device called a cmos ram

play05:10

and bios is something we look at in more

play05:12

detail in a later video

play05:18

it combines this with the basic bios

play05:20

stored on the rom

play05:22

and then sends this to main memory

play05:27

this file of information is known as the

play05:29

boot file

play05:33

the computer is now essentially ready to

play05:35

load up your operating system

play05:39

now the operating system is normally

play05:41

found on the hard disk

play05:43

but the computer's bios can be

play05:45

configured in such a way

play05:46

so it can be changed to check other

play05:48

drives first

play05:50

this will allow you for example to boot

play05:52

a computer which has become corrupt

play05:54

off a usb pen or an optical drive

play06:00

the operating system itself is now

play06:01

starting to take control

play06:03

it searches for various other files for

play06:05

example a config.sys

play06:07

it tells it how many files can be opened

play06:09

at the time which device drivers to load

play06:15

the operating system may look for

play06:16

additional files for example command.com

play06:19

which contains additional information

play06:20

about bios and various

play06:22

operating system utilities

play06:26

eventually the operating system is now

play06:28

fully booted up and takes control of the

play06:30

computer

play06:31

the memory and loading jobs into the

play06:34

processor

play06:35

this is the point where you're able to

play06:36

take over

play06:39

now this process here is still highly

play06:41

abstracted

play06:42

and indeed it'll be different depending

play06:44

on the actual system you're using

play06:46

some of the files for example we've

play06:47

referred to on the right like config.sys

play06:50

and command.com

play06:51

are typical for a windows boot up system

play06:54

but not necessarily applicable to others

play06:56

but it gives you an idea of the complex

play06:58

nature of tasks that has to go on

play07:01

when your computer is first powered up

play07:02

before you're able to gain control

play07:08

now earlier in the video we talked about

play07:11

rom and we said it was read only

play07:14

but there are different types of rom and

play07:16

they've evolved over time

play07:18

they all share a couple of things in

play07:20

common they're non-volatile

play07:22

and all the data is either completely

play07:24

unchangeable meaning it's read-only

play07:26

or it's changeable but requires a

play07:28

special operation to do so

play07:31

so the earliest version was simply

play07:33

called rom read-only memory

play07:36

the programming of data for the rom had

play07:38

to be complete when the chip was

play07:40

actually created and manufactured

play07:42

and it couldn't be reprogrammed or ever

play07:45

rewritten

play07:48

an evolution of this was then called

play07:50

p-rom or programmable read-only memory

play07:54

as the name suggests this memory was

play07:57

able to be purchased

play07:58

from the manufacturer and then coded

play08:01

once with a special tool known as a

play08:03

programmer

play08:04

this was known as burning the prom this

play08:07

meant that the manufacturer could

play08:08

actually release

play08:09

blank roms

play08:14

a further evolution was a raisable

play08:17

programmable read-only memory now these

play08:20

were the first roms which could be

play08:21

rewritten

play08:22

many times however erasing them required

play08:26

a special tool

play08:27

that omitted a very certain frequency of

play08:29

uv light

play08:30

and the rom would actually have to be

play08:32

removed from the device

play08:33

before it could be erased and

play08:34

reprogrammed

play08:39

some of the latest evolution of roms are

play08:42

the electrical

play08:43

erasable programmable read-only memory

play08:47

now this chip doesn't have to be removed

play08:49

from the computer in order to have its

play08:50

contents rewritten

play08:52

the entire chip also doesn't need to be

play08:55

completely erased

play08:57

to change the specific portion of it and

play09:00

also changing the contents does not

play09:02

require any specialist equipment

play09:05

now as we said for your exam you should

play09:07

simply think of rom

play09:08

as being read-only and unchangeable

play09:12

but it's useful to understand that even

play09:14

in this area of technology things aren't

play09:15

that simple

play09:22

[Music]

play09:34

you

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
Computer MemoryRAMROMBooting ProcessHardware CheckFirmwareBootstrap SoftwareNon-Volatile StorageVolatile StorageMotherboardOperating System