Re: [Freedos-user] AUTO SHIFT keyboard on DOS??

2024-02-09 Thread Bret Johnson via Freedos-user
> It has been a very long time. But, if I recall correctly, I’m fairly sure > you > can programmatically change the LEDs as well. But, I don’t recall the > details. But, I might have code sitting around somewhere that has that > functionality. The LED status is contained in the BIOS Data

Re: [Freedos-user] AUTO SHIFT keyboard on DOS??

2024-02-09 Thread Bret Johnson via Freedos-user
> is it possible in DOS (using BIOS?) to implement a tsr or so which allows the > following: > > holding a key longer to return a SHIFT-key on screen? > > Example: > > press key »a« and HOLD the key for e.g. 500 milliseconds, > => print shift-a = »A« on screen. You might be able to do

Re: [Freedos-user] what cd rom drivers does freedos use?

2024-02-03 Thread Bret Johnson via Freedos-user
terrupt (IRQ) or I/O port conflicts, but IDE/ATAPI was such a widespread standard that it's hard to imagine how DECtalk would have a conflict with those. Does the information you've found give any indication as to what the conflict might actually be? -- Bret Johnson It's oft been said th

Re: [Freedos-user] what cd rom drivers does freedos use?

2024-02-03 Thread Bret Johnson via Freedos-user
> The driver providing an issue is one called vide_cdd I found this reference to the file: https://www.vogonswiki.com/index.php/VIDE-CDD.SYS It doesn't mention any compatibility issues, but does say it's very small compared to most other drivers which may be why it has problems (there might

Re: [Freedos-user] what cd rom drivers does freedos use?

2024-01-26 Thread Bret Johnson via Freedos-user
Karen: Do you know which of the two CD-ROM drivers you are having trouble with? It takes two drivers to install a CD in DOS. One is the hardware-specific driver that may come with the CD hardware itself, but there are also several of them (like OAKCDROM.SYS) that will work with different

Re: [Freedos-user] What DOS programs represent the 1980s and early 90s ?

2023-12-30 Thread Bret Johnson via Freedos-user
> I did not catch how to do LPT interrupt, real and protected mode. It > would be a great help if there is an example. > I work with watcom and realized it, but only once, then the ISR is > never called again. > May be LPT is not very often used. It would help to know exactly what you're trying

Re: [Freedos-user] What DOS programs represent the 1980s and early 90s ?

2023-12-30 Thread Bret Johnson via Freedos-user
> I'm thinking about doing a video that shows how to do real work on > DOS. I sometimes see comments on YouTube with people asking "could > you really do *work* with DOS?" And the answer is of course you can, > that happened every day. > > So I'm collecting a list of things you'd do in the 80s

Re: [Freedos-user] Codepage and keyboard setting for Czech language

2023-12-19 Thread Bret Johnson via Freedos-user
FYI, in MS-DOS divided the Internationalization aspect into four different subcategories: Keyboard Layout, Code Page, Country, and Language (which also includes dialects). While they all overlap and inter-relate to some degree, they are distinct and are all handled separately. The more

Re: [Freedos-user] FreeDOS or DOS based mail clients

2023-11-27 Thread Bret Johnson via Freedos-user
My understanding is that there are two major differences between POP and IMAP. The first is that POP only allows one-way communication (downloading from the server to the client) so there is no synchronization mechanism. If you download the same e-mail to multiple devices, each one can be set

Re: [Freedos-user] Epson dot matrix printer emulator?

2023-11-20 Thread Bret Johnson via Freedos-user
I don't know of a DOS program to do specifically what you're asking. But this reminds me of the old commercial DOS program called SIDEWAYS that was designed to take text-based printer output from Lotus 123 and print it sideways (commonly called Landscape mode nowadays). I think it also worked

Re: [Freedos-user] piping .BATs (input and output)

2023-11-20 Thread Bret Johnson via Freedos-user
> What I'm wondering is if the following (piping into a .BAT) is > considered acceptable or "standard" for DOS. > > "prog1.exe | %COMSPEC% /c work.bat | %COMSPEC% /c fixups.bat > some.txt" > > Does that work like I'd expect? (Seems to ... barely.) Is it rare? > Is it buggy? Is there a better way?

Re: [Freedos-user] Some USB-Stick problems

2023-10-26 Thread Bret Johnson via Freedos-user
USB-stick is no > more available, due to reinitialization of the hardware, it seems. > Is there a way to keep the USBdrive as C: available and get printer > support? Just loading USBPRINT (from Bret Johnson) doesn't get a > connection to the printer. According to the specs, you have six U

Re: [Freedos-user] Sved, yet another text editor

2023-08-06 Thread Bret Johnson via Freedos-user
> Because I felt that the world needed another DOS text editor, I have > spent past month's evenings on a new project named SVED. > SVED (short for "the SvarDOS editor") is designed for basic editing > of configuration files and such. It is NOT meant to be a full- > featured text editor. On the

Re: [Freedos-user] Confusing details about SET and redirection inFreeC OM

2023-06-22 Thread Bret Johnson
> Maybe put in quotes? In some circumstances you can put things in double-quotes at a DOS command-line to enclose "special" characters, but that doesn't always work and different versions of DOS do things differently. Probably the simplest example of this is enclosing a long-file-name (at

Re: [Freedos-user] Confusing details about SET and redirection in Free COM

2023-06-22 Thread Bret Johnson
> Hi fellow users :-) > > I have been wondering which chars are special in SET > in FreeCOM and whether they can be escaped or similar. I don't know specifically about FreeCOM, but I know in some versions of DOS an environment variable can't contain an equals sign. For example, in some DOS

Re: [Freedos-user] Mouse not working on real silicon

2023-01-15 Thread Bret Johnson
> Found a post with same problem > "To get your mouse working under DOS, you can try Bret Johnson's USB > programs. You'll need one of the USBUHCI drivers, USBMOUSE, and > CuteMouse." > >Hope that helps. You can try my programs but it may nor may not help. You

Re: [Freedos-user] Questions about link files

2022-12-28 Thread Bret Johnson
> All true, but you forgot about the most important: COM links are not > limited to 9 command line params (%1-%9). This is actually the reason > that made me design the COM links files that are used nowadays in > FreeDOS. That's not true. The SHIFT command in batch files allows you to access

Re: [Freedos-user] Questions about link files

2022-12-28 Thread Bret Johnson
> What I still don't understand is, why use binary .com files for links > instead of .bat files? In my C:\FreeDos\Links directory I have 6 .bat > files and 9 .com files. What is the difference between creating a > link file as a batch file vs creating it as a binary .com file? An executable file

Re: [Freedos-user] Questions about link files

2022-12-26 Thread Bret Johnson
> The link files in C:\FreeDos\Links set an environment variable. For > example I found this in the file blkdrop.bat > > set _LINK.BLKDROP=%DOSDRV%\GAMES\BLKDROP\BLKDROP.EXE > > If I run this, I expect the environment variable _LINK.BLKDROP to be > added to the system, but when I do a "set" I

Re: [Freedos-user] Writing date and time into log file

2022-12-23 Thread Bret Johnson
> For a tool look at > : > timestmp +JMD:HIS>>logfile.txt > > This will append, e.g., "20221223:172247" to logfile.txt. If your only concern is this date/time thing, a utility like TIMESTMP will work perfectly. If you're interested in

Re: [Freedos-user] Writing date and time into log file

2022-12-23 Thread Bret Johnson
lly complicated. If this were me what I would do is create a custom utility. I actually have a utility I call DATES, but I've never officially released it. The output of DATES looks like this: DATES 1.00, (C) 2022, Bret Johnson. DATETIME mm-dd- hh:mm:s

Re: [Freedos-user] keyboard spacecharacter automatically repeated

2022-11-04 Thread Bret Johnson
Keyboards can sometimes do funny things, especially keyboards like the ones you're describing that have special timing-related "features" built into them. I would suggest starting with my SCANTEST program (attached) and see what the keyboard is actually sending to the computer (SCANTEST is one

Re: [Freedos-user] DOSshell replacement

2022-08-17 Thread Bret Johnson
I realize I'm a little late to this party, but I've got a couple of comments. The first thing I think to note is that DOSShell was MUCH more than just a program launcher. It include the same basic implementation and functionality that were in early versions of Windows (3.x) to perform

Re: [Freedos-user] CD drive always gets the letter H: - can't change

2022-08-02 Thread Bret Johnson
> I haven't been able to change the drive letter for the CD drive, no > matter how hard I try, it always defaults to the letter H: Do you have a LASTDRIVE= line in your CONFIG.SYS (or FDCONFIG.SYS) file? If so, what is it? > It was a little hard for me to unravel cdrom.bat to make sense of >

Re: [Freedos-user] More on OpenGEM

2022-08-02 Thread Bret Johnson
> If one maps the \OPENGEM directory to another drive letter, e.g. > > swsubst g: c:\opengem > > ... and then runs GEM from drive G, it can find its resources and > windows get frames, title bars, etc. FWIW, I use SWSUBST (or SUBST) a lot. SWSUBST doesn't work with all versions of DOS --

Re: [Freedos-user] DOS ASM resources

2022-07-07 Thread Bret Johnson
> What i don't like about A86 is that allows you to do stuff that is > actually "forbidden". > > For instance, from what i remember, A86 allows you to do something > like: > > MOV ES, B800h > > This is absolutely not supported by the CPU, and you need to use a > general purpose register to move a

Re: [Freedos-user] clipboard support utilities

2022-07-05 Thread Bret Johnson
Slightly tangential topic, but there is also my MOUSKEYS program which includes a small internal "clipboard" (limited to one screen's worth of text). The clipboard functionality is somewhat similar to MouseClip. MOUSKEYS does a LOT more than just provide a clipboard, though -- it actually

Re: [Freedos-user] DOS ASM resources

2022-07-03 Thread Bret Johnson
> Interestingly enough, I also bought a86/D86, and have found it to be > the best assembler/disassembler I've ever found for dos.  I ran > across it after (mostly) trying to use debug for things, so it was a > welcome relief. I still like A86/A386 also, but like I said my programs are getting so

Re: [Freedos-user] DOS ASM resources

2022-07-01 Thread Bret Johnson
Santiago: I agree pretty much with ECM. The best way to learn is to look at the code someone else has written and try to understand it. Unfortunately, most ASM coders aren't very good at comments/documentation, and you really need the comments to help you figure things out. Looking at

Re: [Freedos-user] Keyboard issue - wondering about typematic rate for keyboard repeats in different VMs and emulators

2022-06-18 Thread Bret Johnson
Most modern computers seem to support INT 16.03 to set the Typematic rate. I've personally never had it fail with real hardware, but in some Virtual Machines (VMs) it doesn't actually do anything. I've had lots of failures with support of INT 16.09 to get the current typematic rate, both in

Re: [Freedos-user] Reply to keyboard issue and debug

2022-06-11 Thread Bret Johnson
I'll chime in a little bit late now that you've got it figured out. In troubleshooting it's good to know how things are supposed to work, at least enough to narrow down whether the problem is most likely hardware or software. Based on the symptoms and the fact that you are running on real

Re: [Freedos-user] Installing freedos to virtualbox them copying dice contents to an actual computer

2022-03-31 Thread Bret Johnson
Seeing as how you've referred to "chapters", it sounds like you're making contributions to a book or dissertation or script or some sort of larger document. I'd be wary of using a text editor instead of a word processor -- they are two very different things. A text editor is really designed

Re: [Freedos-user] How to add AHCICD.sys in the auto check-list for US B BOOT?

2022-03-11 Thread Bret Johnson
Might it be possible to use DEVLOAD in AUTOEXEC.BAT instead of needing to load AHCICD.SYS in CONFIG.SYS? You can do "automatic" IF/THEN things in AUTOEXEC.BAT but you really can't in CONFIG.SYS. In addition, though, you will probably need some kind of utility that can detect whether AHCI is

Re: [Freedos-user] retro gamer review of FreeDOS 1.3

2022-03-10 Thread Bret Johnson
I heard/read somewhere that the "Runtime Error 200" was actually caused some sort of subroutine that was trying to figure out how fast the computer is. It's certainly ironic that it doesn't work on really fast computers since that's exactly the "problem" it's trying to address. The other

Re: [Freedos-user] I never saw one

2022-03-09 Thread Bret Johnson
>> Is it possible to have a ZZZ9: drive >> in DOS (or other many letter ID) ? > > unlikely. some DOSes allowed 0x40..0x59 > ie A..Z + @[]\^ > > but none allowed anything other then x: As Tom indicates, later versions of MS-DOS allowed up to 32 drive letters. You set this up by using the

Re: [Freedos-user] ECHO vs @ECHO

2022-03-01 Thread Bret Johnson
I normally don't use DOS < 3.3 myself, either. But I do have programs that claim to work with DOS 3.0 or 3.1 so I want to make sure they actually work where they claim to. I guess hardly anybody really uses DOS < 3.3 any more, except maybe the few people who still have working PC/XT/Jr

Re: [Freedos-user] ECHO vs @ECHO

2022-03-01 Thread Bret Johnson
> There is one other thing to try via v8power tools. Instead of using > vgotoxy up | vecho /n /e, there is another combination to do it as > well. > > echo off | vgotoxy up | vdelete > > Anyhow, vdelete is a far simpler program than vecho. You may even > have better compatibility results. I'll

Re: [Freedos-user] ECHO vs @ECHO

2022-03-01 Thread Bret Johnson
> Multi-booting all those OSes off a single partition is very *VERY* > much a hard way of doing this. Actually, no it's not. It's fairly easy with System Commander. And AFAIK, System Commander is the only multi-boot manager that works this way (manipulating the boot files instead of

Re: [Freedos-user] ECHO vs @ECHO

2022-02-28 Thread Bret Johnson
Thanks everybody for the input! Lots of interesting suggestions/ideas. I think the proposed solutions generally fall into four categories: 1. Always use ECHO OFF without the @ and don't worry about it 2. Try to fix the problem before it happens 3. Just let the problem happen and "fix" the

[Freedos-user] ECHO vs @ECHO

2022-02-25 Thread Bret Johnson
This question is more about DOS in general than specifically about FreeDOS. But, there are enough experienced and creative users around FreeDOS that someone may be able to help me come up with a solution. I have a large set of DOS environments I use for testing. Basically, I have a bunch of

Re: [Freedos-user] Dual Boot winth Windows 98

2022-02-12 Thread Bret Johnson
>> The problem with this approach is that the programs are almost >> never on C:, and they may not be on D: either. The way I manage >> that is to set myself up an S: ("System") drive which is where the >> programs are located. I use whatever tools I have available in the >> DOS I'm using to do

Re: [Freedos-user] Dual Boot winth Windows 98

2022-02-11 Thread Bret Johnson
> Small primary FAT16 partition with FreeDOS. Bigger primary FAT32 > partition with Win9x. Then an extended partition, with some logical > drives in it, which will be visible to both. Even in Virtual machines, I always set up very small "boot drive" (usually only a few MB) as C:. It only

Re: [Freedos-user] Dual Boot winth Windows 98

2022-02-11 Thread Bret Johnson
I still have a computer (not hooked up to a keyboard or monitor any more) which uses an old commercial program called System Commander. System Commander would let you load several different versions of DOS on the same C: drive. I think I have about 10 different versions of DOS on the same C:

Re: [Freedos-user] Difficulty with serial communications

2022-02-09 Thread Bret Johnson
> For what it's worth, the raspberry pi is an opensource board. That > means you could easily build your own pi using components from the > original, and have a company produce the board for you. As he was intimating, in an industrial environment there are many more factors to consider than

Re: [Freedos-user] Difficulty with serial communications

2022-02-08 Thread Bret Johnson
I don't know how much you're willing to rewrite your program, or how much you're willing to make fundamental changes to how it works since it may corrupt what you've already done, but this solution may be worth a shot. I'm doing something similar in some of my other programs (not related to

Re: [Freedos-user] Difficulty with serial communications

2022-02-03 Thread Bret Johnson
> One small correction here. > > Yes, there are 16 IRQ lines, only 9-16 are not generably accessible, > so the pc or dos or something in hardware (not sure which) uses IRQ > 2 to reach IRQs 9-16.  I was able to trick a couple network cards > into working for me by using irq 9, but then setting

Re: [Freedos-user] Difficulty with serial communications

2022-02-03 Thread Bret Johnson
> If for example there's a TSR or something which can say route IRQ19 to > IRQ3 I think that would do for the forseeable future, but I don't even > know yet if that makes sense. In the traditional PC architecture, there are only 16 IRQs (0-15) managed by two Programmable Interrupt Controllers

Re: [Freedos-user] Cutemouse /O OR keeping your source code secure

2022-01-21 Thread Bret Johnson
> a) in germany we have a saying "Kein Backup, kein Mitleid" which > translates roughly to "no backup, no pity" > b) one of the advantages of open source software is that you have > automatically backups on a bazillion of computers. It happened a long time ago, and I actually did have backups

Re: [Freedos-user] Cutemouse /O

2022-01-21 Thread Bret Johnson
> CuteMouse doesn't have any of these "elevating" resources. But > whatever the mouse sends is passed over to the application. In DOS > it is up to Appication to uses it. Not quite. CTMOUSE does support a mouse wheel, but it has a "special" way of accessing it in the Mouse Driver API (INT 33h).

Re: [Freedos-user] Question about FreeDOS 3.0

2021-12-07 Thread Bret Johnson
> MBR and GPT are partitioning systems. MBR can be used on any disk up > to 2TB but not more. > > GPT can be used on any size of drive but must be used on drives bigger > than > 2TB. Close, but not quite accurate. MBR can be used on any disk which contains up to 2^32 (4G) *sectors*, not

Re: [Freedos-user] MKEYB related stuff

2021-10-12 Thread Bret Johnson
> how would MKEYB detect that code point 213 represents dotless i or > €, or what the correct code point for € is in the new selected > codepage? and how about äÄáàâÁÀÂ? The same way it knows that Code Point 213 is the Euro symbol in Code Page 858 -- by the programmer (you) doing the research

Re: [Freedos-user] MKEYB related stuff

2021-10-11 Thread Bret Johnson
> Only highly desirable to those who don't use screen readers. > > Using a graphical mode but simulating a text mode would not work for > anyone using a screen reader, since there's no possible way for the > screen reader to "read" the graphical screen. Actually, there is a way. I've never used

Re: [Freedos-user] MKEYB related stuff

2021-10-11 Thread Bret Johnson
> send a keyboard code � That doesn't always work work. Let me use a Star Trek analogy (I hope most people can relate to this). Let's say someone in the Enterprise wants to get down to a planet that the Star Ship is circling. There are two ways they can do this. One is to use the

Re: [Freedos-user] changing keyboard layout after booting from CD-ROM

2021-10-11 Thread Bret Johnson
> Well, a summary for both: I was thinking of providing an interface > to actually return the KeybCB, you'd have all the information (but > would be given the chance to mess around with it) :) > With that you have the entire Scancode-to-codepage (rather than > ASCII-to-scancode). Thanks, Aitor.

Re: [Freedos-user] MKEYB related stuff

2021-10-11 Thread Bret Johnson
>> So you made up your own GR mapping that is different than everybody >> else's (there is a "Tom's custom GR keyboard layout")? > of course not. Exactly. This was me responding to you saying there were no standards, but you followed a standard (whether de facto or explicitly documented, still

Re: [Freedos-user] MKEYB related stuff

2021-10-08 Thread Bret Johnson
> it's not uncommon for germans to use US-ASCII keyboards (QWERTY). > other use german keyboards (QWERTZ). Yes -- lots of countries have multiple keyboard layouts. Even in the US with a standard QWERTY layout, you can use a keyboard driver that implements it as straight US or as

Re: [Freedos-user] MKEYB related stuff

2021-10-07 Thread Bret Johnson
> the user told you to type ASCII 13. why don't you 'type' 0x13 using > INT16, AH=05h? use scancode 0x02 and send complains to me? I'm not actually "complaining" about MKEYB since KEYB is available and does things "correctly" -- so there's no need for me to use MKEYB. In fact, as a user, I

Re: [Freedos-user] MKEYB related stuff

2021-10-07 Thread Bret Johnson
> codepage is a display thing, essentially it's the table how to > convert 8-bit bytes into a visable character set, and mostly > unrelated to the way the keyboard driver converts scancodes into > bytes. The Code Page and the Keyboard layout are not unrelated at all -- they are HIGHLY related.

Re: [Freedos-user] changing keyboard layout after booting from CD-ROM

2021-10-06 Thread Bret Johnson
Thanks for the info, Aitor. It is indeed ugly, but doable. I was also looking at the source code for FD-KEYB, and it looks like you have provided several extended functions for INT 2F.ADxx that aren't listed in RBIL. Would it be possible to add another one that would provide both parts of the

Re: [Freedos-user] changing keyboard layout after booting from CD-ROM

2021-10-06 Thread Bret Johnson
> how should a KEYB scancode->keycode driver react to copdepage > changes, and how are these communictated? Well, first of all the keyboard driver should detect the current Code Page on installation and not just assume one. And, the KEYB program should work with multiple code pages when it

Re: [Freedos-user] changing keyboard layout after booting from CD-ROM

2021-10-05 Thread Bret Johnson
>> Another one is that MKEYB doesn't >> report itself correctly as a "standard" keyboard driver to other >> programs which can cause some compatibility problems. > no one complained so far. ever. in 15+ years. Well, then consider this your first complaint. I don't use MKEYB for this and other

Re: [Freedos-user] FW: Re: Somekind of Game Port Emu/Converter ?

2021-10-01 Thread Bret Johnson
I've already written down a bunch of basic USB information in the USBINTRO.DOC file included with the drivers. It's not a book, but hopefully something from which you can glean some useful information. The source code for the programs also has lots of comments if you want to get your hands

Re: [Freedos-user] Somekind of Game Port Emu/Converter ?

2021-09-30 Thread Bret Johnson
> Bret, you are one of the few people who know how > to write USB software. How did you learn to do it? > Are there any good books on the subject? It's mostly been trial and error (with a heavy emphasis on the error). My main reading for USB is just the USB specifications. Unfo

Re: [Freedos-user] Somekind of Game Port Emu/Converter ?

2021-09-29 Thread Bret Johnson
> Bret, if we talk about real hardware with FreeDOS (or even DOS), using > your USB drivers. Is there any way to attach an USB gamepad and have > some kind of program that maps that USB gamepad as a game port > gamepad, so old games that use the gameport can work with a USB > g

Re: [Freedos-user] changing keyboard layout after booting from CD-ROM

2021-09-29 Thread Bret Johnson
While MKEYB is small, there's a lot of things it doesn't do that the larger KEYB program does that you may find you need or at least be useful. One of them is the manipulation and correct handling of different Code Pages as Aitor indicated. Another one is that MKEYB doesn't report itself

Re: [Freedos-user] Standy in FreeDos?

2021-09-29 Thread Bret Johnson
What exactly are you trying to accomplish? Save Power? Save the current state of a program? Make booting faster? ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user

Re: [Freedos-user] Somekind of Game Port Emu/Converter ?

2021-09-27 Thread Bret Johnson
> I think what Martin meant was using an actual USB gamepad connected > to the computer's USB port & having the virtual machine running > FreeDOS interpret the gamepad as if it were a joystick-port gamepad. The solution depends on whether he is actually using a Virtual Machine or not, and if so

Re: [Freedos-user] changing keyboard layout after booting from CD-ROM

2021-09-24 Thread Bret Johnson
> {harr...@vtxmail.ch} > > {.ch is the country code top-level domain (ccTLD) for Switzerland in > the Domain Name System of the Internet.} I understand that, but that really has nothing to do with what keyboard layout he wants to use. There are two "standard" keyboard layouts for Switzerland, a

Re: [Freedos-user] changing keyboard layout after booting from CD-ROM

2021-09-23 Thread Bret Johnson
Harry: > Is there a way to change the Keyboard layout as well? There is, but you'll need to provide a little more detail -- specifically which keyboard layout you're wanting to use (presumably one that matches your country, language/dialect, and physical keyboard layout). International

Re: [Freedos-user] [Freedos-devel] game protections (was: Tracking bug s...)

2021-06-16 Thread Bret Johnson
> I think it would be easier for both the game owners > and me to let me help them to break some individual > features in copies of their OAKCDROM (UPC, subchannel) > and then ask them whether it made their game fail. > > That way, I only have to send a debug script or file > to modify their

Re: [Freedos-user] Clairifcation on USB drives.

2021-06-07 Thread Bret Johnson
> Anyone has an idea if USB ports have a sequence or so? All the internal > USB-related stuff (including PCI cards/slots, USB host controllers/slots, USB > hub ports, for USB disks the number of partitions, etc.) have internal > numbers associated with them (normally hidden so that you don't

Re: [Freedos-user] command.com and long commands: command.com, SET and detection

2021-06-03 Thread Bret Johnson
> Hi Jeremy, while you are at it: > > Wondering how Jerome could test whether the current shell > is FreeCOM without needing temp files, ... FWIW, at one time I was trying to > figure out a way to automatically determine whether my executable program was > being called from the commend line (any

Re: [Freedos-user] command.com and long commands

2021-06-03 Thread Bret Johnson
FWIW, in my programs (written in ASM) what I do while parsing the command line is look at the length stored at PSP:80h. If it is less than 126, I use the data stored at PSP:81h up to the first 0Dh (Carriage Return) character. If the length is 126 or more, I look for the CMDLINE environment

Re: [Freedos-user] Print via USB

2021-04-21 Thread Bret Johnson
I've only a few things to add to this discussion about printing in USB -- most everything has already been said. But, I will summarize. USB support in the BIOS (for computers that even still have a BIOS) is usually limited to some subset of mouse, keyboard, and/or mass storage (disk drives).

Re: [Freedos-user] CTMouse Buttons programming?

2021-04-17 Thread Bret Johnson
installs itself the keyboard being controlled by the BIOS will stop working so you can't use the keyboard to install USBKEYB. If you have a batch file install both programs at the same time, your keyboard will work when the batch file finishes. -- Bret JohnsonIt's oft been said that the Devil

Re: [Freedos-user] CTMouse Buttons programming?

2021-04-13 Thread Bret Johnson
Thomas: Glad you were able to find something that works. And also thanks for the encouragement with the documentation -- it takes a lot of time and effort to write documentation and good to know it's appreciated. Choose to be safer

Re: [Freedos-user] CTMouse Buttons programming?

2021-04-10 Thread Bret Johnson
What exactly does the EVE.EXE program do? It's possible that you just don't have the correct options set up in MOUSKEYS (or EVE). Choose to be safer online. Opt-in to Cyber Safety with NortonLifeLock. Plans starting as low as $6.95

Re: [Freedos-user] CTMouse Buttons programming?

2021-04-09 Thread Bret Johnson
You might be able to use my MOUSKEYS program (available on my web site, http://bretjohnson.us. What MOUSKEYS is designed to do is let you use a mouse with programs that don't normally use a mouse (including using a mouse at the DOS prompt itself). It does this by mapping the various mouse

[Freedos-user] any mouse configuration app recommendations?

2021-01-14 Thread Bret Johnson
Eric: I accidentally deleted this from my e-mail before I was able to respond, so am not sure if this will show up in the same thread as your original question. You're wanting a utility that will configure the mouse sensitivity, resolution, etc. You would also like it to be "versatile" (TSR,

Re: [Freedos-user] 2 printers on DOS

2020-11-18 Thread Bret Johnson
> As already asked, how are the printers connected, and what are you > trying to print *from?* Exactly. Some programs will only allow you to print > to one place (usually LPT1) while others will let you print to different > places, including to files. If you in fact have two printers connected

Re: [Freedos-user] Is there such a thing as an add-on SATA host contro ller that works with DOS?

2020-10-26 Thread Bret Johnson
The problem I have found in writing disk drivers in the past (like my USB drivers) are the disks that do NOT show themselves as removable when they actually are, not the ones (like SanDisk) that show reality. If a disk says it is not removable it means you should NEVER need to worry about

Re: [Freedos-user] A few suggestions to improve debug

2020-09-01 Thread Bret Johnson
> I'm not sure, but probably a program can distinguish whether it's in > "interactive mode" or used for batch processing? It seems like this should be > possible, but I don't think it is. I've tried doing something similar > (though not quite the same), where I tried to automatically detect

Re: [Freedos-user] Temu Soundblaster Emulator

2020-06-26 Thread Bret Johnson
> Not sure why JLM also needs it, but I guess it > is part of your plans to port VSB together with some USB sound > driver to some JEMM JLM? No, it's just because the JLM/JLOAD structure > already supports I/O virtualization. To add "generic" I/O support (via INT > 2F.4A15) I had to change the

Re: [Freedos-user] Temu Soundblaster Emulator

2020-06-26 Thread Bret Johnson
Just FYI, it is at least theoretically possible to do SB virtualization in DOS using USB devices. It's on my list of things to get around to someday in my scant free time. But, SB virtualization would require I/O virtualization which is currently only available with the aid of MS EMM386 or

Re: [Freedos-user] Press Alt key via ssh

2020-03-27 Thread Bret Johnson
You might be able to use my SCANCODE program to do that, available at http://bretjohnson.us. It's actually way overkill for what you're trying to do, but it might work. One thing it will let you do is convert one keystroke (or keystroke combination) into another. Since you're remoting in

Re: [Freedos-user] WinWorldPC disk images...

2020-03-27 Thread Bret Johnson
I personally like DOS WordPerfect a lot -- version 6.2 is what I have and what I use to write the documentation for my DOS programs. I've never used WordStar myself. Anyway, like Dennis indicated the files probably aren't "split" like you might be thinking and need to be "combined" again before

Re: [Freedos-user] Off topic - hardware survival.

2020-03-25 Thread Bret Johnson
I still have an old Pentium-class machine that I boot up every once in awhile. I think it has an AMD CPU instead of Intel, but don't remember for sure. Last time I booted it up was probably 6 months ago. The problem with older computers usually isn't the electronic parts (CPU's and RAM) but

Re: [Freedos-user] Introducing myself, and inquiring about using FreeD OS as a blind user

2020-03-17 Thread Bret Johnson
Karen: Inside a Virtual Machine, ALL hardware is virtualized to some degree or other -- you never get direct access to the real hardware (whether it's keyboard or mouse or video screen or hard drive or serial port or even the clock). Exactly what gets virtualized through to the VM and exactly

Re: [Freedos-user] Introducing myself, and inquiring about using FreeD OS as a blind user

2020-03-16 Thread Bret Johnson
I'm not sure if it will end up being relevant to this discussion or not, but I use VMWare version 14 under Windows 10 to create a virtual machine for DOS. I prefer MS-DOS to FreeDOS for various reasons, though I do use some of the FreeDOS utilities. I actually have the machine set up to

Re: [Freedos-user] MODE not changing RTS or DTR of serial ports

2019-12-28 Thread Bret Johnson
The first thing you should do is to make sure COM1 is even set up correctly on your computer. On older computers the COM ports were automatically enabled, but on newer computers they aren't always turned on. I think the easiest way to check is to get into DEBUG (from the DOS prompt and enter:

Re: [Freedos-user] HP laptop touchpad

2019-08-14 Thread Bret Johnson
Late to the party regarding this, but there is a lot of misinformation being stated. USB and PS2 protocols are COMPLETELY different from each other -- barely even in the same universe. You can't "convert" from one to the other. You can talk to the mouse hardware with one protocol and then

Re: [Freedos-user] ot: run time issues?

2019-06-14 Thread Bret Johnson
The Runtime Error 200 issue has been around a long time, and is fairly well-known among DOS enthusiasts. It is actually an interesting "feature" of programs that were compiled with Turbo Pascal (TP). Supposedly, the problem occurs in the startup/initialization code of programs, before the

Re: [Freedos-user] Not sure is it possible - but maybe I'm missing som ething?

2019-05-10 Thread Bret Johnson
t, I don't convert an existing program from A86 to NASM until and unless I have to. All of my new programs I do in NASM. Also FWIW, I still prefer the D86/D386 Debugger (though even it has its quirks). The Debugger is at least as, if not more, important as the Assembler itself. Bret -

Re: [Freedos-user] FreeDOS Internet Security Protocols and Graphical I nterface

2019-01-10 Thread Bret Johnson
Thanks for the comments, Karen. I'll check out Lynx once again based on your recommendation and see what I think now. I do see that Lynx recommends my MOUSKEYS program to enable mouse support, so it can't be all bad ;-). It has been a long time since I've tried Lynx, and I don't remember

Re: [Freedos-user] FreeDOS Internet Security Protocols and Graphical I nterface

2019-01-09 Thread Bret Johnson
Hi Karen: I've tried various DOS browsers in the past, and they've all been less than stellar. Arachne, Lynx, Dillo, Links -- all have problems that make them unsuitable for me. Arachne in particular was very unstable for me and seemed to crash constantly. I do like Michael Brutman's MTCP

Re: [Freedos-user] FreeDOS Internet Security Protocols and Graphical I nterface

2019-01-08 Thread Bret Johnson
For the wireless connection, Michael Brutman (maker of MTCP) has this page that discusses another option: http://www.brutman.com/Wireless_for_Classics/Wireless_for_Classics.html I haven't used on of these for DOS, but did use one (the one that Michael recommends) in another application where

Re: [Freedos-user] Using a timer with an ISR in watcom

2018-12-31 Thread Bret Johnson
Just as an FYI, other people have tried to do the same kinds of things (particularly with fast polling of a parallel port) with mixed results. Some TSRs and device drivers, for example, don't work properly if the the clock interrupt is reprogrammed. They use the counter you want to reprogram

Re: [Freedos-user] FreeDOS on SSD

2018-11-07 Thread Bret Johnson
Just as an FYI, USB flash drives (a.k.a. thumb drives, pen drives. etc.) do something similar but it's called wear-leveling instead of TRIM. In flash drives, though, it's all automatic (built into the hardware/firmware of the drive) and you never see it or interact with it directly. The flash

Re: [Freedos-user] rcal v1.0

2018-08-07 Thread Bret Johnson
> Can you point out exactly which of these are: > - 8086-compatible > - 'normal' applications (not TSR) > - floating point-aware > - free to use, modify and distribute No, I can't. As I said earlier I haven't tried any of them, at least that I remember (I may have tried some of them a long time

Re: [Freedos-user] Choosing an interrupt number

2018-08-06 Thread Bret Johnson
A well-written packet driver would do this all automatically for you and you wouldn't need to select an Interrupt number yourself. That is, if INT 0x60 wasn't already used (all zeroes in the Interrupt Vector Table or pointing at an IRET) it would automatically select 0x60. If 0x60 was used,

  1   2   3   >