Browse Source

initial files, including iplrom30 disassembly

vampirefrog 1 year ago
commit
89933cc731
9 changed files with 29575 additions and 0 deletions
  1. 11
    0
      Makefile
  2. 159
    0
      inc/doscall.mac
  3. 154
    0
      inc/fefunc.h
  4. 183
    0
      inc/fefunc.mac
  5. 244
    0
      inc/iocscall.mac
  6. BIN
      iplrom30.dat
  7. 3217
    0
      iplrom30.lab
  8. 25604
    0
      iplrom30.s
  9. 3
    0
      iplrom30.tab

+ 11
- 0
Makefile View File

@@ -0,0 +1,11 @@
1
+DIS=dis
2
+DIS_INCLUDE=inc
3
+SJIS2UTF8=sjis2utf8.real
4
+
5
+all: iplrom30.s
6
+
7
+iplrom30.s: iplrom30.dat iplrom30.lab iplrom30.tab
8
+	dis_include=$(DIS_INCLUDE) dis -b2 -h -m68030 -m68882 -zfe0000,ff0038 -x -a1 -q -p --exclude-fefunc-mac -Tiplrom30.tab -giplrom30.lab --overwrite iplrom30.dat | $(SJIS2UTF8) > $@
9
+
10
+clean:
11
+	rm *.s

+ 159
- 0
inc/doscall.mac View File

