From a914c37365967afaf3148293a857c36af6f94ecb Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Fri, 21 Jan 2022 21:44:28 +0100 Subject: Separating assembly, moving #defines to .h & cleaning Makefile --- src/include/asm.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include/asm.h') 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 +#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 -- cgit v1.2.3