zero support for tokenization of PBASIC 1.0?
Indrora
Posts: 2
I'm writing a simple editor with compilation/Intel Hex/Motorola SREC functionality, etc but I want to target the BS1 as well as the BS2* chips. Through many hours of trial and error, I came accross this:
is this a subtle hint for me to dump the (oh...) 8 or so BS1's I have?
Continuing, Error 204 is "Expected a target module: BS2, BS2E, BS2SX, BS2P or BS2PE" -- Apparently showing no support within the tokenizer library for BS1 targets.
Is there seriously no support within the latest version of the tokenizer library for BS1 and PBASIC 1.0? If so, is there a tokenizer library I can use to get BS1 support?
Also, for those interested, the syntax for doing C# tokenization is:
If anyone has an implementation other than the one described elsewhere for doing TModuleRec layout in C# (currently, its all 'unsafe' fixed buffers) I'd appreciate it. its hard to debug unsafe code when your IDE doesnt like to *compile* it
Post Edited (Indrora) : 8/22/2009 1:28:18 PM GMT
TypeID Type Examples 1 Target Module BS2, BS2E, BS2SX
is this a subtle hint for me to dump the (oh...) 8 or so BS1's I have?
Continuing, Error 204 is "Expected a target module: BS2, BS2E, BS2SX, BS2P or BS2PE" -- Apparently showing no support within the tokenizer library for BS1 targets.
Is there seriously no support within the latest version of the tokenizer library for BS1 and PBASIC 1.0? If so, is there a tokenizer library I can use to get BS1 support?
Also, for those interested, the syntax for doing C# tokenization is:
unsafe { TModuleRec tModRec; bool ParseStampDirectives = true; bool OnlyDirectives = false; bool nothing_broke = compile(&tModRec, onlyDirectives, parseStampDirectives, null); // deal with your data here. }
If anyone has an implementation other than the one described elsewhere for doing TModuleRec layout in C# (currently, its all 'unsafe' fixed buffers) I'd appreciate it. its hard to debug unsafe code when your IDE doesnt like to *compile* it
Post Edited (Indrora) : 8/22/2009 1:28:18 PM GMT