-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbioswork.txt
271 lines (241 loc) · 10.1 KB
/
bioswork.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
- IOCS WORK MANUAL -
==============================================================================
・IOCS Work List(ROM IOCS version 1.00)
address size
$800 16.b Key depression state
$810 1.b Keyboard LED lit status
$811 1.b Shift key pushed down state
$812 1.w Number of key buffer data bytes
$814 1.l 〃 Write pointer
$818 1.l 〃 Read pointer
$81c 64.w Key buffer
$89c 1.w Number of RS-232C receive buffer data bytes
$89e 1.l 〃 〃 Write pointer
$8a2 1.l 〃 〃 Read pointer
$8a6 64.w 〃 Receive buffer
$926 1.w 〃 Communication mode
$928 1.b 〃 SI/SO State 0:SO 1:SI (bit0:Reception bit1:Send)
$929 1.b 〃 XON/XOFF State 0:XOFF 1:XON(〃)
$92a 1.w Mouse data reception counter
$92c 1.l 〃 Receive buffer write pointer
$930 3.b 〃 Receive buffer
$933 1.b Current MSCTRL terminal status
$934 1.l Mouse reception data processing address (soft keyboard)
$948 1.l 〃 (Mouse cursor)
$93c 1.b CRT mode
$93d 1.b Number of pages of graphic screen
$93e 1.l Text 1 byte number of lines
$942 1.w Text Operation target page number
$944 1.l 〃 Start address of plane
$948 1.l Text display start address offset
$94c 1.l Start address of soft keyboard drawing plane(X68000 only)
$950 1.w 〃 Indicates the X coordinate
$952 1.w 〃 Y
$954 1.w Text clipping range (X minimum value)
$956 1.w 〃 (Y minimum value)
$958 1.w 〃 (X maximum value + 1)
$95a 1.w 〃 (Y maximum value + 1)
$95c 1.l Start address of graphics operation target page
$960 1.l 〃 Number of bytes per line
$964 1.w 〃 Number of colors on screen -1(Can not be used if 0)
$966 1.w 〃 Drawing color code
$968 1.w 〃 Clipping range(X minimum value)
$96a 1.w 〃 (Y minimum value)
$96c 1.w 〃 (X maximum value)
$96e 1.w 〃 (Y maximum value)
$970 1.w Number of text digits -1
$972 1.w 〃 Number of rows -1
$974 1.w Cursor X coordinate
$976 1.w 〃 Y coordinate
$978 1.l BEEP sound PCM data address
$97c 1.w 〃 Data length
$97e 1.l Extended ESC sequence processing address
$982 1.l ESC sequence buffer write pointer
$986 10.b ESC Sequence Buffer (from ESC Next)
$990 1.b 1st byte of double-byte character
$991 1.b Cursor display state (0: turns off !0: lights up)
$992 1.b Cursor flashing switch(0:off !0:on)
$993 1.b Application cursor flashing switch(0:on !0:off)
$994 1.b Text display color
$995 1.b 〃 Save buffer
$996 1.l Cursor coordinate storage buffer
$99a 1.l Font address of external character group 0
$99e 1.l 〃 1〃
$9a2 1.l 〃 2〃
$9a6 1.l 〃 3〃
$9aa 1.l 〃 4〃
$9ae 1.l 〃 5〃
$9b2 1.w Initial value of mouse data reception timer
$9b4 1.w 〃 Timer counter
$9b6 1.l 〃 Processing address
$9ba 1.w Cursor blink Timer initial value
$9bc 1.w 〃 Timer counter
$9be 1.l 〃 Processing address
$9c2 1.w FD motor stop Timer initial value
$9c4 1.w 〃 Timer counter
$9c6 1.l 〃 Processing address
$9ca 1.w Alarm power off timer Initial value
$9cc 1.w 〃 Timer counter
$9ce 1.l 〃 Processing address
$9d2 1.l Time to power off
$9d6 1.l Operating time(1 minute increments)
$9da 1.b Set value of OPM register $1b
$9db 1.b Unused
$9dc 1.b Graphics screen usage mode
$9dd 1.b text 〃
$9de 1.b ROM debugger startup switch(0:off !0:on)
$9df 1.b Starting method
$9e0 1.b Activation unit number (PDA)
$9e1 1.b Status of the FD drive(bit7=1:Accessing bit6=1:Motor on)
%10... During access, motor on
%01... Access end, Motor on(Turn off with Timer-C interrupt)
%00... Access end, motor off
$9e2 1.b Setting of FDC LEDCTRL/EJECTMASK
$9e6 4.w 〃 Drive status / Disk exchange flag
$9ee 10.b 〃 Command generation buffer
$9f8 6.b SASI command generation buffer
$9fe 16.b 〃 Capacity flag
$a0e 1.w IOCS call number being executed (if -1 is not running)
$a10 1.b Printer abort flag
$a11 1.b 〃 Kanji mode flag (0: alphanumeric character !0: kanji)
$a12 1.b 〃 1st byte of double-byte character
$a13 1.b Number of printed lines to date
$a14 1.w 〃 Number of print digits
$a16 98.b Printer parameters
$a78 1.b Number of rows per page - 1
$a79 1.b Number of digits in one line - 1
$a7a 1.l Soft keyboard display plane start address(Plane 3)
$a7e 1.l 〃 (Plane 2)
$a82 1.w Vertical synchronization check flag when mouse cursor is drawn(0:off !0:on)
$a84 1.w Minimum movement to be considered as dragging -1
$a86 1.w Animation speed of mouse cursor
$a88 1.w unknown($0000)
$a8a 1.w unknown($00f6)
$a8c 1.w Column start position at which mouse cursor can be displayed(0)
$a8e 1.w 〃 Line start position(0)
$a90 1.w 〃 Column end position(128)
$a92 1.w 〃 Line end position(1008)
$a94 1.w unknown(1024)
$a96 1.w unknown(1008)
$a98 1.w Text 1 byte number of lines
$a9a 1.w Mouse cursor movement range(X minimum value)
$a9c 1.w 〃 (Y minimum value)
$a9e 1.w 〃 (X maximum value)
$aa0 1.w 〃 (Y maximum value)
$aa2 1.b Mouse Cursor Display Switch(0:Erase !0:Express)
$aa3 1.b Unused
$aa4 7.l Pointer to pattern data body(6+1 Points)
$ac0 1.w Display number of mouse cursor animation
$ac2 1.w 〃 Speed counter
$ac4 1.w Animation flag of mouse cursor(-1:Animate)
$ac6 1.w State of left mouse button(0:Not pushing -1:Pushing)
$ac8 1.w 〃 Right button "
$aca 1.w Movement amount in mouse X direction
$acc 1.w 〃 Y direction〃
$ace 1.w Mouse cursor X coordinate
$ad0 1.w 〃 Y coordinate
$ad2 1.w 〃 X coordinate storage buffer
$ad4 1.w 〃 Y coordinate
$ad6 1.w Hot spot X coordinate
$ad8 1.w 〃 Y coordinate
$ada 1.w Mouse cursor display start column
$adc 1.w 〃 line
$ade 1.w Mouse IOCS call processing flag(-1:processing)
$ae4 6.w 〃 Register temporary storage buffer
$af0 64.b Text save buffer (plane 2)
$b30 64.b 〃 (Plane 3)
$b70 16.l Pointer to pattern data of mouse cursor
$bb0 1.w Soft keyboard X coordinate
$bb2 1.w 〃 Y coordinate
$bb4 1.w X coordinate of the start of dragging
$bb6 1.w 〃 Y coordinate
$bb8 1.w Key code of the key pressed on the soft keyboard
$bba 1.l 〃 Key data address
$bbe 1.b Mouse status during last processing(Button state)
$bbf 1.b Mouse receive data processing flag(bit7=1:Mouse reception data being processed
bit0=1:Displaying soft keyboard)
$bc0 1.b Key input repeat counter of soft keyboard
$bc1 1.b Soft keyboard control mode
$bc2 1.b Mouse cursor/Soft keyboard display status
$bc3 1.b Key depression flag of soft keyboard
(0:Not pushing 1:Pushing)
$bc4 1.b Soft keyboard processing flag(-1:processing)
$bc5 1.b Special key processing flag(bit0〜3:Corresponds to trap#10〜13)
$bc6 1.b Calculator Display Flag(0:Erase 1:Express)
$bc7 1.b 〃 Cardinal number(0:Decimal number 1:Hexadecimal)
$bc8 1.b 〃 Addition, subtraction, multiplication(1:+ 2:- 3:* 4:/)
$bc9 1.b 〃 Decimal point flag(0:Integer 1:Decimal)
$bca 1.w 〃 Output counter
$bcc 1.l 〃 Output read pointer
$bd0 22.w 〃 Output buffer
$bfc 1.w 〃 X coordinate
$bfe 1.w 〃 Y coordinate
$c00 2.l 〃 Stored numerical value(Floating point number)
$c08 2.l 〃 Calculation results(〃)
$c10 2.l 〃 For work (〃)
$c18 1.w 〃 Number of input digits
$c1a 1.b 〃 Error occurrence flag(0:normal 1:error)
$c1b 16.b 〃 Numeric string buffer
$c2b 6.b 〃 Base number〃
$c31 1.b Unused
$c32 1.b ADPCM playback / record mode (bit8=1:Split transfer mode)
$c33 1.b 〃 DMA transfer error status
$c34 1.b DMA channel 2 transfer mode
$c35 1.b 〃 error status
$c36 16.b 6 * 12 Buffer for obtaining font
$c46 72.b Buffer for font creation
$c8e 1.b Unused
$c8f 1.b FDD result reception flag
$c90 8.b FD0 Result Status Receive Buffer
$c98 8.b FD1 〃
$ca0 8.b FD2 〃
$ca8 8.b FD3 〃
$cb0 1.b Unused
$cb1 3.b Mouse receive data(Transfer after aligning 3 bytes)
$cb4 1.b Number of SASI-HD connections
$cb5 1.b RS-232C receive data mask(Lower bit is set to 1 by bit length)
==============================================================================
・IOCS Work List(ROM IOCS version 1.10 Or later)
$cb6 1.b Type of system port MPU
(0:68000 1:68010 2:68020 3:68030 4:68040)
$cb7 1.b 〃 MPU clock
(0:10 1:16 2:20 3:25 4:33 5:40 6:50、MHz 単位)
$cb8 1.w Number of ROM wait loops(dbra Number of times 1ms will be lost in an empty loop)
$cba 1.w RAM 〃
==============================================================================
・IOCS Work List(ROM IOCS version 1.30 Or later)
$cbc 1.b MPU type(0:68000 1:68010 2:68020 3:68030 4:68040 6:68060)
$cbd 1.b FPU presence(0:None -1:Present)
$cbe 1.b MMU presence(0:None -1:Present)
$cbf 1.b Activation information(0:Power on -1:reset -2:Hot start)
$cc0 1.w SCSI transfer size
$cc2 1.b Main body ID conformance check flag(-1:Inspection)
$cc3 1.b SCSI not connected flag(Bit per ID is unusable)
$d00 1.l FD extended PDA constant table address acquisition processing address
$d04 1.l Address of extended FDD motor on processing
$d08 1.w Text scrolling method(0:Raster copy -1:Soft scroll)
$d0a 1.w Smooth scroll mode(0:Jump 4,8,16:smooth)
$d0c 1.w Cursor blink enable switch(0:Flashing -1:Keep displayed)
$d0e 1.w 〃 Inversion starting line × 4
$d10 2.b 〃 Inversion pattern
$d12 1.l BEEP sound processing address(Valid when BEEP sound address is -1)
$d16 1.l ESC processing address(^[[ System only、0 Standard)
$d1a 1.w Graphics drawing mode(0:Normal 1:Flip)
$d1c 1.w _TXXLINE/_TXYLINE Length decrease value
==============================================================================
・SCHDISK(version 1.04)
$cc0 1.l IOCS _B_SEEK processing address storage buffer
$cc4 1.l IOCS _B_VERIFY 〃
$cc8 1.l IOCS _B_DSKINI 〃
$ccc 1.l IOCS _B_DRVSNS 〃
$cd0 1.l IOCS _B_WRITE 〃
$cd4 1.l IOCS _B_READ 〃
$cd8 1.l IOCS _B_RECALI 〃
$cdc 1.l IOCS _B_ASSIGN 〃
$ce0 1.l IOCS _B_BADFMT 〃
$ce4 1.l IOCS _B_FORMAT 〃
$ce8 1.l IOCS _B_EJECT 〃
$cec 1.b SCHDISK built-in flag(Bit for each ID is 1 with built-in)
note:$cc0〜$cc3 Is used for another purpose in the ROM of X68030, but since
SCSI IOCS of SCHDISK is not incorporated, there is no problem.
==============================================================================