1.

Solve : Display square character?

Answer»

So I wrote "Flood it" in batch, but I'm getting complaints that the characters I used are not easy enough to see. So I was going to try to have them appear as █ or as ▓. The issue is that those only appear as ? when I put them into cmd, and they can't be saved into a batch file. ANSI encoding changes it to this Korean looking character, which doesn't work. Is this even possible?One of the tools for DOS was a program called "Visual Basic for DOS" from Microsoft. It is no longer supported. However, it is still an excellent way to draw anything on the display of the DOS screen.
Very LITTLE attention is now given to it. But there are a few sites that provide information. Again, the full name is:
"Visual Basic for DOS"
Quotation marks are needed for a search. Even so, Google wants to equate it with Visual Basic, which it is not.
Visual Basic for DOS: Building Scientific and Technical Applications [Paperback] is available from Amazon via other vendors.
Link below claims to have a download for the program itself.
http://www.filecrop.com/visual-basic-for-dos.html

I can not say for sure if it will solve your problem. I thin k it has the ability to write directly to the graphics memory space. In 16 bit mode.
Best I can do.

Thank you so much. Although I WOULD still like to know how to do this, I was able to get together with the person complaining and found another solution. So don't stress about it. I'll look into Visual Basic for DOS. I was hoping for a native function (as I remember doing it at some but now how). Sorry I did not give then direct answer.
Extended ASCII chars are not uniform in the code pages.
Some references.
http://en.wikipedia.org/wiki/Code_page
http://msdn.microsoft.com/en-us/library/windows/desktop/dd317752%28v=vs.85%29.aspx
http://www.easydos.com/chcp.html
http://ascii-code.com/
You may need to study all of the above to find an answer.
This is why I suggest using a program that write directly to the graphics memory.
Best I can do.
You would have to use a specific Font in the command window that used the Extended ASCII drawing characters in for those that used the high-bit (127-256). Normally those are accented characters.

I believe you had a post on looking for just such a font recently.

Quote from: Geek-9pm on February 23, 2014, 05:34:47 PM

One of the tools for DOS was a program called "Visual Basic for DOS" from Microsoft.
This has literally nothing to do with what they are asking.

Quote
However, it is still an excellent way to draw anything on the display of the DOS screen.
On DOS machine he wouldn't be having this problem because the US codepage by default INCLUDES ASCII drawing characters.

Quote
Very little attention is now given to it. But there are a few sites that provide information. Again, the full name is:
It's likely that it's related to it being a 16-bit DOS program and thus not working on x64 systems at all? The only thing I can guess you are referring to is the the way Visual BASIC for DOS draws forms. But that is only useful for creating forms. It's not useful to "draw anything on the display"; though you can get that with standard BASIC outside of the Forms environment (just like any version of QuickBASIC).

Quote
Quotation marks are needed for a search. Even so, Google wants to equate it with Visual Basic, which it is not.

Partly true. Visual BASIC for MS-DOS was released after the initial version of Visual Basic. It was not entirely compatible with Visual Basic for Windows but it was possible to have a common codebase. The primary reason is that Visual BASIC for MS-DOS was basically the next version of QuickBASIC PDS (QuickBASIC 7.1) with a Forms UI that USES extended ASCII characters to draw stacked on top.



Discussion

No Comment Found