Search found 62 matches

by DrV
Tue Aug 29, 2006 3:14 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: c to basic convert
Replies: 4
Views: 5290

lps <<= 1 is essentially equivalent to lps = lps * 2, assuming you are running outside the IDE so that overflow doesn't cause an error. The while (lps <<= 1) loop will run until the last 1 bit "falls off" the high end of lps (which is probably a 32-bit int). Similar code for BASIC: do while lps <> 0...
by DrV
Tue Aug 29, 2006 2:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Q Basic ?????????
Replies: 13
Views: 11223

@echo off REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment. REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a REM different startup file is specified in an application's PIF. REM Install CD ROM extensions lh %SystemRoot%\system32\mscdexnt.exe REM Install network...
by DrV
Tue Aug 15, 2006 8:28 am
Forum: General Discussion
Topic: New hardware...
Replies: 15
Views: 13422

Guest wrote:P.S. DOSBox is not an Emulator unless you're running on AMD processors. It is a Virtual Machine if you're using an Intel processor.
Huh?
DOSBox Information wrote:DOSBox is a DOS-emulator ...

DOSBox also emulates CPU:286/386 ...
DOSBox is an emulator, regardless of who made your CPU.
by DrV
Tue Aug 15, 2006 8:20 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Which Library
Replies: 11
Views: 9748

No, uGL is a totally different library built by different people. uGL is designed better and implemented better than Future.Lib.
by DrV
Fri Aug 04, 2006 10:15 am
Forum: General Discussion
Topic: New hardware...
Replies: 15
Views: 13422

Nathan1993 wrote:If you do have an issue, use DosBOX: the best DOS emulator ever (next to FreeDOS, but that's an OS by iteself).
You've got the capitalization backwards; it's "DOSBox". :P
by DrV
Fri Aug 04, 2006 10:12 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Network support in DOS
Replies: 2
Views: 3644

You need a packet driver (dunno if there's an equivalent for dial-up) and a DOS port of wget, like the one here: http://www.rahul.net/dkaufman/
by DrV
Fri Aug 04, 2006 10:11 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Which Library
Replies: 11
Views: 9748

Antoni wrote:uGL rocks! :D
+1 :)
by DrV
Wed Jul 05, 2006 9:55 am
Forum: General Discussion
Topic: some c code
Replies: 45
Views: 34954

Code: Select all

(lpc \ 5000) mod 100

Code: Select all

if (intr_count <> 0) and (priority <> GFP_ATOMIC) then
by DrV
Fri Jun 23, 2006 3:49 pm
Forum: General Discussion
Topic: Dammmit
Replies: 20
Views: 22569

Just a side note: PowerBASIC is the descendant of Turbo BASIC - according to Wikipedia, Bob Zale wrote it, then sold it to Borland, then bought it back when Borland no longer wanted to sell it.
by DrV
Tue Mar 07, 2006 12:10 am
Forum: General Discussion
Topic: Favorite browser?
Replies: 3
Views: 5622

Re: Favorite browser?

Well, I was just curious... For a small look at some different browsers other than the big 6 (Internet Explorer, Firefox, Opera, Mozilla, Netscape, and Safari), check out this handy page: http://browsers.evolt.org/ - it's a little outdated though, but it has older versions of Mosiac, the browser Mi...
by DrV
Mon Mar 06, 2006 11:54 pm
Forum: General Discussion
Topic: What computing needs is...
Replies: 9
Views: 8209

Apparently, you can access ext3 (and ext2) file systems from Windows with this thing: http://www.fs-driver.org/ In any case, I've given up on running multiple OSes on one box, so Samba/Windows file sharing works just fine for file transfer. What computing really needs is quieter, cooler equipment an...
by DrV
Mon Mar 06, 2006 12:53 am
Forum: General Discussion
Topic: What are the best QB libraries?
Replies: 16
Views: 11574

The best QB library for game programming or anything remotely similar is UGL. Nothing comes near it in speed or capabilities (VESA, Sound Blaster waveform audio and module playback, keyboard, mouse, blits of all sorts, optimized affine and perspective-correct texture-mapped triangle drawing, etc...)
by DrV
Fri Feb 24, 2006 10:48 pm
Forum: General Discussion
Topic: Licenced under "my rules"
Replies: 30
Views: 22451

May I remind you Z!re is capable, and likely to, murder you? This sentence not English! :) If you remove the appositive: "May I remind you Z!re is capable murder you?" :wink: Anyway, ZLIB seems like a pretty nice license to me, but I usually prefer the GPL for non-libraryish things. Bad stuff happe...
by DrV
Fri Feb 24, 2006 10:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: windows linux compatability
Replies: 7
Views: 5408

Yeah, FB's RANDOMIZE and RND are built around the libc srand() and rand() functions, which are implemented differently on various platforms. You could probably get away with writing your own pseudo-random number generator if you need a reproducible set of "random" numbers from a particular seed.
by DrV
Tue Jan 10, 2006 12:40 am
Forum: General Discussion
Topic: slaxBASIC
Replies: 7
Views: 6513

"T35 Hosting: Page Not Found"
by DrV
Tue Jan 03, 2006 12:57 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: AUDIO CONVERSION
Replies: 1
Views: 2473

I don't believe this has anything to do with QB, but anyway... Get a tape deck with a line output (NOT amplified speaker output). This will probably be one or two RCA-style connectors, so get a stereo RCA male-to-male cable (plus a Y adapter if the tape deck only has a single output jack), attach on...
by DrV
Wed Dec 28, 2005 8:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Newbie Question: Line Breaks?
Replies: 4
Views: 7159

You can use PRINT without any arguments to jump to the next line:

Code: Select all

PRINT "A"
PRINT
PRINT "B"
by DrV
Wed Dec 28, 2005 7:26 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Mouse Programming difficulties on WINXP
Replies: 12
Views: 9607

Michael Calkins wrote:
by holding F5
Pressing F8 gets you a menu from which you can choose "Command prompt only".
HIMEM.SYS, and thus XMS should be loaded either from your CONFIG.SYS or automatically.
As I already stated, this only works in Win9x derivatives, not in NT-based OSes like Windows XP.
by DrV
Tue Dec 27, 2005 9:28 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Mouse Programming difficulties on WINXP
Replies: 12
Views: 9607

Windows XP cannot be started in "Pure DOS mode"; that's only available in the Win9x family (95, 98, Me). You also cannot disable the mouse driver; it's built into the NT VDM. (There may be some way to disable it, but it would not be useful.) I assume this is just a bug in the emulated mouse driver -...
by DrV
Wed Dec 21, 2005 11:18 am
Forum: Pete's QB Site News
Topic: Spammers
Replies: 51
Views: 55728

Oh, the irony...