Category : OS/2 Files
Archive   : ZOO21E.ZIP
Filename : MACROS.AI

 
Output of file : MACROS.AI contained in archive : ZOO21E.ZIP
; $Source: /usr/home/dhesi/zoo/RCS/macros.ai,v $
; $Id: macros.ai,v 1.2 91/07/07 09:37:52 dhesi Exp $
;procedure index, used in-line to save some microseconds
call_index macro
mov si,bx ;si = bx * 5 (5 byte hash entries)
shl si,1 ;si = bx * 2 * 2 + bx
shl si,1
add si,bx
endm

ifdef OS2
SEL TYPEDEF WORD
PSEL TYPEDEF FAR PTR SEL
DOSALLOCSEG PROTO FAR PASCAL cbSize:WORD, pselector:PSEL, fsAlloc:WORD
else
malloc macro siz
ifdif ,
mov bx,siz
endif
mov ah,48h
int 21h
endm
endif


  3 Responses to “Category : OS/2 Files
Archive   : ZOO21E.ZIP
Filename : MACROS.AI

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/