From 4d02ee15563a1568c960e967eebce73fd463f5fc Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Tue, 14 Nov 2017 11:45:17 +0100 Subject: Update doc, remove z80uPC.tex, improved z80uPC_nostyle it was useless to have 2 copies of the same thing, soon z80uPC_nostyle will be renamed to z80uPC --- doc/report/res/addrspace.pdf | Bin 7744 -> 6481 bytes doc/report/res/addrspace.svg | 38 +-- doc/report/res/block_diagram.pdf | Bin 19532 -> 23235 bytes doc/report/res/iospace.pdf | Bin 6435 -> 6120 bytes doc/report/res/kernel_mem_base.pdf | Bin 17254 -> 17257 bytes doc/report/res/mem_kern_alloc.pdf | Bin 8128 -> 8130 bytes doc/report/res/mmu_addr.eps | 470 +++++++++++++++++++++++++++++++++++++ doc/report/res/mmu_addr.fig | 182 ++++++++++++++ doc/report/res/mmu_ram_map.eps | 229 ++++++++++++++++++ doc/report/res/mmu_ram_map.fig | 57 +++++ doc/report/res/mmu_ram_map.fig.bak | 57 +++++ 11 files changed, 1014 insertions(+), 19 deletions(-) create mode 100644 doc/report/res/mmu_addr.eps create mode 100644 doc/report/res/mmu_addr.fig create mode 100644 doc/report/res/mmu_ram_map.eps create mode 100644 doc/report/res/mmu_ram_map.fig create mode 100644 doc/report/res/mmu_ram_map.fig.bak (limited to 'doc/report/res') diff --git a/doc/report/res/addrspace.pdf b/doc/report/res/addrspace.pdf index 26c28d8..c949e0a 100644 Binary files a/doc/report/res/addrspace.pdf and b/doc/report/res/addrspace.pdf differ diff --git a/doc/report/res/addrspace.svg b/doc/report/res/addrspace.svg index 0f73784..ef9be71 100644 --- a/doc/report/res/addrspace.svg +++ b/doc/report/res/addrspace.svg @@ -14,7 +14,7 @@ viewBox="0 0 180.64061 257.56342" version="1.1" id="svg8" - inkscape:version="0.92.1 r" + inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" sodipodi:docname="addrspace.svg"> @@ -26,16 +26,16 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.33575172" - inkscape:cx="902.43963" + inkscape:cx="-44.688802" inkscape:cy="551.46623" inkscape:document-units="mm" inkscape:current-layer="layer1" showgrid="false" showborder="false" - inkscape:window-width="1266" - inkscape:window-height="763" - inkscape:window-x="5" - inkscape:window-y="28" + inkscape:window-width="1280" + inkscape:window-height="800" + inkscape:window-x="0" + inkscape:window-y="0" inkscape:window-maximized="0" fit-margin-top="0" fit-margin-left="0" @@ -49,7 +49,7 @@ image/svg+xml - + @@ -98,7 +98,7 @@ style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.05277824px;font-family:'Roboto Mono';-inkscape-font-specification:'Roboto Mono, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;writing-mode:lr-tb;text-anchor:middle;stroke-width:0.26458332" /> 0x0000 + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13.40555556px;font-family:'Latin Modern Mono';-inkscape-font-specification:'Latin Modern Mono, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:center;writing-mode:lr;text-anchor:middle;stroke-width:0.26458332;">0x0000 0x2000 0x4000 0x8000 0xFFFF 32KB RAM SPACE 8KB ROM > + +matrix +makepattern +/P4 exch def + +/cp {closepath} bind def +/ef {eofill} bind def +/gr {grestore} bind def +/gs {gsave} bind def +/sa {save} bind def +/rs {restore} bind def +/l {lineto} bind def +/m {moveto} bind def +/rm {rmoveto} bind def +/n {newpath} bind def +/s {stroke} bind def +/sh {show} bind def +/slc {setlinecap} bind def +/slj {setlinejoin} bind def +/slw {setlinewidth} bind def +/srgb {setrgbcolor} bind def +/rot {rotate} bind def +/sc {scale} bind def +/sd {setdash} bind def +/ff {findfont} bind def +/sf {setfont} bind def +/scf {scalefont} bind def +/sw {stringwidth} bind def +/tr {translate} bind def +/tnt {dup dup currentrgbcolor + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add + 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb} + bind def +/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul + 4 -2 roll mul srgb} bind def +/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def +/$F2psEnd {$F2psEnteredState restore end} def + +/pageheader { +save +newpath 0 259 moveto 0 0 lineto 488 0 lineto 488 259 lineto closepath clip newpath +-225.8 369.9 translate +1 -1 scale +$F2psBegin +10 setmiterlimit +0 slj 0 slc + 0.06299 0.06299 sc +} bind def +/pagefooter { +$F2psEnd +restore +} bind def +%%EndProlog +pageheader +% +% Fig objects follow +% +% +% here starts figure with depth 50 +/Times-Roman ff 873.13 scf sf +6345 4275 m +gs 1 -1 sc (}) col0 sh gr +/Times-Roman ff 254.00 scf sf +6795 4140 m +gs 1 -1 sc (Program A) col0 sh gr +/Times-Roman ff 873.13 scf sf +6345 5220 m +gs 1 -1 sc (}) col0 sh gr +/Times-Roman ff 254.00 scf sf +6840 5040 m +gs 1 -1 sc (Program B) col0 sh gr +% Polyline +0 slj +0 slc +15.000 slw +n 6570 2295 m 6795 2295 l 6795 2520 l 6570 2520 l + cp +% Fill with pattern background color +gs /DeviceRGB setcolorspace 1.00 1.00 1.00 setcolor fill gr + +% Fill with pattern pen color +gs /DeviceRGB setcolorspace 0.00 0.00 0.00 P4 setpattern fill gr + +gs col0 s gr +/Times-Roman ff 254.00 scf sf +6975 2520 m +gs 1 -1 sc (Kernel) col0 sh gr +/Times-Roman ff 254.00 scf sf +6975 2835 m +gs 1 -1 sc (Reserved) col0 sh gr +% Arc +7.500 slw +gs clippath +9409 4408 m 9485 4272 l 9433 4242 l 9357 4379 l 9357 4379 l 9442 4289 l 9409 4408 l cp +eoclip +n 8347.5 3730.5 1229.6 26.2837 97.3591 arc +gs col0 s gr + gr + +% arrowhead +n 9409 4408 m 9442 4289 l 9357 4379 l 9409 4408 l cp gs col7 1.00 shd ef gr col0 s +% Polyline +n 4500 4950 m + 6300 4950 l gs col0 s gr +% Polyline +n 6300 4500 m + 4500 4500 l gs col0 s gr +% Polyline +n 4500 4050 m + 6300 4050 l gs col0 s gr +% Polyline +n 4500 2250 m 6300 2250 l 6300 3600 l 4500 3600 l + cp +% Fill with pattern background color +gs /DeviceRGB setcolorspace 1.00 1.00 1.00 setcolor fill gr + +% Fill with pattern pen color +gs /DeviceRGB setcolorspace 0.00 0.00 0.00 P4 setpattern fill gr + +gs col0 s gr +% Polyline +n 4500 5400 m 6300 5400 l 6300 5850 l 4500 5850 l + cp +% Fill with pattern background color +gs /DeviceRGB setcolorspace 1.00 1.00 1.00 setcolor fill gr + +% Fill with pattern pen color +gs /DeviceRGB setcolorspace 0.00 0.00 0.00 P4 setpattern fill gr + +gs col0 s gr +% Polyline +15.000 slw +n 4500 2250 m 6300 2250 l 6300 5850 l 4500 5850 l + cp gs col0 s gr +% Polyline +7.500 slw +n 8550 2700 m + 10350 2700 l gs col0 s gr +% Polyline +15.000 slw +n 8550 4050 m 10350 4050 l 10350 2250 l 8550 2250 l + cp gs col0 s gr +% Polyline +7.500 slw +n 8550 3600 m + 10350 3600 l gs col0 s gr +% Polyline +n 8550 3150 m + 10350 3150 l gs col0 s gr +/Times-Roman ff 285.75 scf sf +4500 2025 m +gs 1 -1 sc (RAM) col0 sh gr +/Courier ff 190.50 scf sf +3600 3600 m +gs 1 -1 sc (0xB000) col0 sh gr +/Courier ff 190.50 scf sf +3600 2250 m +gs 1 -1 sc (0x8000) col0 sh gr +/Courier ff 190.50 scf sf +3600 5850 m +gs 1 -1 sc (0xFFFF) col0 sh gr +/Times-Roman ff 317.50 scf sf +8505 2025 m +gs 1 -1 sc (Program) col0 sh gr +/Courier ff 222.25 scf sf +9450 2565 m +gs 1 -1 sc (DATA / BSS) dup sw pop 2 div neg 0 rm col0 sh gr +/Courier ff 222.25 scf sf +9450 3870 m +gs 1 -1 sc (STACK) dup sw pop 2 div neg 0 rm col0 sh gr +/Courier ff 190.50 scf sf +10575 2250 m +gs 1 -1 sc (0x0000) col0 sh gr +/Courier ff 190.50 scf sf +10575 4050 m +gs 1 -1 sc (0x2000) col0 sh gr +/Courier ff 222.25 scf sf +9450 3015 m +gs 1 -1 sc (HEAP) dup sw pop 2 div neg 0 rm col0 sh gr +/Courier ff 222.25 scf sf +9450 3465 m +gs 1 -1 sc (TEXT) dup sw pop 2 div neg 0 rm col0 sh gr +/Courier ff 190.50 scf sf +3600 4500 m +gs 1 -1 sc (0xD000) col0 sh gr +% here ends figure; +pagefooter +showpage +%%Trailer +end +%EOF diff --git a/doc/report/res/mmu_ram_map.fig b/doc/report/res/mmu_ram_map.fig new file mode 100644 index 0000000..3c22a92 --- /dev/null +++ b/doc/report/res/mmu_ram_map.fig @@ -0,0 +1,57 @@ +#FIG 3.2 Produced by xfig version 3.2.6a +Portrait +Center +Metric +A4 +100.00 +Single +-2 +1200 2 +5 1 0 1 0 7 50 -1 -1 0.000 0 0 0 1 8347.500 3730.500 9450 4275 8505 4950 8190 4950 + 1 0 1.00 60.00 120.00 +6 6345 3645 8010 4455 +4 0 0 50 -1 0 55 0.0000 0 795 435 6345 4275 }\001 +4 0 0 50 -1 0 16 0.0000 0 240 1200 6795 4140 Program A\001 +-6 +6 6345 4590 8055 5400 +4 0 0 50 -1 0 55 0.0000 0 795 435 6345 5220 }\001 +4 0 0 50 -1 0 16 0.0000 0 240 1185 6840 5040 Program B\001 +-6 +6 6525 2250 8010 2835 +2 2 0 2 0 7 50 -1 44 0.000 0 0 -1 0 0 5 + 6570 2295 6795 2295 6795 2520 6570 2520 6570 2295 +4 0 0 50 -1 0 16 0.0000 0 180 735 6975 2520 Kernel\001 +4 0 0 50 -1 0 16 0.0000 0 180 1005 6975 2835 Reserved\001 +-6 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 4500 4950 6300 4950 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 6300 4500 4500 4500 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 4500 4050 6300 4050 +2 2 0 1 0 7 50 -1 44 0.000 0 0 7 0 0 5 + 4500 2250 6300 2250 6300 3600 4500 3600 4500 2250 +2 2 0 1 0 7 50 -1 44 0.000 0 0 -1 0 0 5 + 4500 5400 6300 5400 6300 5850 4500 5850 4500 5400 +2 2 0 2 0 7 50 -1 -1 0.000 0 0 7 0 0 5 + 4500 2250 6300 2250 6300 5850 4500 5850 4500 2250 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 8550 2700 10350 2700 +2 2 0 2 0 7 50 -1 -1 0.000 0 0 7 0 0 5 + 8550 4050 10350 4050 10350 2250 8550 2250 8550 4050 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 8550 3600 10350 3600 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 2 + 8550 3150 10350 3150 +4 0 0 50 -1 0 18 0.0000 0 195 690 4500 2025 RAM\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 3600 3600 0xB000\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 3600 2250 0x8000\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 3600 5850 0xFFFF\001 +4 0 0 50 -1 0 20 0.0000 0 300 1125 8505 2025 Program\001 +4 1 0 50 -1 5 14 0.0000 0 180 1500 9450 2565 DATA / BSS\001 +4 1 0 50 -1 5 14 0.0000 0 135 750 9450 3870 STACK\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 10575 2250 0x0000\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 10575 4050 0x2000\001 +4 1 0 50 -1 5 14 0.0000 0 135 600 9450 3015 HEAP\001 +4 1 0 50 -1 5 14 0.0000 0 135 600 9450 3465 TEXT\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 3600 4500 0xD000\001 diff --git a/doc/report/res/mmu_ram_map.fig.bak b/doc/report/res/mmu_ram_map.fig.bak new file mode 100644 index 0000000..f62f655 --- /dev/null +++ b/doc/report/res/mmu_ram_map.fig.bak @@ -0,0 +1,57 @@ +#FIG 3.2 Produced by xfig version 3.2.6a +Portrait +Center +Metric +A4 +100.00 +Single +-2 +1200 2 +5 1 0 1 0 7 50 -1 -1 0.000 0 0 0 1 8347.500 3730.500 9450 4275 8505 4950 8190 4950 + 1 0 1.00 60.00 120.00 +6 6345 3645 8010 4455 +4 0 0 50 -1 0 55 0.0000 0 795 435 6345 4275 }\001 +4 0 0 50 -1 0 16 0.0000 0 240 1200 6795 4140 Program A\001 +-6 +6 6345 4590 8055 5400 +4 0 0 50 -1 0 55 0.0000 0 795 435 6345 5220 }\001 +4 0 0 50 -1 0 16 0.0000 0 240 1185 6840 5040 Program B\001 +-6 +6 6525 2250 8010 2835 +2 2 0 2 0 7 50 -1 44 0.000 0 0 -1 0 0 5 + 6570 2295 6795 2295 6795 2520 6570 2520 6570 2295 +4 0 0 50 -1 0 16 0.0000 0 180 735 6975 2520 Kernel\001 +4 0 0 50 -1 0 16 0.0000 0 180 1005 6975 2835 Reserved\001 +-6 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 4500 4950 6300 4950 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 6300 4500 4500 4500 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 4500 4050 6300 4050 +2 2 0 1 0 7 50 -1 44 0.000 0 0 7 0 0 5 + 4500 2250 6300 2250 6300 3600 4500 3600 4500 2250 +2 2 0 1 0 7 50 -1 44 0.000 0 0 -1 0 0 5 + 4500 5400 6300 5400 6300 5850 4500 5850 4500 5400 +2 2 0 2 0 7 50 -1 -1 0.000 0 0 7 0 0 5 + 4500 2250 6300 2250 6300 5850 4500 5850 4500 2250 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 8550 2700 10350 2700 +2 2 0 2 0 7 50 -1 -1 0.000 0 0 7 0 0 5 + 8550 4050 10350 4050 10350 2250 8550 2250 8550 4050 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 2 + 8550 3600 10350 3600 +2 1 0 1 0 7 50 -1 -1 0.000 0 0 7 0 0 2 + 8550 3150 10350 3150 +4 0 0 50 -1 0 18 0.0000 0 195 690 4500 2025 RAM\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 3600 3600 0xB000\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 3600 2250 0x8000\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 3600 4500 0xE000\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 3600 5850 0xFFFF\001 +4 0 0 50 -1 0 20 0.0000 0 300 1125 8505 2025 Program\001 +4 1 0 50 -1 5 14 0.0000 0 180 1500 9450 2565 DATA / BSS\001 +4 1 0 50 -1 5 14 0.0000 0 135 750 9450 3870 STACK\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 10575 2250 0x0000\001 +4 0 0 50 -1 5 12 0.0000 0 120 720 10575 4050 0x2000\001 +4 1 0 50 -1 5 14 0.0000 0 135 600 9450 3015 HEAP\001 +4 1 0 50 -1 5 14 0.0000 0 135 600 9450 3465 TEXT\001 -- cgit v1.2.1