Skip to content

Commit

Permalink
disable XMS_FAIL_FIRST_ALLOC and link FreeCOM bug report
Browse files Browse the repository at this point in the history
  • Loading branch information
C. Masloch committed Jul 30, 2019
1 parent a878127 commit c09ef85
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion 8086tiny.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@
#define AMOUNT_XMS_HANDLES 32
#define XMS_REPORTED_FREE (16 * 1024 * 1024)
// #define XMS_DEBUG 1
#define XMS_FAIL_FIRST_ALLOC 1
// #define XMS_FAIL_FIRST_ALLOC 1
/* FreeCOM with XMS Swap seems to break when it loads
* into our XMS. Various errors occur with different versions.
* As a workaround, this fails FreeCOM's XMS allocation.
* After that, for example, lDebug symbolic can use XMS.
*
* Update: I found the FreeCOM bug and reported it at
* https://github.com/FDOS/freecom/issues/15
*
* With the support for the push imm16 instruction,
* we can work around the FreeCOM bug.
*/

#ifdef XMS_DEBUG
Expand Down

0 comments on commit c09ef85

Please sign in to comment.