Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QuickBasic Decompiler 1

Status
Not open for further replies.

dplammers

Programmer
Dec 13, 2002
2
CA
Does anyone know of a simple QuickBasic Decompiler? I have a very simple DAQ program I need to retrieve some calibration equations from.

Thanks
 
How do you make the disassembler work? I tried running the program in QuckBasic 7.1 but the file it outputs doesn't mean anythingto me. I'm not really sure how the program is supposed to work.

Thanks for your help.
 
The Disassembler, as it is named, disassembles the code or turns it into assembeler code.
 
I've seen and used a unfinished decompiler. But I lost the program after an INT24 on my harddrive.
But it disassembled the file and from that it wrote something Basic-like.
 
A small reply on my last reply. It only decompiles to assembler. You'd need an assembler program or an translator to basic. If I find something I'll let you know
 
You SHOULD allready have a disassembler on your PC...
DEBUG
go to your start menu>run... and type debug (press enter)
a black screen with a - should appear.
(*type Q and enter to close it)
this can do all kinds of trick (espesially for its age...)
Now Stop... if you mess around too much... you might do something you really don't want to do...
you DO NEED to learn how to use it first...
Since you are obviously online switch windows and Google Debug Tutorial ... or Debug Qbasic .... BCR8IV!
If you are attempting to program... the #1 requirement is a brain and the 2nd is to use it... so GET TO WORK and have a lil fun.

L8r Mates,
JoSh S
 
go to it not only explains some asm, it tells you how to implement it in to your qbasic progs, and how to use debug. If the equations you are looking for are for rotation, this site carrys tutorials on 2D and #d rotation. I once searched for a qb decompiler, but they are almost impossible to find, and it is probably better so. Too many people would steal code with them.
 
go to it not only explains some asm, it tells you how to implement it in to your qbasic progs, and how to use debug. If the equations you are looking for are for rotation, this site carrys tutorials on 2D and 3D rotation. I once searched for a qb decompiler, but they are almost impossible to find, and it is probably better so. Too many people would steal code with them.
 
Please remember One thing...
The way a file is compiled...
The upper-level language is QB, Pascal, C...
These use things such as Variables, Subs, Functions, User defined types...

The compiler takes all these nice little extras and strips them down to generate assembly or something similar which goes hand in hand with straight machine code...

All your variables, types, etc... are replaced with Registers, memory blocks, pointers, the stack...
your sub/function calls are replaced with memory address and pointers to them that makes the program jump straight to a point in memory... similar to the old GOTO linenumber method.

Basically all the information you are looking for in qbasic DeCompiler is actually lost in compilation...

The most you can get that will be of any worth is assembly code from a disassembler.

of course there may be a few programs here and there to simulate converting ASM to QB but all in all you will NEVER see the original code with the original variable... with a decompiler.

Thanks,
-Josh Stribling
 
for rotation and equations for other graphical tricks...
visit this cool lil' site...


I highly Suggest it..
-Josh Stribling

fcc.gif

title.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top