Search found 79 matches

by angros47
Mon Aug 10, 2009 3:15 pm
Forum: General Discussion
Topic: Speeding up the coding process
Replies: 21
Views: 36918

Don't think about coding faster, think about coding better. Usually, the problem is not about writing fast, it's about thinking the code to write; you can't think that the computer will write the code for you (well, it could, but you'll always get similar programs, with a few changes). Make subrouti...
by angros47
Mon Aug 10, 2009 2:58 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Should I stop making my RPG?
Replies: 15
Views: 30855

If you need a better dos emulator than the one included in winXP, use dosbox http://www.dosbox.com , it allow you to run your old programs in the original qb (so even external libraries can be used). Should work even in vista (even 64), and emulates 16-bit modes even if the os doesn't support them. ...
by angros47
Fri Jun 19, 2009 4:20 am
Forum: News and Announcements
Topic: UNZIP IN QB 45 BETA Source
Replies: 4
Views: 13860

Please finish it! It would be very useful: QB is very easy to read, so learning how zip works is easier from a sample in basic than from a sample in C
by angros47
Sat Jun 06, 2009 1:17 pm
Forum: News and Announcements
Topic: UNZIP IN QB 45 BETA Source
Replies: 4
Views: 13860

Great!

It works even in FB, with a little change (http://www.freebasic.net/forum/viewtopi ... 038#121038)
I could not believe that there was no unzip subroutine in QB, your work is really appreciated
by angros47
Sat May 30, 2009 7:29 am
Forum: General Discussion
Topic: Text screen again...
Replies: 6
Views: 17125

Use PRINT CHR$(...); to display special characters (see QBasic help--ASCII character table) Use COLOR foreground, background to display colors (a foreground bigger than 16 will make blinking text) Remember that if you are using your program under windows, maybe when it ends the window will close too...
by angros47
Wed May 13, 2009 3:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Another little game of my
Replies: 3
Views: 6996

What "Mower.exe" is supposed to be? If you compiled the game to "mower.exe", and used the line: SHELL "Mower.exe" to restart it, you made a mistake, because: 1) this feature will work only when the game is compiled (or else you'll get a "file not found/bad command ...
by angros47
Tue May 05, 2009 5:52 am
Forum: QBASIC and QB64 Questions & Answers
Topic: OS
Replies: 10
Views: 18384

You can write a program that works outside windows, since qbasic requires only dos. You can even write a GUI shell, with a windows-like interface (the most known one is GIMI) You cannot write a real OS, since qb runtime library (needed for memory management, strings, file I/O, graphics...) uses some...
by angros47
Sun May 03, 2009 2:47 am
Forum: General Discussion
Topic: SGOS Worth it?
Replies: 6
Views: 11229

It seems very similar to DexOs (http://www.dex4u.com). Have you already checked it?
by angros47
Mon Apr 27, 2009 6:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: run another program within qbasic
Replies: 9
Views: 16706

If you are using a program written in qb, you can load it over DOS, and shell will work (but you won't be able to use long file names). If you are going to write your own kernel, you'll need something like bootprog to load it directly from the boot sector, but you have no dos services (so, no file c...
by angros47
Sun Apr 12, 2009 7:53 am
Forum: General Discussion
Topic: GameBasic a good idea?
Replies: 10
Views: 20805

Well, a game-oriented basic compiler is needed for DexOs ( http://www.dex4u.com ). DexOs is a tiny, dos-like 32-bit OS with an original GUI, that instead of using a window interface tries to simulate a gaming console. It's 100% written in ASM, so if you are a good ASM coder maybe it could be your ta...
by angros47
Sat Apr 11, 2009 6:02 am
Forum: General Discussion
Topic: GameBasic a good idea?
Replies: 10
Views: 20805

To be honest, I'm not much interested in a shareware. Also, XST Basic for DOS is already a good solution, and it's free. It can be found at http://www.geocities.com/snakessoft/xst.html or at http://www.geocities.com/snakessoft/vault.html . It provides an interpreter, a c emitter, 2d and 3d games cre...
by angros47
Fri Apr 10, 2009 5:53 am
Forum: General Discussion
Topic: GameBasic a good idea?
Replies: 10
Views: 20805

How are you going to do it? It will have a RAD/IDE or a command line? It will be an interpreter, a P-code compiler/interpreter, or a true compiler? An interesting idea could be a compiler that create flash or java executables (emitting java/actionscript code) so that games can be developed for inter...
by angros47
Wed Apr 08, 2009 7:21 am
Forum: General Discussion
Topic: GameBasic a good idea?
Replies: 10
Views: 20805

Why doing it only for dos? Why don't you build a multiplatform?
by angros47
Mon Jan 12, 2009 5:58 pm
Forum: General Discussion
Topic: The Future of Windows 7
Replies: 13
Views: 27001

Maybe there will be again a microsoft basic embedded in the OS? M$ is developing a language called SmallBasic ( http://www.smallbasic.com ), and someone is asking about embedding it in Win 7 Read about it: http://services.social.microsoft.com/feeds/FeedItem?feedId=00000000-0000-0000-0000-00000000000...
by angros47
Mon Jan 12, 2009 3:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: qb in explorer under html
Replies: 6
Views: 14728

Why don't you post some exaples of your code, so we can test it? I'm not sure that I understand what did you do: you open qb from a HTML page, or you run qb commands inside the browser? (IE has VBscript, that is similar, for some aspects, to QB... did you use VBscript?) Qb inside web pages seems ver...
by angros47
Fri Dec 26, 2008 4:25 am
Forum: News and Announcements
Topic: QB64 8.1 is out
Replies: 7
Views: 19264

QB64 8.1 is out

The new version of QB64 is available, with IDE similar to QB and support for linux
by angros47
Sat Oct 25, 2008 6:50 am
Forum: Freebasic Questions & Answers
Topic: QB/FB discriminator
Replies: 1
Views: 21929

QB/FB discriminator

This little piece of code allows to understand if a program has been compiled in FB (-lang QB) or QB. Declare Sub TestVersion () Dim Shared Version TestVersion: If Version = 1 Then Print "This is FreeBasic" Else Print "This is Quickbasic" Sub TestVersion Version = 1 End Sub Test ...
by angros47
Sat Oct 18, 2008 2:57 am
Forum: QBASIC and QB64 Questions & Answers
Topic: HTML to QB Colors
Replies: 4
Views: 8476

Here is an old program i wrote, to convert HTM files to ANSI TXT files (it needs ANSI.SYS loaded in dos) I hope it could help ' HTML to TXT filter Comm$ = RTRIM$(LTRIM$(COMMAND$)) M = INSTR(Comm$, " ") IF M = 0 THEN PRINT "Please enter input and output files": END In$ = LEFT$(Com...
by angros47
Mon Sep 08, 2008 1:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: PAINT command
Replies: 3
Views: 7894

The usage depends of screen mode. In monochrome (screen 2, screen 11...) the usage is very easy: The tile MUST have a width of 8 bit, and can have a variable height. You draw the tile by converting the bit-matrix to bytes. Example (drawing a cross): 00001000=8 00001000=8 00001000=8 11111111=255 0000...