Cleaned the interrupt code a bit

This commit is contained in:
2022-05-08 20:47:58 -07:00
parent a6dbca6a90
commit 1a57ab1e26
4 changed files with 38 additions and 18 deletions

14
src/interrupts.h Normal file
View File

@@ -0,0 +1,14 @@
/**
* Copyright (c) 2022 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "libs.h"
#include "conversation/textbox.h"
#define INTERRUPT_TEXTBOX_VRAM ((TEXTBOX_WIN_Y * TILE_HEIGHT) - 1)
void interruptOnScanline();