Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

FlWriter version 1.0 released - dosshell tests - Wine + DOS (Announce)

posted by Arjay, 23.03.2012, 22:14
(edited by Arjay on 23.03.2012, 23:30)

> guess more testing/RTFM is needed to understand Wine's DOS support better.
It just occurred to me to run IVTUTIL and FreeDOS's debug v1.01 as per my Runcom / JSLinux testing...

Like JSLinux using a basic vm86 launch but with a more complete basic PC setup, e.g. basic BDA e.g. COM/LPT port values. Interrupt vector table is setup so that all interrupts (inc. table offsets) point to seg F000h as below:

INT    VECTOR    POINTS TO
---    ------    ---------
$00   F000:0000
$01   F000:0004
$02   F000:0008
$03   F000:000C
etc
$10   F000:0040
..
$20   F000:0080
$21   F000:0084
..
$FE   F000:03F8
$FF   F000:03FC


Dump of interrupt handling code which looks the same for *all* interrupts:
F000:0000 CD00          INT         00
F000:0002 CF            IRET
F000:0003 CD01          INT         01
F000:0004 CF            IRET
F000:0006 CD02          INT         02
F000:0007 CF            IRET
F000:0008 CD03          INT         03
F000:000A CF            IRET
etc


[edit]
The latest version of Wine I can use on this PC at the minute is v1.1.31, after dumping the 16bit memory provided by Wine on this PC. I searched the net for the BIOS date used in Wine (13/01/99) which located the main Wine dosmem.c source here: dosmem.c - however it turns out that the 16bit code was "separated" in Wine 1.1.36 - whatever "separated" means - dropped for DOSBox?
[edit2]
Apparently yes, removed as according to WIkipedia:
"...However, Windows 1.x and Windows 2.x support was removed from Wine development version 1.3.12 if DOSBox is installed on the system (see below on MS-DOS)..."

Suggest we create a new thread if anyone wants to discuss Wine+DOS further.

 

Complete thread:

Back to the forum
Board view  Mix view
22778 Postings in 2122 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum