Re: Euphoria on DOSbox
- Posted by Robert Craig <rds at RapidEuphori?.c?m> Oct 30, 2007
- 792 views
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: http://www.openeuphoria.org/EUforum/m17215.html 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 http://www.RapidEuphoria.com