On 3 May 2012 11:47, Andrew Brooks wrote:
> I've just tried to get dosemu working (on ubuntu 12.04) with hardware that
> requires IO ports.
>
> It wasn't working so I checked /proc/ioports and found the first line
> completely overlaps the range I need (0x0320...)
> 0000-0cf7 : PCI Bus 0000:00
> The other lines in the file are as normal (although indented) covering
> allocations more specifically.
>
> I hacked dosemu to ignore the offending line and now have IO port access.
>
> Is there a clean way to solve this in the source (emu-i386/ports.c) ?

I'm working on a patch. The code is buggy in any case; it will take me
a bit longer. The code doesn't need to look for indent spaces; it
could also look if the range on the current line is a subrange of the
previous line, and if so, ignore the previous line.

You can also force it using "$_ports = device /dev/null 0x320"

Bart

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dosemu-devel mailing list
Dosemu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dosemu-devel

Reply via email to