diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-21 21:44:28 +0100 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2022-01-21 23:24:55 +0100 |
| commit | a914c37365967afaf3148293a857c36af6f94ecb (patch) | |
| tree | b7086b0b0b6e4bf427210fcfd31c7745920a73a5 /src/include/asm.h | |
| parent | ed84017353c6fc9421b223ff6ec62f8d881d8098 (diff) | |
Separating assembly, moving #defines to .h & cleaning Makefile
Diffstat (limited to 'src/include/asm.h')
| -rw-r--r-- | src/include/asm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/asm.h b/src/include/asm.h index e57c35b..ee15f00 100644 --- a/src/include/asm.h +++ b/src/include/asm.h @@ -3,7 +3,14 @@ #include<types.h> +#define PIC1_COMMAND_PORT 0x20 +#define PIC1_DATA_PORT 0x21 +#define PIC2_COMMAND_PORT 0xA0 +#define PIC2_DATA_PORT 0xA1 + + extern uint8_t ioport_in(uint8_t port); extern void ioport_out(uint8_t port, int data); + #endif |