@@ -0,0 +1,159 @@
1
+* -*-Fundamental-*-
2
+*
3
+* PROJECT C Library, X68000 PROGRAMMING INTERFACE DEFINITION
4
+* --------------------------------------------------------------------
5
+* This file is written by the Project C Library Group,  and completely
6
+* in public domain. You can freely use, copy, modify, and redistribute
7
+* the whole contents, without this notice.
8
+* --------------------------------------------------------------------
9
+* $Id: doscall.mac,v 1.5 1993/10/06 16:43:41 mura Exp $
10
+*
11
+
12
+		.nlist
13
+
14
+_EXIT		equ		$ff00
15
+_GETCHAR	equ		$ff01
16
+_PUTCHAR	equ		$ff02
17
+_COMINP	equ		$ff03
18
+_COMOUT	equ		$ff04
19
+_PRNOUT	equ		$ff05
20
+_INPOUT	equ		$ff06
21
+_INKEY		equ		$ff07
22
+_GETC		equ		$ff08
23
+_PRINT		equ		$ff09
24
+_GETS		equ		$ff0a
25
+_KEYSNS	equ		$ff0b
26
+_KFLUSH	equ		$ff0c
27
+_FFLUSH	equ		$ff0d
28
+_CHGDRV	equ		$ff0e
29
+_CHDRV		equ		$ff0e
30
+_DRVCTRL	equ		$ff0f
31
+_CONSNS	equ		$ff10
32
+_PRNSNS	equ		$ff11
33
+_CINSNS	equ		$ff12
34
+_COUTSNS	equ		$ff13
35
+_FATCHK	equ		$ff17
36
+_HENDSP	equ		$ff18
37
+_CURDRV	equ		$ff19
38
+_GETSS		equ		$ff1a
39
+_FGETC		equ		$ff1b
40
+_FGETS		equ		$ff1c
41
+_FPUTC		equ		$ff1d
42
+_FPUTS		equ		$ff1e
43
+_ALLCLOSE	equ		$ff1f
44
+_SUPER		equ		$ff20
45
+_FNCKEY	equ		$ff21
46
+_KNJCTRL	equ		$ff22
47
+_CONCTRL	equ		$ff23
48
+_KEYCTRL	equ		$ff24
49
+_INTVCS	equ		$ff25
50
+_PSPSET	equ		$ff26
51
+_GETTIM2	equ		$ff27
52
+_SETTIM2	equ		$ff28
53
+_NAMESTS	equ		$ff29
54
+_GETDATE	equ		$ff2a
55
+_SETDATE	equ		$ff2b
56
+_GETTIME	equ		$ff2c
57
+_SETTIME	equ		$ff2d
58
+_VERIFY	equ		$ff2e
59
+_DUP0		equ		$ff2f
60
+_VERNUM	equ		$ff30
61
+_KEEPPR	equ		$ff31
62
+_GETDPB	equ		$ff32
63
+_BREAKCK	equ		$ff33
64
+_DRVXCHG	equ		$ff34
65
+_INTVCG	equ		$ff35
66
+_DSKFRE	equ		$ff36
67
+_NAMECK	equ		$ff37
68
+_MKDIR		equ		$ff39
69
+_RMDIR		equ		$ff3a
70
+_CHDIR		equ		$ff3b
71
+_CREATE	equ		$ff3c
72
+_OPEN		equ		$ff3d
73
+_CLOSE		equ		$ff3e
74
+_READ		equ		$ff3f
75
+_WRITE		equ		$ff40
76
+_DELETE	equ		$ff41
77
+_SEEK		equ		$ff42
78
+_CHMOD		equ		$ff43
79
+_IOCTRL	equ		$ff44
80
+_DUP		equ		$ff45
81
+_DUP2		equ		$ff46
82
+_CURDIR	equ		$ff47
83
+_MALLOC	equ		$ff48
84
+_MFREE		equ		$ff49
85
+_SETBLOCK	equ		$ff4a
86
+_EXEC		equ		$ff4b
87
+_EXIT2		equ		$ff4c
88
+_WAIT		equ		$ff4d
89
+_FILES		equ		$ff4e
90
+_NFILES	equ		$ff4f
91
+
92
+.ifdef		__HUMAN_V2__
93
+
94
+_SETPDB	equ		$ff50
95
+_GETPDB	equ		$ff51
96
+_SETENV	equ		$ff52
97
+_GETENV	equ		$ff53
98
+_VERIFYG	equ		$ff54
99
+_COMMON	equ		$ff55
100
+_RENAME	equ		$ff56
101
+_FILEDATE	equ		$ff57
102
+_MALLOC2	equ		$ff58
103
+_MAKETMP	equ		$ff5a
104
+_NEWFILE	equ		$ff5b
105
+_LOCK		equ		$ff5c
106
+_ASSIGN	equ		$ff5f
107
+_GETFCB	equ		$ff7c
108
+_S_MALLOC	equ		$ff7d
109
+_S_MFREE	equ		$ff7e
110
+_S_PROCESS	equ		$ff7f
111
+
112
+.else
113
+
114
+_SETPDB	equ		$ff80
115
+_GETPDB	equ		$ff81
116
+_SETENV	equ		$ff82
117
+_GETENV	equ		$ff83
118
+_VERIFYG	equ		$ff84
119
+_COMMON	equ		$ff85
120
+_RENAME	equ		$ff86
121
+_FILEDATE	equ		$ff87
122
+_MALLOC2	equ		$ff88
123
+_MAKETMP	equ		$ff8a
124
+_NEWFILE	equ		$ff8b
125
+_LOCK		equ		$ff8c
126
+_ASSIGN	equ		$ff8f
127
+_GETFCB	equ		$ffac
128
+_S_MALLOC	equ		$ffad
129
+_S_MFREE	equ		$ffae
130
+_S_PROCESS	equ		$ffaf
131
+
132
+.endif
133
+
134
+_RETSHELL	equ		$fff0
135
+_CTLABORT	equ		$fff1
136
+_ERRABORT	equ		$fff2
137
+_DISKRED	equ		$fff3
138
+_DISKWRT	equ		$fff4
139
+_INDOSFLG	equ		$fff5
140
+_SUPER_JSR	equ		$fff6
141
+_MEMCPY	equ		$fff7
142
+_OPEN_PR	equ		$fff8
143
+_KILL_PR	equ		$fff9
144
+_GET_PR	equ		$fffa
145
+_SUSPEND_PR	equ		$fffb
146
+_SLEEP_PR	equ		$fffc
147
+_SEND_PR	equ		$fffd
148
+_TIME_PR	equ		$fffe
149
+_CHANGE_PR	equ		$ffff
150
+
151
+_ERRJVC		equ	$fff2
152
+_CTRLVC		equ	$fff1
153
+
154
+DOS		macro		callname
155
+		dc.w		callname
156
+		endm
157
+
158
+		.list
159
+

+ 154
- 0
inc/fefunc.h View File

