Search found 48 matches

by RyanKelly
Wed Feb 22, 2006 10:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: windows linux compatability
Replies: 7
Views: 11896

Some Linux kernels provide a random number generator that "collects entropy" whenever a system call is made or certain hardware handling takes place. It's specifically designed to prevent one machine from generating the same sequence as another for the purpose of defeating authentication s...
by RyanKelly
Sat Feb 18, 2006 12:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Running ASM code
Replies: 9
Views: 11871

It also occurred to me that you could redirect an interupt vector to execute your code, but this would be very messy.
by RyanKelly
Sat Feb 18, 2006 12:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: A few questions...
Replies: 4
Views: 7586

1. No. You have to do this manually. 2. The random number generator applies an algorithm to a sequence of numbers. If it starts with the same "seed" you get the same series of numbers from the rnd function. RANDOMIZE sets the seed. 3. I think those numbers indicate the amount of memory in ...
by RyanKelly
Fri Feb 17, 2006 7:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Running ASM code
Replies: 9
Views: 11871

The only way around using a CALL ABSOLUTE statement in Qbasic is to shell out to another executable file, which if you're trying to aviod a simple statement, shelling probably isn't attractive either. If you are absolutely determined to do this, then here is some information that might help you on y...
by RyanKelly
Thu Feb 16, 2006 7:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Running ASM code
Replies: 9
Views: 11871

I'm not quite sure what it is that you want to do. If you want to execute machine code with a QB program then a loader and a call are the bare minimum. The machine instructions have to be placed into memory one way or another and the proccessor won't execute the code unless it is directed to do so. ...
by RyanKelly
Sat Feb 11, 2006 8:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: .WAV File Player
Replies: 3
Views: 5420

If you have a sound blaster compatible sound card, you need to know the base i/o address, the IRQ number, and the DMA channel number that the card is configured to use. For format of the BLASTER environment variable is BLASTER=A(base address) I(IRQ) D(DMA channel) Here is an example shell command. S...
by RyanKelly
Sat Jan 28, 2006 3:15 am
Forum: QBASIC and QB64 Questions & Answers
Topic: loading excel files
Replies: 14
Views: 20680

Don't get me wrong. For serious work cracking a file format is probably a waste of time, but if your only in it for a personal challenge... I've never tackled anything as complex as a full spread sheet format, but for saved game files or level editing its usually not that much of a time investment. ...
by RyanKelly
Wed Jan 25, 2006 7:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: loading excel files
Replies: 14
Views: 20680

Hey, I don't know much about the excel file formats, but I can suggest a few techniques for deciphering an unknown file format. Most of these will seem obvious. Create the simplest file with default settings. Use this as your reference point. Make a list of each file option and create a new file for...