delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/09/14/05:30:20

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: RoBoard Lab <robotics AT dmp DOT com DOT tw>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP cross compilers for open-source hardware
Date: Sat, 14 Sep 2013 17:16:54 +0800
Organization: Netfront http://www.netfront.net/
Lines: 55
Message-ID: <l119i8$2fnf$1@adenine.netfront.net>
References: <kvqdrb$1uei$1 AT adenine DOT netfront DOT net> <bc844ecf-7aa2-488f-84cc-cfb3f46ce9e3 AT googlegroups DOT com> <l07g2d$em7$1 AT adenine DOT netfront DOT net> <51fad91a-51fc-4fa5-83b4-33ca743333e1 AT googlegroups DOT com> <l0kksd$2h58$1 AT adenine DOT netfront DOT net> <914cf387-8bab-48d9-b5c6-22ea5bddfdf0 AT googlegroups DOT com>
NNTP-Posting-Host: 114.34.144.113
Mime-Version: 1.0
X-Trace: adenine.netfront.net 1379150216 81647 114.34.144.113 (14 Sep 2013 09:16:56 GMT)
X-Complaints-To: news AT netfront DOT net
NNTP-Posting-Date: Sat, 14 Sep 2013 09:16:56 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
In-Reply-To: <914cf387-8bab-48d9-b5c6-22ea5bddfdf0@googlegroups.com>
Bytes: 3723
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

於 2013/9/10 上午 07:18, RayeR 提到:
>> You can add a PCI-E VGA card to have Display.
> It's on pin header? How many PCI-E lanes? I don't know if there are available some smaller PCI-E VGAs than classic cards for x16 slot. Can x16 VGA work e.g. with only x1 with reduced speed? Will you also make some daughterboard with VGA?
>

There is a miniPCI-E slot on the "One" board of x86 Arduino. Only PCI-E 
x1 is supported. We use off-the-shelf miniPCI-E VGA cards (with, e.g., 
Silicon Motion's GPU) on this board.

>> Terminal via UART is also supported by BIOS.
> Does it also support ANSI codes for better control and color interface?
>

ANSI isn't supported currently and may be implemented in the future.

>> We are developing a DJGPP HDA library for Vortex86EX.
> I think you could save some effort as there are already 2 DJGPP libraries supporting intel HDA - JUDAS (older, abandoned) and WSS (used in mplayer and MAME) and you could add support for your hardware into one of these libs.
>

We have tried WSS and mpxplay. WSS works on Vortex86EX by adding VID and 
DID to wss.c:

------
static DEVICE_LIST hda_dev_list[] = {
     …
     { 0x17F3, 0x3010, PCI_ANY_ID, PCI_ANY_ID, DEV_ATI, "Vortex86EX"}, 
//new added
     { 0x0000, 0x0000, PCI_ANY_ID, PCI_ANY_ID, 0, "" }
};
------

mpxplay also works on Vortex86EX with the following modification to 
SC_INTHD.C:

------
//(original)
card->sd_addr=card->iobase+0x100; // !!! we use 1 playback stream only

-->

//(new)
sdo_offset=((((unsigned long)azx_sd_readw(card,GCAP))&0x0F00)>>8)*0x20+0x80;
card->sd_addr=card->iobase+sdo_offset;
------

We are developing another DJGPP HDA library to fit the framework of x86 
Arduino. (And both WSS and mpxplay are useful references.)

> I think dosbox is less efficient as other emulators/VM that can use HW virtualization (not sure if recent dosbox can) but it's more lightweight and can easy share files on local machine. If I understand well, only issue is LFN support and DOSLFN is not working? I just tried to compile something without LFN under dosbox 0.74 with recent gcc 4.8.1 and djgpp 2.04 and it takes about 10x time than under NTVDM (about 13s for 2 .c files and one .h file total less than 100kB)...

DOSBOX is less efficient than QEMU but is easier to share files with the 
Arduino IDE. This reduces the effort of integrating DJGPP and the 
Arduino IDE. :)

--- news://freenews.netfront.net/ - complaints: news AT netfront DOT net ---

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019