Chromedome45
Veteran Member
Ok so I know how to create working TRS-DOS 2.x disks that are bootable in an emulator but when tried in my Model I they don't work. Any ideas? Something about the DAM marks. Any help appreciated.
VCF West | Aug 01 - 02 2025, | CHM, Mountain View, CA |
VCF Midwest | Sep 13 - 14 2025, | Schaumburg, IL |
VCF Montreal | Jan 24 - 25, 2026, | RMC Saint Jean, Montreal, Canada |
VCF SoCal | Feb 14 - 15, 2026, | Hotel Fera, Orange CA |
VCF Southwest | May 29 - 31, 2026, | Westin Dallas Fort Worth Airport |
VCF Southeast | June, 2026 | Atlanta, GA |
// WinEnhanced - Are we running under Windows?
// -------------------------------------------
//
// Returns 1 for Windows NT, 2 for Win95 or 0 for plain old DOS.
//
int WinEnhanced( void)
{
union _REGS
regs;
regs.x.ax = 0x1600;
_int86( 0x2f, ®s, ®s);
if ( regs.h.al & 127)
return 2;
// We stil may be in NT. Check for OS version 5.50.
regs.x.bx = 0;
regs.x.ax = 0x3306; // get true version
_intdos( ®s, ®s);
return (regs.x.bx == 0x3205) ? 1 : 0;
} // WinEnhanced