FDOS / share

Installs file-sharing and locking capabilities for FreeDOS kernel. (Not compatible with other DOS kernels.)
11 stars 5 forks source link

Function 22h getctrl2 #12

Closed ecm-pushbx closed 3 years ago

ecm-pushbx commented 3 years ago

This changes the globals that count total and free file and lock table entries to be defined in the assembly source. This allows to return a pointer to them in AMIS function 22h, instead of their contents. This saves a bit of resident space. The asm_get_status works with either a return of al = 8 or al = FFh and uses that to determine whether the table or register return is used.