@@ -0,0 +1,154 @@
1
+* -*-Fundamental-*-
2
+*
3
+* PROJECT C Library, X68000 PROGRAMMING INTERFACE DEFINITION
4
+* --------------------------------------------------------------------
5
+* This file is written by the Project C Library Group,  and completely
6
+* in public domain. You can freely use, copy, modify, and redistribute
7
+* the whole contents, without this notice.
8
+* --------------------------------------------------------------------
9
+* $Id: fefunc.h,v 1.1 1993/04/19 22:11:45 mura Exp $
10
+*
11
+		.nlist
12
+
13
+__LMUL		equ		$fe00
14
+__LDIV		equ		$fe01
15
+__LMOD		equ		$fe02
16
+__UMUL		equ		$fe04
17
+__UDIV		equ		$fe05
18
+__UMOD		equ		$fe06
19
+__IMUL		equ		$fe08
20
+__IDIV		equ		$fe09
21
+__RANDOMIZE	equ		$fe0c
22
+__SRAND		equ		$fe0d
23
+__RAND		equ		$fe0e
24
+__STOL		equ		$fe10
25
+__LTOS		equ		$fe11
26
+__STOH		equ		$fe12
27
+__HTOS		equ		$fe13
28
+__STOO		equ		$fe14
29
+__OTOS		equ		$fe15
30
+__STOB		equ		$fe16
31
+__BTOS		equ		$fe17
32
+__IUSING	equ		$fe18
33
+__LTOD		equ		$fe1a
34
+__DTOL		equ		$fe1b
35
+__LTOF		equ		$fe1c
36
+__FTOL		equ		$fe1d
37
+__FTOD		equ		$fe1e
38
+__DTOF		equ		$fe1f
39
+__VAL		equ		$fe20
40
+__USING		equ		$fe21
41
+__STOD		equ		$fe22
42
+__DTOS		equ		$fe23
43
+__ECVT		equ		$fe24
44
+__FCVT		equ		$fe25
45
+__GCVT		equ		$fe26
46
+__DTST		equ		$fe28
47
+__DCMP		equ		$fe29
48
+__DNEG		equ		$fe2a
49
+__DADD		equ		$fe2b
50
+__DSUB		equ		$fe2c
51
+__DMUL		equ		$fe2d
52
+__DDIV		equ		$fe2e
53
+__DMOD		equ		$fe2f
54
+__DABS		equ		$fe30
55
+__DCEIL		equ		$fe31
56
+__DFIX		equ		$fe32
57
+__DFLOOR	equ		$fe33
58
+__DFRAC		equ		$fe34
59
+__DSGN		equ		$fe35
60
+__SIN		equ		$fe36
61
+__COS		equ		$fe37
62
+__TAN		equ		$fe38
63
+__ATAN		equ		$fe39
64
+__LOG		equ		$fe3a
65
+__EXP		equ		$fe3b
66
+__SQR		equ		$fe3c
67
+__PI		equ		$fe3d
68
+__NPI		equ		$fe3e
69
+__POWER		equ		$fe3f
70
+__RND		equ		$fe40
71
+__DFREXP	equ		$fe49
72
+__DLDEXP	equ		$fe4a
73
+__DADDONE	equ		$fe4b
74
+__DSUBONE	equ		$fe4c
75
+__DDIVTWO	equ		$fe4d
76
+__DIEECNV	equ		$fe4e
77
+__IEEDCNV	equ		$fe4f
78
+__FVAL		equ		$fe50
79
+__FUSING	equ		$fe51
80
+__STOF		equ		$fe52
81
+__FTOS		equ		$fe53
82
+__FECVT		equ		$fe54
83
+__FFCVT		equ		$fe55
84
+__FGCVT		equ		$fe56
85
+__FTST		equ		$fe58
86
+__FCMP		equ		$fe59
87
+__FNEG		equ		$fe5a
88
+__FADD		equ		$fe5b
89
+__FSUB		equ		$fe5c
90
+__FMUL		equ		$fe5d
91
+__FDIV		equ		$fe5e
92
+__FMOD		equ		$fe5f
93
+__FABS		equ		$fe60
94
+__FCEIL		equ		$fe61
95
+__FFIX		equ		$fe62
96
+__FFLOOR	equ		$fe63
97
+__FFRAC		equ		$fe64
98
+__FSGN		equ		$fe65
99
+__FSIN		equ		$fe66
100
+__FCOS		equ		$fe67
101
+__FTAN		equ		$fe68
102
+__FATAN		equ		$fe69
103
+__FLOG		equ		$fe6a
104
+__FEXP		equ		$fe6b
105
+__FSQR		equ		$fe6c
106
+__FPI		equ		$fe6d
107
+__FNPI		equ		$fe6e
108
+__FPOWER	equ		$fe6f
109
+__FRND		equ		$fe70
110
+__FFREXP	equ		$fe79
111
+__FLDEXP	equ		$fe7a
112
+__FADDONE	equ		$fe7b
113
+__FSUBONE	equ		$fe7c
114
+__FDIVTWO	equ		$fe7d
115
+__FIEECNV	equ		$fe7e
116
+__IEEFCNV	equ		$fe7f
117
+__CLMUL		equ		$fee0
118
+__CLDIV		equ		$fee1
119
+__CLMOD		equ		$fee2
120
+__CUMUL		equ		$fee3
121
+__CUDIV		equ		$fee4
122
+__CUMOD		equ		$fee5
123
+__CLTOD		equ		$fee6
124
+__CDTOL		equ		$fee7
125
+__CLTOF		equ		$fee8
126
+__CFTOL		equ		$fee9
127
+__CFTOD		equ		$feea
128
+__CDTOF		equ		$feeb
129
+__CDCMP		equ		$feec
130
+__CDADD		equ		$feed
131
+__CDSUB		equ		$feee
132
+__CDMUL		equ		$feef
133
+__CDDIV		equ		$fef0
134
+__CDMOD		equ		$fef1
135
+__CFCMP		equ		$fef2
136
+__CFADD		equ		$fef3
137
+__CFSUB		equ		$fef4
138
+__CFMUL		equ		$fef5
139
+__CFDIV		equ		$fef6
140
+__CFMOD		equ		$fef7
141
+__CDTST		equ		$fef8
142
+__CFTST		equ		$fef9
143
+__CDINC		equ		$fefa
144
+__CFINC		equ		$fefb
145
+__CDDEC		equ		$fefc
146
+__CFDEC		equ		$fefd
147
+__FEVARG	equ		$fefe
148
+__FEVECS	equ		$feff
149
+
150
+FPACK		macro		callname
151
+		dc.w		callname
152
+		endm
153
+
154
+		.list

