Wolfgang (Blub) Bumiller
|
cafa78d430
|
-printdefs for qcvm
|
2012-08-22 14:15:35 +02:00 |
|
Wolfgang (Blub) Bumiller
|
93e13c3cb1
|
option: -force-crc=number, added -info to executor to just show some file info like the crc, and -printfields to print a list of fields along with their type and position
|
2012-08-22 14:00:57 +02:00 |
|
Wolfgang (Blub) Bumiller
|
ae69812d92
|
Nicer prints in exec's prog_print_statement
|
2012-08-19 16:42:12 +02:00 |
|
Wolfgang (Blub) Bumiller
|
dc5555e084
|
qcvm: -trace flag
|
2012-08-19 15:19:43 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9f951e36a9
|
prog_leavefunction needs to take the ++st into account - otherwise INSTR_RETURN ends up skipping the instruction after the calling INSTR_CALL
|
2012-08-16 16:28:59 +02:00 |
|
Wolfgang (Blub) Bumiller
|
0d9435d326
|
util_fopen...
|
2012-08-16 14:01:47 +02:00 |
|
Wolfgang (Blub) Bumiller
|
61605636d1
|
Replacing execloop.h ... wish I could just use a copy of DP's execloop, I hate licenses
|
2012-08-16 12:10:24 +02:00 |
|
Wolfgang (Blub) Bumiller
|
2594274fe6
|
include stdio.h in exec.c for snprintf...
|
2012-08-16 11:36:28 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b36fabe4d7
|
print builtin now prints all the passed strings, not just the first
|
2012-08-11 21:18:15 +02:00 |
|
Wolfgang (Blub) Bumiller
|
cf04b5ed01
|
Need to keep prog->entities up to date when spawning entities
|
2012-08-11 17:35:55 +02:00 |
|
Wolfgang (Blub) Bumiller
|
919d73b0a0
|
experimental support for spawn() in the executor
|
2012-08-11 17:31:08 +02:00 |
|
Wolfgang (Blub) Bumiller
|
48d330a1e9
|
unnamed globals in the trace output use [@addr] now instead of [#addr] since # is used as a prefix for all immediates, so now it's less confusing
|
2012-08-11 11:46:44 +02:00 |
|
Wolfgang (Blub) Bumiller
|
b5bee640d0
|
nicer trace output, strings now get escaped
|
2012-08-11 11:31:50 +02:00 |
|
Wolfgang (Blub) Bumiller
|
2bf40b4104
|
include opts_debug and opts_memchk in exec.c's standalone part for now to have it compile
|
2012-08-08 12:07:37 +02:00 |
|
Wolfgang Bumiller
|
10d70328c8
|
executor: prog_delete: deleting builtins properly - unless statically allocated; added a qc_builtins array for the standalone executor containing 'print'
|
2012-07-27 19:27:56 +02:00 |
|
Wolfgang Bumiller
|
5f0a6bcc53
|
_MEM_ -> MEM_ again at use
|
2012-07-27 19:18:04 +02:00 |
|
Wolfgang (Blub) Bumiller
|
0ed9bdf5b8
|
Adopt dp's function-local backup strategy and add parameter-copying to EnterFunction
|
2012-06-29 16:04:24 +02:00 |
|
Wolfgang (Blub) Bumiller
|
080e6e5dfb
|
exec.h -> gmqcc.h
|
2012-06-27 22:31:56 +02:00 |
|
Wolfgang (Blub) Bumiller
|
9e148df23f
|
tidying up, using the original typenames from code.c, renamed JUMPS_DEFAULT to VM_JUMPS_DEFAULT
|
2012-06-27 22:29:31 +02:00 |
|
Wolfgang (Blub) Bumiller
|
08e5403896
|
qcvm_execprogram.h -> execloop.h
|
2012-06-27 19:37:00 +02:00 |
|
Wolfgang (Blub) Bumiller
|
8ce0548ad5
|
A prototype for error handling
|
2012-06-27 15:34:26 +02:00 |
|
Wolfgang (Blub) Bumiller
|
e761f1f7b7
|
'make qcvm' now builds exec-standalone.o from exec.c with -DQCVM_EXECUTOR=1
|
2012-06-27 14:56:43 +02:00 |
|
Wolfgang (Blub) Bumiller
|
3140f2122a
|
Moving typedefs and defines from exec.c into an exec.h header
|
2012-06-27 14:53:20 +02:00 |
|
Wolfgang (Blub) Bumiller
|
2fd3ddcb1a
|
moved mem_resize and mem_append vector function macros into gmqcc.h
|
2012-06-27 14:50:52 +02:00 |
|
Wolfgang (Blub) Bumiller
|
0dae2898e3
|
fix vector resize to not always resize and actually use the reallocated place...
|
2012-06-27 14:49:36 +02:00 |
|
Wolfgang (Blub) Bumiller
|
a6e7baf127
|
prog_enter/leavefunction made static
|
2012-06-27 13:23:27 +02:00 |
|
Wolfgang (Blub) Bumiller
|
1ce97d1acc
|
Executor now executes and traces
|
2012-06-27 13:21:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
aa08a2da68
|
Searching for 'main'
|
2012-06-26 13:22:37 +02:00 |
|
Wolfgang (Blub) Bumiller
|
36e2a46e07
|
Listing functions
|
2012-06-26 13:21:09 +02:00 |
|
Wolfgang (Blub) Bumiller
|
62008635c5
|
local-stack, locak-stack-pointer, getting strings from an index, adding tempstrings
|
2012-06-26 13:10:10 +02:00 |
|
Wolfgang (Blub) Bumiller
|
e328446044
|
executor: loader
|
2012-06-25 23:58:47 +02:00 |
|