/media/sda-magnetic/david/Dok-15-2023-11-27/fernuni-hagen/cs-i-ii/old-cs-2-01/informatik2/bash-programming/lex-yacc-bash-etc/all200121.txt


phys_clicks alloc_mem (phys_clicks clicks) {
    register struct hole *hp, *prev_ptr;
    phys_clicks old_base;

    hp = hole_head;
    
    while (hp != NIL_HOLE) {
        if (hp -> h_len >= clicks) {
            old_base = hp->h_base;
            hp->h_base += clicks;
            hp->h_len -= clicks;
            
            if (hp->h_len != 0)
                return old_base;
            del_slot (prev_ptr, hp);
            return old_base;
        }
        prev_ptr = hp;
        hp = hp->h_next;
    }
return NO_MEM;
}

mm/mproc.h
mm/glo.h
mm/param.h
mm/const.h

mm/signal.c
mm/getset.c
mm/table.c
mm/putc.c
mm/utility.c
mm/main.c
mm/alloc.c
mm/forkexit.c
mm/exec.c
mm/break.c

mm/alloc.c

free_mem ()
alloc_mem ()
del_slot ()
merge ()
max_hole ()
mem_init ()


Atmega8 

mov
lds
ld
ldd
sts
st
std
in
out
push
pop
lmp

breq
brne
brge
brcs
brcc
brhs
brhc

brts
brtc
brbs
brbc
brvs
brvc
brsh
brmi
brlo
brpl
brie
brid

ld: indirekt
lds: indiziert
ldd: direkt

ld X+, r0
ld -X, r0
ld X, r0

X-Pointer: r27, r26
Y-Pointer: r29, r28
Z-Pointer: r31, r30

in: Port
out: Port

mov: Register => Register 

.CSEG
.DSEG
.OR
.DB
.DW

lds X+k, r0

v-Flag
t-Flag
i-Flag
c-Flag
z-Flag

mov
lea
xchg
add
adc
sub
sbb
mul
div
dec
inc
neg
and
or
xor
not
lods
lodsb
lodsw
lodsd
stos
stosb
stosw
stosd
movs
movsb
movsw
movsd
rep
jmp
cmp
call
ret 
loop
int 
iret 
je
jne
jg
jng
jge
jnge
jl
jnl
jle
jnle
ja
jna
jae
jnae
jb
jnb
jbe
jnbe
jz
jnz
jc
jnc
in
out
push 
pop

Sockel 423
Sockel 478
Sockel 775

1156
1155
1151
1150
1200

Westmere (Clarkdale)
Sandy Bridge
Ivy Bridge
Haswell-DT
Skylake-S
Kaby Lake-S
Coffee Lake-S
Comet Lake-S

Inte-Core-i3-530
Inte-Core-i3-540
Inte-Core-i3-550
Inte-Core-i3-560
Inte-Core-i3-21xx
Inte-Core-i3-32xx
Inte-Core-i3-41xx
Inte-Core-i3-43xx
Inte-Core-i3-60xx
Inte-Core-i3-61xx
Inte-Core-i3-63xx
Inte-Core-i3-71xx
Inte-Core-i3-73xx
Inte-Core-i3-81xx
Inte-Core-i3-83xx
Inte-Core-i3-91xx
Inte-Core-i3-93xx
Inte-Core-i3-101xx
Inte-Core-i3-103xx

DDR-200     PC-1600
DDR-266     PC-2100
DDR-333     PC-2700
DDR-400     PC-3200
DDR2-...    PC2-...
DDR3-...    PC3-...
DDR4-...    PC4-...
DDR5-...    PC5-...

8020
8021
8022
8035
8039
8040
8048
8049
8050
8648
8748
8749

8031
8032
8051
8052
8751
8752

add
addc
anl
orl
xrl
inc
dec
clr
cpl
da 
swap

IRQ     Interrupt-Request
ISR     Interrupt-Service-Routine       Interrupt-Handler

PIC 8259 A - Programmable Interrupt Controller 8259 A 

Eingänge: 8 Eingänge, IR0 .. IR7, an jedem Eingang hängt ein Gerät, IR0 höchste Priorität, IR7 niedrigste
INT angeschlossen an INTR der CPU
INTA von CPU und Controller verbunden 
D0 .. D7 mit den acht niederwertigsten Leiterbahnen des Datenbusses verbunden 

IR7 .. IR0
INT 
-INTA
D7 .. D0
A0
CAS2, CAS1, CAS0
-CS
-WR
-RD
-SP/-EN

IRQ 0       Timer
IRQ 1       Keyboard
IRQ 2       PIC 2 (Slave)
IRQ 3       COM 1 
IRQ 4       COM 2
IRQ 5       Soundcard
IRQ 6       Floppy
IRQ 7       Parallel/Harddisk

PIT 8253 - Programmable Intervall Timer

VCC, GND
D7 .. D0
A1, A0
CLK2, OUT2, GATE2
CLK1, OUT1, GATE1
CLK0, OUT0, GATE0
-CS
-WR
-RD

8237/8257 - Programmierbarer DMA-Steuerungsbaustein 
8255 - Programmierbarer Paralleler Ein- und Ausgabebaustein 
8251 - Programmierbarer Serieller Ein- und Ausgabebaustein 

8212: Ein- und Ausgabe
8216: Treiber
8224: Oszillator
8226: Treiber
8228: Bus-Controller 
8271: Floppy
8273: HDLC/SDLC
8278: Keyboard
8292: IEC
8294: Datenverschlüsselung
8295: Punkt-Matrix-Drucker
8282: Latch
8283: Latch
8284: Oszillator
8286: Treiber
8287: Treiber
8288: Bus-Controller
8289: Bus-Arbiter

HD 44780
MCE2VGA
GBS 8219
GBS 8200

VSS
VDD
VEE
RS
RW
E
DB0 .. DB7
A
K

1 Masse
2 Masse
3
4
5
6 Intensität
7 Video-Signal 
8 H-Sync
9 V-Sync


1 Masse
2 Masse
3 R
4 G
5 G
6 Intensität
7 
8 H-Sync
9 V-Sync