| Global Memory Table | מפת זיכרון כללית |
|
8086 CPU can access up to 1 MB of random access memory (RAM),
it is limited by segment/offset construction. Since segment registers (CS, SS, ES, DS)
can hold maximum value of 0FFFFh and offset registers (IP, BX, SI, DI, BP, SP) can also hold maximum value
of 0FFFFh, the largest logical memory location that we can access is FFFF:FFFF
or physical address:
Modern processors have a larger registers so they have much larger memory area that can be accessed, but the idea is still the same. Memory Table of Emulator (and typical IBM PC) with physical address of
memory area: |
המעבד 8086 יכול לגשת לזיכרון
קריאה / כתיבה בהמשך, טבלת הזיכרון של תוכנת
האמולטור (ושל מחשב אישי IBM
טיפוסי) עם כתובות פיזיות של אזור הזיכרון: |
Copyright 2002-2003 - Emu8086, Inc. All rights reserved. - Portions Copyright 1997-2003 Barry Allyn. All rights reserved.
Hebrew Version Copyright COVAL Computer Software - Copyright © 2003 R&D Private Advisers All rights reserved.
|
Physical address |
Short Description |
תיאור קצר |
|
00000h - |
Interrupt vectors. Emulator loads "INT_VECT" file at the physical address 00000h. |
מצביעים של פסיקות. תוכנת האמולטור טוענת את הקובץ "INT_VECT" בכתובת הפיזית 00000h. |
|
00400h - |
System information area. We use a trick to set some parameters by loading a tiny last part (21 bytes) of "INT_VECT" in that
area (the size of that file is 1,045 or 415h bytes, so when loaded it takes memory from 00000 to 00415h). |
אזור של מידע על המערכת. אנחנו משתמשים בטריק על-מנת לקבוע כמה פרמטרים על ידי טעינת חלק קטן (21 בתים) של הקובץ "INT_VECT" באזור הזה. הגודל של הקובץ הוא 1,045 או 415h בתים, כלומר, כאשר הקובץ ניטען הוא לוקח זיכרון מכתובת 00000 עד 00415h. קטע זה של הזיכרון מעודכן על ידי האמולטור כאשר משנים את ההגדרות, מומלץ לקרוא את טבלת אזור המידע של המערכת. |
|
00500h - |
A free memory area. A block of 654,080 bytes. Here you can load your programs. |
אזור פנוי של הזיכרון. מקטע של |
|
A0000h - B1000h |
Video memory for VGA, Monochrome, and other adapters. Not used by emulator! |
זיכרון לנתוני מסך למתאמים מסוג
VGA, Monochrome
ואחרים. |
|
B1000h - B8000h |
Reserved. Not used by emulator! |
שמור. ללא שימוש על ידי האמולטור!. |
|
B8000h - |
32 KB video memory for Color Graphics Adapter (CGA). Emulator uses this memory area to keep 8 pages of video memory. The Emulator screen can be resized, so less memory is required for each page, although emulator always uses 1000h (4096 bytes) for each page (see INT 10h / AH=05h in the list of supported interrupts). |
32KB
זיכרון לנתוני מסך עבור מתאם גרפיקה צבעוני (סוג CGA). |
|
C0000h - F4000h |
Reserved. |
אזור שמור |
|
F4000h - 10FFEFh |
ROM BIOS and extensions. Emulator loads "BIOS_ROM" file at the physical address 0F4000h. Interrupt table points to this memory area to get emulation of interrupt functions. |
זיכרון קבוע BIOS
והרחבות. |
Copyright 2002-2003 - Emu8086, Inc. All rights reserved. - Portions Copyright 1997-2003 Barry Allyn. All rights reserved.
Hebrew Version Copyright COVAL Computer Software - Copyright © 2003 R&D Private Advisers All rights reserved.
|
INT number |
Address in |
Address of
BIOS |
פירוט תת התוכניות של מערכת ההפעלה הבסיסית של קלט/פלט - BIOS |
00 04 10 11 12 13 15 16 19 1A 1E 20 21 all others |
00x4 = 00
04x4 = 10
10x4 = 40
11x4 = 44
12x4 = 48
13x4 = 4C
15x4 = 54
16x4 = 58
19x4 = 64
1Ax4 = 68
1Ex4 = 78
20x4 = 80
21x4 = 84
??x4 = ??
|
F400:0170 - CPU-generated, divide error. F400:0180 - CPU-generated, INTO detected overflow. F400:0190 - Video functions. F400:01D0 - Get BIOS equipment list. F400:01A0 - Get memory size. F400:01B0 - Disk functions. F400:01E0 - BIOS functions. F400:01C0 - Keyboard functions. FFFF:0000 - Reboot. F400:0160 - Time functions. F400:AFC7 - Vector of Diskette Controller Params. F400:0150 - DOS function: terminate program. F400:0200 - DOS functions. F400:0100 - The default interrupt catcher. Prints out "Interupt not supported yet" message. |
|
|
A call to BIOS sub-system is
disassembled by "BIOS DI" (it doesn't
use DI register in any way, it's just
because of the way the encoding is
done: we are using "FF /7" for such
encoding, "FFFFCD10" is used to make
emulator to emulate interrupt number 10h). F400:0100 has this code FFFFCDFF (decoded as INT 255, and error message is generated). |
הקריאה לתת המערכות של BIOS
מפוענחת על ידי "BIOS DI".
אזור של מידע לגבי המערכת, שטח הזיכרון מ- 00400h ועד 00500h : |
Copyright 2002-2003 - Emu8086, Inc. All rights reserved. - Portions Copyright 1997-2003 Barry Allyn. All rights reserved.
Hebrew Version Copyright COVAL Computer Software - Copyright © 2003 R&D Private Advisers All rights reserved.
| Address (hex) כתובת |
Size גודל |
Description - הסברים |
|
0040h: 0010h |
WORD מילה |
BIOS equipment list. - .רשימת הציוד של מערכת ההפעלה הבסיסית Bit fields for BIOS-detected installed hardware: This word is also returned in AX by INT 11h. |
|
0040h: 0013h |
WORD מילה |
Kilobytes of contiguous memory starting
at absolute address 00000h. |
|
0040h: 004Ah |
WORD מילה |
Number of columns on screen.
מספר עמודות במסך
|
|
0040h: 004Eh |
WORD מילה |
Current video page start address in video memory |
|
0040h: 0050h |
8 מילים |
Contains row and column position for the cursors on each of eight
video pages. מכיל מיקום של שורה ועמודה של הסמן לכל דף של מסך Default value: 0000h (for all 8 WORDs). :ערך ברירת המחדל הוא |
|
0040h: 0062h |
BYTE - בית |
Current video page number.
מספר דף מסך נוכחי Default value: 00h (first page). : ערך ברירת המחדל הוא |
|
0040h: 0084h |
BYTE - בית |
Rows on screen minus one.
שורות במסך פחות אחת |
| See also: Custom Memory Map |
ראה גם: הגדרת מפת זיכרון |
Copyright 2002-2003 - Emu8086, Inc. All rights reserved. - Portions Copyright 1997-2003 Barry Allyn. All rights reserved.
Hebrew Version Copyright COVAL Computer Software - Copyright © 2003 R&D Private Advisers All rights reserved.