mirror of
https://gitlab.os-k.eu/os-k-team/kvisc.git
synced 2023-08-25 14:05:46 +02:00
vm
This commit is contained in:
parent
227150be08
commit
495e0380db
@ -26,7 +26,7 @@
|
|||||||
trap 0
|
trap 0
|
||||||
|
|
||||||
; we good?
|
; we good?
|
||||||
blte 0, eax, .do_exec
|
blte zero, eax, .do_exec
|
||||||
|
|
||||||
nul b[esi] ; erase ".com"
|
nul b[esi] ; erase ".com"
|
||||||
jmp .exec_not_found
|
jmp .exec_not_found
|
||||||
|
@ -50,8 +50,8 @@ ob/instrs.lst: in/arch_i.py
|
|||||||
@cd in && python3 arch_i.py
|
@cd in && python3 arch_i.py
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f $(OBJDIR)/*/*.o ob/arch_i.h ob/instrs.lst
|
@rm -f ob/*/*.o ob/arch_i.h ob/instrs.lst
|
||||||
@rm -f $(OBJDIR)/*/*.d
|
@rm -f ob/*/*.d ob/*.k
|
||||||
|
|
||||||
$(KEXE): ob/instrs.lst $(obj)
|
$(KEXE): ob/instrs.lst $(obj)
|
||||||
@gcc -O2 -lSDL2 -lSDL2_ttf -Wall $(obj) -o $(KEXE)
|
@gcc -O2 -lSDL2 -lSDL2_ttf -Wall $(obj) -o $(KEXE)
|
||||||
|
@ -1395,7 +1395,7 @@ main:
|
|||||||
trap 0
|
trap 0
|
||||||
|
|
||||||
; we good?
|
; we good?
|
||||||
blte 0, eax, .do_exec
|
blte zero, eax, .do_exec
|
||||||
|
|
||||||
nul b[esi] ; erase ".com"
|
nul b[esi] ; erase ".com"
|
||||||
jmp .exec_not_found
|
jmp .exec_not_found
|
||||||
|
Loading…
Reference in New Issue
Block a user