-
Notifications
You must be signed in to change notification settings - Fork 2
/
ErrorHandler.asm
51 lines (43 loc) · 1.64 KB
/
ErrorHandler.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
; ===============================================================
; ---------------------------------------------------------------
; MD Debugger and Error Handler v.2.6
;
; (c) 2016-2024, Vladikcomper
; ---------------------------------------------------------------
; Debugger and Error handler blob
; ---------------------------------------------------------------
#include ErrorHandler.Exceptions.asm
; ---------------------------------------------------------------
; MD Debugger blob
; ---------------------------------------------------------------
ErrorHandler:
#ifdef DEBUG
#include ../../build/modules/errorhandler-core/ErrorHandler.Debug.Blob.asm
#else
#ifdef EXTSYM
#include ../../build/modules/errorhandler-core/ErrorHandler.ExtSymbols.Blob.asm
#else
#include ../../build/modules/errorhandler-core/ErrorHandler.Blob.asm
#endif
#endif
; ---------------------------------------------------------------
; MD Debugger's exported symbols
; ---------------------------------------------------------------
#ifdef EXTSYM
#include ../../build/modules/errorhandler-core/ErrorHandler.ExtSymbols.Globals.asm
#else
#ifdef DEBUG
#include ../../build/modules/errorhandler-core/ErrorHandler.Debug.Globals.asm
#else
#include ../../build/modules/errorhandler-core/ErrorHandler.Globals.asm
#endif
#endif
#ifndef EXTSYM
; ---------------------------------------------------------------
; WARNING!
; DO NOT put any data from now on! DO NOT use ROM padding!
; Symbol data should be appended here after ROM is compiled
; by ConvSym utility, otherwise debugger modules won't be able
; to resolve symbol names.
; ---------------------------------------------------------------
#endif