Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Jemm + 386SWAT in true DOS (Emulation)

posted by Japheth Homepage, Germany (South), 20.12.2007, 10:23

> Did you ever use Jemmex with 386SWAT (No Qemu, no VirtualBox, no
> emulation- just DOS ) ?

Of course.

> I tried it and could not make it work: if either is loaded, the
> other fails to load.
> May post the (fairly long) error messages here or send them directly
> to Japheth, if he is interested.

I'm not sure if the error messages will help a lot. I used 386SWAT with JemmEx under MS-DOS 7.1 and FreeDOS without problems. But I always loaded JemmEx first and then 386SWAT in CONFIG.SYS:

DOS=HIGH,NOAUTO,UMB
STACKS=0,0
FILESHIGH=80
LASTDRIVEHIGH=Z
FCBSHIGH=4,0
BUFFERSHIGH=16
Country=049,850,C:\country.sys
DEVICE=C:\UMBPCI.SYS /I=D000-DFFF
DEVICE=C:\JEMMEX.EXE FRAME=E000 S=D000-DFFF FASTBOOT MIN=48 SPLIT
DEVICEHIGH=C:\386SWAT.LOD PRO=C:\386SWAT.PRO
DEVICEHIGH=C:\JLOAD.EXE -q C:\XDMA32.DLL /F
DEVICEHIGH=C:\JLOAD.EXE -q C:\XCDROM32.DLL /D:CD001$ /F /32
DEVICEHIGH=C:\JLOAD.EXE -q C:\KEYBGR.DLL
DEVICEHIGH=C:\HXLDR32.EXE -Q C:\DPMILD32.EXE
INSTALLHIGH=C:\DOSKEY.COM
INSTALL=C:\SHCDX33C.COM /Q /D:CD001$ /~
SHELL=C:\COMMAND.COM /P /E:512


However, if you've activated 386SWAT's "trapgenp" option, the debugger will stop at Jemm's "v86 breakpoints", which are implemented as HLT opcodes. So you most likely will have to modify your 386SWAT.PRO, note the "gpskip" line in the following excerpt:

; Recommended options are

  trapdiv               ; Direct INT 00h to 386SWAT (Divide Overflow Fault)
  trapnmi               ; Direct INT 02h to 386SWAT (Non-maskable interrupt)
  trapbound             ; Direct INT 05h to 386SWAT (BOUND Fault)
  trapinv               ; Direct INT 06h to 386SWAT (Invalid Opcode Fault)
  trapstack             ; Direct INT 0Ch to 386SWAT (Stack Fault)
  trapgenp              ; Direct INT 0Dh to 386SWAT (General Protection Fault)
  trappage              ; Direct INT 0Eh to 386SWAT (Page Fault)
  x15                   ; Pass through all INT 15h memory calls
  gpskip=hlt,ind,ini,ins,outd,outi,outs,crn

;

---
MS-DOS forever!

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 209 users online (0 registered, 209 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum