Search found 132 matches

by Antoni
Wed Jul 27, 2005 9:45 am
Forum: QBASIC and QB64 Questions & Answers
Topic: VESA screen modes
Replies: 11
Views: 13415

What happens with my program? Does it crash? Does my program mode list report any truecolor modes available? Try the older version, as the newer one is more picky? Perhaps your card uses 24 bits, not 32 bits....
by Antoni
Tue Jul 26, 2005 6:21 am
Forum: QBASIC and QB64 Questions & Answers
Topic: VESA screen modes
Replies: 11
Views: 13415

For QB, do the jpeg loader in my site work?

http://www.geocities.com/antonigual/qbasic

I don't give a direct link to the file, as these do not work in Geocities
by Antoni
Tue Jul 26, 2005 6:15 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QBasic libraries
Replies: 5
Views: 7546

open a dos box
cd to the qb folder
key in

Code: Select all

lib brun45.lib,brun45.txt, 
close the dos box
browse qb folder and you will find a file brun45.txt you can read with notepad
by Antoni
Mon Jul 25, 2005 1:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Binding
Replies: 9
Views: 12691

Binding is always here, but it's hardly noticed. Perhaps your program is starting to grow big? Or are you running something else in the bacground you did'nt run before?
by Antoni
Sun Jul 24, 2005 1:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QBasic libraries
Replies: 5
Views: 7546

Use lib
[lib]
lib brun45.lib,brun45.txt,
[/lib]
It will print to brun45.txt the list of subs/functions of brun45.lib with the module they are in. Unforunately it will not tell you anything about the list of parameters.
by Antoni
Thu Jul 21, 2005 6:05 am
Forum: General Discussion
Topic: Log In Problems Fixed!
Replies: 15
Views: 19277

Was the last message from someone who wanted to stay anonymous or it did the login fail again? :D

Now cookies work for me. The forum identified me when I entered.
by Antoni
Mon Jul 18, 2005 2:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: qbinux - several questions
Replies: 16
Views: 15528

You must parse the input line and set the timer accordingly...
by Antoni
Mon Jul 18, 2005 2:28 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: qbinux - several questions
Replies: 16
Views: 15528

Forgot to login again... Someting like this: 'main loop type timertype t as integer p as string*12 end type dim shared timers(10) as timertype for i=0 to 10:timers(i).time=-1:next i dim shared t! ' '-------------------------------------- sub startimer(timeout,prog$) 'search for an unused timer i=0 w...
by Antoni
Sun Jul 17, 2005 10:23 am
Forum: QBASIC and QB64 Questions & Answers
Topic: qbinux - several questions
Replies: 16
Views: 15528

Use timer variables: When starting a timeout, set a timing variable to the number of seconds to wait. In your main loop check regularly for the timer, each time a second passes decrease all active timer variables If one active timer reaches zero, the timeout has expired, so run whatever program you ...
by Antoni
Fri Jul 15, 2005 6:31 am
Forum: QBASIC and QB64 Questions & Answers
Topic: qbinux - several questions
Replies: 16
Views: 15528

To make a filesystem is not trivial work, I have never done it, my ideas are from how DOS filesystem works. You should ask some GUI guru... You should create two RANDOM files, one for the sector table, one forthe actual data. The size of the datafile is up to you, DOS supports up to 2GB.You should d...
by Antoni
Fri Jul 15, 2005 5:51 am
Forum: QBASIC and QB64 Questions & Answers
Topic: COM port control - Need help!
Replies: 10
Views: 12498

Usually the COM ports are accessed as files, with OPEN, PRINT # and INPUT #. Why are you doing it the hard way?
Comm ports are the same in QB and in PDS

This should help http://faq.qbasicnews.com/?blast=SerialComms
by Antoni
Wed Jul 13, 2005 3:24 am
Forum: QBASIC and QB64 Questions & Answers
Topic: qbinux - several questions
Replies: 16
Views: 15528

For your own filesystem do you mean not merely intreface the DOS filesystem? In this case, create a huge file (2 GB) and manage it as you like. You could divid it in chunks of perhps 2 to 4 k and break files in pieces of the same size.You should maintain a table of which chunk is allocated, and whic...
by Antoni
Tue Jul 12, 2005 5:08 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Masks (please explain the methodology)
Replies: 4
Views: 6168

FreeBasic has a transparent PUT that would save you a lot of work. No need of masking....
by Antoni
Thu Jul 07, 2005 7:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Quite tricky
Replies: 4
Views: 6723

It was me. I forgot to register again...
by Antoni
Wed Jul 06, 2005 3:27 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QuickBasic code generation
Replies: 10
Views: 11495

victor: My memory degrades every year. The limitation is the compiler does'nt allow 8 bits data to have parity. I found it in Dav's MS Knowledge base for QB database. http://qbnz.com/dav/qbkb/?action=dict_find. Do a search for COM1, you will find interesting things. I forgot most of the issues about...
by Antoni
Wed Jul 06, 2005 3:10 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: on error
Replies: 6
Views: 10121

I'm afraid Mystik Shadows is wrong in this case... QB4.5 has no LOCAL error handling, whatever the online help says (perhaps a bug) ... Local error handling works only with PDS 7.1..or FB. The error handling routines must be at the end of the main program, or in the main part of the modules. They ca...
by Antoni
Tue Jul 05, 2005 9:02 am
Forum: QBASIC and QB64 Questions & Answers
Topic: ASM, Poking, and Screen 12
Replies: 4
Views: 6259

How many times do I need to tell you people! Notice how nearly everyone that posts code in plain text gets no replies (exept for me yelling at you). So post it in a code box and we may reply. Obey the moderator, guys.... Halifax: Mode 12h is very quirky, as each color in a pixel is in a diferent me...
by Antoni
Tue Jul 05, 2005 8:46 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Poker program (My "triumphant return" to QB coding
Replies: 11
Views: 14976

Now seriously...
Being poker played for centuries with the same rules, is there still place for strategic improvements? It must have been studied by generations of statisticians. Ibelieved it was more a matter of psychology, of deducting what's the contrary's game from his/her reactions...
Am I wrong?
by Antoni
Tue Jul 05, 2005 6:35 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QuickBasic code generation
Replies: 10
Views: 11495

VBDOS creates 16 bit code too. Be warned QB-VBDOS comms had some quirks, some word widths wre incompatible with some stop bit numbers. I can find the exact values if you need them.. This old forum archive can be useful as a reference, 15 years ago QB was more used for comms than today http://www.out...