Hi All

Long time user of FreeDos on CFC in Industrial environment.
Long time user of FreeBasic in the same environment.
Retired and experimenting with a new device.

Have recently purchased an 86Duino in the form of EduCake.
Basically an x86 with breadboard on top.
Fairly new product using a Vortex86Ex processor.
The support is minimal, cause there are still only a few users.
It is being sprouted as Dos. FreeDos, Windows & Linux compatible.
They supply an image for the SD card, which boots as intended.

I am having difficulty running programs in this environment.
Basically:
if I load CWSDPMI and run say Edlin32.exe it works (or appears to)
If I dont load CWSDPMI and run Edlin16.exe it works (or appears to)

Loading CWSDPMI and running a FreeBasic (Dos) compiled two line program it
generates an exception.
Division by Zero.
Print "Hello World"
End

Compiling this program with PB7 (16 bit Dos) and running it,
doesn't create any exceptions but no message printed.

Now I have dealt with this processor before on Industrial CPU boards, and
have not had this problem.
At this stage I should note that there is no monitor facility on this
device, so the serial port becomes
the monitor with:
MODE com4:9600,N,8,1,P
ctty com4

Autoexec.bat (the relevant bits)
@echo off 
SET dosdir=C:\FDOS
set PATH=%dosdir%\bin
set NLSPATH=%dosdir%\NLS 
set HELPPATH=%dosdir%\HELP
set temp=%dosdir%\temp
set tmp=%dosdir%\temp

SET autofile=C:\autoexec.bat 
alias reboot=fdapm warmboot 
alias halt=fdapm poweroff 

MODE com4:9600,N,8,1,P
ctty com4
C:\FDos\Bin\DosLFN.com
C:\FDos\Bin\cwsdpmi.exe
cd\
rem C:\FDos\Bin\ctmouse
C:\FDos\Bin\LBACache
C:\FDOS\Bin\SHARE.com


FDConfig.sys
device=c:\FDos\Bin\himemx.exe
dos=high,umb
LASTDRIVE=Z
switches=/N
break=off
dos=high,umb
dosdata=umb
files=60
rem stacks=16,256

Bootup detail.
DOSLFN 0.41 (haftmann#software & jmh 12/2011): loaded consuming 11776 bytes.
LBAcache disk read cache for XMS + 386, E. Auer <e...@coli.uni-sb.de>
2001-2006
License: GPL 2.  Up to 8 harddisks, 2 floppy, LBA / CHS. Version: 07apr2008.
Detecting harddisks:
  disk 0x80 heads=0255 sectors=0063 [done]
 [No floppy cache: no change lines]
XMS allocated:  2.00  MB, driver size with tables and stack: 7427 bytes.
SHARE installed.

C:\>
The exception in 32bit protected mode.
C:\>test
Exiting due to signal SIGFPE
Division by Zero at eip=0000401d, x87 status=0000
eax=00000001 ebx=00230880 ecx=00000001 edx=00000000 esi=000202e0
edi=00230cdc
ebp=00000000 esp=00230820 program=C:\TEST.EXE
cs: sel=00a7  base=00400000  limit=0023ffff
ds: sel=00af  base=00400000  limit=0023ffff
es: sel=00af  base=00400000  limit=0023ffff
fs: sel=00bf  base=00000000  limit=0010ffff
gs: sel=00bf  base=00000000  limit=0010ffff
ss: sel=00af  base=00400000  limit=0023ffff
App stack: [00230e38..00030e3c]  Exceptn stack: [00030d58..0002ee18]

Can sks give me some direction here please.





-----
Regards
Dinosaur
--
View this message in context: 
http://freedos.10956.n7.nabble.com/FreeDos-on-86Duino-tp20567.html
Sent from the FreeDOS - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to