mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-13 16:16:31 +00:00
Patch a left arrow bitmap character in font over Reverse NOT Sign, use for Caller listings.
This commit is contained in:
parent
ecfb76be9b
commit
4cea112eb4
6 changed files with 10 additions and 8 deletions
|
@ -168,7 +168,7 @@ public U64 sys_font_std[256] = {
|
||||||
0x007E007C427C403C,//¦
|
0x007E007C427C403C,//¦
|
||||||
0x007E003C4242423C,//§
|
0x007E003C4242423C,//§
|
||||||
0x001E3303060C000C,//¨
|
0x001E3303060C000C,//¨
|
||||||
0x000003033F000000,//ゥ
|
0x00000C06FF060C00,//ゥ
|
||||||
0x000030303F000000,//ª
|
0x000030303F000000,//ª
|
||||||
0xF810618A74091121,//«
|
0xF810618A74091121,//«
|
||||||
0x4078516244091121,//¬
|
0x4078516244091121,//¬
|
||||||
|
|
|
@ -45,8 +45,8 @@ _extern _SAVE_EXCEPT_REGS U0 SaveExceptRegs(CExcept *t);
|
||||||
|
|
||||||
U0 PutExcept(Bool catch_it=TRUE)
|
U0 PutExcept(Bool catch_it=TRUE)
|
||||||
{//Print exception message and catch exception.
|
{//Print exception message and catch exception.
|
||||||
"Except ® %c ® ", Fs->except_ch;
|
"Except © %c © ", Fs->except_ch;
|
||||||
"%P ® %P ® %P ® %P ® %P ® %P\n", Fs->except_callers[0], Fs->except_callers[1], Fs->except_callers[2], Fs->except_callers[3],
|
"%P © %P © %P © %P © %P © %P\n", Fs->except_callers[0], Fs->except_callers[1], Fs->except_callers[2], Fs->except_callers[3],
|
||||||
Fs->except_callers[4], Fs->except_callers[5], Fs->except_callers[6], Fs->except_callers[7];
|
Fs->except_callers[4], Fs->except_callers[5], Fs->except_callers[6], Fs->except_callers[7];
|
||||||
Fs->catch_except = catch_it;
|
Fs->catch_except = catch_it;
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ U0 throw(I64 ch=0, Bool no_log=FALSE)
|
||||||
Fs->except_rbp = RBPGet;
|
Fs->except_rbp = RBPGet;
|
||||||
Fs->catch_except = FALSE;
|
Fs->catch_except = FALSE;
|
||||||
if (!no_log)
|
if (!no_log)
|
||||||
SysLog("Except ® %c ® %p ® %p ® %p ® %p ® %p ® %p\n", ch,
|
SysLog("Except © %c © %p © %p © %p © %p © %p © %p\n", ch,
|
||||||
Fs->except_callers[0], Fs->except_callers[1], Fs->except_callers[2], Fs->except_callers[3],
|
Fs->except_callers[0], Fs->except_callers[1], Fs->except_callers[2], Fs->except_callers[3],
|
||||||
Fs->except_callers[4], Fs->except_callers[5], Fs->except_callers[6], Fs->except_callers[7]);
|
Fs->except_callers[4], Fs->except_callers[5], Fs->except_callers[6], Fs->except_callers[7]);
|
||||||
|
|
||||||
|
|
|
@ -97,6 +97,8 @@ U0 SysGrInit()
|
||||||
|
|
||||||
for (i = '³'; i < 'Û'; i++)
|
for (i = '³'; i < 'Û'; i++)
|
||||||
text.aux_font[i] = text.font[i];
|
text.aux_font[i] = text.font[i];
|
||||||
|
|
||||||
|
text.aux_font['©'] = text.font['©'];
|
||||||
|
|
||||||
text.border_chars[2] (I64) = 'ÄͳºÚÉ¿»';
|
text.border_chars[2] (I64) = 'ÄͳºÚÉ¿»';
|
||||||
text.border_chars[10](U32) = 'ÀÈÙ¼';
|
text.border_chars[10](U32) = 'ÀÈÙ¼';
|
||||||
|
|
|
@ -1131,7 +1131,7 @@ U0 PrintErr(U8 *format, ...)
|
||||||
U8 *buf = StrPrintJoin(NULL, format, argc, argv);
|
U8 *buf = StrPrintJoin(NULL, format, argc, argv);
|
||||||
|
|
||||||
GetOutOfDollar;
|
GetOutOfDollar;
|
||||||
"%,p ® %,p ® %,p ® %,p " ST_ERR_ST "%s", Caller, Caller(2), Caller(3), Caller(4), buf;
|
"%,p © %,p © %,p © %,p " ST_ERR_ST "%s", Caller, Caller(2), Caller(3), Caller(4), buf;
|
||||||
Free(buf);
|
Free(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1140,6 +1140,6 @@ U0 PrintWarn(U8 *format, ...)
|
||||||
U8 *buf = StrPrintJoin(NULL, format, argc, argv);
|
U8 *buf = StrPrintJoin(NULL, format, argc, argv);
|
||||||
|
|
||||||
GetOutOfDollar;
|
GetOutOfDollar;
|
||||||
"%,p ® %,p ® %,p ® %,p " ST_WARN_ST "%s", Caller, Caller(2), Caller(3), Caller(4), buf;
|
"%,p © %,p © %,p © %,p " ST_WARN_ST "%s", Caller, Caller(2), Caller(3), Caller(4), buf;
|
||||||
Free(buf);
|
Free(buf);
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,7 +159,7 @@ public U0 HeapLogAddrRep(Bool leave_it=OFF)
|
||||||
MemCopy(&hl, tmphl, sizeof(CHeapLog));
|
MemCopy(&hl, tmphl, sizeof(CHeapLog));
|
||||||
"$$PURPLE$$%08X$$FG$$ %08X %P", MSize(hl.addr), hl.addr, hl.caller[0];
|
"$$PURPLE$$%08X$$FG$$ %08X %P", MSize(hl.addr), hl.addr, hl.caller[0];
|
||||||
for (j = 1; j < HL_CALLER_DEPTH; j++)
|
for (j = 1; j < HL_CALLER_DEPTH; j++)
|
||||||
" ® %P", hl.caller[j];
|
" © %P", hl.caller[j];
|
||||||
'\n';
|
'\n';
|
||||||
total += MSize(hl.addr);
|
total += MSize(hl.addr);
|
||||||
tmphl = hl.next;
|
tmphl = hl.next;
|
||||||
|
@ -233,7 +233,7 @@ hl_found:
|
||||||
tmphls1 = tmphls->next;
|
tmphls1 = tmphls->next;
|
||||||
"%08X*%08X=%08X %P", tmphls->size, tmphls->count, tmphls->size * tmphls->count, tmphls->caller[0];
|
"%08X*%08X=%08X %P", tmphls->size, tmphls->count, tmphls->size * tmphls->count, tmphls->caller[0];
|
||||||
for (j = 1; j < HL_CALLER_DEPTH; j++)
|
for (j = 1; j < HL_CALLER_DEPTH; j++)
|
||||||
" ® %P", tmphls->caller[j];
|
" © %P", tmphls->caller[j];
|
||||||
'\n';
|
'\n';
|
||||||
total += tmphls->size * tmphls->count;
|
total += tmphls->size * tmphls->count;
|
||||||
Free(tmphls);
|
Free(tmphls);
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue