How to decompile a 16 bit dos executable? [closed] - dos

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have a 104 byte dos program that I was expecting output from when run. I did not get any and so want to decompile it and find what it is doing. It is small enough that I could do this by hand, but I cannot find any of the hex code instructions. Is there anywhere I could find them or a program that can decompile it

The tool you are looking for is called a Disassembler. You can find one quite easily by doing a Google search. One comes to mind is NASM's disassembler. I even have one I use.
However, it isn't as simple as just running it through a disassembler. Is the app an .EXE file or a .COM file. If it is a .COM file, it is actually quite a bit easier if you tell the disassembler to start with an offset of 100h.
If it is an .EXE, you will need to parse the file's header (a tool can be found at the link above) and find the entry point and offset. Then you can disassemble the correct parts.
Even after that, you will need to work with the output to find out more about the app. Since it is only 104 bytes, that should be a very simple task. Imagine doing it for 104,000 byte file. Been there, done that.

Related

Graphviz: Online tool capable of accepting larger files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Does anyone know of a good online site for rendering graphviz dot files that will take larger files (say, 200 lines; 200 nodes )?
I was using http://graphviz-dev.appspot.com/ & it used to work fine so far but the moment I cross about 100 lines it seems to throw errors. Can someone else check maybe?
GraphvizOnline
http://dreampuf.github.io/GraphvizOnline/
Edit and render the dot file online
There's Graphviz renderer in GitHub Pages of original viz.js repo. According to the description it's:
... a Makefile for building Graphviz with Emscripten and a simple wrapper for using it in the browser.
So I would expect most Graphviz's features. Though it couldn't render this 8K .dot file complaining about limit of 16MiB (can be configured). Reducing the size I have got it rendered first 1K lines without an error.
This online tool by HermannSW works great with arbitrary sized files:
http://stamm-wilbrandt.de/GraphvizFiddle/
For documentation see here:
https://www.ibm.com/developerworks/community/blogs/HermannSW/entry/graphvizfiddle?lang=en

Error recovery algorithms? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am doing a software that grabs in the end a numeric string, that string encodes important data, and any error destroy the contents.
Worse: It is VERY prone for errors, because of how data is transmitted (and I can do nothing about it).
So I decided to add a verification digit of sorts... After some research, I have more questions than answers... So, someone can point me to a decent location to study more about that subject?
Also, someone know some popular algorithms that can even fix errors, or at least point where the errors are, so I can retry grabbing the data with error?
Also what I do, if the checksum data itself managed to be wrong in transmission?
Hamming Code
simple pdf explanation of hamming code
Basically for every N bits of your message, you have some check bits.
You can detect and correct errors in the check bits, based on the data, or errors in the data, based on check bits. Too many errors though, and it's just garbage. There may be a utility in your language of choice to already do this.
This can be of use: http://www.eccpage.com/

Building and animating fractals [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Can anyone recommend any software/books required to learn and build fractal patterns? I want to also be able to animate the fractal patterns too. Like something off of winamp.
For book on animated fractal Fractals: An Animated Discussion with Edward Lorenz and Benoît Mandelbrot could be what you want.
You might like: The Computational Beauty of Nature
http://mitpress.mit.edu/books/flaoh/cbnhtml/
I am working on a project in java for creating fractals (flame fractals).
The user provides a script file in javascript, that takes care of the interpolation between fractals. Also, as input, one can provide a file that affects an animation in some way,
so this is the way to make an animation change to some music,
see for example
http://www.youtube.com/watch?v=imDPqR9cDL8
I can send you the source code if you provide me with an address.
There's lots of fractal programs out there.
I know that Ultrafractal is pretty popular, but not free.
As far as free ones go, there are programs such a ChaosPro and others. A quick google search will find them for you.

Windows disassembler: looking for a tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a (preferably free) tool that can produce "proper" disassembly listing from a (non-.NET) windows PE file (*.exe or *.dll).
Important requirement: it should be possible to run the listing through a windows assembler (nasm, masm or whatever) and get working exe again (not necessarily identical to original one, but it should behave in the same way).
Intended usage is adding new subroutines into existing code, when source is not available.
Ideally, tool should be able to detect function/segment boundaries, API calls, and generate proper labels for jumps (I can live without labels for loops/jumps, though, but function boundary detection would be nice), and keep program resources/segments in place.
I'm already aware of IdaPRO(not free), OllyDBG (useful for in-place hacking, doesn't generate disassembly listing, AFAIK), ndisasm (output isn't suitable for assembler), dumpbin (useful, but AFAIK, output isn't suitable for assembler) and "proxy dll" technique.
Ideas? Or maybe there is a book/tutorial that explains some kind of alternative approach?
Also,check out Oilly. It's a pretty neat application and very intuitive too. You can disassemble and hex edit. Ideal for small to medium size projects.
You say you're aware of IdaPRO, but are you also aware of IdaFree?
I'm not positive it does exactly what you want but have you tried PEiD?
Take a look at free PEBrowse Professional:
http://www.smidgeonsoft.prohosting.com/pebrowse-pro-file-viewer.html

Real-time audio visualisation in Cocoa? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Are there any frameworks or open-source code that would simplify the process of implementing a real-time oscilloscope (time-domain audio visualisation) in OSX?
Ideally, I want to display a simple animated view representing the audio signal being input by the microphone input.
The easiest way to do this is to use a QCView. It's pretty easy to find QC compositions that display a bar graph display of the audio output.
Look at a language called Pd (Pure Data). It's the free version of Max/MSP. It's the easiest way to do anything with audio. One of the classes is in fact an oscilloscope. Simply draw a line from the output of your sound source (it can be your mic, a sound file, or a live oscillator) to the oscilloscope and bathe in the visual output glory!
http://puredata.info/
the SurfaceVertexProgram example is a nice demonstration of how to do an oscilloscope using OpenGL. the example is a bit out-dated (you have to build up a new xcode project), but functions and demonstrates very useful techniques.

Resources