KR940011042B1 - Memory unit using banking program - Google Patents

Memory unit using banking program Download PDF

Info

Publication number
KR940011042B1
KR940011042B1 KR1019870004670A KR870004670A KR940011042B1 KR 940011042 B1 KR940011042 B1 KR 940011042B1 KR 1019870004670 A KR1019870004670 A KR 1019870004670A KR 870004670 A KR870004670 A KR 870004670A KR 940011042 B1 KR940011042 B1 KR 940011042B1
Authority
KR
South Korea
Prior art keywords
rom
program
ram
signal
output
Prior art date
Application number
KR1019870004670A
Other languages
Korean (ko)
Other versions
KR880014476A (en
Inventor
조일석
김희용
Original Assignee
삼성전자 주식회사
안시환
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사, 안시환 filed Critical 삼성전자 주식회사
Priority to KR1019870004670A priority Critical patent/KR940011042B1/en
Publication of KR880014476A publication Critical patent/KR880014476A/en
Application granted granted Critical
Publication of KR940011042B1 publication Critical patent/KR940011042B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B7/00Recording or reproducing by optical means, e.g. recording using a thermal beam of optical radiation by modifying optical properties or the physical structure, reproducing using an optical beam at lower power by sensing optical properties; Record carriers therefor

Abstract

The memory device executes a large program with small memory by dividing programs and recording them in several ROMs, saving necessary program to RAMs and directly accessing program from ROM. The device comprises (A) ROM (10) saving banking program and module program; (B) ROM choice controller (20) and RAM (30) transferred from ROM program; (C) RAM output controller (40); (D) buffer (50).

Description

뱅킹 프로그램을 이용한 메모리장치.Memory device using banking program.

제 1 도는 종래의 메모리 구성도.1 is a conventional memory configuration diagram.

제 2 도는 본 발명의 구체회로도.2 is a detailed circuit diagram of the present invention.

제 3 도는 본 발명의 메모리 구성도.3 is a memory diagram of the present invention.

제 4 도는 본 발명의 흐름도4 is a flow chart of the present invention

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

10 : 롬 20 : 롬 선택 제어부10: ROM 20: ROM selection control unit

30 : 램 40 : 램 출력 제어부30: ram 40: ram output control unit

50 : 버퍼50: buffer

본 발명은 컴퓨터의 메모리장치에 관한 것으로 특히 뱅킹 프로그램을 이용하여 필요시 해당 롬을 선택한 후 프로그램을 수행하므로써 램의 영역을 효율적으로 이용할 수 있는 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory device of a computer, and more particularly, to an apparatus capable of efficiently using a RAM area by selecting a corresponding ROM when necessary using a banking program and executing a program.

일반적으로 롬(ROM : Read Only Memory)과 램(RAM : Random Access Memory)의 특성에 의해 프로그램 수행시 롬에 기억된 프로그램을 램에 라이트하여 해당 프로그램을 진행하여 왔다.In general, the program stored in the ROM has been written to the RAM when the program is executed due to the characteristics of a read only memory (ROM) and a random access memory (RAM).

즉 제 1 도와 같이 중앙처리장치(이하 CPU라 칭한다)에서 롬의 프로그램을 리드한 후 램의 해당 어드레스에 라이트하여 램에서 모든 프로그램을 수행한다.That is, as shown in FIG. 1, the central processing unit (hereinafter referred to as CPU) reads the program of the ROM, writes it to the corresponding address of the RAM, and executes all programs in the RAM.

그러나 제 1 도와 같이 롬과 램의 어드레스가 중복되어 롬의 프로그램이 커지면 상대적으로 사용자가 사용할 수 있는 램의 영역이 적어지게 되며 극단적으로 롬의 프로그램이 램의 메모리 영역보다 클 경우 프로그램의 수행이 불가능해지는 문제점이 있었다. 따라서 본 발명의 목적은 뱅킹 프로그램을 이용하여 롬의 프로그램이 커지더라도 적절한 사용자 영역을 제공하여 프로그램을 수행할 수 있는 메모리장치를 제공함에 있다.However, as in the first diagram, when the address of ROM and RAM is overlapped, the program of ROM becomes smaller and the area of RAM that user can use is relatively small. In the extreme, if the program of ROM is larger than RAM, the program cannot be executed There was a problem with getting lost. Accordingly, an object of the present invention is to provide a memory device capable of executing a program by providing an appropriate user area even if a program of a ROM grows using a banking program.

이하 본 발명을 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the drawings.

제 2 도는 본 발명의 구체 논리도로서 제 1 롬(11) 및 제 2 롬(12)으로 구성되어 뱅킹 프로그램 및 모듈(module) 프로그램을 저장하고 있는 롬(10)과 노아게이트(G1), 오아게이트(G2-G3)와 래치(F1)로 구성되어 도시하지 않은 CPU의 제어에 의해 롬(10)의 출력을 선택제어하는 롬 선택 제어부(20)와, CPU의 제어에 의해 상기 롬(10)의 프로그램을 기록한 후 해당 프로그램을 수행하는 램(30)과, 낸드게이트(G4)와 오아게이트(G5-G6)로 구성되어 상기 롬 선택 제어부(20)의 출력을 입력하여 논리 조합한 후 상기 램(30)의 출력 제어신호를 출력하는 램 출력 제어부(40)와, 상기 램(30)의 출력을 입력하여 완충한 후 상기 램 출력 제어부(40)의 소정 출력에 의해 인에이블되는 버퍼(50)로 구성되며 제 3 도는 본 발명에 의해 메모리의 구성도이며 제 4 도는 본 발명을 따른 흐름도이다.FIG. 2 is a detailed logic diagram of the present invention, which includes a first ROM 11 and a second ROM 12 that store a banking program and a module program, and a ROM 10 and a no-gate G 1 . A ROM selection control unit 20 composed of an oragate G 2 -G 3 and a latch F 1 to selectively control the output of the ROM 10 by the control of a CPU (not shown); After the program of the ROM 10 is recorded, the RAM 30 is configured to execute the corresponding program, and the NAND gate G 4 and the OA gate G 5 -G 6 are configured to input the output of the ROM selection controller 20. After the logical combination, the RAM output control unit 40 for outputting the output control signal of the RAM 30, the output of the RAM 30 is input and buffered by a predetermined output of the RAM output control unit 40 3 is a block diagram of a memory according to the present invention, and FIG. 4 is a flowchart according to the present invention. The.

상술한 구성에 의거 본 발명을 제 2,3,4 도를 참조하여 상세히 설명한다.Based on the above configuration, the present invention will be described in detail with reference to FIGS.

제 2 도에는 CPU와 CPU의 데이타 및 어드레스 버스가 도시되어 있지 않으며 제 1 롬(11)에는 점프 테이블(JUMP TABLE)이 있으며 각각의 점프 루틴(Jump routine)에는 모듈(module)화된 프로그램이 기록되어 있고 제 2 롬(12)에는 일반적인 프로그램이 기록되어 있으며 또한 제 1 롬(11)에는 뱅킹 프로그램을 기록되어 있다고 가정한다.In FIG. 2, the CPU and the data and address buses of the CPU are not shown. In the first ROM 11, there is a jump table, and each jump routine records a module-programmed program. It is assumed that a general program is recorded in the second ROM 12 and a banking program is recorded in the first ROM 11.

초기에 전원이 들어오면(Power on) 리세트 신호가 래치(F1)에 입력되어 래치(F1)가 클리어되며 "로우"신호를 출력한다. 앤드게이트(G2)의 입력은 CPU에서 출력하는 소정 어드레스 및 리드

Figure kpo00001
신호와 상기 래치(F1)의 신호이므로 초기에 앤드게이트(G2)는 "로우"신호를 출력하여 제 1 롬(11)을 선택한다.When power is initially (Power on) the reset signal is input to the latch (F 1) the latch (F 1) that is clear and outputs a "low" signal. The input of the AND gate G 2 is a predetermined address and read output from the CPU.
Figure kpo00001
The AND gate G 2 initially selects the first ROM 11 by outputting a "low" signal since it is a signal and a signal of the latch F 1 .

이때 제 3 도와 같이 제 1 롬(11) 및 제 2 롬(12)의 프로그램 데이타를 램(30)에 라이트할 경우 우선 제 2 롬(12)의 프로그램 데이타를 램(30)에 로드(load)한다. 즉 래치(F1)의 프리세트 단자에 "로우"신호

Figure kpo00002
Figure kpo00003
를 인가하면 래치(F1)가 "하이"신호로 천이되어 제 1 롬(11)을 오프시키고 CPU의 소정 어드레스 신호와 리드
Figure kpo00004
신호를 입력하고 있는 오아게이트(G3)에 제 2 롬(12)의 제어신호인 "로우"신호를 인가하면 오아게이트(G3)의 출력은 "로우"신호가 도어 제 2 롬(20)이 선택되며 메모리 요구 신호
Figure kpo00005
와 리드 신호
Figure kpo00006
에 의해 제 2 롬(12)의 프로그램 데이타를 리드하여 램(30)의 해당 어드레스 라이트 시킨다.aAt this time, when the program data of the first ROM 11 and the second ROM 12 is written to the RAM 30 as shown in the third diagram, the program data of the second ROM 12 is first loaded into the RAM 30. do. That is, a "low" signal to the preset terminal of the latch (F 1 )
Figure kpo00002
Figure kpo00003
When latch is applied, the latch F 1 transitions to the "high" signal to turn off the first ROM 11 and read the predetermined address signal of the CPU.
Figure kpo00004
If a "low" signal is the control signal of the second ROM 12 to the Iowa gate (G 3), which input signals applied Iowa output of the gate (G 3) is "low" signal of the door second ROM 20 Is selected and the memory request signal
Figure kpo00005
And lead signal
Figure kpo00006
The program data of the second ROM 12 is read out so that the corresponding address of the RAM 30 is written.

두번째로 제 1 롬(11)의 프로그램 데이타를 램(30)에 로드하는 과정은 제 2 롬(12)의 이동이 종료되면 제 2 롬(20)의 제어신호를 "하이"로 하여 오아게이트(G3)의 출력을 "하이"신호로 천이시키므로서 제 2 롬(12)을 오프시킨다.Secondly, the program data of the first ROM 11 is loaded into the RAM 30. When the movement of the second ROM 12 is completed, the control signal of the second ROM 20 is set to "high" and the oragate ( The second ROM 12 is turned off by transitioning the output of G 3 ) to a "high" signal.

또한 제 1 롬(11)의 온 신호인 "로우"신호를 로드하여 노아게이트(G1)에 입력하면 노아게이트(G1)은 "하이"신호로 천이되어 래치(F1)의 클럭단에 인가되며 래치(F1)는 노아게이트(G1)의 "하이"출력에 의해 "로우"신호를 래치 출력하에 제 1 롬(11)을 칩 인에이블(Chip enable)시킨 다음 필요한 제 1 롬(11)의 프로그램을 해당 램(30)의 어드레스에 옮겨 놓으며 (나)이 과정이 끝나면 뱅킹 프로그램(Banking program)도 상기와 같은 방법으로 램(30)의 필요한 부분에 옮겨 놓는다. (다)In addition to the clock terminal of the first ROM by loading an on-signal is "low" signal on the input to the NOR gate (G 1), NOR gate (G 1) of 11 is shifted to the "high" signal latch (F 1) The latch F 1 is applied by the "high" output of the nodal gate G 1 to chip enable the first ROM 11 under the latch output and then the required first ROM ( The program of 11) is transferred to the address of the corresponding RAM 30. (B) After this process, the banking program is also transferred to the required portion of the RAM 30 in the same manner as described above. (All)

상술한 과정((가)(나)(다)의 과정)을 완료한 후 제 1 롬(11) 및 제 2 롬(12)을 오프시키고 램(30)에 저장된 데이타를 리드 혹은 라이트하며 프로그램을 수행한다.After completing the above-mentioned process (a) (b) (c), the first ROM 11 and the second ROM 12 are turned off, and the data stored in the RAM 30 is read or written. Perform.

즉 제 1 롬(11)과 제 2 롬(12)이 오프되면 낸드게이트(G4)의 두입력은 "하이"신호이므로 낸드게이트(G4)의 출력은 "로우"신호가 되어 상기 램(40)의 출력을 입력하는 버퍼(50)의 인에이블 신호로 인가되므로 램(30)의 데이타가 CPU의 리드 및 메모리 요구 신호에 의해 출력된다.That is, when the first ROM 11 and the second ROM 12 are turned off, since the two inputs of the NAND gate G 4 are the “high” signals, the output of the NAND gate G 4 becomes the “low” signal, and thus the RAM ( Since the output of 40 is applied to the enable signal of the buffer 50, the data of the RAM 30 is output by the read and memory request signals of the CPU.

램(40)의 프로그램 수행시 제 1 롬(11)의 프로그램이 필요할 경우가 발생하면 현재 수행중인 프로그램을 CPU의 레지스터에 저장하고 제 1 롬(10)을 "온"시킨다.When a program of the first ROM 11 is required when the program of the RAM 40 is executed, the program currently being executed is stored in a register of the CPU and the first ROM 10 is turned on.

따라서 래치(F1)의 출력이 "로우"신호가 되어 오아게이트(G2) 역시 "로우"신호가 되므로 제 1 롬(11)이 칩 인에이블 되며 낸드게이트(G4)는 "하이"신호를 출력하여 버퍼(50)를 디스에이블 시킨다.Therefore, since the output of the latch F 1 becomes a "low" signal and the oragate G 2 also becomes a "low" signal, the first ROM 11 is chip-enabled and the NAND gate G 4 is a "high" signal. Outputs the buffer 50 to disable.

이때 CPU는 제 1 롬(10)의 점프 테이블값을 갖고 뱅킹 프로그램을 콜(CALL)하여 해당 점프 테이블 프로그램을 수행된다.At this time, the CPU has a jump table value of the first ROM 10 and calls the banking program to execute the corresponding jump table program.

이때 제 1 롬(11)의 프로그램 수행이 종료되면 제 1 롬(11)의 오프 신호를 인가하여 래치(F1)를 "하이"신호로 천이하여 제 1 롬(11)이 오프되고 낸드게이트(G4)가 "로우"신호로 출력되므로 램(30)에 프로그램이 다시 수행한다.At this time, when the program execution of the first ROM 11 is completed, the OFF signal of the first ROM 11 is applied to shift the latch F 1 to the “high” signal, so that the first ROM 11 is turned off and the NAND gate ( Since G 4 ) is output as a "low" signal, the program is executed again in the RAM 30.

상술한 바와 같이 프로그램을 여러개의 롬에 세분하여 기록하고 필요한 프로그램을 램에 저장한 후 나머지 프로그램은 롬에서 직접 억세스하여 적은 메모리로 큰 프로그램을 진행할 수 있으며 동일한 메모리로서 사용자의 영역을 크게 확장할 수 있으며 컴퓨터 및 주변기기 뿐만 아니라 메모리를 사용하는 모든 장치에 유용하게 사용할 수 있는 이점이 있다.As described above, the program is divided into several ROMs and the necessary programs are stored in RAM, and the rest of the programs can be directly accessed from the ROM to proceed with a large program with a small amount of memory. It has the advantage of being useful not only for computers and peripherals but also for all devices that use memory.

Claims (1)

뱅킹 프로그램을 이용한 메모리장치에 있어서 뱅킹 프로그램 및 모듈 프로그램을 저장하고 있는 롬(10)과, 롬 선택 제어부(2)와, 상기 롬(10) 해당 프로그램을 옮겨받는 램(30)과, 상기 램(30)의 출력 제어 신호를 출력하는 램 출력 제어부(40)와, 상기 램(40)의 출력을 완충한 후 램 출력 제어부(50)의 소정 출력에 의해 출력하는 버퍼(50)을 구비하여 롬의 프로그램을 다수개로 나누어 일부를 램에 옮겨 사용하며 필요한 경우 해당 롬을 선택하여 프로그램을 수행하는 메모리장치.In a memory device using a banking program, a ROM 10 storing a banking program and a module program, a ROM selection control unit 2, a RAM 30 for transferring the corresponding program to the ROM 10, and the RAM ( RAM output control unit 40 for outputting the output control signal of 30) and buffer 50 for buffering the output of the RAM 40 and outputting by the predetermined output of the RAM output control unit 50 A memory device that divides a program into several parts and transfers some of them to RAM.
KR1019870004670A 1987-05-12 1987-05-12 Memory unit using banking program KR940011042B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019870004670A KR940011042B1 (en) 1987-05-12 1987-05-12 Memory unit using banking program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019870004670A KR940011042B1 (en) 1987-05-12 1987-05-12 Memory unit using banking program

Publications (2)

Publication Number Publication Date
KR880014476A KR880014476A (en) 1988-12-24
KR940011042B1 true KR940011042B1 (en) 1994-11-22

Family

ID=19261370

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019870004670A KR940011042B1 (en) 1987-05-12 1987-05-12 Memory unit using banking program

Country Status (1)

Country Link
KR (1) KR940011042B1 (en)

Also Published As

Publication number Publication date
KR880014476A (en) 1988-12-24

Similar Documents

Publication Publication Date Title
JPH0612863A (en) Dual port dram
JPS63301339A (en) Computer device
JPS5960658A (en) Semiconductor storage device provided with logical function
JPS6312049A (en) Microcomputer
US8914602B2 (en) Display controller having an embedded non-volatile memory divided into a program code block and a data block and method for updating parameters of the same
US20030002377A1 (en) Semiconductor memory device, information apparatus, and method for determining access period for semiconductor memory device
US5339402A (en) System for connecting an IC memory card to a central processing unit of a computer
KR940011042B1 (en) Memory unit using banking program
US4628450A (en) Data processing system having a local memory which does not use a directory device with distributed resident programs and a method therefor
CN111177027A (en) Dynamic random access memory, memory management method, system and storage medium
JPH01261758A (en) Computer system
CN217588059U (en) Processor system
KR100410986B1 (en) Method for access controlling of digital sigrnal processor external memory
US6237071B1 (en) Multiaccess circuit including arbitration capabilities to effectively perform pipeline and suspend operations according to its priority
JPH0227596A (en) Semiconductor memory
JPS63142589A (en) Semiconductor memory
US5151980A (en) Buffer control circuit for data processor
KR100336743B1 (en) Processing circuit for data
JPS5938827A (en) Microprocessor ipl system
JPS629926B2 (en)
JPH0287227A (en) Data processor
JPH04255081A (en) Microcomputer
JPS6272039A (en) Sequence program debugging device
JPH01169639A (en) Memory
EP0306953A2 (en) Address/control signal input circuit for cache controller

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20031030

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee