Author Topic: USB Floppy Drive Setup.  (Read 904 times)

Dan Eicher

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +4/-0
    • View Profile
USB Floppy Drive Setup.
« on: August 12, 2025, 12:21:39 am »
I have a new (to me) demo disk.

Can someone that has a working USB Floppy Disk, share their config.sys mojo with me?
AOS 5.1.1.

Thanks,
Dan






« Last Edit: August 13, 2025, 12:04:59 am by Dan Eicher »

Pete

  • Hero Member
  • *****
  • Posts: 1426
  • Karma: +17/-0
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #1 on: August 12, 2025, 01:27:38 am »
Hi Dan

No USB Floppy here but this should work:-

BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:1


Regards

Pete

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5533
  • Karma: +136/-1
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #2 on: August 12, 2025, 01:31:04 am »
I think by default that should already be in the config.sys. Try plugging one in and see if it shows up in the drives object

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5533
  • Karma: +136/-1
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #3 on: August 12, 2025, 01:36:25 am »
Should have looked, you just have to edit the line that Pete posted to /FLOPPIES:1

Roderick Klein

  • Hero Member
  • *****
  • Posts: 749
  • Karma: +16/-0
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #4 on: August 12, 2025, 02:23:48 pm »
Interesting its not turned on by default floppies:1. It should be plug and play.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5533
  • Karma: +136/-1
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #5 on: August 12, 2025, 06:16:06 pm »
Interesting its not turned on by default floppies:1. It should be plug and play.

All my config.sys's seem to be the same with floppies:0. Can't remember if there was an option in the installer about it. Perhaps the config.sys should have more documentation in itself in the form of REM statements.

Dan Eicher

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +4/-0
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #6 on: August 13, 2025, 12:03:36 am »
My config had a floppies = 0, which would make sense as I didn't have the device plugged in during installation.
It was easy peasy to change that to a 1.

I was then able to reboot and access a: perfectly.

But... and you knew there would be a but.

When I went to start a DOS session full screen to do the install, that worked, BUT... the darn keyboard quit taking input.

I was able to get to the CAD menu, but it also wouldn't accept any key strokes.

Anyone have any clues as to what that's about?

Thanks,
Dan




Dave Yeo

  • Hero Member
  • *****
  • Posts: 5533
  • Karma: +136/-1
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #7 on: August 13, 2025, 01:07:08 am »
How does your autoexec.bat look? Perhaps rem out the DOSKEY stuff?

Dan Eicher

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +4/-0
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #8 on: August 14, 2025, 04:37:30 pm »
I commented out the DOSKEY line on the T530, no change, no keyboard input.

The DOSKEY line, that I commented out, is the same as on a virutalbox install that works just fine.

I've included my config.txt, in case that might help.

Thanks,
Dan

{0}[c:\] cat AUTOEXEC.BAT
@ECHO OFF
ECHO.
PROMPT $i$p$g
REM SET DELDIR=C:\DELETE,512;S:\DELETE,512;T:\DELETE,512;Z:\DELETE,512;
SET WIN3DIR=C:\OS2\MDOS\WINOS2
PATH=C:\OS2;C:\OS2\MDOS;C:\;C:\OS2\MDOS\WINOS2;C:\SYS\MDOS\BIN;C:\TCPIP\DOS\BIN;

LOADHIGH APPEND C:\OS2;C:\OS2\SYSTEM
SET TMP=C:\var\temp
LOADHIGH C:\SYS\MDOS\BIN\2GBFIX.COM >NUL
LOADHIGH DOSKEY FINDFILE=DIR /A /S /B $*
LOADHIGH MOUSE
REM DOSKEY EDIT=QBASIC/EDITOR $*
SET DIRCMD=/A
SET TEMP=C:\OS2\MDOS\WINOS2\TEMP
SET ETC=C:\TCPIP\DOS\ETC


Dave Yeo

  • Hero Member
  • *****
  • Posts: 5533
  • Karma: +136/-1
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #9 on: August 15, 2025, 12:07:59 am »
Perhaps create a program object for  your  program and play with various DOS settings under the session tab. There's a few KBD settings and even things like INT_DURING_IO might affect things

Lars

  • Hero Member
  • *****
  • Posts: 1454
  • Karma: +73/-0
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #10 on: August 15, 2025, 08:13:41 am »
in your config.sys you have DOS= LOW,NOUMB.

I doubt that you can do a LOADHIGH in autoexec.bat.

Dan Eicher

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +4/-0
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #11 on: August 15, 2025, 11:11:24 am »
Lars,
  This gets into setting that I don't understand, these were 'configurated' right out of the box.
   1)  What should I change in which files?
   2)  Where can I most easily find documentation on the key, and value pairs accepted?
Thanks!

I've read everything no AN website, everything in /sys/doc and /sys/book.

Lars

  • Hero Member
  • *****
  • Posts: 1454
  • Karma: +73/-0
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #12 on: August 15, 2025, 11:23:02 am »
This of course is all ancient DOS stuff
You can either specify DOS=HIGH, UMB in config.sys in which case you can use LOADHIGH in autoexec.bat to load drivers into memory in the 640 kB to 1 MB range. Or you have to use ordinary LOAD in autoexec.bat.
Of course you have lots more of memory than 1 MB but we are talking about address space available to DOS. And its segmented nature (including a limitation to only 20 physical address lines) sets a limit of 1 MB.

Dan Eicher

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +4/-0
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #13 on: August 16, 2025, 03:23:31 am »
I played with DOS=LOW/HIGH, I even commented out all the LOAD statements in the autoexec bat.

No change, I did discover, if I tried to do DOS Window Session I was told the screen mode wasn't support.

I generated a testlog and packaged up all of my information and sent it up to AN.

Interestingly enough - The very same configs work fine with AOS installed in VirtualBox.

Was OS/2 Source ever made available - it would be a real learning experience reading the comments.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 5533
  • Karma: +136/-1
    • View Profile
Re: USB Floppy Drive Setup.
« Reply #14 on: August 16, 2025, 04:43:59 am »
There are illegal archives of some OS/2 source floating around, never officially released.
The problem with DOS sessions and newer hardware in BIOS mode is it is dependent on the graphic cards BIOS which is usually broken in one way or another on most recent hardware. You might be able to open a DOS full screen session and switch it to windowed and have it work. UEFI mode fixes a lot of these issues as AOS installs its own video BIOS.
There's also a driver floating around that fixes some DOS issues, the name escapes me right now.