Post Reply 
[WP34S] New GUI features
01-11-2016, 02:32 PM (This post was last modified: 01-11-2016 02:37 PM by fhub.)
Post: #60
RE: [WP34S] New GUI features
Hi Marcus!

There's a serious problem for users of the complex WP34s version when using the new 'Import program...' feature:
I'm rather sure that anyone using both (the normal and complex) emulators will probably have the assembler tools and the opcode files in one and the same directory (usually 'tools').
Now the opcode-files wp34s.op and wp34c.op are not compatible, but the GUI does not tell the assembler explicitely which *.op file he should use, and so he always uses the normal file wp34s.op - and this will of course lead to a wrong state file (with wrong or even illegal opcodes), when you import any sourcefile with the complex emulator!

I see 2 possible solutions for this problem:
1) The best way would be to change the opcode table of the complex emulator, so that 'new' opcodes (only existing in the complex version) would not overwrite opcodes of the normal version, but just use 'free' opcode numbers (there are lots of free places in wp34s.op). With this method we won't even have the need for an extra wp34c.op - all opcodes (the 'normal' and the 'complex' ones) would be in the same file wp34s.op.

2) The other method is to explicitely add the option '-op wp34c.op' in the complex emulator when calling the assembler, but in this case you would also have to add the location of the opcode file, i.e. a working option could be '-op ..\tools\wp34c.op' assuming the assembler and the opcode file both are in ..\tools.

IMO the first method with only one wp34s.op for both emulator versions is certainly the better choice (especially because the same problem exists for the QtGUI version, too!), but who can rewrite the opcode addresses in the complex emulator, so that they are at free places?

Franz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[WP34S] New GUI features - Marcus von Cube - 01-01-2016, 10:56 PM
RE: [WP34S] New GUI features - fhub - 01-02-2016, 11:26 AM
RE: [WP34S] New GUI features - fhub - 01-02-2016, 12:34 PM
RE: [WP34S] New GUI features - fhub - 01-02-2016, 02:00 PM
RE: [WP34S] New GUI features - fhub - 01-02-2016, 06:25 PM
RE: [WP34S] New GUI features - BarryMead - 01-02-2016, 06:54 PM
RE: [WP34S] New GUI features - fhub - 01-02-2016, 07:18 PM
RE: [WP34S] New GUI features - BarryMead - 01-02-2016, 07:26 PM
RE: [WP34S] New GUI features - BarryMead - 01-02-2016, 08:48 PM
RE: [WP34S] New GUI features - BarryMead - 01-02-2016, 09:19 PM
RE: [WP34S] New GUI features - Dieter - 01-02-2016, 10:00 PM
RE: [WP34S] New GUI features - fhub - 01-03-2016, 01:45 PM
RE: [WP34S] New GUI features - fhub - 01-03-2016, 03:27 PM
RE: [WP34S] New GUI features - fhub - 01-03-2016, 04:21 PM
RE: [WP34S] New GUI features - BarryMead - 01-03-2016, 12:15 AM
RE: [WP34S] New GUI features - BarryMead - 01-03-2016, 04:22 PM
RE: [WP34S] New GUI features - BarryMead - 01-03-2016, 05:13 PM
RE: [WP34S] New GUI features - BarryMead - 01-02-2016, 09:40 PM
RE: [WP34S] New GUI features - BarryMead - 01-03-2016, 05:29 PM
RE: [WP34S] New GUI features - fhub - 01-04-2016, 11:32 AM
RE: [WP34S] New GUI features - fhub - 01-04-2016, 03:57 PM
RE: [WP34S] New GUI features - fhub - 01-04-2016, 04:20 PM
RE: [WP34S] New GUI features - fhub - 01-04-2016, 11:45 PM
RE: [WP34S] New GUI features - BarryMead - 01-07-2016, 11:04 PM
RE: [WP34S] New GUI features - BarryMead - 01-08-2016, 12:01 PM
RE: [WP34S] New GUI features - BarryMead - 01-08-2016, 06:33 PM
RE: [WP34S] New GUI features - BarryMead - 01-08-2016, 09:30 PM
RE: [WP34S] New GUI features - fhub - 01-09-2016, 12:59 PM
RE: [WP34S] New GUI features - Nigel (UK) - 01-10-2016, 09:25 PM
RE: [WP34S] New GUI features - fhub - 01-11-2016 02:32 PM
RE: [WP34S] New GUI features - fhub - 01-11-2016, 04:10 PM
RE: [WP34S] New GUI features - fhub - 01-23-2016, 10:18 AM
RE: [WP34S] New GUI features - fhub - 01-23-2016, 03:06 PM
RE: [WP34S] New GUI features - fhub - 01-23-2016, 03:36 PM
RE: [WP34S] New GUI features - BarryMead - 01-11-2016, 07:20 PM
RE: [WP34S] New GUI features - fhub - 01-11-2016, 10:00 PM
RE: [WP34S] New GUI features - Nigel (UK) - 01-22-2016, 09:58 PM
RE: [WP34S] New GUI features - Nigel (UK) - 01-23-2016, 02:38 PM
RE: [WP34S] New GUI features - fhub - 01-23-2016, 03:11 PM
RE: [WP34S] New GUI features - fhub - 01-26-2016, 08:19 PM
RE: [WP34S] New GUI features - fhub - 01-26-2016, 10:15 PM



User(s) browsing this thread: 7 Guest(s)