cross platform X68000 disassembler (Human68k, Windows, Linux)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

doscall.mac 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. .nlist
  2. * doscall.mac
  3. * RUKA assembler macro for X680x0/Human68k(v3)
  4. * version 1.16 2000/03/03 Tachibana Eririn.
  5. .ifndef __doscall_mac__
  6. __doscall_mac__:=1
  7. * Macro --------------------------------------- *
  8. DOS: .macro callno
  9. .dc callno
  10. .endm
  11. * DOS Call Number ----------------------------- *
  12. _EXIT: .equ $ff00
  13. _GETCHAR: .equ $ff01
  14. _PUTCHAR: .equ $ff02
  15. _COMINP: .equ $ff03
  16. _COMOUT: .equ $ff04
  17. _PRNOUT: .equ $ff05
  18. _INPOUT: .equ $ff06
  19. _INKEY: .equ $ff07
  20. _GETC: .equ $ff08
  21. _PRINT: .equ $ff09
  22. _GETS: .equ $ff0a
  23. _KEYSNS: .equ $ff0b
  24. _KFLUSH: .equ $ff0c
  25. _FFLUSH: .equ $ff0d
  26. _CHGDRV: .equ $ff0e
  27. _CHDRV: .equ $ff0e ;=_CHGDRV
  28. _DRVCTRL: .equ $ff0f
  29. _CONSNS: .equ $ff10
  30. _PRNSNS: .equ $ff11
  31. _CINSNS: .equ $ff12
  32. _COUTSNS: .equ $ff13
  33. _FATCHK: .equ $ff17
  34. _HENDSP: .equ $ff18
  35. _CURDRV: .equ $ff19
  36. _GETSS: .equ $ff1a
  37. _FGETC: .equ $ff1b
  38. _FGETS: .equ $ff1c
  39. _FPUTC: .equ $ff1d
  40. _FPUTS: .equ $ff1e
  41. _ALLCLOSE: .equ $ff1f
  42. _SUPER: .equ $ff20
  43. _FNCKEY: .equ $ff21
  44. _KNJCTRL: .equ $ff22
  45. _CONCTRL: .equ $ff23
  46. _KEYCTRL: .equ $ff24
  47. _INTVCS: .equ $ff25
  48. _MAKEPSP: .equ $ff26
  49. _PSPSET: .equ $ff26 ;=_MAKEPSP
  50. _GETTIM2: .equ $ff27
  51. _SETTIM2: .equ $ff28
  52. _NAMESTS: .equ $ff29
  53. _GETDATE: .equ $ff2a
  54. _SETDATE: .equ $ff2b
  55. _GETTIME: .equ $ff2c
  56. _SETTIME: .equ $ff2d
  57. _VERIFY: .equ $ff2e
  58. _DUP0: .equ $ff2f
  59. _VERNUM: .equ $ff30
  60. _KEEPPR: .equ $ff31
  61. _GETDPB: .equ $ff32
  62. _BREAKCK: .equ $ff33
  63. _DRVXCHG: .equ $ff34
  64. _INTVCG: .equ $ff35
  65. _DSKFRE: .equ $ff36
  66. _NAMECK: .equ $ff37
  67. _MKDIR: .equ $ff39
  68. _RMDIR: .equ $ff3a
  69. _CHDIR: .equ $ff3b
  70. _CREATE: .equ $ff3c
  71. _OPEN: .equ $ff3d
  72. _CLOSE: .equ $ff3e
  73. _READ: .equ $ff3f
  74. _WRITE: .equ $ff40
  75. _DELETE: .equ $ff41
  76. _SEEK: .equ $ff42
  77. _CHMOD: .equ $ff43
  78. _IOCTRL: .equ $ff44
  79. _DUP: .equ $ff45
  80. _DUP2: .equ $ff46
  81. _CURDIR: .equ $ff47
  82. _MALLOC: .equ $ff48
  83. _MFREE: .equ $ff49
  84. _SETBLOCK: .equ $ff4a
  85. _EXEC: .equ $ff4b
  86. _EXIT2: .equ $ff4c
  87. _WAIT: .equ $ff4d
  88. _FILES: .equ $ff4e
  89. _NFILES: .equ $ff4f
  90. _V2_SETPSP: .equ $ff50
  91. _V2_SETPDB: .equ $ff50 ;=_V2_SETPSP
  92. _V2_GETPSP: .equ $ff51
  93. _V2_GETPDB: .equ $ff51 ;=_V2_GETPSP
  94. _V2_SETENV: .equ $ff52
  95. _V2_GETENV: .equ $ff53
  96. _V2_VERIFYG: .equ $ff54
  97. _V2_COMMON: .equ $ff55
  98. _V2_RENAME: .equ $ff56
  99. _V2_FILEDATE: .equ $ff57
  100. _V2_MALLOC2: .equ $ff58
  101. _V2_MAKETMP: .equ $ff5a
  102. _V2_NEWFILE: .equ $ff5b
  103. _V2_LOCK: .equ $ff5c
  104. _V2_ASSIGN: .equ $ff5f
  105. .ifndef _V2_MALLOC3
  106. _V2_MALLOC3: .equ $ff60 ;060turbo.sys
  107. _V2_SETBLOCK2: .equ $ff61 ;�V
  108. _V2_MALLOC4: .equ $ff62 ;�V
  109. _V2_S_MALLOC2: .equ $ff63 ;�V
  110. .endif
  111. _V2_FFLUSH_SET: .equ $ff7a
  112. _V2_OS_PATCH: .equ $ff7b
  113. _V2_GETFCB: .equ $ff7c
  114. _V2_GET_FCB_ADR:.equ $ff7c ;=_V2_GETFCB
  115. _V2_S_MALLOC: .equ $ff7d
  116. _V2_S_MFREE: .equ $ff7e
  117. _V2_S_PROCESS: .equ $ff7f
  118. _SETPSP: .equ $ff80
  119. _SETPDB: .equ $ff80 ;=_SETPSP
  120. _GETPSP: .equ $ff81
  121. _GETPDB: .equ $ff81 ;=_GETPSP
  122. _SETENV: .equ $ff82
  123. _GETENV: .equ $ff83
  124. _VERIFYG: .equ $ff84
  125. _COMMON: .equ $ff85
  126. _RENAME: .equ $ff86
  127. _FILEDATE: .equ $ff87
  128. _MALLOC2: .equ $ff88
  129. _MAKETMP: .equ $ff8a
  130. _NEWFILE: .equ $ff8b
  131. _LOCK: .equ $ff8c
  132. _ASSIGN: .equ $ff8f
  133. .ifndef _MALLOC3
  134. _MALLOC3: .equ $ff90 ;060turbo.sys
  135. _SETBLOCK2: .equ $ff91 ;�V
  136. _MALLOC4: .equ $ff92 ;�V
  137. _S_MALLOC2: .equ $ff93 ;�V
  138. .endif
  139. _FFLUSH_SET: .equ $ffaa
  140. _OS_PATCH: .equ $ffab
  141. _GETFCB: .equ $ffac
  142. _GET_FCB_ADR: .equ $ffac ;=_GETFCB
  143. _S_MALLOC: .equ $ffad
  144. _S_MFREE: .equ $ffae
  145. _S_PROCESS: .equ $ffaf
  146. .ifndef _TWON
  147. _TWON: .equ $ffb0 ;(v)twentyone.sys
  148. .endif
  149. .ifndef _MVDIR
  150. _MVDIR: .equ $ffb1 ;dos_mvdir.r
  151. .endif
  152. .ifndef _VMALLOC
  153. _VMALLOC: .equ $ffe0 ;swapper.sys
  154. _VMFREE: .equ $ffe1 ;�V
  155. _VMALLOC2: .equ $ffe2 ;�V
  156. _VSETBLOCK: .equ $ffe3 ;�V
  157. .endif
  158. .ifndef _VEXEC
  159. _VEXEC: .equ $ffe4 ;vmexec.sys
  160. .endif
  161. _EXITVC: .equ $fff0 ;not DOS Call
  162. _CTRLVC: .equ $fff1 ;�V
  163. _ERRJVC: .equ $fff2 ;�V
  164. _DISKRED: .equ $fff3
  165. _DISKWRT: .equ $fff4
  166. _INDOSFLG: .equ $fff5
  167. _SUPER_JSR: .equ $fff6
  168. _BUS_ERR: .equ $fff7
  169. _OPEN_PR: .equ $fff8
  170. _KILL_PR: .equ $fff9
  171. _GET_PR: .equ $fffa
  172. _SUSPEND_PR: .equ $fffb
  173. _SUSPEND: .equ $fffb ;=_SUSPEND_PR
  174. _SLEEP_PR: .equ $fffc
  175. _SEND_PR: .equ $fffd
  176. _TIME_PR: .equ $fffe
  177. _CHANGE_PR: .equ $ffff
  178. * End of File --------------------------------- *
  179. .endif
  180. .list