lesson 22

This commit is contained in:
Carlos
2015-05-18 09:39:50 +02:00
parent 1ec003f2c4
commit 3d19acfb47
14 changed files with 1045 additions and 0 deletions

11
22-malloc/cpu/ports.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef PORTS_H
#define PORTS_H
#include "../cpu/type.h"
unsigned char port_byte_in (u16 port);
void port_byte_out (u16 port, u8 data);
unsigned short port_word_in (u16 port);
void port_word_out (u16 port, u16 data);
#endif