aboutsummaryrefslogtreecommitdiff
path: root/tools/rasm/rasm.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-09-06 07:37:20 +0100
committerJuan J. Martinez <jjm@usebox.net>2022-09-06 07:37:20 +0100
commit30bf0f51335e87812ffeb54e9437f0b6a1514d67 (patch)
tree9c85a2de53b4da69fcfaa84488cc6c12ebd3e5d0 /tools/rasm/rasm.h
parentd8990284057e6401d0374f439df51879595d804d (diff)
downloadubox-msx-lib-30bf0f51335e87812ffeb54e9437f0b6a1514d67.tar.gz
ubox-msx-lib-30bf0f51335e87812ffeb54e9437f0b6a1514d67.zip
Updated rasm to 1.7
Diffstat (limited to 'tools/rasm/rasm.h')
-rw-r--r--tools/rasm/rasm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/rasm/rasm.h b/tools/rasm/rasm.h
index 211cf9e..4899446 100644
--- a/tools/rasm/rasm.h
+++ b/tools/rasm/rasm.h
@@ -14,13 +14,20 @@ struct s_rasm_info {
int nberror,maxerror;
struct s_debug_symbol *symbol;
int nbsymbol,maxsymbol;
+ int run,start;
+ unsigned char *emuram;
+ int lenram;
};
+#ifndef INSIDE_RASM
//extern "C" {
int RasmAssemble(const char *datain, int lenin, unsigned char **dataout, int *lenout);
int RasmAssembleInfo(const char *datain, int lenin, unsigned char **dataout, int *lenout, struct s_rasm_info **debug);
+int RasmAssembleInfoIntoRAM(const char *datain, int lenin, struct s_rasm_info **debug, unsigned char *emuram, int ramsize);
void RasmFreeInfoStruct(struct s_rasm_info *debug);
//};
+#endif
+