From 03a5882df17ea42aa0b4039173f85ea1e7ce99fe Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Fri, 13 Feb 2026 00:03:07 +0100 Subject: Remove vector.s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of this, the 'reset' function can go into 'jetpac.s', as we could consider it's part of the 'main' work. As a bonus, doing this alignment gives us 3 bytes back from ROM space. Not that we care too much about space, but it's amusing nonetheless. The debug scope has been moved into its own file in include/. Admittedly it's not the most crucial file in the project, but it makes things more logical and it opens the door to more debugging utilities. This leaves us with a vector.s file only containing interrupt code. Thus, it just makes sense to rename it to interrupts.s, which in the end makes things more organized. Signed-off-by: Miquel Sabaté Solà --- include/debug.s | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 include/debug.s (limited to 'include/debug.s') diff --git a/include/debug.s b/include/debug.s new file mode 100644 index 0000000..fc29bef --- /dev/null +++ b/include/debug.s @@ -0,0 +1,5 @@ +;; Debug utilities. +.scope Debug + ;; Counter for frame drops. Only touched when PARTIAL is defined. + zp_frame_drops = $90 ; asan:ignore +.endscope -- cgit v1.2.3