- .MODEL large
- .CODE
- public F_SPUSH@
- public F_PSBP@
- public F_PINA@
- public F_PDEA@
- public F_PADD@
- public F_PSUB@
- public F_PADA@
- public F_PSBA@
- public F_LXURSH@
- public F_LXRSH@
- public F_LXLSH@
- public F_LDIV@
- public F_LUDIV@
- public F_LMOD@
- public F_LUMOD@
- public F_SCOPY@
- public F_PCMP@
- public F_LXMUL@
- public SPUSH@
- public PSBP@
- public PINA@
- public PDEA@
- public PADD@
- public PSUB@
- public PADA@
- public PSBA@
- public LXURSH@
- public LXRSH@
- public LXLSH@
- public LDIV@
- public LUDIV@
- public LMOD@
- public LUMOD@
- public SCOPY@
- public PCMP@
- public LXMUL@
- public _memchr
- public _memccpy
- public _strpbrk
- public _strrchr
- public _strspn
- public _strrev
- ;public __lower
- public _strnset
- ;public _labs
- ;public __upper
- ;public __ctype
- public _strset
- ;public _abs
- public _strncpy
- public _strncmp
- public _strlen
- public _strcpy
- public _strcmp
- public _strcat
- ;public __rotr
- ;public __rotl
- ;public _outport
- ;public _outportb
- ;public _outpw
- ;public _outp
- public _movmem
- public _memmove
- public _setmem
- public _memset
- public _memcpy
- public _memcmp
- ;public __lrotr
- ;public __lrotl
- ;public _ldiv
- ;public _inport
- ;public _inportb
- ;public _inpw
- ;public _inp
- ;public _div
- public _strstr
- ;public _ASCIIToHEX
- ;public _HEXToASCII
- ;public _HEXToASCII_C
- ;public _BitTable8
- ;public _BitTable16
- ;public _BitTable32
- ;public _BitTable32m
- ;public _MaskLUT
- ;public _MaskLUT8
- ;public _masklut1
- ;public _masklut2
- ;public _getvect
- ;public _setvect
- public _swab
- ;public __LONGTOA
- ;public __UTOA
- ;public _itoa
- ;public _ultoa
- ;public _ltoa
- ;public _atol
- ;public _atoi
- ;public _lsearch
- ;public _lfind
- ;public _bsearch
- ;public _Square_Root48
- ;public _gen_timer1
- ;public _gen_timer0
- ;public __disable
- ;public __enable
- ;public _set_SR
- ;public _change_stack
- ;public _add_queue
- ;public _delete_queue
- ;public _get_queue
- ;public _rotate_queue
- ;public _dispatch
- ;public _it_which
- ;public _next_ready
- ;public _rot_rdq
- ;public _ent_int
- ;public _ret_int
- ;public _interrupt_timer
- ;public _InterruptVectors
- ;public _CntHigh
- ;public _RTOSTimeInc
- ;public _sysstat
- ;public _intnest
- ;public _delaydispatch
- ;public _systmslc
- ;public _currentrun
- ;public _nextrun
- ;public _dispatch_counter
- ;public _readyqueue
- ;public _systim
- ;public _delyqueue
- SEGMENT _I49_ROMLIB_CODE 'I49_ROMLIB_CODE'
- F_SPUSH@ = _I49_ROMLIB_CODE:0146h
- F_PSBP@ = _I49_ROMLIB_CODE:016Ah
- F_PINA@ = _I49_ROMLIB_CODE:01BCh
- F_PDEA@ = _I49_ROMLIB_CODE:01EEh
- F_PADD@ = _I49_ROMLIB_CODE:0222h
- F_PSUB@ = _I49_ROMLIB_CODE:0256h
- F_PADA@ = _I49_ROMLIB_CODE:028Ch
- F_PSBA@ = _I49_ROMLIB_CODE:02D5h
- F_LXURSH@ = _I49_ROMLIB_CODE:031Eh
- F_LXRSH@ = _I49_ROMLIB_CODE:033Fh
- F_LXLSH@ = _I49_ROMLIB_CODE:035Fh
- F_LDIV@ = _I49_ROMLIB_CODE:0380h
- F_LUDIV@ = _I49_ROMLIB_CODE:0387h
- F_LMOD@ = _I49_ROMLIB_CODE:038Fh
- F_LUMOD@ = _I49_ROMLIB_CODE:0397h
- F_SCOPY@ = _I49_ROMLIB_CODE:042Bh
- F_PCMP@ = _I49_ROMLIB_CODE:0447h
- F_LXMUL@ = _I49_ROMLIB_CODE:0469h
- SPUSH@ = _I49_ROMLIB_CODE:0146h
- PSBP@ = _I49_ROMLIB_CODE:016Ah
- PINA@ = _I49_ROMLIB_CODE:01BCh
- PDEA@ = _I49_ROMLIB_CODE:01EEh
- PADD@ = _I49_ROMLIB_CODE:0222h
- PSUB@ = _I49_ROMLIB_CODE:0256h
- PADA@ = _I49_ROMLIB_CODE:028Ch
- PSBA@ = _I49_ROMLIB_CODE:02D5h
- LXURSH@ = _I49_ROMLIB_CODE:031Eh
- LXRSH@ = _I49_ROMLIB_CODE:033Fh
- LXLSH@ = _I49_ROMLIB_CODE:035Fh
- LDIV@ = _I49_ROMLIB_CODE:0380h
- LUDIV@ = _I49_ROMLIB_CODE:0387h
- LMOD@ = _I49_ROMLIB_CODE:038Fh
- LUMOD@ = _I49_ROMLIB_CODE:0397h
- SCOPY@ = _I49_ROMLIB_CODE:042Bh
- PCMP@ = _I49_ROMLIB_CODE:0447h
- LXMUL@ = _I49_ROMLIB_CODE:0469h
- PUSHIT = _I49_ROMLIB_CODE:014Ah
- _memchr = _I49_ROMLIB_CODE:0480h
- _memccpy = _I49_ROMLIB_CODE:04A5h
- _strpbrk = _I49_ROMLIB_CODE:04E0h
- _strrchr = _I49_ROMLIB_CODE:052Ah
- _strspn = _I49_ROMLIB_CODE:0574h
- _strrev = _I49_ROMLIB_CODE:05C4h
- ;__lower = _I49_ROMLIB_CODE:05FAh
- _strnset = _I49_ROMLIB_CODE:06FAh
- ;_labs = _I49_ROMLIB_CODE:0737h
- ;__upper = _I49_ROMLIB_CODE:0761h
- ;__ctype = _I49_ROMLIB_CODE:0861h
- _strset = _I49_ROMLIB_CODE:0962h
- ;_abs = _I49_ROMLIB_CODE:0990h
- _strncpy = _I49_ROMLIB_CODE:09A0h
- _strncmp = _I49_ROMLIB_CODE:09D3h
- _strlen = _I49_ROMLIB_CODE:0A0Dh
- _strcpy = _I49_ROMLIB_CODE:0A2Eh
- _strcmp = _I49_ROMLIB_CODE:0A59h
- _strcat = _I49_ROMLIB_CODE:0A8Bh
- ;__rotr = _I49_ROMLIB_CODE:0ACCh
- ;__rotl = _I49_ROMLIB_CODE:0ADBh
- ;_outport = _I49_ROMLIB_CODE:0AEAh
- ;_outportb = _I49_ROMLIB_CODE:0AF6h
- ;_outpw = _I49_ROMLIB_CODE:0B02h
- ;_outp = _I49_ROMLIB_CODE:0B10h
- _movmem = _I49_ROMLIB_CODE:0B20h
- _memmove = _I49_ROMLIB_CODE:0B72h
- _setmem = _I49_ROMLIB_CODE:0B95h
- _memset = _I49_ROMLIB_CODE:0BB9h
- _memcpy = _I49_ROMLIB_CODE:0BDAh
- _memcmp = _I49_ROMLIB_CODE:0C00h
- ;__lrotr = _I49_ROMLIB_CODE:0C2Ah
- ;__lrotl = _I49_ROMLIB_CODE:0C49h
- ;_ldiv = _I49_ROMLIB_CODE:0C67h
- ;_inport = _I49_ROMLIB_CODE:0CFDh
- ;_inportb = _I49_ROMLIB_CODE:0D08h
- ;_inpw = _I49_ROMLIB_CODE:0D15h
- ;_inp = _I49_ROMLIB_CODE:0D20h
- ;_div = _I49_ROMLIB_CODE:0D2Dh
- _strstr = _I49_ROMLIB_CODE:0D39h
- ;_ASCIIToHEX = _I49_ROMLIB_CODE:0DA7h
- ;_HEXToASCII = _I49_ROMLIB_CODE:0EA7h
- ;_HEXToASCII_C = _I49_ROMLIB_CODE:0EB7h
- ;_BitTable8 = _I49_ROMLIB_CODE:0EC7h
- ;_BitTable16 = _I49_ROMLIB_CODE:0ECFh
- ;_BitTable32 = _I49_ROMLIB_CODE:0EEFh
- ;_BitTable32m = _I49_ROMLIB_CODE:0F6Fh
- ;_MaskLUT = _I49_ROMLIB_CODE:0FEFh
- ;_MaskLUT8 = _I49_ROMLIB_CODE:102Fh
- ;_masklut1 = _I49_ROMLIB_CODE:1041h
- ;_masklut2 = _I49_ROMLIB_CODE:1061h
- ;_getvect = _I49_ROMLIB_CODE:1081h
- ;_setvect = _I49_ROMLIB_CODE:1092h
- _swab = _I49_ROMLIB_CODE:10A3h
- ;__LONGTOA = _I49_ROMLIB_CODE:10C4h
- ;__UTOA = _I49_ROMLIB_CODE:1144h
- ;_itoa = _I49_ROMLIB_CODE:1164h
- ;_ultoa = _I49_ROMLIB_CODE:1193h
- ;_ltoa = _I49_ROMLIB_CODE:11B0h
- ;_atol = _I49_ROMLIB_CODE:11DBh
- ;_atoi = _I49_ROMLIB_CODE:1252h
- ;_lsearch = _I49_ROMLIB_CODE:12D1h
- ;_lfind = _I49_ROMLIB_CODE:12F8h
- ;_bsearch = _I49_ROMLIB_CODE:131Fh
- ;_Square_Root48 = _I49_ROMLIB_CODE:13A0h
- ;_gen_timer1 = _I49_ROMLIB_CODE:1487h
- ;_gen_timer0 = _I49_ROMLIB_CODE:14B3h
- ;__disable = _I49_ROMLIB_CODE:14DFh
- ;__enable = _I49_ROMLIB_CODE:14E7h
- ;_set_SR = _I49_ROMLIB_CODE:14EFh
- ;_change_stack = _I49_ROMLIB_CODE:14F8h
- ;_add_queue = _I49_ROMLIB_CODE:1515h
- ;_delete_queue = _I49_ROMLIB_CODE:1565h
- ;_get_queue = _I49_ROMLIB_CODE:15BCh
- ;_rotate_queue = _I49_ROMLIB_CODE:15E7h
- ;_dispatch = _I49_ROMLIB_CODE:161Ch
- ;_it_which = _I49_ROMLIB_CODE:16E7h
- ;_next_ready = _I49_ROMLIB_CODE:1741h
- ;_rot_rdq = _I49_ROMLIB_CODE:1871h
- ;_ent_int = _I49_ROMLIB_CODE:18CCh
- ;_ret_int = _I49_ROMLIB_CODE:18EAh
- ;_interrupt_timer = _I49_ROMLIB_CODE:191Ah
- ;_InterruptVectors = _I49_ROMLIB_CODE:0000h
- ;_CntHigh = _I49_ROMLIB_CODE:0064h
- ;_RTOSTimeInc = _I49_ROMLIB_CODE:0068h
- ;_sysstat = _I49_ROMLIB_CODE:006Ah
- ;_intnest = _I49_ROMLIB_CODE:006Ch
- ;_delaydispatch = _I49_ROMLIB_CODE:006Eh
- ;_systmslc = _I49_ROMLIB_CODE:0070h
- ;_currentrun = _I49_ROMLIB_CODE:0072h
- ;_nextrun = _I49_ROMLIB_CODE:0076h
- ;_dispatch_counter = _I49_ROMLIB_CODE:007Ah
- ;_readyqueue = _I49_ROMLIB_CODE:007Ch
- ;_systim = _I49_ROMLIB_CODE:0094h
- ;_delyqueue = _I49_ROMLIB_CODE:0098h
- ENDS
- SEGMENT _TEXT PUBLIC 'CODE'
- assume cs:_TEXT
- public N_LDIV@
- public N_LMOD@
- public N_LUDIV@
- public N_LUMOD@
- public N_LXLSH@
- ; public N_LXMUL@
- public N_LXRSH@
- public N_LXURSH@
- public N_PADA@
- public N_PADD@
- public N_PCMP@
- public N_PDEA@
- public N_PINA@
- public N_PSBA@
- ; public N_PSBH@
- public N_PSBP@
- public N_PSUB@
- ; public N_SCOPY@
- ; public N_SPUSH@
- N_LDIV@:
- pop cx ;fix up far return
- push cs
- push cx
- jmp far ptr _I49_ROMLIB_CODE:F_LDIV@
- N_LMOD@:
- pop cx ;fix up far return
- push cs
- push cx
- jmp far ptr _I49_ROMLIB_CODE:F_LMOD@
- N_LUDIV@:
- pop cx ;fix up far return
- push cs
- push cx
- jmp far ptr _I49_ROMLIB_CODE:F_LUDIV@
- N_LUMOD@:
- pop cx ;fix up far return
- push cs
- push cx
- jmp far ptr _I49_ROMLIB_CODE:F_LUMOD@
- N_LXLSH@:
- pop bx ;fix up far return
- push cs
- push bx
- jmp far ptr _I49_ROMLIB_CODE:F_LXLSH@
- ;N_LXMUL@:
- ; pop es ;fix up far return
- ; push cs
- ; push es
- ; jmp far ptr _I49_ROMLIB_CODE:F_LXMUL@
- N_LXRSH@:
- pop bx ;fix up far return
- push cs
- push bx
- jmp far ptr _I49_ROMLIB_CODE:F_LXRSH@
- N_LXURSH@:
- pop bx ;fix up far return
- push cs
- push bx
- jmp far ptr _I49_ROMLIB_CODE:F_LXURSH@
- N_PADA@:
- pop es ;fix up far return
- push cs
- push es
- jmp far ptr _I49_ROMLIB_CODE:F_PADA@
- N_PADD@:
- pop es ;fix up far return
- push cs
- push es
- jmp far ptr _I49_ROMLIB_CODE:F_PADD@
- N_PCMP@:
- pop es ;fix up far return
- push cs
- push es
- jmp far ptr _I49_ROMLIB_CODE:F_PCMP@
- N_PDEA@:
- pop cx ;fix up far return
- push cs
- push cx
- jmp far ptr _I49_ROMLIB_CODE:F_PDEA@
- N_PINA@:
- pop cx ;fix up far return
- push cs
- push cx
- jmp far ptr _I49_ROMLIB_CODE:F_PINA@
- N_PSBA@:
- pop es ;fix up far return
- push cs
- push es
- jmp far ptr _I49_ROMLIB_CODE:F_PSBA@
- ;N_PSBH@:
- ; pop bx ;fix up far return
- ; push cs
- ; push bx
- ; jmp far ptr _I49_ROMLIB_CODE:F_PSBH@
- N_PSBP@:
- pop es ;fix up far return
- push cs
- push es
- jmp far ptr _I49_ROMLIB_CODE:F_PSBP@
- N_PSUB@:
- pop es ;fix up far return
- push cs
- push es
- jmp far ptr _I49_ROMLIB_CODE:F_PSUB@
- ;N_SCOPY@:
- ; pop es ;fix up far return
- ; push cs
- ; push es
- ; jmp far ptr _I49_ROMLIB_CODE:F_SCOPY@
- ;N_SPUSH@:
- ; pop bx ;fetch return address off stack
- ; sub sp,cx ;make room on stack for struct
- ; push cs ;save return address back on stack
- ; jmp far ptr _I49_ROMLIB_CODE:PUSHIT
- ENDS
- END