Re: Euphoria on DOSbox
- Posted by Bernie Ryan <xotron at bluef?og?com> Oct 30, 2007
- 820 views
Robert Craig wrote: > > CChris wrote: > > Really? > > The code in be_machine.c has some interrupt #31 calls which are specific to > > Causeway according to RBIL v61: > > * long_to_short(): AX=#FF21 (GetMemDOS) and #FF01 (RM interrupt) > > * InitGraphics(): AX=#FF08 (GetSelDet32) > > * user_allocate_low(): AX=#FF21 > > * user_free_low: AX=#FF23 (RelMemDOS) > > * dos_interrupt: AX=#FF01 > > > > So... I expect these areas of the backend source will require some > > alternative > > variant selected by an #ifdef ... #else directive. > > Thanks for spotting those calls. They are specialized bits > of code you would probably have to change to > achieve 100% compatibility, but I think the bulk of > Euphoria for DOS should work OK without any source code changes. > For instance, Bernie recently said he got pmodew working: > > <a > href="http://www.openeuphoria.org/EUforum/m17215.html">http://www.openeuphoria.org/EUforum/m17215.html</a> > > I switched over to the Causeway DOS extender, > from DOS4GW, more than a decade ago. > I compared against a couple of other DOS extenders at that time. > I recall that things pretty much worked immediately, > without any source changes, whichever extender I used. > Though, as you observe, I did eventually code a few > Causeway-specific calls to support some tricky stuff, > such as the Euphoria dos_interrupt() library routine etc. > > Regards, > Rob Craig > Rapid Deployment Software > <a href="http://www.RapidEuphoria.com">http://www.RapidEuphoria.com</a> I got it to compile but it crashs . Bernie My files in archive: WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API Can be downloaded here: http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan