COMPILer's warnings:old memories..

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

URSULE

COMPILer's warnings:old memories..

Post by URSULE »

I still use GWBASIC from time to time-this glorious father of QBASIC and the services of a compiler and it works but this compiler use to sending a lot of warnings more or less important that I cannot read because they run too quickly on the screen.
I cannot print at present and I got the info to "route" the warnings in a folder with the instruction:
>compil XXX>Source XXX being my program,
"Source" being the folder where I could receive the warnings
Unfortunately, "Source" really opens but there is nothing inside.
How could I proceed?
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

Where did you get this info so that I may look at it.
"But...It was so beutifully done"
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

At dos:

Code: Select all

compile foo.bas > source.txt
Then look at source.txt
Image
URSULE

Compiler's warnings

Post by URSULE »

I tried it and it doesn't work.Without the extensions,it works , my program is compiled, but my file where I expected to get the warnings remains desesperately void.
Do you know another command?
OldDosLover

Compiler old memories

Post by OldDosLover »

I believe that you are trying to redirect output from the screen to a file. This is possible easily in dos. Any dos command can have its output redirected in the following 2 ways.
1] dir > dirtext.txt --> simply makes the directory listing into a file
2] dir >> dirtext.txt --> add to end of existing file

For example you could try xxxxxxxx > more which would in theory display onscreen text pausing at bottom of screen.

Also try PIPE --> | ,the shifted backslash key on keyboard.

Id also try this compile nameof.bas | more and once you get the screen to pause you can then try to redirect it to a file.
Simply this is redirection by combining commands like this
dir /b | find "LOG" > loglist.txt
here dir + find are 2 native dos commands redirected.

Also try creating a dummy blank file and see if it attempts to overwrite it.
Hope this helps
OldDosLover
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

I hate DOS
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

Good for you... oh wait... You're using QB arent you?... aaaaw...

Guess what.. ITS A DOS PROGRAM :roll:
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

I knew that. I can't wait until I finish my programs then go to FB. Just because I use QB doesn't mean I have to like it.
"But...It was so beutifully done"
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

I still fail to see what your comment has for relevance to the topic.

You hate DOS, good for you, now stfu.
I have left this dump.
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

OldDosLover = guy likes DOS. You see?

What was yours?
Z!re wrote: Good for you... oh wait... You're using QB arent you?... aaaaw...

Guess what.. ITS A DOS PROGRAM
"But...It was so beutifully done"
URSULE

Compiler's warnings

Post by URSULE »

Thank you to all for answers.
I must wait this evening to try on my old computer having WIN95 which accepts the "compil" command.Because I cannot do it on my Win 2000 NT,refusing this "compil"order,I wonder why as long as the needed files are in "my documents".
If somebody can explain to me why I can compile with WIN95 and not with WIN2000 I would be very happy!
URSULE

Compilers...

Post by URSULE »

