Displaying 2 results from an estimated 2 matches for "fcf18d9".
2008 Dec 14
1
New "UI" directive broken?
...c_default: cmp ax,[DefaultLevel]
core/parseconfig.inc:DefaultLevel dw 0 ; The current level of default
core/ui.inc: cmp word [DefaultLevel],1 ; Active UI statement?
- Sebastian
diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index 2fb26fd..fcf18d9 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -22,6 +22,7 @@
;
pc_default: cmp ax,[DefaultLevel]
jb .skip
+ mov [DefaultLevel],ax
mov di,default_cmd
call getline
mov byte [di-1],0 ; nu...
2009 Jan 31
1
"UI" keyword, pc_default and getline
...jmp short skipline
+.end: ret
+
section .data
err_badcfg db 'Unknown keyword in configuration file: ',0
err_noparm db 'Missing parameter in configuration file. Keyword: ',0
diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index fcf18d9..57ee5a5 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -26,7 +26,9 @@ pc_default: cmp ax,[DefaultLevel]
mov di,default_cmd
call getline
mov byte [di-1],0 ; null-terminate
-.skip: ret
+ ret
+.skip...