+ 183
- 0
inc/fefunc.mac View File

@@ -0,0 +1,183 @@
1
+		.nlist
2
+
3
+*		fefunc.mac
4
+*			RUKA assembler macro for X680x0/Human68k(v3)
5
+*			version 1.15 1999/05/16 Tachibana Eririn.
6
+
7
+		.ifndef	__fefunc_mac__
8
+			__fefunc_mac__:=1
9
+
10
+
11
+* Macro --------------------------------------- *
12
+
13
+FPACK:		.macro	callno
14
+		.dc	callno
15
+		.endm
16
+
17
+
18
+* FEfunc Call Number -------------------------- *
19
+
20
+__LMUL:		.equ	$fe00
21
+__LDIV:		.equ	$fe01
22
+__LMOD:		.equ	$fe02
23
+__UMUL:		.equ	$fe04
24
+__UDIV:		.equ	$fe05
25
+__UMOD:		.equ	$fe06
26
+__IMUL:		.equ	$fe08
27
+__IDIV:		.equ	$fe09
28
+__RANDOMIZE:	.equ	$fe0c
29
+__SRAND:	.equ	$fe0d
30
+__RAND:		.equ	$fe0e
31
+
32
+__STOL:		.equ	$fe10
33
+__LTOS:		.equ	$fe11
34
+__STOH:		.equ	$fe12
35
+__HTOS:		.equ	$fe13
36
+__STOO:		.equ	$fe14
37
+__OTOS:		.equ	$fe15
38
+__STOB:		.equ	$fe16
39
+__BTOS:		.equ	$fe17
40
+__IUSING:	.equ	$fe18
41
+__LTOD:		.equ	$fe1a
42
+__DTOL:		.equ	$fe1b
43
+__LTOF:		.equ	$fe1c
44
+__FTOL:		.equ	$fe1d
45
+__FTOD:		.equ	$fe1e
46
+__DTOF:		.equ	$fe1f
47
+
48
+__VAL:		.equ	$fe20
49
+__USING:	.equ	$fe21
50
+__STOD:		.equ	$fe22
51
+__DTOS:		.equ	$fe23
52
+__ECVT:		.equ	$fe24
53
+__FCVT:		.equ	$fe25
54
+__GCVT:		.equ	$fe26
55
+__DTST:		.equ	$fe28
56
+__DCMP:		.equ	$fe29
57
+__DNEG:		.equ	$fe2a
58
+__DADD:		.equ	$fe2b
59
+__DSUB:		.equ	$fe2c
60
+__DMUL:		.equ	$fe2d
61
+__DDIV:		.equ	$fe2e
62
+__DMOD:		.equ	$fe2f
63
+__DABS:		.equ	$fe30
64
+__DCEIL:	.equ	$fe31
65
+__DFIX:		.equ	$fe32
66
+__DFLOOR:	.equ	$fe33
67
+__DFRAC:	.equ	$fe34
68
+__DSGN:		.equ	$fe35
69
+__SIN:		.equ	$fe36
70
+__COS:		.equ	$fe37
71
+__TAN:		.equ	$fe38
72
+__ATAN:		.equ	$fe39
73
+__LOG:		.equ	$fe3a
74
+__EXP:		.equ	$fe3b
75
+__SQR:		.equ	$fe3c
76
+__PI:		.equ	$fe3d
77
+__NPI:		.equ	$fe3e
78
+__POWER:	.equ	$fe3f
79
+__RND:		.equ	$fe40
80
+__SINH:		.equ	$fe41
81
+__COSH:		.equ	$fe42
82
+__TANH:		.equ	$fe43
83
+__ATANH:	.equ	$fe44
84
+__ASIN:		.equ	$fe45
85
+__ACOS:		.equ	$fe46
86
+__LOG10:	.equ	$fe47
87
+__LOG2:		.equ	$fe48
88
+__DFREXP:	.equ	$fe49
89
+__DLDEXP:	.equ	$fe4a
90
+__DADDONE:	.equ	$fe4b
91
+__DSUBONE:	.equ	$fe4c
92
+__DDIVTWO:	.equ	$fe4d
93
+__DIEECNV:	.equ	$fe4e
94
+__IEEDCNV:	.equ	$fe4f
95
+
96
+__FVAL:		.equ	$fe50
97
+__FUSING:	.equ	$fe51
98
+__STOF:		.equ	$fe52
99
+__FTOS:		.equ	$fe53
100
+__FECVT:	.equ	$fe54
101
+__FFCVT:	.equ	$fe55
102
+__FGCVT:	.equ	$fe56
103
+__FTST:		.equ	$fe58
104
+__FCMP:		.equ	$fe59
105
+__FNEG:		.equ	$fe5a
106
+__FADD:		.equ	$fe5b
107
+__FSUB:		.equ	$fe5c
108
+__FMUL:		.equ	$fe5d
109
+__FDIV:		.equ	$fe5e
110
+__FMOD:		.equ	$fe5f
111
+__FABS:		.equ	$fe60
112
+__FCEIL:	.equ	$fe61
113
+__FFIX:		.equ	$fe62
114
+__FFLOOR:	.equ	$fe63
115
+__FFRAC:	.equ	$fe64
116
+__FSGN:		.equ	$fe65
117
+__FSIN:		.equ	$fe66
118
+__FCOS:		.equ	$fe67
119
+__FTAN:		.equ	$fe68
120
+__FATAN:	.equ	$fe69
121
+__FLOG:		.equ	$fe6a
122
+__FEXP:		.equ	$fe6b
123
+__FSQR:		.equ	$fe6c
124
+__FPI:		.equ	$fe6d
125
+__FNPI:		.equ	$fe6e
126
+__FPOWER:	.equ	$fe6f
127
+__FRND:		.equ	$fe70
128
+__FSINH:	.equ	$fe71
129
+__FCOSH:	.equ	$fe72
130
+__FTANH:	.equ	$fe73
131
+__FATANH:	.equ	$fe74
132
+__FASIN:	.equ	$fe75
133
+__FACOS:	.equ	$fe76
134
+__FLOG10:	.equ	$fe77
135
+__FLOG2:	.equ	$fe78
136
+__FFREXP:	.equ	$fe79
137
+__FLDEXP:	.equ	$fe7a
138
+__FADDONE:	.equ	$fe7b
139
+__FSUBONE:	.equ	$fe7c
140
+__FDIVTWO:	.equ	$fe7d
141
+__FIEECNV:	.equ	$fe7e
142
+__IEEFCNV:	.equ	$fe7f
143
+
144
+__CLMUL:	.equ	$fee0
145
+__CLDIV:	.equ	$fee1
146
+__CLMOD:	.equ	$fee2
147
+__CUMUL:	.equ	$fee3
148
+__CUDIV:	.equ	$fee4
149
+__CUMOD:	.equ	$fee5
150
+__CLTOD:	.equ	$fee6
151
+__CDTOL:	.equ	$fee7
152
+__CLTOF:	.equ	$fee8
153
+__CFTOL:	.equ	$fee9
154
+__CFTOD:	.equ	$feea
155
+__CDTOF:	.equ	$feeb
156
+__CDCMP:	.equ	$feec
157
+__CDADD:	.equ	$feed
158
+__CDSUB:	.equ	$feee
159
+__CDMUL:	.equ	$feef
160
+__CDDIV:	.equ	$fef0
161
+__CDMOD:	.equ	$fef1
162
+__CFCMP:	.equ	$fef2
163
+__CFADD:	.equ	$fef3
164
+__CFSUB:	.equ	$fef4
165
+__CFMUL:	.equ	$fef5
166
+__CFDIV:	.equ	$fef6
167
+__CFMOD:	.equ	$fef7
168
+__CDTST:	.equ	$fef8
169
+__CFTST:	.equ	$fef9
170
+__CDINC:	.equ	$fefa
171
+__CFINC:	.equ	$fefb
172
+__CDDEC:	.equ	$fefc
173
+__CFDEC:	.equ	$fefd
174
+
175
+__FEVARG:	.equ	$fefe
176
+__FEVECS:	.equ	$feff
177
+
178
+
179
+* End of File --------------------------------- *
180
+
181
+		.endif
182
+
183
+		.list

+ 244
- 0
inc/iocscall.mac View File

@@ -0,0 +1,244 @@
1
+* -*-Fundamental-*-
2
+*
3
+* PROJECT C Library, X68000 PROGRAMMING INTERFACE DEFINITION
4
+* --------------------------------------------------------------------
5
+* This file is written by the Project C Library Group,  and completely
6
+* in public domain. You can freely use, copy, modify, and redistribute
7
+* the whole contents, without this notice.
8
+* --------------------------------------------------------------------
9
+* $Id: iocscall.mac,v 1.5 1993/10/06 16:44:09 mura Exp $
10
+*
11
+
12
+		.nlist
13
+
14
+_B_KEYINP	equ		$00
15
+_B_KEYSNS	equ		$01
16
+_B_SFTSNS	equ		$02
17
+_BITSNS	equ		$04
18
+_SKEYSET	equ		$05
19
+_TVCTRL	equ		$0c
20
+_LEDMOD	equ		$0d
21
+_TGUSEMD	equ		$0e
22
+_DEFCHR	equ		$0f
23
+_CRTMOD	equ		$10
24
+_CONTRAST	equ		$11
25
+_HSVTORGB	equ		$12
26
+_TPALET	equ		$13
27
+_TPALET2	equ		$14
28
+_TCOLOR	equ		$15
29
+_FNTADR	equ		$16
30
+_VRAMGET	equ		$17
31
+_VRAMPUT	equ		$18
32
+_FNTGET	equ		$19
33
+_TEXTGET	equ		$1a
34
+_TEXTPUT	equ		$1b
35
+_CLIPPUT	equ		$1c
36
+_SCROLL	equ		$1d
37
+_B_CURON	equ		$1e
38
+_B_CUROFF	equ		$1f
39
+_B_PUTC	equ		$20
40
+_B_PRINT	equ		$21
41
+_B_COLOR	equ		$22
42
+_B_LOCATE	equ		$23
43
+_B_DOWN_S	equ		$24
44
+_B_UP_S	equ		$25
45
+_B_UP		equ		$26
46
+_B_DOWN	equ		$27
47
+_B_RIGHT	equ		$28
48
+_B_LEFT	equ		$29
49
+_B_CLR_ST	equ		$2a
50
+_B_ERA_ST	equ		$2b
51
+_B_INS		equ		$2c
52
+_B_DEL		equ		$2d
53
+_B_CONSOL	equ		$2e
54
+_B_PUTMES	equ		$2f
55
+_SET232C	equ		$30
56
+_LOF232C	equ		$31
57
+_INP232C	equ		$32
58
+_ISNS232C	equ		$33
59
+_OSNS232C	equ		$34
60
+_OUT232C	equ		$35
61
+_JOYGET	equ		$3b
62
+_INIT_PRN	equ		$3c
63
+_SNSPRN	equ		$3d
64
+_OUTLPT	equ		$3e
65
+_OUTPRN	equ		$3f
66
+_B_SEEK	equ		$40
67
+_B_VERIFY	equ		$41
68
+_B_READDI	equ		$42
69
+_B_DSKINI	equ		$43
70
+_B_DRVSNS	equ		$44
71
+_B_WRITE	equ		$45
72
+_B_READ	equ		$46
73
+_B_RECALI	equ		$47
74
+_B_ASSIGN	equ		$48
75
+_B_WRITED	equ		$49
76
+_B_READID	equ		$4a
77
+_B_BADFMT	equ		$4b
78
+_B_READDL	equ		$4c
79
+_B_FORMAT	equ		$4d
80
+_B_DRVCHK	equ		$4e
81
+_B_EJECT	equ		$4f
82
+_DATEBCD	equ		$50
83
+_DATESET	equ		$51
84
+_TIMEBCD	equ		$52
85
+_TIMESET	equ		$53
86
+_DATEGET	equ		$54
87
+_DATEBIN	equ		$55
88
+_TIMEGET	equ		$56
89
+_TIMEBIN	equ		$57
90
+_DATECNV	equ		$58
91
+_TIMECNV	equ		$59
92
+_DATEASC	equ		$5a
93
+_TIMEASC	equ		$5b
94
+_DAYASC	equ		$5c
95
+_ALARMMOD	equ		$5d
96
+_ALARMSET	equ		$5e
97
+_ALARMGET	equ		$5f
98
+_ADPCMOUT	equ		$60
99
+_ADPCMINP	equ		$61
100
+_ADPCMAOT	equ		$62
101
+_ADPCMAIN	equ		$63
102
+_ADPCMLOT	equ		$64
103
+_ADPCMLIN	equ		$65
104
+_ADPCMSNS	equ		$66
105
+_ADPCMMOD	equ		$67
106
+_OPMSET	equ		$68
107
+_OPMSNS	equ		$69
108
+_OPMINTST	equ		$6a
109
+_TIMERDST	equ		$6b
110
+_VDISPST	equ		$6c
111
+_CRTCRAS	equ		$6d
112
+_HSYNCST	equ		$6e
113
+_PRNINTST	equ		$6f
114
+_MS_INIT	equ		$70
115
+_MS_CURON	equ		$71
116
+_MS_CUROF	equ		$72
117
+_MS_STAT	equ		$73
118
+_MS_GETDT	equ		$74
119
+_MS_CURGT	equ		$75
120
+_MS_CURST	equ		$76
121
+_MS_LIMIT	equ		$77
122
+_MS_OFFTM	equ		$78
123
+_MS_ONTM	equ		$79
124
+_MS_PATST	equ		$7a
125
+_MS_SEL	equ		$7b
126
+_MS_SEL2	equ		$7c
127
+_SKEY_MOD	equ		$7d
128
+_DENSNS	equ		$7e
129
+_ONTIME	equ		$7f
130
+_B_INTVCS	equ		$80
131
+_B_SUPER	equ		$81
132
+_B_BPEEK	equ		$82
133
+_B_WPEEK	equ		$83
134
+_B_LPEEK	equ		$84
135
+_B_MEMSTR	equ		$85
136
+_B_BPOKE	equ		$86
137
+_B_WPOKE	equ		$87
138
+_B_LPOKE	equ		$88
139
+_B_MEMSET	equ		$89
140
+_DMAMOVE	equ		$8a
141
+_DMAMOV_A	equ		$8b
142
+_DMAMOV_L	equ		$8c
143
+_DMAMODE	equ		$8d
144
+_BOOTINF	equ		$8e
145
+_ROMVER	equ		$8f
146
+_G_CLR_ON	equ		$90
147
+_GPALET	equ		$94
148
+_SFTJIS	equ		$a0
149
+_JISSFT	equ		$a1
150
+_AKCONV	equ		$a2
151
+_RMACNV	equ		$a3
152
+_DAKJOB	equ		$a4
153
+_HANJOB	equ		$a5
154
+_B_CONMOD	equ		$ad	* enhanced by iocs.x
155
+_OS_CURON	equ		$ae
156
+_OS_CUROF	equ		$af
157
+_DRAWMODE	equ		$b0	* enhanced by iocs.x
158
+_APAGE		equ		$b1
159
+_VPAGE		equ		$b2
160
+__HOME		equ		$b3
161
+_WINDOW	equ		$b4
162
+_WIPE		equ		$b5
163
+_PSET		equ		$b6
164
+_POINT		equ		$b7
165
+_LINE		equ		$b8
166
+_BOX		equ		$b9
167
+_FILL		equ		$ba
168
+_CIRCLE	equ		$bb
169
+_PAINT		equ		$bc
170
+_SYMBOL	equ		$bd
171
+_GETGRM	equ		$be
172
+_PUTGRM	equ		$bf
173
+_SP_INIT	equ		$c0
174
+_SP_ON		equ		$c1
175
+_SP_OFF	equ		$c2
176
+_SP_CGCLR	equ		$c3
177
+_SP_DEFCG	equ		$c4
178
+_SP_GTPCG	equ		$c5
179
+_SP_REGST	equ		$c6
180
+_SP_REGGT	equ		$c7
181
+_BGSCRLST	equ		$c8
182
+_BGSCRLGT	equ		$c9
183
+_BGCTRLST	equ		$ca
184
+_BGCTRLGT	equ		$cb
185
+_BGTEXTCL	equ		$cc
186
+_BGTEXTST	equ		$cd
187
+_BGTEXTGT	equ		$ce
188
+_SPALET	equ		$cf
189
+_TXXLINE	equ		$d3
190
+_TXYLINE	equ		$d4
191
+_TXLINE	equ		$d5	* enhanced by iocs.x
192
+_TXBOX		equ		$d6
193
+_TXFILL	equ		$d7
194
+_TXREV		equ		$d8
195
+_TXRASCPY	equ		$df
196
+_OPMDRV	equ		$f0	* enhanced by opmdrv.sys
197
+_RSDRV		equ		$f1	* enhanced by rsdrv.sys
198
+_A_JOY		equ		$f2	* enhanced by ajoy.x
199
+_ABORTRST	equ		$fd
200
+_IPLERR	equ		$fe
201
+_ABORTJOB	equ		$ff
202
+
203
+_S_RESET	equ		$00
204
+_S_SELECT	equ		$01
205
+_S_CMDOUT	equ		$03
206
+_S_DATAIN	equ		$04
207
+_S_DATAOUT	equ		$05
208
+_S_STSIN	equ		$06
209
+_S_MSGIN	equ		$07
210
+_S_MSGOUT	equ		$08
211
+_S_PHASE	equ		$09
212
+_S_DATAIN_P	equ		$0B	* undefined
213
+_S_DATAOUT_P	equ		$0C	* undefined
214
+_S_INQUIRY	equ		$20
215
+_S_READ	equ		$21
216
+_S_WRITE	equ		$22
217
+_S_FORMAT	equ		$23
218
+_S_TESTUNIT	equ		$24
219
+_S_READCAP	equ		$25
220
+_S_READEXT	equ		$26
221
+_S_WRITEEXT	equ		$27
222
+_S_VERIFY	equ		$28	* undefined
223
+_S_MODESENSE	equ		$29	* undefined
224
+_S_MODESELECT	equ		$2A	* undefined
225
+_S_REZEROUNIT	equ		$2B
226
+_S_REQUEST	equ		$2C
227
+_S_SEEK	equ		$2D
228
+_S_STARTSTOP	equ		$2F
229
+_S_REASSIGN	equ		$31
230
+_S_PAMEDIUM	equ		$32
231
+
232
+SCSI		macro		func
233
+		moveq.l		#$f5,d0
234
+		moveq.l		#func,d1
235
+		trap		#15
236
+		endm
237
+
238
+IOCS		macro		number
239
+		moveq.l		#number,d0
240
+		trap		#15
241
+		endm
242
+
243
+		.list
244
+

BIN
iplrom30.dat View File


+ 3217
- 0
iplrom30.lab
File diff suppressed because it is too large
View File


+ 25604
- 0
iplrom30.s
File diff suppressed because it is too large
View File


+ 3
- 0
iplrom30.tab View File

@@ -0,0 +1,3 @@
1
+ff25a8
2
+	dc.w {peek.w(pc)+$ff0000},"-$ff0000"
3
+end[224]

Loading…
Cancel
Save