After verification,my compiler was uncorrect for some reasons and I made a new copy.This time I can enter the order: "compile" and the compiler opens.The difficulties are with the program that is not recognized by the system.To make the compiler working,It must be a saved .txt file, renamed .bas.
In WIN 2000, when you change the name,you do not change the nature of the file: it remains a text file readable by NOTEPAD.This is probably the reason why the compiler cannot use it and do not recognize it. If I use another program to modify my file (folder option...change...) it is the same (I frankly really don't kwow what program to use) .The file to compile is not recognized.So I don't really know how to do.
OldDosLover

Compiler messages

Post by OldDosLover »

From my memory GWBasic saves source files in an "encrypted" form by default as compressed binary format. To save them in an ASCII form use this
SAVE filename , A <-- dos txt format
SAVE filename , P <--encoded binary format
Ive never compiled in GW but perhaps resave your file as the compressed binary format and compiler may accept it that way.

There is a site on the net that covers gwbasic and on it is a program to "unprotect" an encoded binary format.
Also look for the GWHIZ collection web page
The Incredible GW-BASIC Works of Thomas C. McIntire
I tried an old link and got nowhere. From memory on 1 the main powerbasic sites is a link to Tom's work. Do you have an email i have some of these WHIZ collection and could send you the "BLUE manual" of GWBasic as described here

REFERENCE MATERIAL
BLUE: A complete book on GW-BASIC programming
This author has always believed that really good programs can only be written by coders that are thoroughly versed in their preferred language. This book describes the nitty-gritty needed by anyone that wants to contend they are truly versed in the GW-BASIC language. In days of yore, in fact, on early generation PCs, this level of knowledge was a must for writers of commercially viable business and accounting applications. In those years too, professionals had to devise their own tools. To do so in GWB sweat shops, one had to "know" what is in these pages. In fact, much of the detail here can now only be found here. Old manuals are hard to find, of course, and even so, none of them contained many of the gems in this manuscript. For serious students of the BASIC language, BLUE is well worth reading for its historical perspective. It is also a worthwhile read for those wanting to better understand the differences between interpreters and compilers.

Plz reply tonight if possible
OldDosLover

GWBasic WHIZZ collection

Post by OldDosLover »

URSULE,
I did a look and it seems the site does not exist anymore. I checked my HD and found the collection. I enclose this description from the page in question detailing all of the programs

"
THE GEEWHIZ COLLECTION
The Incredible GW-BASIC Works of Thomas C. McIntire.
This entire collection is now available as FREEWARE.


Tom McIntire has had a distinguished career as a programmer, most of which was concerned with creating business applications with GW-BASIC. In the course of doing this, he developed many tools to make his work easier and more efficient. He also collected over the years a great deal of information that was not only vital to the GW-BASIC programmer, but of use to almost any programmer. Here gathered together in one place is the information, tools and some of the programs. Formerly Shareware, he has kindly released them as Freeware.



REFERENCE MATERIAL
BLUE: A complete book on GW-BASIC programming
This author has always believed that really good programs can only be written by coders that are thoroughly versed in their preferred language. This book describes the nitty-gritty needed by anyone that wants to contend they are truly versed in the GW-BASIC language. In days of yore, in fact, on early generation PCs, this level of knowledge was a must for writers of commercially viable business and accounting applications. In those years too, professionals had to devise their own tools. To do so in GWB sweat shops, one had to "know" what is in these pages. In fact, much of the detail here can now only be found here. Old manuals are hard to find, of course, and even so, none of them contained many of the gems in this manuscript. For serious students of the BASIC language, BLUE is well worth reading for its historical perspective. It is also a worthwhile read for those wanting to better understand the differences between interpreters and compilers.

GeeWhiz: An online programming manual for GW-BASIC
Program architecture and PAC file scheme are author's own invention. An early design requirement was to be able to ship (unzipped) on 720 kb floppies. The early versions were packaged as shareware. The shareware aspects were removed in 1998. Today it is truly freeware. This product has been updated at least once annually since 1990. Some "advice" is still in original form because it is no less valid today than in the 80's. This product works on virtually any PC running DOS 3.1 or later. It works fine on Windows 3.0, 3.1, 95 and 98. It supports use of a Mouse, but works fine without one. It includes a "print page" capability, but that can be a BOAB sometimes with Windows. No other known GWB "manual" is as complete, or as comprehensive as this product.


PROGRAMS
WhizBLUE: A GW-BASIC language program editor & toolkit
By the early 80's nearly all programming languages had "development tools", utilities really, that made a programmer's job easier. At the least, functions common to word processing were included in every language's own editor. Things like cut and paste, and find and swap were considered "basic". But, BASIC didn't have even those basics. So this author made his own tools to help him write programs in GW-BASIC. By 1988 this set of tools had grown to the point it included several functions not found packaged with the "superior languages" like PASCAL and C. Check this out: Do Find and Swap on variable names. Cross reference lists, too, for keywords, for line numbers, or for variables. Ho hum, you say. How about this: A static code analyzer--the ultimate quality assurance tool. And, even, a code generator that can mass produce source code from lists of data. Yep, all of that is included in this package, and it's all done in GW-BASIC. And it all still works, on modern machines too, after all these years. Before you echo the popular sentiment that GW-BASIC is too primitive, check out this package.

WhizTool: GW-BASIC language programming tools
By the late sixties nearly all programming languages had symbolic-names capability. And by then, all programmers knew the value of cross referencing utilities--programs that could read their programs and produce lists of the names they had invented, and where they were used. When BASIC came along, its only intrinsic tools were a klutzy TRACE, and RENUM. The lack of good tools was, in fact, one of the reasons most "professional programmers" denigrated BASIC so much. This author--as did many--simply designed his own tools. Later on, he packaged his tools under a common cover, standardized their appearance, and wrote a "manual" to go with them. Here they are now, for free, for use by anyone programming in GW-BASIC. In fact, if you are programming in GWB, or trying to patch or debug old GWB code, grab ahold of these gems. You will be glad you did!

WhizBAM: Basic language programming tools
Sooner or later, all professional programmers go native on occasion. Modern languages on today's machines often make it relatively easy to do so. Ipso, most have a built-in capablity to switch over to assembler language for a bit, then back again. In days of yore we BASIC programmers were compelled to go native more often on those old, slow machines, yet it was a bear to do. WhizBAM was this author's solution. It is a "mini-assembler". And, more importantly, it outputs syntactically clean lines of BASIC source code that can easily be merged into end-use programs. WhizBAM itself is small, compact, and fast. Its help manual covers all of the mechanics of imbedding machine language code into the fabric of BASIC programs, and it covers the full spectrum of how to CALL that code in GW-BASIC, and in most of the QBs of that era. WhizBAM depends on having one of Microsoft's DEBUG programs resident (either a COM or an EXE version will work.) Because WhizBAM has to reroute "standard I/O", it is best run in a DOS environment, even on a Windows machine. In any event, when you need to go native out BASIC, WhizBAM is a slick way to do it.

EBS: Screen editor for BLOAD pages
By the time anyone has written three programs in BASIC they are tired of the monotony of typing LOCATE/PRINT sequences. Right? EBS is a nifty way to reduce that drudgery to zip, and make your programs smaller and faster. EBS is an editor. A twenty-year old, text mode, screen editor. Type all over the screen. Color whatever, with what ever color you want to, then hit Save. EBS does a BSAVE of your layout. In your target program, do a BLOAD. It is easy to do, and your pretty mask smacks the glass instantly, even on old, slow PCs. And, by the way, this scheme works equally well on new PCs running Windows. And the BLOAD trick works with any BASIC that knows how to BLOAD. The average bear can master the use of EBS in less than hour, and no bear likes having to type LOCATE and PRINT a zillion times. Right?

DataWhiz: GW-BASIC application tools
The world is full of Rolodex programs. Here is another one. Like others, you can create "cards" with names, addresses, and phone numbers on them. And, using this program, you can find cards fast, make changes to them, delete obsolete ones, insert new ones, print lists and rosters, and even print mailing labels. Wow and gee whiz! In less than ten minutes you can probably find 50 different free programs on the Internet that will do all of that and more. But... This program was invented before the Internet, before we had megs of memory and gigs of disk space. In those days things were often simpler, however. This program does not even use a Mouse, for example. On the other hand, this program does all that is needed to add, change, delete and list records in a small data base. And it does it efficiently, with a pretty menu scheme, and built-in, on-line help. And it is all done in BASIC, coded to make it easy to customize. In short, if you need to build a custom data base program in a hurry, start with this "core program". If you know GW-BASIC, you can be done before sundown.

WhizFont: GW-BASIC application tools
If you enjoy making animated GIFs you might get a kick out of this package. See how with this software the author made icons that could flip, and spin, and zip around all over the screen on old, slow XT's with 640 memories. And, he did it in GW-BASIC, that old, slow, primitive, kiddy language. A C++ guru once told this author, "you can't do that in BASIC." The author's answer: "I can if I want to...it's my computer!) And here is how he did it--the whole bag of tricks, including the source code for the "editor", and a demo application. Yes, these programs run on Windows machines, although, they tend to whiz a tad faster than they used to. Having the source at hand, however, you are welcome to slow them down, or patch them to suit yourself: You can if you want to, on your own computer, gee whiz.

WhizKids: GW-BASIC user application
Here is a program that appeals to tricycle motors, and their mothers. WhizKids helps teach kids their ABCs and how to count. It is a connect-the-dots program. All momma has to do is show her kids how to use the arrow keys to pick the number or letter that comes next in sequence. When the outline of a figure is completely drawn, their reward is a pretty, full-colored overlay of their line drawing. This package includes twenty pictures and a comprehensive how-to-do help program. And for the dads, the source program itself is an interesting model of how all of this could be done using that orphan of bygone days: GW-BASIC.

WhizDraw: GW-BASIC user application
This suite of programs evolved over several years. Version 1, called QuickDraw, ran on a CGA machine about three months after the first CGAs hit the street. Version 2, called Draw4, did its thing with a mouse, by golly. When the EGA came along, version 3 soon followed and was called WhizDraw. It reused some pixel punching routines from previous versions, added many more, and supported HP's then top of the line ink jet printer. Version 4, this one, dispensed with the shareware cloak and squeaked through beta testing on Windows 95 and 98 machines. Here it is now, WhizDraw for free, source and all. It is usable as is, of course, but it can also be handy to have around as a library of compact "graphics routines". If you need to make a 2-dimensional object flip, spin, turn, or whatever, in a 4-plane, 16-color machine, look here before wasting your brain power or your time reinventing the wheel. Chances are, WhizDraw has already been there and done it in GW-BASIC, gee whiz.

WhizHelp: GW-BASIC application development tool
Once upon a time, the books were bigger than the box. And publishing costs for manuals often exceeded what it cost to develop the software itself. Media costs, one of the main factors, gradually ebbed as discs got bigger. The manuals became thinner as the space needed for "help" files increased. On-line help schemes got better too as memory on PCs increased. WhizHelp was this author's way of staying abreast of the trends, and includes even, a means for doing "context sensitive" help. In a sense, WhizHelp is a compiler. It reads your "text file manual", and produces an on-line version of the file, and a customized display program. It is a quick way to produce pretty fancy "help" systems. Read the one packaged with this program and judge for yourself. And now it can be done for your applications cheaper than ever before, because now the tool is free.

WhizAct: GW-BASIC user application
"Pegboard Accounting" was a popular scheme for small businesses in the sixties. Then along came "bookkeeping machines". They were mechanical beasts, usually about the size of a desk, and could only be moved with a fork lift. In the seventies, NCR and Burroughs added "magnetic stripes" to the edges of accounting ledgers and their new "electronic" accounting machines were called "programmable." This author cut his professional teeth programming those machines at night while working as a bookkeeper during the day. With the advent of the PC, he used that hard-won experience as the basis for writing an accounting package usable on "desk top computers." Because it was all that was then available, his language of choice was interpreted BASIC, of course. That was in 1975. Although "modernized" several times over the next twenty years, his 1995 model included here has needed few changes since. And it is still in use by a few folks, running as is, on modern Windows machines. Take a look at its utter simplicity and see why it is still around, and how it was possible for the author to design a program that is still usable a quarter of a century later.

SoliDOS: GW-BASIC game program
Like Minnie might say, Mickey is only good for some things. Tom thinks the same way. A lot of programs would be better off without a mouse. Ever watch a bookkeeper's fingers tap dance on an adding machine? Those so disposed will like SoliDOS--you can play Solitaire all day without raising your hand off the 10-key pad. And, although this program is less than two years old, notice it too is written in GW-BASIC. Those who think GWB is a dead language ought to take a look at this program, gee whiz.

PopOff: GW-BASIC game program
Some folks like to play computer games. The author of this one enjoys playing them only occasionally. As it is for many programmers, to him, writing game programs is a lot more fun than playing with the result. And a quick look at how this one works makes it obvious the author had a lot of fun building it.

Simon#: GW-BASIC game program
Remember the battery-powered Simon game of just a few years ago? Here is another computerized look-alike. This one, unlike most, however, is played with the cursor arrow keys rather than a mouse. This one is unique in another important way: It was written in GW-BASIC, gee whiz. And although the game is for kids, and it seems simple enough, the design of this program is a tad more than trivial.

Tricks: GW-BASIC code library
No programmer enjoys having to reinvent the wheel. And most of us have a folder where we save chunks of code that might come in handy again someday. Here are 75 chunks of clean and lean code that can be cut and pasted into nearly any BASIC language stream. They are all fall-through algorithms (no branches). Need a sort routine? Shell, or bucket type? Ascending, and descending, numeric and string arrays, and even bytes within a string are covered in this set. And conversion routines for dates and times. and BCD to binary, and hex to octal, and all the vice versas you can think of. The BAS file is loadable by GWBASIC.EXE. The DOC file is a fully indexed set for those using Windows based editors. Take a look: Might be a trick or two here that can save you some time, sometime, gee whiz.

Patcher: GW-BASIC programming utility
Ever wonder who picked the default list of F-key macros built into GW-BASIC? Sure, they can be changed to something more practical if you want to. And if you want to, you have to do it again, and again, every time you load the interpreter. Patcher.BAS will permanently solve that problem for GWBASIC.EXE 3.23. Plus, if you want to, while you are at it, you can also disable the tester that stops you from being able to LIST or EDIT programs that were saved with the comma-P option. This is a small tool, for sure, but a handy addition to any GW-BASIC sweat shop.

LoanWhiz: GW-BASIC User Application
This little program was a freebie given away with all WhizWare accounting programs, as a door prize, to used car dealers, or anybody else that wanted it. It is only natural then, that it should be made a part of this collection. If you don't happen to have an amortization program, put this one in your accessories bag. Use your car loan to test its usefulness. In the event you don't like the result, get rid of the car.

GWscan: GW-BASIC Programming Utility
More basic than dirt for GW-BASIC programmers, GWscan is an absolute must. This is the only known program other than GWBASIC.EXE that can "detokenize" GW-BASIC programs. Thus, it is a must, because with it you can do cut and paste operations from your library of GW-BASIC programs. And you can do it via SHELL to the EXE version while still in editing mode inside the interpreter. Plus, it can do even more. It can detect and display different types of BSAVE files, and do hexadecimal screen dumps, and do translations of binary INT, SNG, and DBL fields in data files, and.... And today there is no reason for any GW-BASIC programmer to have to do without it because GWscan is now as free as the breeze, gee whiz.

POSWhiz: GW-BASIC User Application
POS = Point Of Sale, naturally. And here is an opportunity to get a few more miles out of your old PC XT or AT: make a cash register out of it. Although designed years ago for 8086 PC's, this software works amazingly well on modern machines too. As is, it is tailored for a Mom and Pop thrift store, but you do not have to be rocket scientist to tweak a bit to suit most any small business. And it's free, including the source code, so why not?

WhizNews: GW-BASIC User Application
A WhizNews show consists of "screen pages". When the end of the show is reached, it starts all over again. Screen pages are 40-characters wide by 25 lines high. Words, lines, and characters on each page can be "animated"…words can zoom up, shoot from the left, walk from the right, or any of 26 "actions". WhizNews shows are, conceptually, "advertising movies". If a viewer wants to know more about a certain subject, the show can be interrupted and the system switches to a static text-file-displaying program called WhizInfo. And included with all of this is WNeditor, the program that makes it possible for you to create shows of your own. If this sounds a bit like Power Point, it should…but the original incarnation of WhizNews was born long before the birth of Windows. And funnily enough, it is still fun, gee whiz, even when running with Windows.

Troika: GW-BASIC Game Program
The author learned from a crossword puzzle one time that a troika is a team of horses aligned three abreast. Then one night a few months ago, while surfing for something else, a game called Candy looked interesting. And it was, but it also had a couple of bad bugs. So, here is a take-off from that basic idea with a few custom twists. Not only that, it will run on nearly any DOS or Windows machine. Give it a try, and when you've tired of it, give it to the grandkids. That's what WhizCat did, by golly.

WhizPix: GW-BASIC User Application
GW-BASIC and DOS grew up together, but their step-daddy abandoned them when souped-up CPU's and zigabyte disks came along. Yet, so far anyway, we can still run GW-BASIC on most Windows machines. And although GWBASIC.EXE never matured beyond SCREEN 9 (640x350, and 16 colors), with just a little effort it is possible to do some pretty pretty things. And this do-it-yourself kit reduces that effort to a fun level. The GW-BASIC programs in this kit can display Windows BMP files, convert BMP files to BSAVE files, and enlarge displayed text. And just for the fun of it, another one contains a dozen animated graphics routines.

Arrows: GW-BASIC Game Program
The author's grandkids tire of playing the "same old games", so they say. So, from time to time, WhizCat invents a new one. Sort of, that is. What he really does is, he roams the Internet looking for game ideas. Then when one piques his interest, he writes his own rendition. Arrows came to be, in exactly that manner. It is a grid game in which you move blocks with a mouse, and achieving high scores depends on both a little luck, and fair amount of mental acuity. As merely a game, it is fun. As a model of how to write games for contemporary computers in GW-BASIC, this you have got to see. And for free, why not, gee whiz?

Flipper: GW-BASIC Game Program
WhizCat found a freeware game called Zondulux, liked the idea, but not the implementation. So, as most any programmer will do, he wrote his own rendition. Game is played by flipping tokens on a grid, hence the name, Flipper. Actually, this flipping game is a brain busting puzzle with four skill levels. The kinder crowd can soon master the easy one. Mensa majors can solve the fourth level, maybe. The author could not, however, so the program also includes a DEMO mode to prove that all puzzles really can be solved. And the source program proves that GW-BASIC can be used to produce pretty games. Perhaps after seeing it, you will agree, gee whiz
"
The entire file is 3.5 megs compressed and i realized that Tom released it as freeware so i sent Pete a copy. He may or may not choose to host it. I will be off the internet tomorrow and not able to reliably log on for some time. I feel this is a fair alternative to keep his gift alive for people like you. From memory the supplied archive is complete and agree's with the text.
Good Luck
OldDosLover
User avatar
Mitth'raw'nuruodo
Veteran
Posts: 839
Joined: Sat Jan 22, 2005 11:04 am
Location: Eastern Coast of US
Contact:

Post by Mitth'raw'nuruodo »

:shock: THAT's A HUGE POST!!!!!

Ya but DOS is very confusing and I hope you have this covered DosLover.
"But...It was so beutifully done"
OldDosLover

Compiler GWhizz collection

Post by OldDosLover »

URSURE
Soz i forgot to post the other part of the collection

"
THE WHIZ ASSEMBLER COLLECTION
A Unique 8086 Assembler and Programs
by Thomas C. McIntire.
This entire collection and source code is now available as FREEWARE.
Tom McIntire has had a distinguished career as a programmer, most of which was concerned with creating business applications with GW-BASIC. In the course of doing this, he developed many tools to make his work easier. When he needed to make his programs smaller, faster and more efficient he developed his own unique assembler. Here together all in one place is: WHIZ, the assembler, Whiz Fun, the program collection and Whizlib1, the source code for the Whiz Fun collection of programs. Formerly Shareware, he has kindly released them as Freeware.


FOR PROGRAMMERS

WHIZ, the assembler
Whiz.Zip Version 4.4 Download size = 63 kb
Whiz is an 8086 assembler. It will run on any DOS machine, even monochrome ones with no mouse, but it also works with most Windows versions, too. It reads text source files and outputs dot-COM object files. Its IQ is not much above room temperature. It expects an input stream that very closely resembles that which can be seen when using the "unassemble" command in DOS DEBUG. The appearance similarity of Whiz to DEBUG was deliberate. While developing a program with its own text editor, calls can be made to its built-in e-manual and utilities, and to DEBUG for testing purposes in much the same way we used to do RUN, and STOP, and EDIT in GW-BASIC years ago. Although not nearly as fancy as the language products produced by the big boys, Whiz does work, and it can make learning to program in assembly language fun. And it is free. And you get the source programs for all of its parts with it, so that, if you do not like the way it works, you can even change that too.

Whiz Fun Source Code
WhizLib1.Zip Version 1.0 Download size = 116 kb
Most of the 21 programs in this set were designed for DOS/CGA machines. A few are also compatible with monochrome LCD displays that have CGA adapters. Some of these programs expect a mouse. Many do not. Those that actually depend on a mouse will say so if they are run on a machine without one. Nearly all of these programs also expect that the Int80Snd TSR program will be pre-loaded--they work fine without it, but "silently". All of these programs have been kid tested, and they work on virtually any DOS machine, and W3.0, W3.1, W95 and W98. After looking at a couple of them, notice that they all have a similar design fabric: it is easy to steal chunks of code from any of them, and with a minimum of effort, transport whole routines to new programs. Individually, these programs can also serve as a "guide" for how to design different kinds of 8086 dot-COM programs. So, have a ball...they are free, gee whiz. Some assembly required.

READY TO RUN PROGRAMS

The Whiz Fun Collection
WhizFun.Zip Version 1.0 Download size = 73 kb
Most of the programs in this set (25 games and 2 auxiliary programs) were designed for DOS/CGA machines. A few are also compatible with monochrome LCD displays that have CGA adapters. Some of these programs expect a mouse. Many do not. Those that actually depend on a mouse will say so if they are run on a machine without one. Nearly all of these programs also expect that the Int80Snd TSR program will be pre-loaded--they work fine without it, but "silently". All of these programs have been kid tested, and they work on virtually any DOS machine, and Windows 3, 95 and 98. Because they are simple dot-COM programs, they require no "installation", per se. Just put them in a folder somewhere and click on them to make them run. Which can be fun, gee whiz, and that is why the author, WhizCat, calls them all, WhizFun
"
As described above is the COMPILER with documentation as part of the collection.

To Mitth'raw'nuruodo - Yes dos is confusing. I was brought up on it and i understand it. I still use it daily like a lot of other OLD things in my life. I still run Win95 + 98 and dont intend to upgrade to XP.
The above collection is one programmers collection of all of his efforts into the GWBasic language made freeware. Seeing URSULE is compiling in GWBasic it seems a good idea to pass this collection over to him. He may get a lot of programming pleasure out of it.

Try this old dos trick in a windows dos box

Copy con WriteNow.txt and press enter
(make sure of the space between Copy and con )
Now compose some text and press enter
on a new line press the F6 function key and then enter
Now you just created a file in PURE dos WITH NO APPLICATION doing the work for you.

I often use it to compose a config.sys or autoexec.bat on the fly in dos 6.22
ALSO try the undocumented DIR, to see all files hidden and system in DOS 6.22 and less.
Hope you enjoyed me sharing my knowledge with you!
OldDosLover
OldDosLover

Link to GWBasic unprotect

Post by OldDosLover »

Here is a link to programs to "unprotect" a encoded binary GWBasic program

http://www.powerbasic.com/files/pub/tools/dos/

Regards
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

DIR is undocumented? When did this happen? :?

"copy con" isn't exactly obscure knowledge though dude...anyone with actual experience in DOS beyond knowing how to use WordPerfect 5 knows how to use console input to write a file. ;) As well as piping stdout, clearing the screen, pausing a batch file, etc. :D
OldDosLover

Undocumented

Post by OldDosLover »

Soz i composed it to appear as punctuation
Dir is not undocumented
DIR, is undocummented
That DIR comma --> shows all files.
(DOS 6 and less) Wont work in DOS 7.

Agreed copy con is not obscure knowledge. I did adress this to Mitt in hope he would understand more about DOS.

Soz if my method of reply didnt convey my message clearly
OldDodLover
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

It got replaced with ATTRIB
I have left this dump.
Post Reply