files
kolibrios/programs/other/outdated/clip/bdebug.inc
Andrew c4a39efecb outdated/clip: Post-SVN tidy
- Move source code from `trunk` into root directory.
- Update build files and ASM include paths.
- Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
2025-06-28 00:46:38 -04:00

51 lines
514 B
PHP

; SPDX-License-Identifier: NOASSERTION
;
; debugging include file by barsuk
; if DEBUG=TRUE, adds debug.inc
; if DEBUG=FALSE, adds stubs for several macros from debug.inc
match =TRUE, DEBUG
{
include '..\..\..\debug.inc'
macro dph1 str
\{
debug_print_hex str
push eax
mov al, ' '
call debug_outchar
pop eax
\}
macro outs str
\{
pushad
lea edx, [str]
call debug_outstr
popad
\}
}
match =FALSE, DEBUG
{
macro print message
\{
\}
macro pregs
\{
\}
macro dph1 str
\{
\}
macro outs str
\{
\}
}