Display more information when ?fcode-verbose enabled (Mark Cave-Ayland)
git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@484 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
parent
604f68deaf
commit
7948face2b
|
@ -135,6 +135,11 @@ defer fcode-c@ \ get byte
|
|||
else
|
||||
fcode-num8-signed
|
||||
then
|
||||
|
||||
\ Display offset in verbose mode
|
||||
?fcode-verbose if
|
||||
dup ." (offset) " . cr
|
||||
then
|
||||
;
|
||||
|
||||
\ fcode-string
|
||||
|
@ -147,6 +152,11 @@ defer fcode-c@ \ get byte
|
|||
2dup bounds ?do
|
||||
fcode-num8 i c!
|
||||
loop
|
||||
|
||||
\ Display string in verbose mode
|
||||
?fcode-verbose if
|
||||
2dup ." (const) " type cr
|
||||
then
|
||||
;
|
||||
|
||||
\ fcode-header
|
||||
|
@ -171,7 +181,13 @@ defer fcode-c@ \ get byte
|
|||
\
|
||||
|
||||
: fcode! ( F:FCode# -- )
|
||||
here fcode# fcode-ptr !
|
||||
here fcode#
|
||||
|
||||
\ Display fcode# in verbose mode
|
||||
?fcode-verbose if
|
||||
dup ." (fcode#) " . cr
|
||||
then
|
||||
fcode-ptr !
|
||||
;
|
||||
|
||||
|
||||
|
|
|
@ -25,6 +25,13 @@ defer init-fcode-table
|
|||
;
|
||||
|
||||
: (debug-feval) ( fcode# -- fcode# )
|
||||
\ Address
|
||||
fcode-stream 1 - . ." : "
|
||||
|
||||
\ Indicate if word is compiled
|
||||
state @ 0<> if
|
||||
." (compile) "
|
||||
then
|
||||
dup fcode>xt cell - lfa2name type
|
||||
dup ." [ 0x" . ." ]" cr
|
||||
;
|
||||
|
|
Loading…
Reference in New Issue