Comments (5)
I'm not too keen on popping up user interfaces in the user's face. Rather, in the project browser, let's consider adding a new treenode, a child of the executable, which would be labelled AmigaOS
or what have you. Each platform can then have its own custom user interface which could accept user data and persist it in the *.dcproj file.
I can mock this up in the "gui-development" branch over the weekend, so you can take a look.
from reko.
Revision 76ad42d of the "gui-development" branch now shows the Platform in the project browser. If the platform is AmigaOS, the Platform will be clickable and show some UI, You can add controls on the AmigaOSProperties
user control and react to changes by saving them to the instance of AmigaOSPlatform
in the AmigaOSPropertiesInteractor
class.
@nemerle , @halsten , open up a file from ~/subjects/Hunk-m68k and let me know what you think.
from reko.
@nemerle: you will need to add the requisite properties to the AmigaOSPlatform and MsdosPlatform to store all these hardware configuration details. Then, the loading and saving of projects has to be modified to ask each platform to save / load platform specific options to/from an XmlTextWriter
/ XmlTextReader
. The contents of this Xml will then be added to the .dcconfig file as an opaque blob.
I need some time to investigate how to save XML blobs to a file using XmlSerializer in an elegant way, In the meantime, you can work on the user interface I presented you, adding textboxes, comboboxes etc. to your heart's content
from reko.
@nemerle: commit ce1d57f added the virtual methods LoadUserOptions
and SaveUserOptions
to the Platform
class. You're welcome to extend the AmigaOSPlatform
class by overriding those methods and implementing the appropriate functionality. The AmigaOSPlatformDesigner
user interface should save user changes into a Dictionary<string,object>
which can be kept in the AmigaOSPlatform
class.
from reko.
Both architectures and platforms have supported options for a while now.
from reko.
Related Issues (20)
- Multidimensional array can not be reconstructed if memory accesses are done at another statements
- cannot build solution HOT 8
- RISC-V: Missing instructions from H and Q extensions HOT 1
- RISC-V: missing c.slli64, c.srai64, c.srli64 hint instructions HOT 1
- Unable to cast object of type 'Reko.ImageLoaders.Omf.OmfLoader' to type 'Reko.Core.Loading.ImageLoader' HOT 3
- no binary output after building on Ubuntu HOT 2
- Disassembly view now corrupts at the start of some procedures. MASTER: WindowsDecompiler HOT 2
- Crash at 'reconstruct data types' HOT 2
- can not open csky elf HOT 2
- Several bugs found: incorrect function argument order, double type value, and strings HOT 2
- Unexpected argument order when decompiling program
- Reko fails to recover floating-point code
- Reko doesn't generate any decompiled code
- Problems with type inference around `printf`
- No string literals are generated
- incomplete control flow recovery HOT 1
- reko crash during "Finish Decompilation" step with Alone in the Dark HOT 3
- MASTER - WINDOWS Decompiler - popup of target call is empty
- MASTER - M68K switch statement fail
- To run this application, you must install .NET Core. HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reko.